proto.service.QueryOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of irita-sdk Show documentation
Show all versions of irita-sdk Show documentation
Irita open alliance chain SDK (java)
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: service/query.proto
package proto.service;
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 QueryDefinitionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryDefinitionRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1;
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString
getServiceNameBytes();
}
/**
*
* QueryDefinitionRequest is request type for the Query/Definition RPC method
*
*
* Protobuf type {@code irismod.service.QueryDefinitionRequest}
*/
public static final class QueryDefinitionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryDefinitionRequest)
QueryDefinitionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryDefinitionRequest.newBuilder() to construct.
private QueryDefinitionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryDefinitionRequest() {
serviceName_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryDefinitionRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryDefinitionRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryDefinitionRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryDefinitionRequest.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1;
* @return The serviceName.
*/
@Override
public String getServiceName() {
Object ref = serviceName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
@Override
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServiceNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryDefinitionRequest)) {
return super.equals(obj);
}
QueryDefinitionRequest other = (QueryDefinitionRequest) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryDefinitionRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryDefinitionRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryDefinitionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryDefinitionRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryDefinitionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryDefinitionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryDefinitionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryDefinitionRequest 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 QueryDefinitionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryDefinitionRequest 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 QueryDefinitionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryDefinitionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryDefinitionRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryDefinitionRequest is request type for the Query/Definition RPC method
*
*
* Protobuf type {@code irismod.service.QueryDefinitionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryDefinitionRequest)
QueryDefinitionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryDefinitionRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryDefinitionRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionRequest_descriptor;
}
@Override
public QueryDefinitionRequest getDefaultInstanceForType() {
return QueryDefinitionRequest.getDefaultInstance();
}
@Override
public QueryDefinitionRequest build() {
QueryDefinitionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryDefinitionRequest buildPartial() {
QueryDefinitionRequest result = new QueryDefinitionRequest(this);
result.serviceName_ = serviceName_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryDefinitionRequest) {
return mergeFrom((QueryDefinitionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryDefinitionRequest other) {
if (other == QueryDefinitionRequest.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryDefinitionRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryDefinitionRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object serviceName_ = "";
/**
* string service_name = 1;
* @return The serviceName.
*/
public String getServiceName() {
Object ref = serviceName_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string service_name = 1;
* @param value The serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceName(
String value) {
if (value == null) {
throw new NullPointerException();
}
serviceName_ = value;
onChanged();
return this;
}
/**
* string service_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1;
* @param value The bytes for serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceName_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryDefinitionRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryDefinitionRequest)
private static final QueryDefinitionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryDefinitionRequest();
}
public static QueryDefinitionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryDefinitionRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryDefinitionRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryDefinitionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryDefinitionResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryDefinitionResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .irismod.service.ServiceDefinition service_definition = 1;
* @return Whether the serviceDefinition field is set.
*/
boolean hasServiceDefinition();
/**
* .irismod.service.ServiceDefinition service_definition = 1;
* @return The serviceDefinition.
*/
Service.ServiceDefinition getServiceDefinition();
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
Service.ServiceDefinitionOrBuilder getServiceDefinitionOrBuilder();
}
/**
*
* QueryDefinitionResponse is response type for the Query/Definition RPC method
*
*
* Protobuf type {@code irismod.service.QueryDefinitionResponse}
*/
public static final class QueryDefinitionResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryDefinitionResponse)
QueryDefinitionResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryDefinitionResponse.newBuilder() to construct.
private QueryDefinitionResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryDefinitionResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryDefinitionResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryDefinitionResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
Service.ServiceDefinition.Builder subBuilder = null;
if (serviceDefinition_ != null) {
subBuilder = serviceDefinition_.toBuilder();
}
serviceDefinition_ = input.readMessage(Service.ServiceDefinition.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceDefinition_);
serviceDefinition_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryDefinitionResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryDefinitionResponse.class, Builder.class);
}
public static final int SERVICE_DEFINITION_FIELD_NUMBER = 1;
private Service.ServiceDefinition serviceDefinition_;
/**
* .irismod.service.ServiceDefinition service_definition = 1;
* @return Whether the serviceDefinition field is set.
*/
@Override
public boolean hasServiceDefinition() {
return serviceDefinition_ != null;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
* @return The serviceDefinition.
*/
@Override
public Service.ServiceDefinition getServiceDefinition() {
return serviceDefinition_ == null ? Service.ServiceDefinition.getDefaultInstance() : serviceDefinition_;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
@Override
public Service.ServiceDefinitionOrBuilder getServiceDefinitionOrBuilder() {
return getServiceDefinition();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (serviceDefinition_ != null) {
output.writeMessage(1, getServiceDefinition());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (serviceDefinition_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getServiceDefinition());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryDefinitionResponse)) {
return super.equals(obj);
}
QueryDefinitionResponse other = (QueryDefinitionResponse) obj;
if (hasServiceDefinition() != other.hasServiceDefinition()) return false;
if (hasServiceDefinition()) {
if (!getServiceDefinition()
.equals(other.getServiceDefinition())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasServiceDefinition()) {
hash = (37 * hash) + SERVICE_DEFINITION_FIELD_NUMBER;
hash = (53 * hash) + getServiceDefinition().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryDefinitionResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryDefinitionResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryDefinitionResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryDefinitionResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryDefinitionResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryDefinitionResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryDefinitionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryDefinitionResponse 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 QueryDefinitionResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryDefinitionResponse 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 QueryDefinitionResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryDefinitionResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryDefinitionResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryDefinitionResponse is response type for the Query/Definition RPC method
*
*
* Protobuf type {@code irismod.service.QueryDefinitionResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryDefinitionResponse)
QueryDefinitionResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryDefinitionResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryDefinitionResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
if (serviceDefinitionBuilder_ == null) {
serviceDefinition_ = null;
} else {
serviceDefinition_ = null;
serviceDefinitionBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryDefinitionResponse_descriptor;
}
@Override
public QueryDefinitionResponse getDefaultInstanceForType() {
return QueryDefinitionResponse.getDefaultInstance();
}
@Override
public QueryDefinitionResponse build() {
QueryDefinitionResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryDefinitionResponse buildPartial() {
QueryDefinitionResponse result = new QueryDefinitionResponse(this);
if (serviceDefinitionBuilder_ == null) {
result.serviceDefinition_ = serviceDefinition_;
} else {
result.serviceDefinition_ = serviceDefinitionBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryDefinitionResponse) {
return mergeFrom((QueryDefinitionResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryDefinitionResponse other) {
if (other == QueryDefinitionResponse.getDefaultInstance()) return this;
if (other.hasServiceDefinition()) {
mergeServiceDefinition(other.getServiceDefinition());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryDefinitionResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryDefinitionResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Service.ServiceDefinition serviceDefinition_;
private com.google.protobuf.SingleFieldBuilderV3<
Service.ServiceDefinition, Service.ServiceDefinition.Builder, Service.ServiceDefinitionOrBuilder> serviceDefinitionBuilder_;
/**
* .irismod.service.ServiceDefinition service_definition = 1;
* @return Whether the serviceDefinition field is set.
*/
public boolean hasServiceDefinition() {
return serviceDefinitionBuilder_ != null || serviceDefinition_ != null;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
* @return The serviceDefinition.
*/
public Service.ServiceDefinition getServiceDefinition() {
if (serviceDefinitionBuilder_ == null) {
return serviceDefinition_ == null ? Service.ServiceDefinition.getDefaultInstance() : serviceDefinition_;
} else {
return serviceDefinitionBuilder_.getMessage();
}
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
public Builder setServiceDefinition(Service.ServiceDefinition value) {
if (serviceDefinitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceDefinition_ = value;
onChanged();
} else {
serviceDefinitionBuilder_.setMessage(value);
}
return this;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
public Builder setServiceDefinition(
Service.ServiceDefinition.Builder builderForValue) {
if (serviceDefinitionBuilder_ == null) {
serviceDefinition_ = builderForValue.build();
onChanged();
} else {
serviceDefinitionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
public Builder mergeServiceDefinition(Service.ServiceDefinition value) {
if (serviceDefinitionBuilder_ == null) {
if (serviceDefinition_ != null) {
serviceDefinition_ =
Service.ServiceDefinition.newBuilder(serviceDefinition_).mergeFrom(value).buildPartial();
} else {
serviceDefinition_ = value;
}
onChanged();
} else {
serviceDefinitionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
public Builder clearServiceDefinition() {
if (serviceDefinitionBuilder_ == null) {
serviceDefinition_ = null;
onChanged();
} else {
serviceDefinition_ = null;
serviceDefinitionBuilder_ = null;
}
return this;
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
public Service.ServiceDefinition.Builder getServiceDefinitionBuilder() {
onChanged();
return getServiceDefinitionFieldBuilder().getBuilder();
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
public Service.ServiceDefinitionOrBuilder getServiceDefinitionOrBuilder() {
if (serviceDefinitionBuilder_ != null) {
return serviceDefinitionBuilder_.getMessageOrBuilder();
} else {
return serviceDefinition_ == null ?
Service.ServiceDefinition.getDefaultInstance() : serviceDefinition_;
}
}
/**
* .irismod.service.ServiceDefinition service_definition = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
Service.ServiceDefinition, Service.ServiceDefinition.Builder, Service.ServiceDefinitionOrBuilder>
getServiceDefinitionFieldBuilder() {
if (serviceDefinitionBuilder_ == null) {
serviceDefinitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Service.ServiceDefinition, Service.ServiceDefinition.Builder, Service.ServiceDefinitionOrBuilder>(
getServiceDefinition(),
getParentForChildren(),
isClean());
serviceDefinition_ = null;
}
return serviceDefinitionBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryDefinitionResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryDefinitionResponse)
private static final QueryDefinitionResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryDefinitionResponse();
}
public static QueryDefinitionResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryDefinitionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryDefinitionResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryDefinitionResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryBindingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryBindingRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1;
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
* string provider = 2;
* @return The provider.
*/
String getProvider();
/**
* string provider = 2;
* @return The bytes for provider.
*/
com.google.protobuf.ByteString
getProviderBytes();
}
/**
*
* QueryBindingRequest is request type for the Query/Binding RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingRequest}
*/
public static final class QueryBindingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryBindingRequest)
QueryBindingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryBindingRequest.newBuilder() to construct.
private QueryBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryBindingRequest() {
serviceName_ = "";
provider_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryBindingRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryBindingRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryBindingRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingRequest.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1;
* @return The serviceName.
*/
@Override
public String getServiceName() {
Object ref = serviceName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
@Override
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROVIDER_FIELD_NUMBER = 2;
private volatile Object provider_;
/**
* string provider = 2;
* @return The provider.
*/
@Override
public String getProvider() {
Object ref = provider_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
provider_ = s;
return s;
}
}
/**
* string provider = 2;
* @return The bytes for provider.
*/
@Override
public com.google.protobuf.ByteString
getProviderBytes() {
Object ref = provider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
provider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServiceNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, provider_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryBindingRequest)) {
return super.equals(obj);
}
QueryBindingRequest other = (QueryBindingRequest) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryBindingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingRequest 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 QueryBindingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryBindingRequest 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 QueryBindingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryBindingRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryBindingRequest is request type for the Query/Binding RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryBindingRequest)
QueryBindingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryBindingRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
provider_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingRequest_descriptor;
}
@Override
public QueryBindingRequest getDefaultInstanceForType() {
return QueryBindingRequest.getDefaultInstance();
}
@Override
public QueryBindingRequest build() {
QueryBindingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryBindingRequest buildPartial() {
QueryBindingRequest result = new QueryBindingRequest(this);
result.serviceName_ = serviceName_;
result.provider_ = provider_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryBindingRequest) {
return mergeFrom((QueryBindingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryBindingRequest other) {
if (other == QueryBindingRequest.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryBindingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryBindingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object serviceName_ = "";
/**
* string service_name = 1;
* @return The serviceName.
*/
public String getServiceName() {
Object ref = serviceName_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string service_name = 1;
* @param value The serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceName(
String value) {
if (value == null) {
throw new NullPointerException();
}
serviceName_ = value;
onChanged();
return this;
}
/**
* string service_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1;
* @param value The bytes for serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceName_ = value;
onChanged();
return this;
}
private Object provider_ = "";
/**
* string provider = 2;
* @return The provider.
*/
public String getProvider() {
Object ref = provider_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
provider_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string provider = 2;
* @return The bytes for provider.
*/
public com.google.protobuf.ByteString
getProviderBytes() {
Object ref = provider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
provider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string provider = 2;
* @param value The provider to set.
* @return This builder for chaining.
*/
public Builder setProvider(
String value) {
if (value == null) {
throw new NullPointerException();
}
provider_ = value;
onChanged();
return this;
}
/**
* string provider = 2;
* @return This builder for chaining.
*/
public Builder clearProvider() {
provider_ = getDefaultInstance().getProvider();
onChanged();
return this;
}
/**
* string provider = 2;
* @param value The bytes for provider to set.
* @return This builder for chaining.
*/
public Builder setProviderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
provider_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryBindingRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryBindingRequest)
private static final QueryBindingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryBindingRequest();
}
public static QueryBindingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryBindingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryBindingRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryBindingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryBindingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryBindingResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .irismod.service.ServiceBinding service_binding = 1;
* @return Whether the serviceBinding field is set.
*/
boolean hasServiceBinding();
/**
* .irismod.service.ServiceBinding service_binding = 1;
* @return The serviceBinding.
*/
Service.ServiceBinding getServiceBinding();
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
Service.ServiceBindingOrBuilder getServiceBindingOrBuilder();
}
/**
*
* QueryDefinitionResponse is response type for the Query/Binding RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingResponse}
*/
public static final class QueryBindingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryBindingResponse)
QueryBindingResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryBindingResponse.newBuilder() to construct.
private QueryBindingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryBindingResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryBindingResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryBindingResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
Service.ServiceBinding.Builder subBuilder = null;
if (serviceBinding_ != null) {
subBuilder = serviceBinding_.toBuilder();
}
serviceBinding_ = input.readMessage(Service.ServiceBinding.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceBinding_);
serviceBinding_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingResponse.class, Builder.class);
}
public static final int SERVICE_BINDING_FIELD_NUMBER = 1;
private Service.ServiceBinding serviceBinding_;
/**
* .irismod.service.ServiceBinding service_binding = 1;
* @return Whether the serviceBinding field is set.
*/
@Override
public boolean hasServiceBinding() {
return serviceBinding_ != null;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
* @return The serviceBinding.
*/
@Override
public Service.ServiceBinding getServiceBinding() {
return serviceBinding_ == null ? Service.ServiceBinding.getDefaultInstance() : serviceBinding_;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
@Override
public Service.ServiceBindingOrBuilder getServiceBindingOrBuilder() {
return getServiceBinding();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (serviceBinding_ != null) {
output.writeMessage(1, getServiceBinding());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (serviceBinding_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getServiceBinding());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryBindingResponse)) {
return super.equals(obj);
}
QueryBindingResponse other = (QueryBindingResponse) obj;
if (hasServiceBinding() != other.hasServiceBinding()) return false;
if (hasServiceBinding()) {
if (!getServiceBinding()
.equals(other.getServiceBinding())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasServiceBinding()) {
hash = (37 * hash) + SERVICE_BINDING_FIELD_NUMBER;
hash = (53 * hash) + getServiceBinding().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryBindingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingResponse 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 QueryBindingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryBindingResponse 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 QueryBindingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryBindingResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryDefinitionResponse is response type for the Query/Binding RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryBindingResponse)
QueryBindingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryBindingResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
if (serviceBindingBuilder_ == null) {
serviceBinding_ = null;
} else {
serviceBinding_ = null;
serviceBindingBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingResponse_descriptor;
}
@Override
public QueryBindingResponse getDefaultInstanceForType() {
return QueryBindingResponse.getDefaultInstance();
}
@Override
public QueryBindingResponse build() {
QueryBindingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryBindingResponse buildPartial() {
QueryBindingResponse result = new QueryBindingResponse(this);
if (serviceBindingBuilder_ == null) {
result.serviceBinding_ = serviceBinding_;
} else {
result.serviceBinding_ = serviceBindingBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryBindingResponse) {
return mergeFrom((QueryBindingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryBindingResponse other) {
if (other == QueryBindingResponse.getDefaultInstance()) return this;
if (other.hasServiceBinding()) {
mergeServiceBinding(other.getServiceBinding());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryBindingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryBindingResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Service.ServiceBinding serviceBinding_;
private com.google.protobuf.SingleFieldBuilderV3<
Service.ServiceBinding, Service.ServiceBinding.Builder, Service.ServiceBindingOrBuilder> serviceBindingBuilder_;
/**
* .irismod.service.ServiceBinding service_binding = 1;
* @return Whether the serviceBinding field is set.
*/
public boolean hasServiceBinding() {
return serviceBindingBuilder_ != null || serviceBinding_ != null;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
* @return The serviceBinding.
*/
public Service.ServiceBinding getServiceBinding() {
if (serviceBindingBuilder_ == null) {
return serviceBinding_ == null ? Service.ServiceBinding.getDefaultInstance() : serviceBinding_;
} else {
return serviceBindingBuilder_.getMessage();
}
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
public Builder setServiceBinding(Service.ServiceBinding value) {
if (serviceBindingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceBinding_ = value;
onChanged();
} else {
serviceBindingBuilder_.setMessage(value);
}
return this;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
public Builder setServiceBinding(
Service.ServiceBinding.Builder builderForValue) {
if (serviceBindingBuilder_ == null) {
serviceBinding_ = builderForValue.build();
onChanged();
} else {
serviceBindingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
public Builder mergeServiceBinding(Service.ServiceBinding value) {
if (serviceBindingBuilder_ == null) {
if (serviceBinding_ != null) {
serviceBinding_ =
Service.ServiceBinding.newBuilder(serviceBinding_).mergeFrom(value).buildPartial();
} else {
serviceBinding_ = value;
}
onChanged();
} else {
serviceBindingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
public Builder clearServiceBinding() {
if (serviceBindingBuilder_ == null) {
serviceBinding_ = null;
onChanged();
} else {
serviceBinding_ = null;
serviceBindingBuilder_ = null;
}
return this;
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
public Service.ServiceBinding.Builder getServiceBindingBuilder() {
onChanged();
return getServiceBindingFieldBuilder().getBuilder();
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
public Service.ServiceBindingOrBuilder getServiceBindingOrBuilder() {
if (serviceBindingBuilder_ != null) {
return serviceBindingBuilder_.getMessageOrBuilder();
} else {
return serviceBinding_ == null ?
Service.ServiceBinding.getDefaultInstance() : serviceBinding_;
}
}
/**
* .irismod.service.ServiceBinding service_binding = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
Service.ServiceBinding, Service.ServiceBinding.Builder, Service.ServiceBindingOrBuilder>
getServiceBindingFieldBuilder() {
if (serviceBindingBuilder_ == null) {
serviceBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Service.ServiceBinding, Service.ServiceBinding.Builder, Service.ServiceBindingOrBuilder>(
getServiceBinding(),
getParentForChildren(),
isClean());
serviceBinding_ = null;
}
return serviceBindingBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryBindingResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryBindingResponse)
private static final QueryBindingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryBindingResponse();
}
public static QueryBindingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryBindingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryBindingResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryBindingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryBindingsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryBindingsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1;
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
* string owner = 2;
* @return The owner.
*/
String getOwner();
/**
* string owner = 2;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination();
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryBindingsRequest is request type for the Query/Bindings RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingsRequest}
*/
public static final class QueryBindingsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryBindingsRequest)
QueryBindingsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryBindingsRequest.newBuilder() to construct.
private QueryBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryBindingsRequest() {
serviceName_ = "";
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryBindingsRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryBindingsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
owner_ = s;
break;
}
case 26: {
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryBindingsRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingsRequest.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1;
* @return The serviceName.
*/
@Override
public String getServiceName() {
Object ref = serviceName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
@Override
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 2;
private volatile Object owner_;
/**
* string owner = 2;
* @return The owner.
*/
@Override
public String getOwner() {
Object ref = owner_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
owner_ = s;
return s;
}
}
/**
* string owner = 2;
* @return The bytes for owner.
*/
@Override
public com.google.protobuf.ByteString
getOwnerBytes() {
Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAGINATION_FIELD_NUMBER = 3;
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, owner_);
}
if (pagination_ != null) {
output.writeMessage(3, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServiceNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_);
}
if (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, owner_);
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryBindingsRequest)) {
return super.equals(obj);
}
QueryBindingsRequest other = (QueryBindingsRequest) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getOwner()
.equals(other.getOwner())) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().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 QueryBindingsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingsRequest 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 QueryBindingsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryBindingsRequest 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 QueryBindingsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryBindingsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryBindingsRequest is request type for the Query/Bindings RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryBindingsRequest)
QueryBindingsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingsRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryBindingsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
owner_ = "";
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsRequest_descriptor;
}
@Override
public QueryBindingsRequest getDefaultInstanceForType() {
return QueryBindingsRequest.getDefaultInstance();
}
@Override
public QueryBindingsRequest build() {
QueryBindingsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryBindingsRequest buildPartial() {
QueryBindingsRequest result = new QueryBindingsRequest(this);
result.serviceName_ = serviceName_;
result.owner_ = owner_;
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryBindingsRequest) {
return mergeFrom((QueryBindingsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryBindingsRequest other) {
if (other == QueryBindingsRequest.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getOwner().isEmpty()) {
owner_ = other.owner_;
onChanged();
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryBindingsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryBindingsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object serviceName_ = "";
/**
* string service_name = 1;
* @return The serviceName.
*/
public String getServiceName() {
Object ref = serviceName_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string service_name = 1;
* @param value The serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceName(
String value) {
if (value == null) {
throw new NullPointerException();
}
serviceName_ = value;
onChanged();
return this;
}
/**
* string service_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1;
* @param value The bytes for serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceName_ = value;
onChanged();
return this;
}
private Object owner_ = "";
/**
* string owner = 2;
* @return The owner.
*/
public String getOwner() {
Object ref = owner_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string owner = 2;
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string owner = 2;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
String value) {
if (value == null) {
throw new NullPointerException();
}
owner_ = value;
onChanged();
return this;
}
/**
* string owner = 2;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 2;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
owner_ = value;
onChanged();
return this;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_;
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder setPagination(proto.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;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder setPagination(
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) {
if (paginationBuilder_ == null) {
pagination_ = builderForValue.build();
onChanged();
} else {
paginationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageRequest value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial();
} else {
pagination_ = value;
}
onChanged();
} else {
paginationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder clearPagination() {
if (paginationBuilder_ == null) {
pagination_ = null;
onChanged();
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
}
/**
*
* pagination defines an optional pagination for the request.
*
*
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryBindingsRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryBindingsRequest)
private static final QueryBindingsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryBindingsRequest();
}
public static QueryBindingsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryBindingsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryBindingsRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryBindingsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryBindingsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryBindingsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
java.util.List
getServiceBindingsList();
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
Service.ServiceBinding getServiceBindings(int index);
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
int getServiceBindingsCount();
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
java.util.List extends Service.ServiceBindingOrBuilder>
getServiceBindingsOrBuilderList();
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
Service.ServiceBindingOrBuilder getServiceBindingsOrBuilder(
int index);
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryDefinitionsResponse is response type for the Query/Bindings RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingsResponse}
*/
public static final class QueryBindingsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryBindingsResponse)
QueryBindingsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryBindingsResponse.newBuilder() to construct.
private QueryBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryBindingsResponse() {
serviceBindings_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryBindingsResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryBindingsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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) != 0)) {
serviceBindings_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
serviceBindings_.add(
input.readMessage(Service.ServiceBinding.parser(), extensionRegistry));
break;
}
case 18: {
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
serviceBindings_ = java.util.Collections.unmodifiableList(serviceBindings_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingsResponse.class, Builder.class);
}
public static final int SERVICE_BINDINGS_FIELD_NUMBER = 1;
private java.util.List serviceBindings_;
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
@Override
public java.util.List getServiceBindingsList() {
return serviceBindings_;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
@Override
public java.util.List extends Service.ServiceBindingOrBuilder>
getServiceBindingsOrBuilderList() {
return serviceBindings_;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
@Override
public int getServiceBindingsCount() {
return serviceBindings_.size();
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
@Override
public Service.ServiceBinding getServiceBindings(int index) {
return serviceBindings_.get(index);
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
@Override
public Service.ServiceBindingOrBuilder getServiceBindingsOrBuilder(
int index) {
return serviceBindings_.get(index);
}
public static final int PAGINATION_FIELD_NUMBER = 2;
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < serviceBindings_.size(); i++) {
output.writeMessage(1, serviceBindings_.get(i));
}
if (pagination_ != null) {
output.writeMessage(2, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < serviceBindings_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, serviceBindings_.get(i));
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryBindingsResponse)) {
return super.equals(obj);
}
QueryBindingsResponse other = (QueryBindingsResponse) obj;
if (!getServiceBindingsList()
.equals(other.getServiceBindingsList())) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getServiceBindingsCount() > 0) {
hash = (37 * hash) + SERVICE_BINDINGS_FIELD_NUMBER;
hash = (53 * hash) + getServiceBindingsList().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 QueryBindingsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryBindingsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryBindingsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingsResponse 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 QueryBindingsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryBindingsResponse 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 QueryBindingsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryBindingsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryBindingsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryDefinitionsResponse is response type for the Query/Bindings RPC method
*
*
* Protobuf type {@code irismod.service.QueryBindingsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryBindingsResponse)
QueryBindingsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryBindingsResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryBindingsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getServiceBindingsFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
if (serviceBindingsBuilder_ == null) {
serviceBindings_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
serviceBindingsBuilder_.clear();
}
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryBindingsResponse_descriptor;
}
@Override
public QueryBindingsResponse getDefaultInstanceForType() {
return QueryBindingsResponse.getDefaultInstance();
}
@Override
public QueryBindingsResponse build() {
QueryBindingsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryBindingsResponse buildPartial() {
QueryBindingsResponse result = new QueryBindingsResponse(this);
int from_bitField0_ = bitField0_;
if (serviceBindingsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
serviceBindings_ = java.util.Collections.unmodifiableList(serviceBindings_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.serviceBindings_ = serviceBindings_;
} else {
result.serviceBindings_ = serviceBindingsBuilder_.build();
}
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryBindingsResponse) {
return mergeFrom((QueryBindingsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryBindingsResponse other) {
if (other == QueryBindingsResponse.getDefaultInstance()) return this;
if (serviceBindingsBuilder_ == null) {
if (!other.serviceBindings_.isEmpty()) {
if (serviceBindings_.isEmpty()) {
serviceBindings_ = other.serviceBindings_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServiceBindingsIsMutable();
serviceBindings_.addAll(other.serviceBindings_);
}
onChanged();
}
} else {
if (!other.serviceBindings_.isEmpty()) {
if (serviceBindingsBuilder_.isEmpty()) {
serviceBindingsBuilder_.dispose();
serviceBindingsBuilder_ = null;
serviceBindings_ = other.serviceBindings_;
bitField0_ = (bitField0_ & ~0x00000001);
serviceBindingsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceBindingsFieldBuilder() : null;
} else {
serviceBindingsBuilder_.addAllMessages(other.serviceBindings_);
}
}
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryBindingsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryBindingsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List serviceBindings_ =
java.util.Collections.emptyList();
private void ensureServiceBindingsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
serviceBindings_ = new java.util.ArrayList(serviceBindings_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.ServiceBinding, Service.ServiceBinding.Builder, Service.ServiceBindingOrBuilder> serviceBindingsBuilder_;
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public java.util.List getServiceBindingsList() {
if (serviceBindingsBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceBindings_);
} else {
return serviceBindingsBuilder_.getMessageList();
}
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public int getServiceBindingsCount() {
if (serviceBindingsBuilder_ == null) {
return serviceBindings_.size();
} else {
return serviceBindingsBuilder_.getCount();
}
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Service.ServiceBinding getServiceBindings(int index) {
if (serviceBindingsBuilder_ == null) {
return serviceBindings_.get(index);
} else {
return serviceBindingsBuilder_.getMessage(index);
}
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder setServiceBindings(
int index, Service.ServiceBinding value) {
if (serviceBindingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceBindingsIsMutable();
serviceBindings_.set(index, value);
onChanged();
} else {
serviceBindingsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder setServiceBindings(
int index, Service.ServiceBinding.Builder builderForValue) {
if (serviceBindingsBuilder_ == null) {
ensureServiceBindingsIsMutable();
serviceBindings_.set(index, builderForValue.build());
onChanged();
} else {
serviceBindingsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder addServiceBindings(Service.ServiceBinding value) {
if (serviceBindingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceBindingsIsMutable();
serviceBindings_.add(value);
onChanged();
} else {
serviceBindingsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder addServiceBindings(
int index, Service.ServiceBinding value) {
if (serviceBindingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceBindingsIsMutable();
serviceBindings_.add(index, value);
onChanged();
} else {
serviceBindingsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder addServiceBindings(
Service.ServiceBinding.Builder builderForValue) {
if (serviceBindingsBuilder_ == null) {
ensureServiceBindingsIsMutable();
serviceBindings_.add(builderForValue.build());
onChanged();
} else {
serviceBindingsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder addServiceBindings(
int index, Service.ServiceBinding.Builder builderForValue) {
if (serviceBindingsBuilder_ == null) {
ensureServiceBindingsIsMutable();
serviceBindings_.add(index, builderForValue.build());
onChanged();
} else {
serviceBindingsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder addAllServiceBindings(
Iterable extends Service.ServiceBinding> values) {
if (serviceBindingsBuilder_ == null) {
ensureServiceBindingsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceBindings_);
onChanged();
} else {
serviceBindingsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder clearServiceBindings() {
if (serviceBindingsBuilder_ == null) {
serviceBindings_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
serviceBindingsBuilder_.clear();
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Builder removeServiceBindings(int index) {
if (serviceBindingsBuilder_ == null) {
ensureServiceBindingsIsMutable();
serviceBindings_.remove(index);
onChanged();
} else {
serviceBindingsBuilder_.remove(index);
}
return this;
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Service.ServiceBinding.Builder getServiceBindingsBuilder(
int index) {
return getServiceBindingsFieldBuilder().getBuilder(index);
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Service.ServiceBindingOrBuilder getServiceBindingsOrBuilder(
int index) {
if (serviceBindingsBuilder_ == null) {
return serviceBindings_.get(index); } else {
return serviceBindingsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public java.util.List extends Service.ServiceBindingOrBuilder>
getServiceBindingsOrBuilderList() {
if (serviceBindingsBuilder_ != null) {
return serviceBindingsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceBindings_);
}
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Service.ServiceBinding.Builder addServiceBindingsBuilder() {
return getServiceBindingsFieldBuilder().addBuilder(
Service.ServiceBinding.getDefaultInstance());
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public Service.ServiceBinding.Builder addServiceBindingsBuilder(
int index) {
return getServiceBindingsFieldBuilder().addBuilder(
index, Service.ServiceBinding.getDefaultInstance());
}
/**
* repeated .irismod.service.ServiceBinding service_bindings = 1;
*/
public java.util.List
getServiceBindingsBuilderList() {
return getServiceBindingsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.ServiceBinding, Service.ServiceBinding.Builder, Service.ServiceBindingOrBuilder>
getServiceBindingsFieldBuilder() {
if (serviceBindingsBuilder_ == null) {
serviceBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
Service.ServiceBinding, Service.ServiceBinding.Builder, Service.ServiceBindingOrBuilder>(
serviceBindings_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
serviceBindings_ = null;
}
return serviceBindingsBuilder_;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder setPagination(proto.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(
proto.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(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryBindingsResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryBindingsResponse)
private static final QueryBindingsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryBindingsResponse();
}
public static QueryBindingsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryBindingsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryBindingsResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryBindingsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryWithdrawAddressRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryWithdrawAddressRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string owner = 1;
* @return The owner.
*/
String getOwner();
/**
* string owner = 1;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
}
/**
*
* QueryWithdrawAddressRequest is request type for the Query/WithdrawAddress RPC method
*
*
* Protobuf type {@code irismod.service.QueryWithdrawAddressRequest}
*/
public static final class QueryWithdrawAddressRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryWithdrawAddressRequest)
QueryWithdrawAddressRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryWithdrawAddressRequest.newBuilder() to construct.
private QueryWithdrawAddressRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryWithdrawAddressRequest() {
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryWithdrawAddressRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryWithdrawAddressRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
owner_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryWithdrawAddressRequest.class, Builder.class);
}
public static final int OWNER_FIELD_NUMBER = 1;
private volatile Object owner_;
/**
* string owner = 1;
* @return The owner.
*/
@Override
public String getOwner() {
Object ref = owner_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
owner_ = s;
return s;
}
}
/**
* string owner = 1;
* @return The bytes for owner.
*/
@Override
public com.google.protobuf.ByteString
getOwnerBytes() {
Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, owner_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryWithdrawAddressRequest)) {
return super.equals(obj);
}
QueryWithdrawAddressRequest other = (QueryWithdrawAddressRequest) obj;
if (!getOwner()
.equals(other.getOwner())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryWithdrawAddressRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryWithdrawAddressRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryWithdrawAddressRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryWithdrawAddressRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryWithdrawAddressRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryWithdrawAddressRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryWithdrawAddressRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryWithdrawAddressRequest 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 QueryWithdrawAddressRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryWithdrawAddressRequest 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 QueryWithdrawAddressRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryWithdrawAddressRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryWithdrawAddressRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryWithdrawAddressRequest is request type for the Query/WithdrawAddress RPC method
*
*
* Protobuf type {@code irismod.service.QueryWithdrawAddressRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryWithdrawAddressRequest)
QueryWithdrawAddressRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryWithdrawAddressRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryWithdrawAddressRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
owner_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressRequest_descriptor;
}
@Override
public QueryWithdrawAddressRequest getDefaultInstanceForType() {
return QueryWithdrawAddressRequest.getDefaultInstance();
}
@Override
public QueryWithdrawAddressRequest build() {
QueryWithdrawAddressRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryWithdrawAddressRequest buildPartial() {
QueryWithdrawAddressRequest result = new QueryWithdrawAddressRequest(this);
result.owner_ = owner_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryWithdrawAddressRequest) {
return mergeFrom((QueryWithdrawAddressRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryWithdrawAddressRequest other) {
if (other == QueryWithdrawAddressRequest.getDefaultInstance()) return this;
if (!other.getOwner().isEmpty()) {
owner_ = other.owner_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryWithdrawAddressRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryWithdrawAddressRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object owner_ = "";
/**
* string owner = 1;
* @return The owner.
*/
public String getOwner() {
Object ref = owner_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string owner = 1;
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string owner = 1;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
String value) {
if (value == null) {
throw new NullPointerException();
}
owner_ = value;
onChanged();
return this;
}
/**
* string owner = 1;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 1;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
owner_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryWithdrawAddressRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryWithdrawAddressRequest)
private static final QueryWithdrawAddressRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryWithdrawAddressRequest();
}
public static QueryWithdrawAddressRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryWithdrawAddressRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryWithdrawAddressRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryWithdrawAddressRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryWithdrawAddressResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryWithdrawAddressResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string withdraw_address = 1;
* @return The withdrawAddress.
*/
String getWithdrawAddress();
/**
* string withdraw_address = 1;
* @return The bytes for withdrawAddress.
*/
com.google.protobuf.ByteString
getWithdrawAddressBytes();
}
/**
*
* QueryWithdrawAddressResponse is response type for the Query/WithdrawAddress RPC method
*
*
* Protobuf type {@code irismod.service.QueryWithdrawAddressResponse}
*/
public static final class QueryWithdrawAddressResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryWithdrawAddressResponse)
QueryWithdrawAddressResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryWithdrawAddressResponse.newBuilder() to construct.
private QueryWithdrawAddressResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryWithdrawAddressResponse() {
withdrawAddress_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryWithdrawAddressResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryWithdrawAddressResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
withdrawAddress_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryWithdrawAddressResponse.class, Builder.class);
}
public static final int WITHDRAW_ADDRESS_FIELD_NUMBER = 1;
private volatile Object withdrawAddress_;
/**
* string withdraw_address = 1;
* @return The withdrawAddress.
*/
@Override
public String getWithdrawAddress() {
Object ref = withdrawAddress_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
withdrawAddress_ = s;
return s;
}
}
/**
* string withdraw_address = 1;
* @return The bytes for withdrawAddress.
*/
@Override
public com.google.protobuf.ByteString
getWithdrawAddressBytes() {
Object ref = withdrawAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
withdrawAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getWithdrawAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, withdrawAddress_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getWithdrawAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, withdrawAddress_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryWithdrawAddressResponse)) {
return super.equals(obj);
}
QueryWithdrawAddressResponse other = (QueryWithdrawAddressResponse) obj;
if (!getWithdrawAddress()
.equals(other.getWithdrawAddress())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + WITHDRAW_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getWithdrawAddress().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryWithdrawAddressResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryWithdrawAddressResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryWithdrawAddressResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryWithdrawAddressResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryWithdrawAddressResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryWithdrawAddressResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryWithdrawAddressResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryWithdrawAddressResponse 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 QueryWithdrawAddressResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryWithdrawAddressResponse 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 QueryWithdrawAddressResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryWithdrawAddressResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryWithdrawAddressResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryWithdrawAddressResponse is response type for the Query/WithdrawAddress RPC method
*
*
* Protobuf type {@code irismod.service.QueryWithdrawAddressResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryWithdrawAddressResponse)
QueryWithdrawAddressResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryWithdrawAddressResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryWithdrawAddressResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
withdrawAddress_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryWithdrawAddressResponse_descriptor;
}
@Override
public QueryWithdrawAddressResponse getDefaultInstanceForType() {
return QueryWithdrawAddressResponse.getDefaultInstance();
}
@Override
public QueryWithdrawAddressResponse build() {
QueryWithdrawAddressResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryWithdrawAddressResponse buildPartial() {
QueryWithdrawAddressResponse result = new QueryWithdrawAddressResponse(this);
result.withdrawAddress_ = withdrawAddress_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryWithdrawAddressResponse) {
return mergeFrom((QueryWithdrawAddressResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryWithdrawAddressResponse other) {
if (other == QueryWithdrawAddressResponse.getDefaultInstance()) return this;
if (!other.getWithdrawAddress().isEmpty()) {
withdrawAddress_ = other.withdrawAddress_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryWithdrawAddressResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryWithdrawAddressResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object withdrawAddress_ = "";
/**
* string withdraw_address = 1;
* @return The withdrawAddress.
*/
public String getWithdrawAddress() {
Object ref = withdrawAddress_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
withdrawAddress_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string withdraw_address = 1;
* @return The bytes for withdrawAddress.
*/
public com.google.protobuf.ByteString
getWithdrawAddressBytes() {
Object ref = withdrawAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
withdrawAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string withdraw_address = 1;
* @param value The withdrawAddress to set.
* @return This builder for chaining.
*/
public Builder setWithdrawAddress(
String value) {
if (value == null) {
throw new NullPointerException();
}
withdrawAddress_ = value;
onChanged();
return this;
}
/**
* string withdraw_address = 1;
* @return This builder for chaining.
*/
public Builder clearWithdrawAddress() {
withdrawAddress_ = getDefaultInstance().getWithdrawAddress();
onChanged();
return this;
}
/**
* string withdraw_address = 1;
* @param value The bytes for withdrawAddress to set.
* @return This builder for chaining.
*/
public Builder setWithdrawAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
withdrawAddress_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryWithdrawAddressResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryWithdrawAddressResponse)
private static final QueryWithdrawAddressResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryWithdrawAddressResponse();
}
public static QueryWithdrawAddressResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryWithdrawAddressResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryWithdrawAddressResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryWithdrawAddressResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestContextRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestContextRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
}
/**
*
* QueryRequestContextRequest is request type for the Query/RequestContext RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestContextRequest}
*/
public static final class QueryRequestContextRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestContextRequest)
QueryRequestContextRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestContextRequest.newBuilder() to construct.
private QueryRequestContextRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestContextRequest() {
requestContextId_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestContextRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestContextRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
requestContextId_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryRequestContextRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestContextRequest.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
@Override
public String getRequestContextId() {
Object ref = requestContextId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestContextId_ = s;
return s;
}
}
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
@Override
public com.google.protobuf.ByteString
getRequestContextIdBytes() {
Object ref = requestContextId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestContextId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getRequestContextIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestContextId_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getRequestContextIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestContextId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestContextRequest)) {
return super.equals(obj);
}
QueryRequestContextRequest other = (QueryRequestContextRequest) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestContextId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryRequestContextRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestContextRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestContextRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestContextRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestContextRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestContextRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestContextRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestContextRequest 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 QueryRequestContextRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestContextRequest 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 QueryRequestContextRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestContextRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestContextRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestContextRequest is request type for the Query/RequestContext RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestContextRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestContextRequest)
QueryRequestContextRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestContextRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestContextRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
requestContextId_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextRequest_descriptor;
}
@Override
public QueryRequestContextRequest getDefaultInstanceForType() {
return QueryRequestContextRequest.getDefaultInstance();
}
@Override
public QueryRequestContextRequest build() {
QueryRequestContextRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestContextRequest buildPartial() {
QueryRequestContextRequest result = new QueryRequestContextRequest(this);
result.requestContextId_ = requestContextId_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestContextRequest) {
return mergeFrom((QueryRequestContextRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestContextRequest other) {
if (other == QueryRequestContextRequest.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestContextRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestContextRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
public String getRequestContextId() {
Object ref = requestContextId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestContextId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
public com.google.protobuf.ByteString
getRequestContextIdBytes() {
Object ref = requestContextId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestContextId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_context_id = 1;
* @param value The requestContextId to set.
* @return This builder for chaining.
*/
public Builder setRequestContextId(
String value) {
if (value == null) {
throw new NullPointerException();
}
requestContextId_ = value;
onChanged();
return this;
}
/**
* string request_context_id = 1;
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1;
* @param value The bytes for requestContextId to set.
* @return This builder for chaining.
*/
public Builder setRequestContextIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestContextId_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestContextRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestContextRequest)
private static final QueryRequestContextRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestContextRequest();
}
public static QueryRequestContextRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestContextRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestContextRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestContextRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestContextResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestContextResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .irismod.service.RequestContext request_context = 1;
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* .irismod.service.RequestContext request_context = 1;
* @return The requestContext.
*/
Service.RequestContext getRequestContext();
/**
* .irismod.service.RequestContext request_context = 1;
*/
Service.RequestContextOrBuilder getRequestContextOrBuilder();
}
/**
*
* QueryRequestContextResponse is response type for the Query/RequestContext RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestContextResponse}
*/
public static final class QueryRequestContextResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestContextResponse)
QueryRequestContextResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestContextResponse.newBuilder() to construct.
private QueryRequestContextResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestContextResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestContextResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestContextResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
Service.RequestContext.Builder subBuilder = null;
if (requestContext_ != null) {
subBuilder = requestContext_.toBuilder();
}
requestContext_ = input.readMessage(Service.RequestContext.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(requestContext_);
requestContext_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestContextResponse.class, Builder.class);
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 1;
private Service.RequestContext requestContext_;
/**
* .irismod.service.RequestContext request_context = 1;
* @return Whether the requestContext field is set.
*/
@Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* .irismod.service.RequestContext request_context = 1;
* @return The requestContext.
*/
@Override
public Service.RequestContext getRequestContext() {
return requestContext_ == null ? Service.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
@Override
public Service.RequestContextOrBuilder getRequestContextOrBuilder() {
return getRequestContext();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (requestContext_ != null) {
output.writeMessage(1, getRequestContext());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (requestContext_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRequestContext());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestContextResponse)) {
return super.equals(obj);
}
QueryRequestContextResponse other = (QueryRequestContextResponse) obj;
if (hasRequestContext() != other.hasRequestContext()) return false;
if (hasRequestContext()) {
if (!getRequestContext()
.equals(other.getRequestContext())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRequestContext()) {
hash = (37 * hash) + REQUEST_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getRequestContext().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryRequestContextResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestContextResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestContextResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestContextResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestContextResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestContextResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestContextResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestContextResponse 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 QueryRequestContextResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestContextResponse 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 QueryRequestContextResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestContextResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestContextResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestContextResponse is response type for the Query/RequestContext RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestContextResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestContextResponse)
QueryRequestContextResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestContextResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestContextResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
if (requestContextBuilder_ == null) {
requestContext_ = null;
} else {
requestContext_ = null;
requestContextBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestContextResponse_descriptor;
}
@Override
public QueryRequestContextResponse getDefaultInstanceForType() {
return QueryRequestContextResponse.getDefaultInstance();
}
@Override
public QueryRequestContextResponse build() {
QueryRequestContextResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestContextResponse buildPartial() {
QueryRequestContextResponse result = new QueryRequestContextResponse(this);
if (requestContextBuilder_ == null) {
result.requestContext_ = requestContext_;
} else {
result.requestContext_ = requestContextBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestContextResponse) {
return mergeFrom((QueryRequestContextResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestContextResponse other) {
if (other == QueryRequestContextResponse.getDefaultInstance()) return this;
if (other.hasRequestContext()) {
mergeRequestContext(other.getRequestContext());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestContextResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestContextResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Service.RequestContext requestContext_;
private com.google.protobuf.SingleFieldBuilderV3<
Service.RequestContext, Service.RequestContext.Builder, Service.RequestContextOrBuilder> requestContextBuilder_;
/**
* .irismod.service.RequestContext request_context = 1;
* @return Whether the requestContext field is set.
*/
public boolean hasRequestContext() {
return requestContextBuilder_ != null || requestContext_ != null;
}
/**
* .irismod.service.RequestContext request_context = 1;
* @return The requestContext.
*/
public Service.RequestContext getRequestContext() {
if (requestContextBuilder_ == null) {
return requestContext_ == null ? Service.RequestContext.getDefaultInstance() : requestContext_;
} else {
return requestContextBuilder_.getMessage();
}
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
public Builder setRequestContext(Service.RequestContext value) {
if (requestContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
requestContext_ = value;
onChanged();
} else {
requestContextBuilder_.setMessage(value);
}
return this;
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
public Builder setRequestContext(
Service.RequestContext.Builder builderForValue) {
if (requestContextBuilder_ == null) {
requestContext_ = builderForValue.build();
onChanged();
} else {
requestContextBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
public Builder mergeRequestContext(Service.RequestContext value) {
if (requestContextBuilder_ == null) {
if (requestContext_ != null) {
requestContext_ =
Service.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
onChanged();
} else {
requestContextBuilder_.mergeFrom(value);
}
return this;
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
public Builder clearRequestContext() {
if (requestContextBuilder_ == null) {
requestContext_ = null;
onChanged();
} else {
requestContext_ = null;
requestContextBuilder_ = null;
}
return this;
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
public Service.RequestContext.Builder getRequestContextBuilder() {
onChanged();
return getRequestContextFieldBuilder().getBuilder();
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
public Service.RequestContextOrBuilder getRequestContextOrBuilder() {
if (requestContextBuilder_ != null) {
return requestContextBuilder_.getMessageOrBuilder();
} else {
return requestContext_ == null ?
Service.RequestContext.getDefaultInstance() : requestContext_;
}
}
/**
* .irismod.service.RequestContext request_context = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
Service.RequestContext, Service.RequestContext.Builder, Service.RequestContextOrBuilder>
getRequestContextFieldBuilder() {
if (requestContextBuilder_ == null) {
requestContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Service.RequestContext, Service.RequestContext.Builder, Service.RequestContextOrBuilder>(
getRequestContext(),
getParentForChildren(),
isClean());
requestContext_ = null;
}
return requestContextBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestContextResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestContextResponse)
private static final QueryRequestContextResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestContextResponse();
}
public static QueryRequestContextResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestContextResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestContextResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestContextResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string request_id = 1;
* @return The requestId.
*/
String getRequestId();
/**
* string request_id = 1;
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
}
/**
*
* QueryRequestRequest is request type for the Query/Request RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestRequest}
*/
public static final class QueryRequestRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestRequest)
QueryRequestRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestRequest.newBuilder() to construct.
private QueryRequestRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestRequest() {
requestId_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
requestId_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryRequestRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestRequest.class, Builder.class);
}
public static final int REQUEST_ID_FIELD_NUMBER = 1;
private volatile Object requestId_;
/**
* string request_id = 1;
* @return The requestId.
*/
@Override
public String getRequestId() {
Object ref = requestId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestId_ = s;
return s;
}
}
/**
* string request_id = 1;
* @return The bytes for requestId.
*/
@Override
public com.google.protobuf.ByteString
getRequestIdBytes() {
Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getRequestIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getRequestIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestRequest)) {
return super.equals(obj);
}
QueryRequestRequest other = (QueryRequestRequest) obj;
if (!getRequestId()
.equals(other.getRequestId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryRequestRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestRequest 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 QueryRequestRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestRequest 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 QueryRequestRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestRequest is request type for the Query/Request RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestRequest)
QueryRequestRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
requestId_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestRequest_descriptor;
}
@Override
public QueryRequestRequest getDefaultInstanceForType() {
return QueryRequestRequest.getDefaultInstance();
}
@Override
public QueryRequestRequest build() {
QueryRequestRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestRequest buildPartial() {
QueryRequestRequest result = new QueryRequestRequest(this);
result.requestId_ = requestId_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestRequest) {
return mergeFrom((QueryRequestRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestRequest other) {
if (other == QueryRequestRequest.getDefaultInstance()) return this;
if (!other.getRequestId().isEmpty()) {
requestId_ = other.requestId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestId_ = "";
/**
* string request_id = 1;
* @return The requestId.
*/
public String getRequestId() {
Object ref = requestId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string request_id = 1;
* @return The bytes for requestId.
*/
public com.google.protobuf.ByteString
getRequestIdBytes() {
Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_id = 1;
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(
String value) {
if (value == null) {
throw new NullPointerException();
}
requestId_ = value;
onChanged();
return this;
}
/**
* string request_id = 1;
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = getDefaultInstance().getRequestId();
onChanged();
return this;
}
/**
* string request_id = 1;
* @param value The bytes for requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestId_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestRequest)
private static final QueryRequestRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestRequest();
}
public static QueryRequestRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .irismod.service.Request request = 1;
* @return Whether the request field is set.
*/
boolean hasRequest();
/**
* .irismod.service.Request request = 1;
* @return The request.
*/
Service.Request getRequest();
/**
* .irismod.service.Request request = 1;
*/
Service.RequestOrBuilder getRequestOrBuilder();
}
/**
*
* QueryRequestResponse is response type for the Query/Request RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestResponse}
*/
public static final class QueryRequestResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestResponse)
QueryRequestResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestResponse.newBuilder() to construct.
private QueryRequestResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
Service.Request.Builder subBuilder = null;
if (request_ != null) {
subBuilder = request_.toBuilder();
}
request_ = input.readMessage(Service.Request.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(request_);
request_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryRequestResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestResponse.class, Builder.class);
}
public static final int REQUEST_FIELD_NUMBER = 1;
private Service.Request request_;
/**
* .irismod.service.Request request = 1;
* @return Whether the request field is set.
*/
@Override
public boolean hasRequest() {
return request_ != null;
}
/**
* .irismod.service.Request request = 1;
* @return The request.
*/
@Override
public Service.Request getRequest() {
return request_ == null ? Service.Request.getDefaultInstance() : request_;
}
/**
* .irismod.service.Request request = 1;
*/
@Override
public Service.RequestOrBuilder getRequestOrBuilder() {
return getRequest();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (request_ != null) {
output.writeMessage(1, getRequest());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (request_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRequest());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestResponse)) {
return super.equals(obj);
}
QueryRequestResponse other = (QueryRequestResponse) obj;
if (hasRequest() != other.hasRequest()) return false;
if (hasRequest()) {
if (!getRequest()
.equals(other.getRequest())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRequest()) {
hash = (37 * hash) + REQUEST_FIELD_NUMBER;
hash = (53 * hash) + getRequest().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryRequestResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestResponse 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 QueryRequestResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestResponse 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 QueryRequestResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestResponse is response type for the Query/Request RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestResponse)
QueryRequestResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
if (requestBuilder_ == null) {
request_ = null;
} else {
request_ = null;
requestBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestResponse_descriptor;
}
@Override
public QueryRequestResponse getDefaultInstanceForType() {
return QueryRequestResponse.getDefaultInstance();
}
@Override
public QueryRequestResponse build() {
QueryRequestResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestResponse buildPartial() {
QueryRequestResponse result = new QueryRequestResponse(this);
if (requestBuilder_ == null) {
result.request_ = request_;
} else {
result.request_ = requestBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestResponse) {
return mergeFrom((QueryRequestResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestResponse other) {
if (other == QueryRequestResponse.getDefaultInstance()) return this;
if (other.hasRequest()) {
mergeRequest(other.getRequest());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Service.Request request_;
private com.google.protobuf.SingleFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder> requestBuilder_;
/**
* .irismod.service.Request request = 1;
* @return Whether the request field is set.
*/
public boolean hasRequest() {
return requestBuilder_ != null || request_ != null;
}
/**
* .irismod.service.Request request = 1;
* @return The request.
*/
public Service.Request getRequest() {
if (requestBuilder_ == null) {
return request_ == null ? Service.Request.getDefaultInstance() : request_;
} else {
return requestBuilder_.getMessage();
}
}
/**
* .irismod.service.Request request = 1;
*/
public Builder setRequest(Service.Request value) {
if (requestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
requestBuilder_.setMessage(value);
}
return this;
}
/**
* .irismod.service.Request request = 1;
*/
public Builder setRequest(
Service.Request.Builder builderForValue) {
if (requestBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
requestBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .irismod.service.Request request = 1;
*/
public Builder mergeRequest(Service.Request value) {
if (requestBuilder_ == null) {
if (request_ != null) {
request_ =
Service.Request.newBuilder(request_).mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
requestBuilder_.mergeFrom(value);
}
return this;
}
/**
* .irismod.service.Request request = 1;
*/
public Builder clearRequest() {
if (requestBuilder_ == null) {
request_ = null;
onChanged();
} else {
request_ = null;
requestBuilder_ = null;
}
return this;
}
/**
* .irismod.service.Request request = 1;
*/
public Service.Request.Builder getRequestBuilder() {
onChanged();
return getRequestFieldBuilder().getBuilder();
}
/**
* .irismod.service.Request request = 1;
*/
public Service.RequestOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder();
} else {
return request_ == null ?
Service.Request.getDefaultInstance() : request_;
}
}
/**
* .irismod.service.Request request = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder>
getRequestFieldBuilder() {
if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder>(
getRequest(),
getParentForChildren(),
isClean());
request_ = null;
}
return requestBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestResponse)
private static final QueryRequestResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestResponse();
}
public static QueryRequestResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1;
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
* string provider = 2;
* @return The provider.
*/
String getProvider();
/**
* string provider = 2;
* @return The bytes for provider.
*/
com.google.protobuf.ByteString
getProviderBytes();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryRequestsRequest is request type for the Query/Requests RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsRequest}
*/
public static final class QueryRequestsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestsRequest)
QueryRequestsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestsRequest.newBuilder() to construct.
private QueryRequestsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestsRequest() {
serviceName_ = "";
provider_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestsRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
case 26: {
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryRequestsRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsRequest.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1;
* @return The serviceName.
*/
@Override
public String getServiceName() {
Object ref = serviceName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
@Override
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROVIDER_FIELD_NUMBER = 2;
private volatile Object provider_;
/**
* string provider = 2;
* @return The provider.
*/
@Override
public String getProvider() {
Object ref = provider_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
provider_ = s;
return s;
}
}
/**
* string provider = 2;
* @return The bytes for provider.
*/
@Override
public com.google.protobuf.ByteString
getProviderBytes() {
Object ref = provider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
provider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAGINATION_FIELD_NUMBER = 3;
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
if (pagination_ != null) {
output.writeMessage(3, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServiceNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, provider_);
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestsRequest)) {
return super.equals(obj);
}
QueryRequestsRequest other = (QueryRequestsRequest) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().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 QueryRequestsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsRequest 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 QueryRequestsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestsRequest 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 QueryRequestsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestsRequest is request type for the Query/Requests RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestsRequest)
QueryRequestsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
provider_ = "";
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsRequest_descriptor;
}
@Override
public QueryRequestsRequest getDefaultInstanceForType() {
return QueryRequestsRequest.getDefaultInstance();
}
@Override
public QueryRequestsRequest build() {
QueryRequestsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestsRequest buildPartial() {
QueryRequestsRequest result = new QueryRequestsRequest(this);
result.serviceName_ = serviceName_;
result.provider_ = provider_;
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestsRequest) {
return mergeFrom((QueryRequestsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestsRequest other) {
if (other == QueryRequestsRequest.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object serviceName_ = "";
/**
* string service_name = 1;
* @return The serviceName.
*/
public String getServiceName() {
Object ref = serviceName_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
serviceName_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string service_name = 1;
* @return The bytes for serviceName.
*/
public com.google.protobuf.ByteString
getServiceNameBytes() {
Object ref = serviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
serviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string service_name = 1;
* @param value The serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceName(
String value) {
if (value == null) {
throw new NullPointerException();
}
serviceName_ = value;
onChanged();
return this;
}
/**
* string service_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1;
* @param value The bytes for serviceName to set.
* @return This builder for chaining.
*/
public Builder setServiceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceName_ = value;
onChanged();
return this;
}
private Object provider_ = "";
/**
* string provider = 2;
* @return The provider.
*/
public String getProvider() {
Object ref = provider_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
provider_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string provider = 2;
* @return The bytes for provider.
*/
public com.google.protobuf.ByteString
getProviderBytes() {
Object ref = provider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
provider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string provider = 2;
* @param value The provider to set.
* @return This builder for chaining.
*/
public Builder setProvider(
String value) {
if (value == null) {
throw new NullPointerException();
}
provider_ = value;
onChanged();
return this;
}
/**
* string provider = 2;
* @return This builder for chaining.
*/
public Builder clearProvider() {
provider_ = getDefaultInstance().getProvider();
onChanged();
return this;
}
/**
* string provider = 2;
* @param value The bytes for provider to set.
* @return This builder for chaining.
*/
public Builder setProviderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
provider_ = value;
onChanged();
return this;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder setPagination(proto.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 = 3;
*/
public Builder setPagination(
proto.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 = 3;
*/
public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageRequest value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 = 3;
*/
public Builder clearPagination() {
if (paginationBuilder_ == null) {
pagination_ = null;
onChanged();
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestsRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestsRequest)
private static final QueryRequestsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestsRequest();
}
public static QueryRequestsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestsRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .irismod.service.Request requests = 1;
*/
java.util.List
getRequestsList();
/**
* repeated .irismod.service.Request requests = 1;
*/
Service.Request getRequests(int index);
/**
* repeated .irismod.service.Request requests = 1;
*/
int getRequestsCount();
/**
* repeated .irismod.service.Request requests = 1;
*/
java.util.List extends Service.RequestOrBuilder>
getRequestsOrBuilderList();
/**
* repeated .irismod.service.Request requests = 1;
*/
Service.RequestOrBuilder getRequestsOrBuilder(
int index);
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryRequestsResponse is response type for the Query/Requests RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsResponse}
*/
public static final class QueryRequestsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestsResponse)
QueryRequestsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestsResponse.newBuilder() to construct.
private QueryRequestsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestsResponse() {
requests_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestsResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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) != 0)) {
requests_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
requests_.add(
input.readMessage(Service.Request.parser(), extensionRegistry));
break;
}
case 18: {
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
requests_ = java.util.Collections.unmodifiableList(requests_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsResponse.class, Builder.class);
}
public static final int REQUESTS_FIELD_NUMBER = 1;
private java.util.List requests_;
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public java.util.List getRequestsList() {
return requests_;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public java.util.List extends Service.RequestOrBuilder>
getRequestsOrBuilderList() {
return requests_;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public int getRequestsCount() {
return requests_.size();
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public Service.Request getRequests(int index) {
return requests_.get(index);
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public Service.RequestOrBuilder getRequestsOrBuilder(
int index) {
return requests_.get(index);
}
public static final int PAGINATION_FIELD_NUMBER = 2;
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < requests_.size(); i++) {
output.writeMessage(1, requests_.get(i));
}
if (pagination_ != null) {
output.writeMessage(2, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < requests_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, requests_.get(i));
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestsResponse)) {
return super.equals(obj);
}
QueryRequestsResponse other = (QueryRequestsResponse) obj;
if (!getRequestsList()
.equals(other.getRequestsList())) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getRequestsCount() > 0) {
hash = (37 * hash) + REQUESTS_FIELD_NUMBER;
hash = (53 * hash) + getRequestsList().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 QueryRequestsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsResponse 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 QueryRequestsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestsResponse 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 QueryRequestsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestsResponse is response type for the Query/Requests RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestsResponse)
QueryRequestsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRequestsFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
if (requestsBuilder_ == null) {
requests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
requestsBuilder_.clear();
}
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsResponse_descriptor;
}
@Override
public QueryRequestsResponse getDefaultInstanceForType() {
return QueryRequestsResponse.getDefaultInstance();
}
@Override
public QueryRequestsResponse build() {
QueryRequestsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestsResponse buildPartial() {
QueryRequestsResponse result = new QueryRequestsResponse(this);
int from_bitField0_ = bitField0_;
if (requestsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
requests_ = java.util.Collections.unmodifiableList(requests_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.requests_ = requests_;
} else {
result.requests_ = requestsBuilder_.build();
}
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestsResponse) {
return mergeFrom((QueryRequestsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestsResponse other) {
if (other == QueryRequestsResponse.getDefaultInstance()) return this;
if (requestsBuilder_ == null) {
if (!other.requests_.isEmpty()) {
if (requests_.isEmpty()) {
requests_ = other.requests_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRequestsIsMutable();
requests_.addAll(other.requests_);
}
onChanged();
}
} else {
if (!other.requests_.isEmpty()) {
if (requestsBuilder_.isEmpty()) {
requestsBuilder_.dispose();
requestsBuilder_ = null;
requests_ = other.requests_;
bitField0_ = (bitField0_ & ~0x00000001);
requestsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRequestsFieldBuilder() : null;
} else {
requestsBuilder_.addAllMessages(other.requests_);
}
}
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List requests_ =
java.util.Collections.emptyList();
private void ensureRequestsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
requests_ = new java.util.ArrayList(requests_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder> requestsBuilder_;
/**
* repeated .irismod.service.Request requests = 1;
*/
public java.util.List getRequestsList() {
if (requestsBuilder_ == null) {
return java.util.Collections.unmodifiableList(requests_);
} else {
return requestsBuilder_.getMessageList();
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public int getRequestsCount() {
if (requestsBuilder_ == null) {
return requests_.size();
} else {
return requestsBuilder_.getCount();
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request getRequests(int index) {
if (requestsBuilder_ == null) {
return requests_.get(index);
} else {
return requestsBuilder_.getMessage(index);
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder setRequests(
int index, Service.Request value) {
if (requestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestsIsMutable();
requests_.set(index, value);
onChanged();
} else {
requestsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder setRequests(
int index, Service.Request.Builder builderForValue) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.set(index, builderForValue.build());
onChanged();
} else {
requestsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(Service.Request value) {
if (requestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestsIsMutable();
requests_.add(value);
onChanged();
} else {
requestsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(
int index, Service.Request value) {
if (requestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestsIsMutable();
requests_.add(index, value);
onChanged();
} else {
requestsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(
Service.Request.Builder builderForValue) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.add(builderForValue.build());
onChanged();
} else {
requestsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(
int index, Service.Request.Builder builderForValue) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.add(index, builderForValue.build());
onChanged();
} else {
requestsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addAllRequests(
Iterable extends Service.Request> values) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, requests_);
onChanged();
} else {
requestsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder clearRequests() {
if (requestsBuilder_ == null) {
requests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
requestsBuilder_.clear();
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder removeRequests(int index) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.remove(index);
onChanged();
} else {
requestsBuilder_.remove(index);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request.Builder getRequestsBuilder(
int index) {
return getRequestsFieldBuilder().getBuilder(index);
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.RequestOrBuilder getRequestsOrBuilder(
int index) {
if (requestsBuilder_ == null) {
return requests_.get(index); } else {
return requestsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public java.util.List extends Service.RequestOrBuilder>
getRequestsOrBuilderList() {
if (requestsBuilder_ != null) {
return requestsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(requests_);
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request.Builder addRequestsBuilder() {
return getRequestsFieldBuilder().addBuilder(
Service.Request.getDefaultInstance());
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request.Builder addRequestsBuilder(
int index) {
return getRequestsFieldBuilder().addBuilder(
index, Service.Request.getDefaultInstance());
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public java.util.List
getRequestsBuilderList() {
return getRequestsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder>
getRequestsFieldBuilder() {
if (requestsBuilder_ == null) {
requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder>(
requests_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
requests_ = null;
}
return requestsBuilder_;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder setPagination(proto.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(
proto.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(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestsResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestsResponse)
private static final QueryRequestsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestsResponse();
}
public static QueryRequestsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestsResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestsByReqCtxRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestsByReqCtxRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
/**
* uint64 batch_counter = 2;
* @return The batchCounter.
*/
long getBatchCounter();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryRequestsByReqCtxRequest is request type for the Query/RequestsByReqCtx RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsByReqCtxRequest}
*/
public static final class QueryRequestsByReqCtxRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestsByReqCtxRequest)
QueryRequestsByReqCtxRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestsByReqCtxRequest.newBuilder() to construct.
private QueryRequestsByReqCtxRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestsByReqCtxRequest() {
requestContextId_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestsByReqCtxRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestsByReqCtxRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
requestContextId_ = s;
break;
}
case 16: {
batchCounter_ = input.readUInt64();
break;
}
case 26: {
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsByReqCtxRequest.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
@Override
public String getRequestContextId() {
Object ref = requestContextId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestContextId_ = s;
return s;
}
}
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
@Override
public com.google.protobuf.ByteString
getRequestContextIdBytes() {
Object ref = requestContextId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestContextId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BATCH_COUNTER_FIELD_NUMBER = 2;
private long batchCounter_;
/**
* uint64 batch_counter = 2;
* @return The batchCounter.
*/
@Override
public long getBatchCounter() {
return batchCounter_;
}
public static final int PAGINATION_FIELD_NUMBER = 3;
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getRequestContextIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestContextId_);
}
if (batchCounter_ != 0L) {
output.writeUInt64(2, batchCounter_);
}
if (pagination_ != null) {
output.writeMessage(3, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getRequestContextIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestContextId_);
}
if (batchCounter_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, batchCounter_);
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestsByReqCtxRequest)) {
return super.equals(obj);
}
QueryRequestsByReqCtxRequest other = (QueryRequestsByReqCtxRequest) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (getBatchCounter()
!= other.getBatchCounter()) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestContextId().hashCode();
hash = (37 * hash) + BATCH_COUNTER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBatchCounter());
if (hasPagination()) {
hash = (37 * hash) + PAGINATION_FIELD_NUMBER;
hash = (53 * hash) + getPagination().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryRequestsByReqCtxRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsByReqCtxRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsByReqCtxRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsByReqCtxRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsByReqCtxRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsByReqCtxRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsByReqCtxRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsByReqCtxRequest 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 QueryRequestsByReqCtxRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestsByReqCtxRequest 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 QueryRequestsByReqCtxRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsByReqCtxRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestsByReqCtxRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestsByReqCtxRequest is request type for the Query/RequestsByReqCtx RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsByReqCtxRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestsByReqCtxRequest)
QueryRequestsByReqCtxRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsByReqCtxRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestsByReqCtxRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
requestContextId_ = "";
batchCounter_ = 0L;
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxRequest_descriptor;
}
@Override
public QueryRequestsByReqCtxRequest getDefaultInstanceForType() {
return QueryRequestsByReqCtxRequest.getDefaultInstance();
}
@Override
public QueryRequestsByReqCtxRequest build() {
QueryRequestsByReqCtxRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestsByReqCtxRequest buildPartial() {
QueryRequestsByReqCtxRequest result = new QueryRequestsByReqCtxRequest(this);
result.requestContextId_ = requestContextId_;
result.batchCounter_ = batchCounter_;
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestsByReqCtxRequest) {
return mergeFrom((QueryRequestsByReqCtxRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestsByReqCtxRequest other) {
if (other == QueryRequestsByReqCtxRequest.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
if (other.getBatchCounter() != 0L) {
setBatchCounter(other.getBatchCounter());
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestsByReqCtxRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestsByReqCtxRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
public String getRequestContextId() {
Object ref = requestContextId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestContextId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
public com.google.protobuf.ByteString
getRequestContextIdBytes() {
Object ref = requestContextId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestContextId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_context_id = 1;
* @param value The requestContextId to set.
* @return This builder for chaining.
*/
public Builder setRequestContextId(
String value) {
if (value == null) {
throw new NullPointerException();
}
requestContextId_ = value;
onChanged();
return this;
}
/**
* string request_context_id = 1;
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1;
* @param value The bytes for requestContextId to set.
* @return This builder for chaining.
*/
public Builder setRequestContextIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestContextId_ = value;
onChanged();
return this;
}
private long batchCounter_ ;
/**
* uint64 batch_counter = 2;
* @return The batchCounter.
*/
@Override
public long getBatchCounter() {
return batchCounter_;
}
/**
* uint64 batch_counter = 2;
* @param value The batchCounter to set.
* @return This builder for chaining.
*/
public Builder setBatchCounter(long value) {
batchCounter_ = value;
onChanged();
return this;
}
/**
* uint64 batch_counter = 2;
* @return This builder for chaining.
*/
public Builder clearBatchCounter() {
batchCounter_ = 0L;
onChanged();
return this;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder setPagination(proto.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 = 3;
*/
public Builder setPagination(
proto.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 = 3;
*/
public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageRequest value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 = 3;
*/
public Builder clearPagination() {
if (paginationBuilder_ == null) {
pagination_ = null;
onChanged();
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestsByReqCtxRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestsByReqCtxRequest)
private static final QueryRequestsByReqCtxRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestsByReqCtxRequest();
}
public static QueryRequestsByReqCtxRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestsByReqCtxRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestsByReqCtxRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestsByReqCtxRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryRequestsByReqCtxResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryRequestsByReqCtxResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .irismod.service.Request requests = 1;
*/
java.util.List
getRequestsList();
/**
* repeated .irismod.service.Request requests = 1;
*/
Service.Request getRequests(int index);
/**
* repeated .irismod.service.Request requests = 1;
*/
int getRequestsCount();
/**
* repeated .irismod.service.Request requests = 1;
*/
java.util.List extends Service.RequestOrBuilder>
getRequestsOrBuilderList();
/**
* repeated .irismod.service.Request requests = 1;
*/
Service.RequestOrBuilder getRequestsOrBuilder(
int index);
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryRequestsByReqCtxResponse is response type for the Query/RequestsByReqCtx RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsByReqCtxResponse}
*/
public static final class QueryRequestsByReqCtxResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryRequestsByReqCtxResponse)
QueryRequestsByReqCtxResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryRequestsByReqCtxResponse.newBuilder() to construct.
private QueryRequestsByReqCtxResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryRequestsByReqCtxResponse() {
requests_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryRequestsByReqCtxResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryRequestsByReqCtxResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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) != 0)) {
requests_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
requests_.add(
input.readMessage(Service.Request.parser(), extensionRegistry));
break;
}
case 18: {
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
requests_ = java.util.Collections.unmodifiableList(requests_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsByReqCtxResponse.class, Builder.class);
}
public static final int REQUESTS_FIELD_NUMBER = 1;
private java.util.List requests_;
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public java.util.List getRequestsList() {
return requests_;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public java.util.List extends Service.RequestOrBuilder>
getRequestsOrBuilderList() {
return requests_;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public int getRequestsCount() {
return requests_.size();
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public Service.Request getRequests(int index) {
return requests_.get(index);
}
/**
* repeated .irismod.service.Request requests = 1;
*/
@Override
public Service.RequestOrBuilder getRequestsOrBuilder(
int index) {
return requests_.get(index);
}
public static final int PAGINATION_FIELD_NUMBER = 2;
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < requests_.size(); i++) {
output.writeMessage(1, requests_.get(i));
}
if (pagination_ != null) {
output.writeMessage(2, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < requests_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, requests_.get(i));
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryRequestsByReqCtxResponse)) {
return super.equals(obj);
}
QueryRequestsByReqCtxResponse other = (QueryRequestsByReqCtxResponse) obj;
if (!getRequestsList()
.equals(other.getRequestsList())) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getRequestsCount() > 0) {
hash = (37 * hash) + REQUESTS_FIELD_NUMBER;
hash = (53 * hash) + getRequestsList().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 QueryRequestsByReqCtxResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsByReqCtxResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsByReqCtxResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsByReqCtxResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsByReqCtxResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryRequestsByReqCtxResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryRequestsByReqCtxResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsByReqCtxResponse 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 QueryRequestsByReqCtxResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryRequestsByReqCtxResponse 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 QueryRequestsByReqCtxResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryRequestsByReqCtxResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryRequestsByReqCtxResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryRequestsByReqCtxResponse is response type for the Query/RequestsByReqCtx RPC method
*
*
* Protobuf type {@code irismod.service.QueryRequestsByReqCtxResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryRequestsByReqCtxResponse)
QueryRequestsByReqCtxResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryRequestsByReqCtxResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryRequestsByReqCtxResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRequestsFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
if (requestsBuilder_ == null) {
requests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
requestsBuilder_.clear();
}
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryRequestsByReqCtxResponse_descriptor;
}
@Override
public QueryRequestsByReqCtxResponse getDefaultInstanceForType() {
return QueryRequestsByReqCtxResponse.getDefaultInstance();
}
@Override
public QueryRequestsByReqCtxResponse build() {
QueryRequestsByReqCtxResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryRequestsByReqCtxResponse buildPartial() {
QueryRequestsByReqCtxResponse result = new QueryRequestsByReqCtxResponse(this);
int from_bitField0_ = bitField0_;
if (requestsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
requests_ = java.util.Collections.unmodifiableList(requests_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.requests_ = requests_;
} else {
result.requests_ = requestsBuilder_.build();
}
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryRequestsByReqCtxResponse) {
return mergeFrom((QueryRequestsByReqCtxResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryRequestsByReqCtxResponse other) {
if (other == QueryRequestsByReqCtxResponse.getDefaultInstance()) return this;
if (requestsBuilder_ == null) {
if (!other.requests_.isEmpty()) {
if (requests_.isEmpty()) {
requests_ = other.requests_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRequestsIsMutable();
requests_.addAll(other.requests_);
}
onChanged();
}
} else {
if (!other.requests_.isEmpty()) {
if (requestsBuilder_.isEmpty()) {
requestsBuilder_.dispose();
requestsBuilder_ = null;
requests_ = other.requests_;
bitField0_ = (bitField0_ & ~0x00000001);
requestsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRequestsFieldBuilder() : null;
} else {
requestsBuilder_.addAllMessages(other.requests_);
}
}
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryRequestsByReqCtxResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryRequestsByReqCtxResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List requests_ =
java.util.Collections.emptyList();
private void ensureRequestsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
requests_ = new java.util.ArrayList(requests_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder> requestsBuilder_;
/**
* repeated .irismod.service.Request requests = 1;
*/
public java.util.List getRequestsList() {
if (requestsBuilder_ == null) {
return java.util.Collections.unmodifiableList(requests_);
} else {
return requestsBuilder_.getMessageList();
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public int getRequestsCount() {
if (requestsBuilder_ == null) {
return requests_.size();
} else {
return requestsBuilder_.getCount();
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request getRequests(int index) {
if (requestsBuilder_ == null) {
return requests_.get(index);
} else {
return requestsBuilder_.getMessage(index);
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder setRequests(
int index, Service.Request value) {
if (requestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestsIsMutable();
requests_.set(index, value);
onChanged();
} else {
requestsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder setRequests(
int index, Service.Request.Builder builderForValue) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.set(index, builderForValue.build());
onChanged();
} else {
requestsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(Service.Request value) {
if (requestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestsIsMutable();
requests_.add(value);
onChanged();
} else {
requestsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(
int index, Service.Request value) {
if (requestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestsIsMutable();
requests_.add(index, value);
onChanged();
} else {
requestsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(
Service.Request.Builder builderForValue) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.add(builderForValue.build());
onChanged();
} else {
requestsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addRequests(
int index, Service.Request.Builder builderForValue) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.add(index, builderForValue.build());
onChanged();
} else {
requestsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder addAllRequests(
Iterable extends Service.Request> values) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, requests_);
onChanged();
} else {
requestsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder clearRequests() {
if (requestsBuilder_ == null) {
requests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
requestsBuilder_.clear();
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Builder removeRequests(int index) {
if (requestsBuilder_ == null) {
ensureRequestsIsMutable();
requests_.remove(index);
onChanged();
} else {
requestsBuilder_.remove(index);
}
return this;
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request.Builder getRequestsBuilder(
int index) {
return getRequestsFieldBuilder().getBuilder(index);
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.RequestOrBuilder getRequestsOrBuilder(
int index) {
if (requestsBuilder_ == null) {
return requests_.get(index); } else {
return requestsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public java.util.List extends Service.RequestOrBuilder>
getRequestsOrBuilderList() {
if (requestsBuilder_ != null) {
return requestsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(requests_);
}
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request.Builder addRequestsBuilder() {
return getRequestsFieldBuilder().addBuilder(
Service.Request.getDefaultInstance());
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public Service.Request.Builder addRequestsBuilder(
int index) {
return getRequestsFieldBuilder().addBuilder(
index, Service.Request.getDefaultInstance());
}
/**
* repeated .irismod.service.Request requests = 1;
*/
public java.util.List
getRequestsBuilderList() {
return getRequestsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder>
getRequestsFieldBuilder() {
if (requestsBuilder_ == null) {
requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
Service.Request, Service.Request.Builder, Service.RequestOrBuilder>(
requests_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
requests_ = null;
}
return requestsBuilder_;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder setPagination(proto.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(
proto.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(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryRequestsByReqCtxResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryRequestsByReqCtxResponse)
private static final QueryRequestsByReqCtxResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryRequestsByReqCtxResponse();
}
public static QueryRequestsByReqCtxResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryRequestsByReqCtxResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryRequestsByReqCtxResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryRequestsByReqCtxResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryResponseRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryResponseRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string request_id = 1;
* @return The requestId.
*/
String getRequestId();
/**
* string request_id = 1;
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
}
/**
*
* QueryResponseRequest is request type for the Query/Response RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponseRequest}
*/
public static final class QueryResponseRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryResponseRequest)
QueryResponseRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryResponseRequest.newBuilder() to construct.
private QueryResponseRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryResponseRequest() {
requestId_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryResponseRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryResponseRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
requestId_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryResponseRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponseRequest.class, Builder.class);
}
public static final int REQUEST_ID_FIELD_NUMBER = 1;
private volatile Object requestId_;
/**
* string request_id = 1;
* @return The requestId.
*/
@Override
public String getRequestId() {
Object ref = requestId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestId_ = s;
return s;
}
}
/**
* string request_id = 1;
* @return The bytes for requestId.
*/
@Override
public com.google.protobuf.ByteString
getRequestIdBytes() {
Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getRequestIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getRequestIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryResponseRequest)) {
return super.equals(obj);
}
QueryResponseRequest other = (QueryResponseRequest) obj;
if (!getRequestId()
.equals(other.getRequestId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryResponseRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponseRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponseRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponseRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponseRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponseRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponseRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponseRequest 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 QueryResponseRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryResponseRequest 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 QueryResponseRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponseRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryResponseRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryResponseRequest is request type for the Query/Response RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponseRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryResponseRequest)
QueryResponseRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponseRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryResponseRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
requestId_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseRequest_descriptor;
}
@Override
public QueryResponseRequest getDefaultInstanceForType() {
return QueryResponseRequest.getDefaultInstance();
}
@Override
public QueryResponseRequest build() {
QueryResponseRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryResponseRequest buildPartial() {
QueryResponseRequest result = new QueryResponseRequest(this);
result.requestId_ = requestId_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryResponseRequest) {
return mergeFrom((QueryResponseRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryResponseRequest other) {
if (other == QueryResponseRequest.getDefaultInstance()) return this;
if (!other.getRequestId().isEmpty()) {
requestId_ = other.requestId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryResponseRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryResponseRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestId_ = "";
/**
* string request_id = 1;
* @return The requestId.
*/
public String getRequestId() {
Object ref = requestId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string request_id = 1;
* @return The bytes for requestId.
*/
public com.google.protobuf.ByteString
getRequestIdBytes() {
Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_id = 1;
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(
String value) {
if (value == null) {
throw new NullPointerException();
}
requestId_ = value;
onChanged();
return this;
}
/**
* string request_id = 1;
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = getDefaultInstance().getRequestId();
onChanged();
return this;
}
/**
* string request_id = 1;
* @param value The bytes for requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestId_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryResponseRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryResponseRequest)
private static final QueryResponseRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryResponseRequest();
}
public static QueryResponseRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryResponseRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryResponseRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryResponseRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryResponseResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryResponseResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .irismod.service.Response response = 1;
* @return Whether the response field is set.
*/
boolean hasResponse();
/**
* .irismod.service.Response response = 1;
* @return The response.
*/
Service.Response getResponse();
/**
* .irismod.service.Response response = 1;
*/
Service.ResponseOrBuilder getResponseOrBuilder();
}
/**
*
* QueryResponseResponse is response type for the Query/Response RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponseResponse}
*/
public static final class QueryResponseResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryResponseResponse)
QueryResponseResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryResponseResponse.newBuilder() to construct.
private QueryResponseResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryResponseResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryResponseResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryResponseResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
Service.Response.Builder subBuilder = null;
if (response_ != null) {
subBuilder = response_.toBuilder();
}
response_ = input.readMessage(Service.Response.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(response_);
response_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryResponseResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponseResponse.class, Builder.class);
}
public static final int RESPONSE_FIELD_NUMBER = 1;
private Service.Response response_;
/**
* .irismod.service.Response response = 1;
* @return Whether the response field is set.
*/
@Override
public boolean hasResponse() {
return response_ != null;
}
/**
* .irismod.service.Response response = 1;
* @return The response.
*/
@Override
public Service.Response getResponse() {
return response_ == null ? Service.Response.getDefaultInstance() : response_;
}
/**
* .irismod.service.Response response = 1;
*/
@Override
public Service.ResponseOrBuilder getResponseOrBuilder() {
return getResponse();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (response_ != null) {
output.writeMessage(1, getResponse());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (response_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResponse());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryResponseResponse)) {
return super.equals(obj);
}
QueryResponseResponse other = (QueryResponseResponse) obj;
if (hasResponse() != other.hasResponse()) return false;
if (hasResponse()) {
if (!getResponse()
.equals(other.getResponse())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasResponse()) {
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryResponseResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponseResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponseResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponseResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponseResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponseResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponseResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponseResponse 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 QueryResponseResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryResponseResponse 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 QueryResponseResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponseResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryResponseResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryResponseResponse is response type for the Query/Response RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponseResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryResponseResponse)
QueryResponseResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponseResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryResponseResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
if (responseBuilder_ == null) {
response_ = null;
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryResponseResponse_descriptor;
}
@Override
public QueryResponseResponse getDefaultInstanceForType() {
return QueryResponseResponse.getDefaultInstance();
}
@Override
public QueryResponseResponse build() {
QueryResponseResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryResponseResponse buildPartial() {
QueryResponseResponse result = new QueryResponseResponse(this);
if (responseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = responseBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryResponseResponse) {
return mergeFrom((QueryResponseResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryResponseResponse other) {
if (other == QueryResponseResponse.getDefaultInstance()) return this;
if (other.hasResponse()) {
mergeResponse(other.getResponse());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryResponseResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryResponseResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Service.Response response_;
private com.google.protobuf.SingleFieldBuilderV3<
Service.Response, Service.Response.Builder, Service.ResponseOrBuilder> responseBuilder_;
/**
* .irismod.service.Response response = 1;
* @return Whether the response field is set.
*/
public boolean hasResponse() {
return responseBuilder_ != null || response_ != null;
}
/**
* .irismod.service.Response response = 1;
* @return The response.
*/
public Service.Response getResponse() {
if (responseBuilder_ == null) {
return response_ == null ? Service.Response.getDefaultInstance() : response_;
} else {
return responseBuilder_.getMessage();
}
}
/**
* .irismod.service.Response response = 1;
*/
public Builder setResponse(Service.Response value) {
if (responseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseBuilder_.setMessage(value);
}
return this;
}
/**
* .irismod.service.Response response = 1;
*/
public Builder setResponse(
Service.Response.Builder builderForValue) {
if (responseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .irismod.service.Response response = 1;
*/
public Builder mergeResponse(Service.Response value) {
if (responseBuilder_ == null) {
if (response_ != null) {
response_ =
Service.Response.newBuilder(response_).mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
responseBuilder_.mergeFrom(value);
}
return this;
}
/**
* .irismod.service.Response response = 1;
*/
public Builder clearResponse() {
if (responseBuilder_ == null) {
response_ = null;
onChanged();
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
/**
* .irismod.service.Response response = 1;
*/
public Service.Response.Builder getResponseBuilder() {
onChanged();
return getResponseFieldBuilder().getBuilder();
}
/**
* .irismod.service.Response response = 1;
*/
public Service.ResponseOrBuilder getResponseOrBuilder() {
if (responseBuilder_ != null) {
return responseBuilder_.getMessageOrBuilder();
} else {
return response_ == null ?
Service.Response.getDefaultInstance() : response_;
}
}
/**
* .irismod.service.Response response = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
Service.Response, Service.Response.Builder, Service.ResponseOrBuilder>
getResponseFieldBuilder() {
if (responseBuilder_ == null) {
responseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Service.Response, Service.Response.Builder, Service.ResponseOrBuilder>(
getResponse(),
getParentForChildren(),
isClean());
response_ = null;
}
return responseBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryResponseResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryResponseResponse)
private static final QueryResponseResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryResponseResponse();
}
public static QueryResponseResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryResponseResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryResponseResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryResponseResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryResponsesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryResponsesRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
/**
* uint64 batch_counter = 2;
* @return The batchCounter.
*/
long getBatchCounter();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryResponsesRequest is request type for the Query/Responses RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponsesRequest}
*/
public static final class QueryResponsesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryResponsesRequest)
QueryResponsesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryResponsesRequest.newBuilder() to construct.
private QueryResponsesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryResponsesRequest() {
requestContextId_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryResponsesRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryResponsesRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
requestContextId_ = s;
break;
}
case 16: {
batchCounter_ = input.readUInt64();
break;
}
case 26: {
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryResponsesRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponsesRequest.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
@Override
public String getRequestContextId() {
Object ref = requestContextId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestContextId_ = s;
return s;
}
}
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
@Override
public com.google.protobuf.ByteString
getRequestContextIdBytes() {
Object ref = requestContextId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestContextId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BATCH_COUNTER_FIELD_NUMBER = 2;
private long batchCounter_;
/**
* uint64 batch_counter = 2;
* @return The batchCounter.
*/
@Override
public long getBatchCounter() {
return batchCounter_;
}
public static final int PAGINATION_FIELD_NUMBER = 3;
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getRequestContextIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestContextId_);
}
if (batchCounter_ != 0L) {
output.writeUInt64(2, batchCounter_);
}
if (pagination_ != null) {
output.writeMessage(3, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getRequestContextIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestContextId_);
}
if (batchCounter_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, batchCounter_);
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryResponsesRequest)) {
return super.equals(obj);
}
QueryResponsesRequest other = (QueryResponsesRequest) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (getBatchCounter()
!= other.getBatchCounter()) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestContextId().hashCode();
hash = (37 * hash) + BATCH_COUNTER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBatchCounter());
if (hasPagination()) {
hash = (37 * hash) + PAGINATION_FIELD_NUMBER;
hash = (53 * hash) + getPagination().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryResponsesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponsesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponsesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponsesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponsesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponsesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponsesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponsesRequest 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 QueryResponsesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryResponsesRequest 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 QueryResponsesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponsesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryResponsesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryResponsesRequest is request type for the Query/Responses RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponsesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryResponsesRequest)
QueryResponsesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponsesRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryResponsesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
requestContextId_ = "";
batchCounter_ = 0L;
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesRequest_descriptor;
}
@Override
public QueryResponsesRequest getDefaultInstanceForType() {
return QueryResponsesRequest.getDefaultInstance();
}
@Override
public QueryResponsesRequest build() {
QueryResponsesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryResponsesRequest buildPartial() {
QueryResponsesRequest result = new QueryResponsesRequest(this);
result.requestContextId_ = requestContextId_;
result.batchCounter_ = batchCounter_;
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryResponsesRequest) {
return mergeFrom((QueryResponsesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryResponsesRequest other) {
if (other == QueryResponsesRequest.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
if (other.getBatchCounter() != 0L) {
setBatchCounter(other.getBatchCounter());
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryResponsesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryResponsesRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1;
* @return The requestContextId.
*/
public String getRequestContextId() {
Object ref = requestContextId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
requestContextId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string request_context_id = 1;
* @return The bytes for requestContextId.
*/
public com.google.protobuf.ByteString
getRequestContextIdBytes() {
Object ref = requestContextId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
requestContextId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_context_id = 1;
* @param value The requestContextId to set.
* @return This builder for chaining.
*/
public Builder setRequestContextId(
String value) {
if (value == null) {
throw new NullPointerException();
}
requestContextId_ = value;
onChanged();
return this;
}
/**
* string request_context_id = 1;
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1;
* @param value The bytes for requestContextId to set.
* @return This builder for chaining.
*/
public Builder setRequestContextIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestContextId_ = value;
onChanged();
return this;
}
private long batchCounter_ ;
/**
* uint64 batch_counter = 2;
* @return The batchCounter.
*/
@Override
public long getBatchCounter() {
return batchCounter_;
}
/**
* uint64 batch_counter = 2;
* @param value The batchCounter to set.
* @return This builder for chaining.
*/
public Builder setBatchCounter(long value) {
batchCounter_ = value;
onChanged();
return this;
}
/**
* uint64 batch_counter = 2;
* @return This builder for chaining.
*/
public Builder clearBatchCounter() {
batchCounter_ = 0L;
onChanged();
return this;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public Builder setPagination(proto.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 = 3;
*/
public Builder setPagination(
proto.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 = 3;
*/
public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageRequest value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 = 3;
*/
public Builder clearPagination() {
if (paginationBuilder_ == null) {
pagination_ = null;
onChanged();
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryResponsesRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryResponsesRequest)
private static final QueryResponsesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryResponsesRequest();
}
public static QueryResponsesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryResponsesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryResponsesRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryResponsesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryResponsesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryResponsesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .irismod.service.Response responses = 1;
*/
java.util.List
getResponsesList();
/**
* repeated .irismod.service.Response responses = 1;
*/
Service.Response getResponses(int index);
/**
* repeated .irismod.service.Response responses = 1;
*/
int getResponsesCount();
/**
* repeated .irismod.service.Response responses = 1;
*/
java.util.List extends Service.ResponseOrBuilder>
getResponsesOrBuilderList();
/**
* repeated .irismod.service.Response responses = 1;
*/
Service.ResponseOrBuilder getResponsesOrBuilder(
int index);
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder();
}
/**
*
* QueryResponsesResponse is response type for the Query/Responses RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponsesResponse}
*/
public static final class QueryResponsesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryResponsesResponse)
QueryResponsesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryResponsesResponse.newBuilder() to construct.
private QueryResponsesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryResponsesResponse() {
responses_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryResponsesResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryResponsesResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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) != 0)) {
responses_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
responses_.add(
input.readMessage(Service.Response.parser(), extensionRegistry));
break;
}
case 18: {
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
responses_ = java.util.Collections.unmodifiableList(responses_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponsesResponse.class, Builder.class);
}
public static final int RESPONSES_FIELD_NUMBER = 1;
private java.util.List responses_;
/**
* repeated .irismod.service.Response responses = 1;
*/
@Override
public java.util.List getResponsesList() {
return responses_;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
@Override
public java.util.List extends Service.ResponseOrBuilder>
getResponsesOrBuilderList() {
return responses_;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
@Override
public int getResponsesCount() {
return responses_.size();
}
/**
* repeated .irismod.service.Response responses = 1;
*/
@Override
public Service.Response getResponses(int index) {
return responses_.get(index);
}
/**
* repeated .irismod.service.Response responses = 1;
*/
@Override
public Service.ResponseOrBuilder getResponsesOrBuilder(
int index) {
return responses_.get(index);
}
public static final int PAGINATION_FIELD_NUMBER = 2;
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
@Override
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
return getPagination();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < responses_.size(); i++) {
output.writeMessage(1, responses_.get(i));
}
if (pagination_ != null) {
output.writeMessage(2, getPagination());
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < responses_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, responses_.get(i));
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPagination());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryResponsesResponse)) {
return super.equals(obj);
}
QueryResponsesResponse other = (QueryResponsesResponse) obj;
if (!getResponsesList()
.equals(other.getResponsesList())) return false;
if (hasPagination() != other.hasPagination()) return false;
if (hasPagination()) {
if (!getPagination()
.equals(other.getPagination())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getResponsesCount() > 0) {
hash = (37 * hash) + RESPONSES_FIELD_NUMBER;
hash = (53 * hash) + getResponsesList().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 QueryResponsesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponsesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponsesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponsesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponsesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryResponsesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryResponsesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponsesResponse 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 QueryResponsesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryResponsesResponse 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 QueryResponsesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryResponsesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryResponsesResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryResponsesResponse is response type for the Query/Responses RPC method
*
*
* Protobuf type {@code irismod.service.QueryResponsesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryResponsesResponse)
QueryResponsesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryResponsesResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryResponsesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResponsesFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
if (responsesBuilder_ == null) {
responses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
responsesBuilder_.clear();
}
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryResponsesResponse_descriptor;
}
@Override
public QueryResponsesResponse getDefaultInstanceForType() {
return QueryResponsesResponse.getDefaultInstance();
}
@Override
public QueryResponsesResponse build() {
QueryResponsesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryResponsesResponse buildPartial() {
QueryResponsesResponse result = new QueryResponsesResponse(this);
int from_bitField0_ = bitField0_;
if (responsesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
responses_ = java.util.Collections.unmodifiableList(responses_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.responses_ = responses_;
} else {
result.responses_ = responsesBuilder_.build();
}
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryResponsesResponse) {
return mergeFrom((QueryResponsesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryResponsesResponse other) {
if (other == QueryResponsesResponse.getDefaultInstance()) return this;
if (responsesBuilder_ == null) {
if (!other.responses_.isEmpty()) {
if (responses_.isEmpty()) {
responses_ = other.responses_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResponsesIsMutable();
responses_.addAll(other.responses_);
}
onChanged();
}
} else {
if (!other.responses_.isEmpty()) {
if (responsesBuilder_.isEmpty()) {
responsesBuilder_.dispose();
responsesBuilder_ = null;
responses_ = other.responses_;
bitField0_ = (bitField0_ & ~0x00000001);
responsesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResponsesFieldBuilder() : null;
} else {
responsesBuilder_.addAllMessages(other.responses_);
}
}
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryResponsesResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryResponsesResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List responses_ =
java.util.Collections.emptyList();
private void ensureResponsesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
responses_ = new java.util.ArrayList(responses_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.Response, Service.Response.Builder, Service.ResponseOrBuilder> responsesBuilder_;
/**
* repeated .irismod.service.Response responses = 1;
*/
public java.util.List getResponsesList() {
if (responsesBuilder_ == null) {
return java.util.Collections.unmodifiableList(responses_);
} else {
return responsesBuilder_.getMessageList();
}
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public int getResponsesCount() {
if (responsesBuilder_ == null) {
return responses_.size();
} else {
return responsesBuilder_.getCount();
}
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Service.Response getResponses(int index) {
if (responsesBuilder_ == null) {
return responses_.get(index);
} else {
return responsesBuilder_.getMessage(index);
}
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder setResponses(
int index, Service.Response value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.set(index, value);
onChanged();
} else {
responsesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder setResponses(
int index, Service.Response.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.set(index, builderForValue.build());
onChanged();
} else {
responsesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder addResponses(Service.Response value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.add(value);
onChanged();
} else {
responsesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder addResponses(
int index, Service.Response value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.add(index, value);
onChanged();
} else {
responsesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder addResponses(
Service.Response.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(builderForValue.build());
onChanged();
} else {
responsesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder addResponses(
int index, Service.Response.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(index, builderForValue.build());
onChanged();
} else {
responsesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder addAllResponses(
Iterable extends Service.Response> values) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, responses_);
onChanged();
} else {
responsesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder clearResponses() {
if (responsesBuilder_ == null) {
responses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
responsesBuilder_.clear();
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Builder removeResponses(int index) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.remove(index);
onChanged();
} else {
responsesBuilder_.remove(index);
}
return this;
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Service.Response.Builder getResponsesBuilder(
int index) {
return getResponsesFieldBuilder().getBuilder(index);
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Service.ResponseOrBuilder getResponsesOrBuilder(
int index) {
if (responsesBuilder_ == null) {
return responses_.get(index); } else {
return responsesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public java.util.List extends Service.ResponseOrBuilder>
getResponsesOrBuilderList() {
if (responsesBuilder_ != null) {
return responsesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(responses_);
}
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Service.Response.Builder addResponsesBuilder() {
return getResponsesFieldBuilder().addBuilder(
Service.Response.getDefaultInstance());
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public Service.Response.Builder addResponsesBuilder(
int index) {
return getResponsesFieldBuilder().addBuilder(
index, Service.Response.getDefaultInstance());
}
/**
* repeated .irismod.service.Response responses = 1;
*/
public java.util.List
getResponsesBuilderList() {
return getResponsesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
Service.Response, Service.Response.Builder, Service.ResponseOrBuilder>
getResponsesFieldBuilder() {
if (responsesBuilder_ == null) {
responsesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
Service.Response, Service.Response.Builder, Service.ResponseOrBuilder>(
responses_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
responses_ = null;
}
return responsesBuilder_;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return Whether the pagination field is set.
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
* @return The pagination.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder setPagination(proto.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(
proto.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(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
proto.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 proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryResponsesResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryResponsesResponse)
private static final QueryResponsesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryResponsesResponse();
}
public static QueryResponsesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryResponsesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryResponsesResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryResponsesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryEarnedFeesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryEarnedFeesRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string provider = 1;
* @return The provider.
*/
String getProvider();
/**
* string provider = 1;
* @return The bytes for provider.
*/
com.google.protobuf.ByteString
getProviderBytes();
}
/**
*
* QueryEarnedFeesRequest is request type for the Query/EarnedFees RPC method
*
*
* Protobuf type {@code irismod.service.QueryEarnedFeesRequest}
*/
public static final class QueryEarnedFeesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryEarnedFeesRequest)
QueryEarnedFeesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryEarnedFeesRequest.newBuilder() to construct.
private QueryEarnedFeesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryEarnedFeesRequest() {
provider_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryEarnedFeesRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryEarnedFeesRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryEarnedFeesRequest.class, Builder.class);
}
public static final int PROVIDER_FIELD_NUMBER = 1;
private volatile Object provider_;
/**
* string provider = 1;
* @return The provider.
*/
@Override
public String getProvider() {
Object ref = provider_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
provider_ = s;
return s;
}
}
/**
* string provider = 1;
* @return The bytes for provider.
*/
@Override
public com.google.protobuf.ByteString
getProviderBytes() {
Object ref = provider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
provider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, provider_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getProviderBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, provider_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryEarnedFeesRequest)) {
return super.equals(obj);
}
QueryEarnedFeesRequest other = (QueryEarnedFeesRequest) obj;
if (!getProvider()
.equals(other.getProvider())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryEarnedFeesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryEarnedFeesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryEarnedFeesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryEarnedFeesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryEarnedFeesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryEarnedFeesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryEarnedFeesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryEarnedFeesRequest 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 QueryEarnedFeesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryEarnedFeesRequest 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 QueryEarnedFeesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryEarnedFeesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryEarnedFeesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryEarnedFeesRequest is request type for the Query/EarnedFees RPC method
*
*
* Protobuf type {@code irismod.service.QueryEarnedFeesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryEarnedFeesRequest)
QueryEarnedFeesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryEarnedFeesRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryEarnedFeesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
provider_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesRequest_descriptor;
}
@Override
public QueryEarnedFeesRequest getDefaultInstanceForType() {
return QueryEarnedFeesRequest.getDefaultInstance();
}
@Override
public QueryEarnedFeesRequest build() {
QueryEarnedFeesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryEarnedFeesRequest buildPartial() {
QueryEarnedFeesRequest result = new QueryEarnedFeesRequest(this);
result.provider_ = provider_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryEarnedFeesRequest) {
return mergeFrom((QueryEarnedFeesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryEarnedFeesRequest other) {
if (other == QueryEarnedFeesRequest.getDefaultInstance()) return this;
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryEarnedFeesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryEarnedFeesRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object provider_ = "";
/**
* string provider = 1;
* @return The provider.
*/
public String getProvider() {
Object ref = provider_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
provider_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string provider = 1;
* @return The bytes for provider.
*/
public com.google.protobuf.ByteString
getProviderBytes() {
Object ref = provider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
provider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string provider = 1;
* @param value The provider to set.
* @return This builder for chaining.
*/
public Builder setProvider(
String value) {
if (value == null) {
throw new NullPointerException();
}
provider_ = value;
onChanged();
return this;
}
/**
* string provider = 1;
* @return This builder for chaining.
*/
public Builder clearProvider() {
provider_ = getDefaultInstance().getProvider();
onChanged();
return this;
}
/**
* string provider = 1;
* @param value The bytes for provider to set.
* @return This builder for chaining.
*/
public Builder setProviderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
provider_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryEarnedFeesRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryEarnedFeesRequest)
private static final QueryEarnedFeesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryEarnedFeesRequest();
}
public static QueryEarnedFeesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryEarnedFeesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryEarnedFeesRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryEarnedFeesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryEarnedFeesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryEarnedFeesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List
getFeesList();
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.Coin getFees(int index);
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
int getFeesCount();
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getFeesOrBuilderList();
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getFeesOrBuilder(
int index);
}
/**
*
* QueryEarnedFeesResponse is response type for the Query/EarnedFees RPC method
*
*
* Protobuf type {@code irismod.service.QueryEarnedFeesResponse}
*/
public static final class QueryEarnedFeesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QueryEarnedFeesResponse)
QueryEarnedFeesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryEarnedFeesResponse.newBuilder() to construct.
private QueryEarnedFeesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryEarnedFeesResponse() {
fees_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryEarnedFeesResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryEarnedFeesResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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) != 0)) {
fees_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
fees_.add(
input.readMessage(proto.cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
fees_ = java.util.Collections.unmodifiableList(fees_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryEarnedFeesResponse.class, Builder.class);
}
public static final int FEES_FIELD_NUMBER = 1;
private java.util.List fees_;
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List getFeesList() {
return fees_;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getFeesOrBuilderList() {
return fees_;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public int getFeesCount() {
return fees_.size();
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getFees(int index) {
return fees_.get(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getFeesOrBuilder(
int index) {
return fees_.get(index);
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < fees_.size(); i++) {
output.writeMessage(1, fees_.get(i));
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < fees_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, fees_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryEarnedFeesResponse)) {
return super.equals(obj);
}
QueryEarnedFeesResponse other = (QueryEarnedFeesResponse) obj;
if (!getFeesList()
.equals(other.getFeesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFeesCount() > 0) {
hash = (37 * hash) + FEES_FIELD_NUMBER;
hash = (53 * hash) + getFeesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryEarnedFeesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryEarnedFeesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryEarnedFeesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryEarnedFeesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryEarnedFeesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryEarnedFeesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryEarnedFeesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryEarnedFeesResponse 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 QueryEarnedFeesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QueryEarnedFeesResponse 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 QueryEarnedFeesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QueryEarnedFeesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryEarnedFeesResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryEarnedFeesResponse is response type for the Query/EarnedFees RPC method
*
*
* Protobuf type {@code irismod.service.QueryEarnedFeesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryEarnedFeesResponse)
QueryEarnedFeesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryEarnedFeesResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryEarnedFeesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFeesFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
if (feesBuilder_ == null) {
fees_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
feesBuilder_.clear();
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryEarnedFeesResponse_descriptor;
}
@Override
public QueryEarnedFeesResponse getDefaultInstanceForType() {
return QueryEarnedFeesResponse.getDefaultInstance();
}
@Override
public QueryEarnedFeesResponse build() {
QueryEarnedFeesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryEarnedFeesResponse buildPartial() {
QueryEarnedFeesResponse result = new QueryEarnedFeesResponse(this);
int from_bitField0_ = bitField0_;
if (feesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fees_ = java.util.Collections.unmodifiableList(fees_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fees_ = fees_;
} else {
result.fees_ = feesBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryEarnedFeesResponse) {
return mergeFrom((QueryEarnedFeesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryEarnedFeesResponse other) {
if (other == QueryEarnedFeesResponse.getDefaultInstance()) return this;
if (feesBuilder_ == null) {
if (!other.fees_.isEmpty()) {
if (fees_.isEmpty()) {
fees_ = other.fees_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFeesIsMutable();
fees_.addAll(other.fees_);
}
onChanged();
}
} else {
if (!other.fees_.isEmpty()) {
if (feesBuilder_.isEmpty()) {
feesBuilder_.dispose();
feesBuilder_ = null;
fees_ = other.fees_;
bitField0_ = (bitField0_ & ~0x00000001);
feesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFeesFieldBuilder() : null;
} else {
feesBuilder_.addAllMessages(other.fees_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryEarnedFeesResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryEarnedFeesResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List fees_ =
java.util.Collections.emptyList();
private void ensureFeesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fees_ = new java.util.ArrayList(fees_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> feesBuilder_;
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List getFeesList() {
if (feesBuilder_ == null) {
return java.util.Collections.unmodifiableList(fees_);
} else {
return feesBuilder_.getMessageList();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public int getFeesCount() {
if (feesBuilder_ == null) {
return fees_.size();
} else {
return feesBuilder_.getCount();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getFees(int index) {
if (feesBuilder_ == null) {
return fees_.get(index);
} else {
return feesBuilder_.getMessage(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setFees(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (feesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeesIsMutable();
fees_.set(index, value);
onChanged();
} else {
feesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setFees(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (feesBuilder_ == null) {
ensureFeesIsMutable();
fees_.set(index, builderForValue.build());
onChanged();
} else {
feesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addFees(proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (feesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeesIsMutable();
fees_.add(value);
onChanged();
} else {
feesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addFees(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (feesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFeesIsMutable();
fees_.add(index, value);
onChanged();
} else {
feesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addFees(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (feesBuilder_ == null) {
ensureFeesIsMutable();
fees_.add(builderForValue.build());
onChanged();
} else {
feesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addFees(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (feesBuilder_ == null) {
ensureFeesIsMutable();
fees_.add(index, builderForValue.build());
onChanged();
} else {
feesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addAllFees(
Iterable extends proto.cosmos.base.v1beta1.CoinOuterClass.Coin> values) {
if (feesBuilder_ == null) {
ensureFeesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fees_);
onChanged();
} else {
feesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder clearFees() {
if (feesBuilder_ == null) {
fees_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
feesBuilder_.clear();
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder removeFees(int index) {
if (feesBuilder_ == null) {
ensureFeesIsMutable();
fees_.remove(index);
onChanged();
} else {
feesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getFeesBuilder(
int index) {
return getFeesFieldBuilder().getBuilder(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getFeesOrBuilder(
int index) {
if (feesBuilder_ == null) {
return fees_.get(index); } else {
return feesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getFeesOrBuilderList() {
if (feesBuilder_ != null) {
return feesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fees_);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addFeesBuilder() {
return getFeesFieldBuilder().addBuilder(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addFeesBuilder(
int index) {
return getFeesFieldBuilder().addBuilder(
index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin fees = 1 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List
getFeesBuilderList() {
return getFeesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getFeesFieldBuilder() {
if (feesBuilder_ == null) {
feesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>(
fees_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
fees_ = null;
}
return feesBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryEarnedFeesResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryEarnedFeesResponse)
private static final QueryEarnedFeesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryEarnedFeesResponse();
}
public static QueryEarnedFeesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QueryEarnedFeesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryEarnedFeesResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryEarnedFeesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QuerySchemaRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QuerySchemaRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string schema_name = 1;
* @return The schemaName.
*/
String getSchemaName();
/**
* string schema_name = 1;
* @return The bytes for schemaName.
*/
com.google.protobuf.ByteString
getSchemaNameBytes();
}
/**
*
* QuerySchemaRequest is request type for the Query/Schema RPC method
*
*
* Protobuf type {@code irismod.service.QuerySchemaRequest}
*/
public static final class QuerySchemaRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QuerySchemaRequest)
QuerySchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuerySchemaRequest.newBuilder() to construct.
private QuerySchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuerySchemaRequest() {
schemaName_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QuerySchemaRequest();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuerySchemaRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
schemaName_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QuerySchemaRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QuerySchemaRequest.class, Builder.class);
}
public static final int SCHEMA_NAME_FIELD_NUMBER = 1;
private volatile Object schemaName_;
/**
* string schema_name = 1;
* @return The schemaName.
*/
@Override
public String getSchemaName() {
Object ref = schemaName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
schemaName_ = s;
return s;
}
}
/**
* string schema_name = 1;
* @return The bytes for schemaName.
*/
@Override
public com.google.protobuf.ByteString
getSchemaNameBytes() {
Object ref = schemaName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
schemaName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSchemaNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaName_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSchemaNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaName_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QuerySchemaRequest)) {
return super.equals(obj);
}
QuerySchemaRequest other = (QuerySchemaRequest) obj;
if (!getSchemaName()
.equals(other.getSchemaName())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER;
hash = (53 * hash) + getSchemaName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QuerySchemaRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QuerySchemaRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QuerySchemaRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QuerySchemaRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QuerySchemaRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QuerySchemaRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QuerySchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QuerySchemaRequest 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 QuerySchemaRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QuerySchemaRequest 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 QuerySchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QuerySchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QuerySchemaRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QuerySchemaRequest is request type for the Query/Schema RPC method
*
*
* Protobuf type {@code irismod.service.QuerySchemaRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QuerySchemaRequest)
QuerySchemaRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QuerySchemaRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QuerySchemaRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
schemaName_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaRequest_descriptor;
}
@Override
public QuerySchemaRequest getDefaultInstanceForType() {
return QuerySchemaRequest.getDefaultInstance();
}
@Override
public QuerySchemaRequest build() {
QuerySchemaRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QuerySchemaRequest buildPartial() {
QuerySchemaRequest result = new QuerySchemaRequest(this);
result.schemaName_ = schemaName_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QuerySchemaRequest) {
return mergeFrom((QuerySchemaRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QuerySchemaRequest other) {
if (other == QuerySchemaRequest.getDefaultInstance()) return this;
if (!other.getSchemaName().isEmpty()) {
schemaName_ = other.schemaName_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QuerySchemaRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QuerySchemaRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object schemaName_ = "";
/**
* string schema_name = 1;
* @return The schemaName.
*/
public String getSchemaName() {
Object ref = schemaName_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
schemaName_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string schema_name = 1;
* @return The bytes for schemaName.
*/
public com.google.protobuf.ByteString
getSchemaNameBytes() {
Object ref = schemaName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
schemaName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string schema_name = 1;
* @param value The schemaName to set.
* @return This builder for chaining.
*/
public Builder setSchemaName(
String value) {
if (value == null) {
throw new NullPointerException();
}
schemaName_ = value;
onChanged();
return this;
}
/**
* string schema_name = 1;
* @return This builder for chaining.
*/
public Builder clearSchemaName() {
schemaName_ = getDefaultInstance().getSchemaName();
onChanged();
return this;
}
/**
* string schema_name = 1;
* @param value The bytes for schemaName to set.
* @return This builder for chaining.
*/
public Builder setSchemaNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
schemaName_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QuerySchemaRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QuerySchemaRequest)
private static final QuerySchemaRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QuerySchemaRequest();
}
public static QuerySchemaRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QuerySchemaRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuerySchemaRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QuerySchemaRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QuerySchemaResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QuerySchemaResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string schema = 1;
* @return The schema.
*/
String getSchema();
/**
* string schema = 1;
* @return The bytes for schema.
*/
com.google.protobuf.ByteString
getSchemaBytes();
}
/**
*
* QuerySchemaResponse is response type for the Query/Schema RPC method
*
*
* Protobuf type {@code irismod.service.QuerySchemaResponse}
*/
public static final class QuerySchemaResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.QuerySchemaResponse)
QuerySchemaResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuerySchemaResponse.newBuilder() to construct.
private QuerySchemaResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuerySchemaResponse() {
schema_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QuerySchemaResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuerySchemaResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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;
case 10: {
String s = input.readStringRequireUtf8();
schema_ = s;
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QuerySchemaResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QuerySchemaResponse.class, Builder.class);
}
public static final int SCHEMA_FIELD_NUMBER = 1;
private volatile Object schema_;
/**
* string schema = 1;
* @return The schema.
*/
@Override
public String getSchema() {
Object ref = schema_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
schema_ = s;
return s;
}
}
/**
* string schema = 1;
* @return The bytes for schema.
*/
@Override
public com.google.protobuf.ByteString
getSchemaBytes() {
Object ref = schema_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
schema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSchemaBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSchemaBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QuerySchemaResponse)) {
return super.equals(obj);
}
QuerySchemaResponse other = (QuerySchemaResponse) obj;
if (!getSchema()
.equals(other.getSchema())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getSchema().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QuerySchemaResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QuerySchemaResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QuerySchemaResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QuerySchemaResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QuerySchemaResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QuerySchemaResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QuerySchemaResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QuerySchemaResponse 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 QuerySchemaResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static QuerySchemaResponse 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 QuerySchemaResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static QuerySchemaResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QuerySchemaResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QuerySchemaResponse is response type for the Query/Schema RPC method
*
*
* Protobuf type {@code irismod.service.QuerySchemaResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QuerySchemaResponse)
QuerySchemaResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QuerySchemaResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QuerySchemaResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
schema_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QuerySchemaResponse_descriptor;
}
@Override
public QuerySchemaResponse getDefaultInstanceForType() {
return QuerySchemaResponse.getDefaultInstance();
}
@Override
public QuerySchemaResponse build() {
QuerySchemaResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QuerySchemaResponse buildPartial() {
QuerySchemaResponse result = new QuerySchemaResponse(this);
result.schema_ = schema_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QuerySchemaResponse) {
return mergeFrom((QuerySchemaResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QuerySchemaResponse other) {
if (other == QuerySchemaResponse.getDefaultInstance()) return this;
if (!other.getSchema().isEmpty()) {
schema_ = other.schema_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QuerySchemaResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QuerySchemaResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object schema_ = "";
/**
* string schema = 1;
* @return The schema.
*/
public String getSchema() {
Object ref = schema_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
schema_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string schema = 1;
* @return The bytes for schema.
*/
public com.google.protobuf.ByteString
getSchemaBytes() {
Object ref = schema_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
schema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string schema = 1;
* @param value The schema to set.
* @return This builder for chaining.
*/
public Builder setSchema(
String value) {
if (value == null) {
throw new NullPointerException();
}
schema_ = value;
onChanged();
return this;
}
/**
* string schema = 1;
* @return This builder for chaining.
*/
public Builder clearSchema() {
schema_ = getDefaultInstance().getSchema();
onChanged();
return this;
}
/**
* string schema = 1;
* @param value The bytes for schema to set.
* @return This builder for chaining.
*/
public Builder setSchemaBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
schema_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QuerySchemaResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QuerySchemaResponse)
private static final QuerySchemaResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QuerySchemaResponse();
}
public static QuerySchemaResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public QuerySchemaResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuerySchemaResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QuerySchemaResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryParamsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryParamsRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* QueryParametersRequest is request type for the Query/Parameters RPC method
*
*
* Protobuf type {@code irismod.service.QueryParamsRequest}
*/
public static final class QueryParamsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.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() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryParamsRequest();
}
@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 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 (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryParamsRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryParamsRequest.class, Builder.class);
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryParamsRequest)) {
return super.equals(obj);
}
QueryParamsRequest other = (QueryParamsRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@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 QueryParamsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryParamsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryParamsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryParamsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryParamsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryParamsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryParamsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static 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 QueryParamsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static 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 QueryParamsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static 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);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryParamsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryParametersRequest is request type for the Query/Parameters RPC method
*
*
* Protobuf type {@code irismod.service.QueryParamsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryParamsRequest)
QueryParamsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsRequest_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryParamsRequest.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryParamsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsRequest_descriptor;
}
@Override
public QueryParamsRequest getDefaultInstanceForType() {
return QueryParamsRequest.getDefaultInstance();
}
@Override
public QueryParamsRequest build() {
QueryParamsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryParamsRequest buildPartial() {
QueryParamsRequest result = new QueryParamsRequest(this);
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryParamsRequest) {
return mergeFrom((QueryParamsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryParamsRequest other) {
if (other == QueryParamsRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryParamsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryParamsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryParamsRequest)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryParamsRequest)
private static final QueryParamsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryParamsRequest();
}
public static QueryParamsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@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;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryParamsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryParamsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.QueryParamsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
* @return Whether the params field is set.
*/
boolean hasParams();
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
* @return The params.
*/
Service.Params getParams();
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
Service.ParamsOrBuilder getParamsOrBuilder();
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
* @return Whether the res field is set.
*/
boolean hasRes();
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
* @return The res.
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponse getRes();
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getResOrBuilder();
}
/**
*
* QueryParametersResponse is response type for the Query/Parameters RPC method
*
*
* Protobuf type {@code irismod.service.QueryParamsResponse}
*/
public static final class QueryParamsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.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() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new QueryParamsResponse();
}
@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 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;
case 10: {
Service.Params.Builder subBuilder = null;
if (params_ != null) {
subBuilder = params_.toBuilder();
}
params_ = input.readMessage(Service.Params.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(params_);
params_ = subBuilder.buildPartial();
}
break;
}
case 18: {
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null;
if (res_ != null) {
subBuilder = res_.toBuilder();
}
res_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(res_);
res_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
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 QueryOuterClass.internal_static_irismod_service_QueryParamsResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryParamsResponse.class, Builder.class);
}
public static final int PARAMS_FIELD_NUMBER = 1;
private Service.Params params_;
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
* @return Whether the params field is set.
*/
@Override
public boolean hasParams() {
return params_ != null;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
* @return The params.
*/
@Override
public Service.Params getParams() {
return params_ == null ? Service.Params.getDefaultInstance() : params_;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
@Override
public Service.ParamsOrBuilder getParamsOrBuilder() {
return getParams();
}
public static final int RES_FIELD_NUMBER = 2;
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse res_;
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
* @return Whether the res field is set.
*/
@Override
public boolean hasRes() {
return res_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
* @return The res.
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getRes() {
return res_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : res_;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
@Override
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getResOrBuilder() {
return getRes();
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (params_ != null) {
output.writeMessage(1, getParams());
}
if (res_ != null) {
output.writeMessage(2, getRes());
}
unknownFields.writeTo(output);
}
@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());
}
if (res_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRes());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof QueryParamsResponse)) {
return super.equals(obj);
}
QueryParamsResponse other = (QueryParamsResponse) obj;
if (hasParams() != other.hasParams()) return false;
if (hasParams()) {
if (!getParams()
.equals(other.getParams())) return false;
}
if (hasRes() != other.hasRes()) return false;
if (hasRes()) {
if (!getRes()
.equals(other.getRes())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@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();
}
if (hasRes()) {
hash = (37 * hash) + RES_FIELD_NUMBER;
hash = (53 * hash) + getRes().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static QueryParamsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryParamsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryParamsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryParamsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryParamsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static QueryParamsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static QueryParamsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static 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 QueryParamsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static 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 QueryParamsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static 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);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(QueryParamsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryParametersResponse is response type for the Query/Parameters RPC method
*
*
* Protobuf type {@code irismod.service.QueryParamsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.QueryParamsResponse)
QueryParamsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
QueryParamsResponse.class, Builder.class);
}
// Construct using proto.service.QueryOuterClass.QueryParamsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
if (paramsBuilder_ == null) {
params_ = null;
} else {
params_ = null;
paramsBuilder_ = null;
}
if (resBuilder_ == null) {
res_ = null;
} else {
res_ = null;
resBuilder_ = null;
}
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return QueryOuterClass.internal_static_irismod_service_QueryParamsResponse_descriptor;
}
@Override
public QueryParamsResponse getDefaultInstanceForType() {
return QueryParamsResponse.getDefaultInstance();
}
@Override
public QueryParamsResponse build() {
QueryParamsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public QueryParamsResponse buildPartial() {
QueryParamsResponse result = new QueryParamsResponse(this);
if (paramsBuilder_ == null) {
result.params_ = params_;
} else {
result.params_ = paramsBuilder_.build();
}
if (resBuilder_ == null) {
result.res_ = res_;
} else {
result.res_ = resBuilder_.build();
}
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof QueryParamsResponse) {
return mergeFrom((QueryParamsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(QueryParamsResponse other) {
if (other == QueryParamsResponse.getDefaultInstance()) return this;
if (other.hasParams()) {
mergeParams(other.getParams());
}
if (other.hasRes()) {
mergeRes(other.getRes());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
QueryParamsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (QueryParamsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Service.Params params_;
private com.google.protobuf.SingleFieldBuilderV3<
Service.Params, Service.Params.Builder, Service.ParamsOrBuilder> paramsBuilder_;
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
* @return Whether the params field is set.
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
* @return The params.
*/
public Service.Params getParams() {
if (paramsBuilder_ == null) {
return params_ == null ? Service.Params.getDefaultInstance() : params_;
} else {
return paramsBuilder_.getMessage();
}
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(Service.Params value) {
if (paramsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
params_ = value;
onChanged();
} else {
paramsBuilder_.setMessage(value);
}
return this;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(
Service.Params.Builder builderForValue) {
if (paramsBuilder_ == null) {
params_ = builderForValue.build();
onChanged();
} else {
paramsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeParams(Service.Params value) {
if (paramsBuilder_ == null) {
if (params_ != null) {
params_ =
Service.Params.newBuilder(params_).mergeFrom(value).buildPartial();
} else {
params_ = value;
}
onChanged();
} else {
paramsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearParams() {
if (paramsBuilder_ == null) {
params_ = null;
onChanged();
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Service.Params.Builder getParamsBuilder() {
onChanged();
return getParamsFieldBuilder().getBuilder();
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Service.ParamsOrBuilder getParamsOrBuilder() {
if (paramsBuilder_ != null) {
return paramsBuilder_.getMessageOrBuilder();
} else {
return params_ == null ?
Service.Params.getDefaultInstance() : params_;
}
}
/**
* .irismod.service.Params params = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
Service.Params, Service.Params.Builder, Service.ParamsOrBuilder>
getParamsFieldBuilder() {
if (paramsBuilder_ == null) {
paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Service.Params, Service.Params.Builder, Service.ParamsOrBuilder>(
getParams(),
getParentForChildren(),
isClean());
params_ = null;
}
return paramsBuilder_;
}
private proto.cosmos.base.query.v1beta1.Pagination.PageResponse res_;
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> resBuilder_;
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
* @return Whether the res field is set.
*/
public boolean hasRes() {
return resBuilder_ != null || res_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
* @return The res.
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getRes() {
if (resBuilder_ == null) {
return res_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : res_;
} else {
return resBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
public Builder setRes(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (resBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
res_ = value;
onChanged();
} else {
resBuilder_.setMessage(value);
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
public Builder setRes(
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) {
if (resBuilder_ == null) {
res_ = builderForValue.build();
onChanged();
} else {
resBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
public Builder mergeRes(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (resBuilder_ == null) {
if (res_ != null) {
res_ =
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(res_).mergeFrom(value).buildPartial();
} else {
res_ = value;
}
onChanged();
} else {
resBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
public Builder clearRes() {
if (resBuilder_ == null) {
res_ = null;
onChanged();
} else {
res_ = null;
resBuilder_ = null;
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getResBuilder() {
onChanged();
return getResFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getResOrBuilder() {
if (resBuilder_ != null) {
return resBuilder_.getMessageOrBuilder();
} else {
return res_ == null ?
proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : res_;
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse res = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>
getResFieldBuilder() {
if (resBuilder_ == null) {
resBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>(
getRes(),
getParentForChildren(),
isClean());
res_ = null;
}
return resBuilder_;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:irismod.service.QueryParamsResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.QueryParamsResponse)
private static final QueryParamsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new QueryParamsResponse();
}
public static QueryParamsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@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;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public QueryParamsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryDefinitionRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryDefinitionRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryDefinitionResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryDefinitionResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryBindingRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryBindingRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryBindingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryBindingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryBindingsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryBindingsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryBindingsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryBindingsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryWithdrawAddressRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryWithdrawAddressRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryWithdrawAddressResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryWithdrawAddressResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestContextRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestContextRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestContextResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestContextResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestsByReqCtxRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestsByReqCtxRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryRequestsByReqCtxResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryRequestsByReqCtxResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryResponseRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryResponseRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryResponseResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryResponseResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryResponsesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryResponsesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryResponsesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryResponsesResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryEarnedFeesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryEarnedFeesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryEarnedFeesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryEarnedFeesResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QuerySchemaRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QuerySchemaRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QuerySchemaResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QuerySchemaResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryParamsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryParamsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_QueryParamsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_QueryParamsResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
String[] descriptorData = {
"\n\023service/query.proto\022\017irismod.service\032\036" +
"cosmos/base/v1beta1/coin.proto\032*cosmos/b" +
"ase/query/v1beta1/pagination.proto\032\024gogo" +
"proto/gogo.proto\032\034google/api/annotations" +
".proto\032\025service/service.proto\".\n\026QueryDe" +
"finitionRequest\022\024\n\014service_name\030\001 \001(\t\"Y\n" +
"\027QueryDefinitionResponse\022>\n\022service_defi" +
"nition\030\001 \001(\0132\".irismod.service.ServiceDe" +
"finition\"=\n\023QueryBindingRequest\022\024\n\014servi" +
"ce_name\030\001 \001(\t\022\020\n\010provider\030\002 \001(\t\"P\n\024Query" +
"BindingResponse\0228\n\017service_binding\030\001 \001(\013" +
"2\037.irismod.service.ServiceBinding\"w\n\024Que" +
"ryBindingsRequest\022\024\n\014service_name\030\001 \001(\t\022" +
"\r\n\005owner\030\002 \001(\t\022:\n\npagination\030\003 \001(\0132&.cos" +
"mos.base.query.v1beta1.PageRequest\"\217\001\n\025Q" +
"ueryBindingsResponse\0229\n\020service_bindings" +
"\030\001 \003(\0132\037.irismod.service.ServiceBinding\022" +
";\n\npagination\030\002 \001(\0132\'.cosmos.base.query." +
"v1beta1.PageResponse\",\n\033QueryWithdrawAdd" +
"ressRequest\022\r\n\005owner\030\001 \001(\t\"8\n\034QueryWithd" +
"rawAddressResponse\022\030\n\020withdraw_address\030\001" +
" \001(\t\"8\n\032QueryRequestContextRequest\022\032\n\022re" +
"quest_context_id\030\001 \001(\t\"W\n\033QueryRequestCo" +
"ntextResponse\0228\n\017request_context\030\001 \001(\0132\037" +
".irismod.service.RequestContext\")\n\023Query" +
"RequestRequest\022\022\n\nrequest_id\030\001 \001(\t\"A\n\024Qu" +
"eryRequestResponse\022)\n\007request\030\001 \001(\0132\030.ir" +
"ismod.service.Request\"z\n\024QueryRequestsRe" +
"quest\022\024\n\014service_name\030\001 \001(\t\022\020\n\010provider\030" +
"\002 \001(\t\022:\n\npagination\030\003 \001(\0132&.cosmos.base." +
"query.v1beta1.PageRequest\"\200\001\n\025QueryReque" +
"stsResponse\022*\n\010requests\030\001 \003(\0132\030.irismod." +
"service.Request\022;\n\npagination\030\002 \001(\0132\'.co" +
"smos.base.query.v1beta1.PageResponse\"\215\001\n" +
"\034QueryRequestsByReqCtxRequest\022\032\n\022request" +
"_context_id\030\001 \001(\t\022\025\n\rbatch_counter\030\002 \001(\004" +
"\022:\n\npagination\030\003 \001(\0132&.cosmos.base.query" +
".v1beta1.PageRequest\"\210\001\n\035QueryRequestsBy" +
"ReqCtxResponse\022*\n\010requests\030\001 \003(\0132\030.irism" +
"od.service.Request\022;\n\npagination\030\002 \001(\0132\'" +
".cosmos.base.query.v1beta1.PageResponse\"" +
"*\n\024QueryResponseRequest\022\022\n\nrequest_id\030\001 " +
"\001(\t\"D\n\025QueryResponseResponse\022+\n\010response" +
"\030\001 \001(\0132\031.irismod.service.Response\"\206\001\n\025Qu" +
"eryResponsesRequest\022\032\n\022request_context_i" +
"d\030\001 \001(\t\022\025\n\rbatch_counter\030\002 \001(\004\022:\n\npagina" +
"tion\030\003 \001(\0132&.cosmos.base.query.v1beta1.P" +
"ageRequest\"\203\001\n\026QueryResponsesResponse\022,\n" +
"\tresponses\030\001 \003(\0132\031.irismod.service.Respo" +
"nse\022;\n\npagination\030\002 \001(\0132\'.cosmos.base.qu" +
"ery.v1beta1.PageResponse\"*\n\026QueryEarnedF" +
"eesRequest\022\020\n\010provider\030\001 \001(\t\"\212\001\n\027QueryEa" +
"rnedFeesResponse\022o\n\004fees\030\001 \003(\0132\031.cosmos." +
"base.v1beta1.CoinBF\310\336\037\000\252\337\037(github.com/co" +
"smos/cosmos-sdk/types.Coins\362\336\037\022yaml:\"ser" +
"vice_fee\"\")\n\022QuerySchemaRequest\022\023\n\013schem" +
"a_name\030\001 \001(\t\"%\n\023QuerySchemaResponse\022\016\n\006s" +
"chema\030\001 \001(\t\"\024\n\022QueryParamsRequest\"z\n\023Que" +
"ryParamsResponse\022-\n\006params\030\001 \001(\0132\027.irism" +
"od.service.ParamsB\004\310\336\037\000\0224\n\003res\030\002 \001(\0132\'.c" +
"osmos.base.query.v1beta1.PageResponse2\256\017" +
"\n\005Query\022\224\001\n\nDefinition\022\'.irismod.service" +
".QueryDefinitionRequest\032(.irismod.servic" +
"e.QueryDefinitionResponse\"3\202\323\344\223\002-\022+/iris" +
"mod/service/definitions/{service_name}\022\223" +
"\001\n\007Binding\022$.irismod.service.QueryBindin" +
"gRequest\032%.irismod.service.QueryBindingR" +
"esponse\";\202\323\344\223\0025\0223/irismod/service/bindin" +
"gs/{service_name}/{provider}\022\213\001\n\010Binding" +
"s\022%.irismod.service.QueryBindingsRequest" +
"\032&.irismod.service.QueryBindingsResponse" +
"\"0\202\323\344\223\002*\022(/irismod/service/bindings/{ser" +
"vice_name}\022\250\001\n\017WithdrawAddress\022,.irismod" +
".service.QueryWithdrawAddressRequest\032-.i" +
"rismod.service.QueryWithdrawAddressRespo" +
"nse\"8\202\323\344\223\0022\0220/irismod/service/owners/{ow" +
"ner}/withdraw-address\022\243\001\n\016RequestContext" +
"\022+.irismod.service.QueryRequestContextRe" +
"quest\032,.irismod.service.QueryRequestCont" +
"extResponse\"6\202\323\344\223\0020\022./irismod/service/co" +
"ntexts/{request_context_id}\022\206\001\n\007Request\022" +
"$.irismod.service.QueryRequestRequest\032%." +
"irismod.service.QueryRequestResponse\".\202\323" +
"\344\223\002(\022&/irismod/service/requests/{request" +
"_id}\022\226\001\n\010Requests\022%.irismod.service.Quer" +
"yRequestsRequest\032&.irismod.service.Query" +
"RequestsResponse\";\202\323\344\223\0025\0223/irismod/servi" +
"ce/requests/{service_name}/{provider}\022\271\001" +
"\n\020RequestsByReqCtx\022-.irismod.service.Que" +
"ryRequestsByReqCtxRequest\032..irismod.serv" +
"ice.QueryRequestsByReqCtxResponse\"F\202\323\344\223\002" +
"@\022>/irismod/service/requests/{request_co" +
"ntext_id}/{batch_counter}\022\212\001\n\010Response\022%" +
".irismod.service.QueryResponseRequest\032&." +
"irismod.service.QueryResponseResponse\"/\202" +
"\323\344\223\002)\022\'/irismod/service/responses/{reque" +
"st_id}\022\245\001\n\tResponses\022&.irismod.service.Q" +
"ueryResponsesRequest\032\'.irismod.service.Q" +
"ueryResponsesResponse\"G\202\323\344\223\002A\022?/irismod/" +
"service/responses/{request_context_id}/{" +
"batch_counter}\022\211\001\n\nEarnedFees\022\'.irismod." +
"service.QueryEarnedFeesRequest\032(.irismod" +
".service.QueryEarnedFeesResponse\"(\202\323\344\223\002\"" +
"\022 /irismod/service/fees/{provider}\022\203\001\n\006S" +
"chema\022#.irismod.service.QuerySchemaReque" +
"st\032$.irismod.service.QuerySchemaResponse" +
"\".\202\323\344\223\002(\022&/irismod/service/schemas/{sche" +
"ma_name}\022t\n\006Params\022#.irismod.service.Que" +
"ryParamsRequest\032$.irismod.service.QueryP" +
"aramsResponse\"\037\202\323\344\223\002\031\022\027/irismod/service/" +
"paramsB\017\n\rproto.serviceb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
proto.cosmos.base.v1beta1.CoinOuterClass.getDescriptor(),
proto.cosmos.base.query.v1beta1.Pagination.getDescriptor(),
com.google.protobuf.GoGoProtos.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
Service.getDescriptor(),
});
internal_static_irismod_service_QueryDefinitionRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_irismod_service_QueryDefinitionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryDefinitionRequest_descriptor,
new String[] { "ServiceName", });
internal_static_irismod_service_QueryDefinitionResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_irismod_service_QueryDefinitionResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryDefinitionResponse_descriptor,
new String[] { "ServiceDefinition", });
internal_static_irismod_service_QueryBindingRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_irismod_service_QueryBindingRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryBindingRequest_descriptor,
new String[] { "ServiceName", "Provider", });
internal_static_irismod_service_QueryBindingResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_irismod_service_QueryBindingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryBindingResponse_descriptor,
new String[] { "ServiceBinding", });
internal_static_irismod_service_QueryBindingsRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_irismod_service_QueryBindingsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryBindingsRequest_descriptor,
new String[] { "ServiceName", "Owner", "Pagination", });
internal_static_irismod_service_QueryBindingsResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_irismod_service_QueryBindingsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryBindingsResponse_descriptor,
new String[] { "ServiceBindings", "Pagination", });
internal_static_irismod_service_QueryWithdrawAddressRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_irismod_service_QueryWithdrawAddressRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryWithdrawAddressRequest_descriptor,
new String[] { "Owner", });
internal_static_irismod_service_QueryWithdrawAddressResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_irismod_service_QueryWithdrawAddressResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryWithdrawAddressResponse_descriptor,
new String[] { "WithdrawAddress", });
internal_static_irismod_service_QueryRequestContextRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_irismod_service_QueryRequestContextRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestContextRequest_descriptor,
new String[] { "RequestContextId", });
internal_static_irismod_service_QueryRequestContextResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_irismod_service_QueryRequestContextResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestContextResponse_descriptor,
new String[] { "RequestContext", });
internal_static_irismod_service_QueryRequestRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_irismod_service_QueryRequestRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestRequest_descriptor,
new String[] { "RequestId", });
internal_static_irismod_service_QueryRequestResponse_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_irismod_service_QueryRequestResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestResponse_descriptor,
new String[] { "Request", });
internal_static_irismod_service_QueryRequestsRequest_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_irismod_service_QueryRequestsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestsRequest_descriptor,
new String[] { "ServiceName", "Provider", "Pagination", });
internal_static_irismod_service_QueryRequestsResponse_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_irismod_service_QueryRequestsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestsResponse_descriptor,
new String[] { "Requests", "Pagination", });
internal_static_irismod_service_QueryRequestsByReqCtxRequest_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_irismod_service_QueryRequestsByReqCtxRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestsByReqCtxRequest_descriptor,
new String[] { "RequestContextId", "BatchCounter", "Pagination", });
internal_static_irismod_service_QueryRequestsByReqCtxResponse_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_irismod_service_QueryRequestsByReqCtxResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryRequestsByReqCtxResponse_descriptor,
new String[] { "Requests", "Pagination", });
internal_static_irismod_service_QueryResponseRequest_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_irismod_service_QueryResponseRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryResponseRequest_descriptor,
new String[] { "RequestId", });
internal_static_irismod_service_QueryResponseResponse_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_irismod_service_QueryResponseResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryResponseResponse_descriptor,
new String[] { "Response", });
internal_static_irismod_service_QueryResponsesRequest_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_irismod_service_QueryResponsesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryResponsesRequest_descriptor,
new String[] { "RequestContextId", "BatchCounter", "Pagination", });
internal_static_irismod_service_QueryResponsesResponse_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_irismod_service_QueryResponsesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryResponsesResponse_descriptor,
new String[] { "Responses", "Pagination", });
internal_static_irismod_service_QueryEarnedFeesRequest_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_irismod_service_QueryEarnedFeesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryEarnedFeesRequest_descriptor,
new String[] { "Provider", });
internal_static_irismod_service_QueryEarnedFeesResponse_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_irismod_service_QueryEarnedFeesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryEarnedFeesResponse_descriptor,
new String[] { "Fees", });
internal_static_irismod_service_QuerySchemaRequest_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_irismod_service_QuerySchemaRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QuerySchemaRequest_descriptor,
new String[] { "SchemaName", });
internal_static_irismod_service_QuerySchemaResponse_descriptor =
getDescriptor().getMessageTypes().get(23);
internal_static_irismod_service_QuerySchemaResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QuerySchemaResponse_descriptor,
new String[] { "Schema", });
internal_static_irismod_service_QueryParamsRequest_descriptor =
getDescriptor().getMessageTypes().get(24);
internal_static_irismod_service_QueryParamsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryParamsRequest_descriptor,
new String[] { });
internal_static_irismod_service_QueryParamsResponse_descriptor =
getDescriptor().getMessageTypes().get(25);
internal_static_irismod_service_QueryParamsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_QueryParamsResponse_descriptor,
new String[] { "Params", "Res", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.castrepeated);
registry.add(com.google.protobuf.GoGoProtos.moretags);
registry.add(com.google.protobuf.GoGoProtos.nullable);
registry.add(com.google.api.AnnotationsProto.http);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
proto.cosmos.base.v1beta1.CoinOuterClass.getDescriptor();
proto.cosmos.base.query.v1beta1.Pagination.getDescriptor();
com.google.protobuf.GoGoProtos.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
Service.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}