proto.service.Tx 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/tx.proto
package proto.service;
public final class Tx {
private Tx() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface MsgDefineServiceOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgDefineService)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
* @return The name.
*/
String getName();
/**
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string description = 2;
* @return The description.
*/
String getDescription();
/**
* string description = 2;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* repeated string tags = 3;
* @return A list containing the tags.
*/
java.util.List
getTagsList();
/**
* repeated string tags = 3;
* @return The count of tags.
*/
int getTagsCount();
/**
* repeated string tags = 3;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
String getTags(int index);
/**
* repeated string tags = 3;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* string author = 4;
* @return The author.
*/
String getAuthor();
/**
* string author = 4;
* @return The bytes for author.
*/
com.google.protobuf.ByteString
getAuthorBytes();
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return The authorDescription.
*/
String getAuthorDescription();
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return The bytes for authorDescription.
*/
com.google.protobuf.ByteString
getAuthorDescriptionBytes();
/**
* string schemas = 6;
* @return The schemas.
*/
String getSchemas();
/**
* string schemas = 6;
* @return The bytes for schemas.
*/
com.google.protobuf.ByteString
getSchemasBytes();
}
/**
*
* MsgDefineService defines an SDK message for defining a new service.
*
*
* Protobuf type {@code irismod.service.MsgDefineService}
*/
public static final class MsgDefineService extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgDefineService)
MsgDefineServiceOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgDefineService.newBuilder() to construct.
private MsgDefineService(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgDefineService() {
name_ = "";
description_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
author_ = "";
authorDescription_ = "";
schemas_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgDefineService();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgDefineService(
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: {
String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 26: {
String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
tags_.add(s);
break;
}
case 34: {
String s = input.readStringRequireUtf8();
author_ = s;
break;
}
case 42: {
String s = input.readStringRequireUtf8();
authorDescription_ = s;
break;
}
case 50: {
String s = input.readStringRequireUtf8();
schemas_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
tags_ = tags_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgDefineService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDefineService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDefineService.class, Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile Object name_;
/**
* string name = 1;
* @return The name.
*/
@Override
public String getName() {
Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
@Override
public com.google.protobuf.ByteString
getNameBytes() {
Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 2;
private volatile Object description_;
/**
* string description = 2;
* @return The description.
*/
@Override
public String getDescription() {
Object ref = description_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
* string description = 2;
* @return The bytes for description.
*/
@Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAGS_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList tags_;
/**
* repeated string tags = 3;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* repeated string tags = 3;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 3;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 3;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int AUTHOR_FIELD_NUMBER = 4;
private volatile Object author_;
/**
* string author = 4;
* @return The author.
*/
@Override
public String getAuthor() {
Object ref = author_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
author_ = s;
return s;
}
}
/**
* string author = 4;
* @return The bytes for author.
*/
@Override
public com.google.protobuf.ByteString
getAuthorBytes() {
Object ref = author_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
author_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUTHOR_DESCRIPTION_FIELD_NUMBER = 5;
private volatile Object authorDescription_;
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return The authorDescription.
*/
@Override
public String getAuthorDescription() {
Object ref = authorDescription_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
authorDescription_ = s;
return s;
}
}
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return The bytes for authorDescription.
*/
@Override
public com.google.protobuf.ByteString
getAuthorDescriptionBytes() {
Object ref = authorDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
authorDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCHEMAS_FIELD_NUMBER = 6;
private volatile Object schemas_;
/**
* string schemas = 6;
* @return The schemas.
*/
@Override
public String getSchemas() {
Object ref = schemas_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
schemas_ = s;
return s;
}
}
/**
* string schemas = 6;
* @return The bytes for schemas.
*/
@Override
public com.google.protobuf.ByteString
getSchemasBytes() {
Object ref = schemas_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
schemas_ = 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 (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i));
}
if (!getAuthorBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, author_);
}
if (!getAuthorDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, authorDescription_);
}
if (!getSchemasBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, schemas_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (!getAuthorBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, author_);
}
if (!getAuthorDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authorDescription_);
}
if (!getSchemasBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, schemas_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgDefineService)) {
return super.equals(obj);
}
MsgDefineService other = (MsgDefineService) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (!getAuthor()
.equals(other.getAuthor())) return false;
if (!getAuthorDescription()
.equals(other.getAuthorDescription())) return false;
if (!getSchemas()
.equals(other.getSchemas())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
hash = (37 * hash) + AUTHOR_FIELD_NUMBER;
hash = (53 * hash) + getAuthor().hashCode();
hash = (37 * hash) + AUTHOR_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getAuthorDescription().hashCode();
hash = (37 * hash) + SCHEMAS_FIELD_NUMBER;
hash = (53 * hash) + getSchemas().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgDefineService parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDefineService parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDefineService parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDefineService parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDefineService parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDefineService parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDefineService parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDefineService 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 MsgDefineService parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgDefineService 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 MsgDefineService parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDefineService 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(MsgDefineService 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;
}
/**
*
* MsgDefineService defines an SDK message for defining a new service.
*
*
* Protobuf type {@code irismod.service.MsgDefineService}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgDefineService)
MsgDefineServiceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgDefineService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDefineService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDefineService.class, Builder.class);
}
// Construct using proto.service.Tx.MsgDefineService.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();
name_ = "";
description_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
author_ = "";
authorDescription_ = "";
schemas_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgDefineService_descriptor;
}
@Override
public MsgDefineService getDefaultInstanceForType() {
return MsgDefineService.getDefaultInstance();
}
@Override
public MsgDefineService build() {
MsgDefineService result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgDefineService buildPartial() {
MsgDefineService result = new MsgDefineService(this);
int from_bitField0_ = bitField0_;
result.name_ = name_;
result.description_ = description_;
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = tags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
result.author_ = author_;
result.authorDescription_ = authorDescription_;
result.schemas_ = schemas_;
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 MsgDefineService) {
return mergeFrom((MsgDefineService)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgDefineService other) {
if (other == MsgDefineService.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (!other.getAuthor().isEmpty()) {
author_ = other.author_;
onChanged();
}
if (!other.getAuthorDescription().isEmpty()) {
authorDescription_ = other.authorDescription_;
onChanged();
}
if (!other.getSchemas().isEmpty()) {
schemas_ = other.schemas_;
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 {
MsgDefineService parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgDefineService) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private Object name_ = "";
/**
* string name = 1;
* @return The name.
*/
public String getName() {
Object ref = name_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private Object description_ = "";
/**
* string description = 2;
* @return The description.
*/
public String getDescription() {
Object ref = description_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string description = 2;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 2;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 2;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 2;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string tags = 3;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_.getUnmodifiableView();
}
/**
* repeated string tags = 3;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 3;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 3;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* repeated string tags = 3;
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tags = 3;
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
/**
* repeated string tags = 3;
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
return this;
}
/**
* repeated string tags = 3;
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string tags = 3;
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
private Object author_ = "";
/**
* string author = 4;
* @return The author.
*/
public String getAuthor() {
Object ref = author_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
author_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string author = 4;
* @return The bytes for author.
*/
public com.google.protobuf.ByteString
getAuthorBytes() {
Object ref = author_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
author_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string author = 4;
* @param value The author to set.
* @return This builder for chaining.
*/
public Builder setAuthor(
String value) {
if (value == null) {
throw new NullPointerException();
}
author_ = value;
onChanged();
return this;
}
/**
* string author = 4;
* @return This builder for chaining.
*/
public Builder clearAuthor() {
author_ = getDefaultInstance().getAuthor();
onChanged();
return this;
}
/**
* string author = 4;
* @param value The bytes for author to set.
* @return This builder for chaining.
*/
public Builder setAuthorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
author_ = value;
onChanged();
return this;
}
private Object authorDescription_ = "";
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return The authorDescription.
*/
public String getAuthorDescription() {
Object ref = authorDescription_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
authorDescription_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return The bytes for authorDescription.
*/
public com.google.protobuf.ByteString
getAuthorDescriptionBytes() {
Object ref = authorDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
authorDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @param value The authorDescription to set.
* @return This builder for chaining.
*/
public Builder setAuthorDescription(
String value) {
if (value == null) {
throw new NullPointerException();
}
authorDescription_ = value;
onChanged();
return this;
}
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @return This builder for chaining.
*/
public Builder clearAuthorDescription() {
authorDescription_ = getDefaultInstance().getAuthorDescription();
onChanged();
return this;
}
/**
* string author_description = 5 [(.gogoproto.moretags) = "yaml:\"author_description\""];
* @param value The bytes for authorDescription to set.
* @return This builder for chaining.
*/
public Builder setAuthorDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
authorDescription_ = value;
onChanged();
return this;
}
private Object schemas_ = "";
/**
* string schemas = 6;
* @return The schemas.
*/
public String getSchemas() {
Object ref = schemas_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
schemas_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string schemas = 6;
* @return The bytes for schemas.
*/
public com.google.protobuf.ByteString
getSchemasBytes() {
Object ref = schemas_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
schemas_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string schemas = 6;
* @param value The schemas to set.
* @return This builder for chaining.
*/
public Builder setSchemas(
String value) {
if (value == null) {
throw new NullPointerException();
}
schemas_ = value;
onChanged();
return this;
}
/**
* string schemas = 6;
* @return This builder for chaining.
*/
public Builder clearSchemas() {
schemas_ = getDefaultInstance().getSchemas();
onChanged();
return this;
}
/**
* string schemas = 6;
* @param value The bytes for schemas to set.
* @return This builder for chaining.
*/
public Builder setSchemasBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
schemas_ = 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.MsgDefineService)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgDefineService)
private static final MsgDefineService DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgDefineService();
}
public static MsgDefineService getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgDefineService parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgDefineService(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgDefineService getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgDefineServiceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgDefineServiceResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgDefineServiceResponse defines the Msg/DefineService response type.
*
*
* Protobuf type {@code irismod.service.MsgDefineServiceResponse}
*/
public static final class MsgDefineServiceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgDefineServiceResponse)
MsgDefineServiceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgDefineServiceResponse.newBuilder() to construct.
private MsgDefineServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgDefineServiceResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgDefineServiceResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgDefineServiceResponse(
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 Tx.internal_static_irismod_service_MsgDefineServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDefineServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDefineServiceResponse.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 MsgDefineServiceResponse)) {
return super.equals(obj);
}
MsgDefineServiceResponse other = (MsgDefineServiceResponse) 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 MsgDefineServiceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDefineServiceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDefineServiceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDefineServiceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDefineServiceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDefineServiceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDefineServiceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDefineServiceResponse 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 MsgDefineServiceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgDefineServiceResponse 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 MsgDefineServiceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDefineServiceResponse 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(MsgDefineServiceResponse 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;
}
/**
*
* MsgDefineServiceResponse defines the Msg/DefineService response type.
*
*
* Protobuf type {@code irismod.service.MsgDefineServiceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgDefineServiceResponse)
MsgDefineServiceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgDefineServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDefineServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDefineServiceResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgDefineServiceResponse.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 Tx.internal_static_irismod_service_MsgDefineServiceResponse_descriptor;
}
@Override
public MsgDefineServiceResponse getDefaultInstanceForType() {
return MsgDefineServiceResponse.getDefaultInstance();
}
@Override
public MsgDefineServiceResponse build() {
MsgDefineServiceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgDefineServiceResponse buildPartial() {
MsgDefineServiceResponse result = new MsgDefineServiceResponse(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 MsgDefineServiceResponse) {
return mergeFrom((MsgDefineServiceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgDefineServiceResponse other) {
if (other == MsgDefineServiceResponse.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 {
MsgDefineServiceResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgDefineServiceResponse) 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.MsgDefineServiceResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgDefineServiceResponse)
private static final MsgDefineServiceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgDefineServiceResponse();
}
public static MsgDefineServiceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgDefineServiceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgDefineServiceResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgDefineServiceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgBindServiceOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgBindService)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List
getDepositList();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index);
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
int getDepositCount();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index);
/**
* string pricing = 4;
* @return The pricing.
*/
String getPricing();
/**
* string pricing = 4;
* @return The bytes for pricing.
*/
com.google.protobuf.ByteString
getPricingBytes();
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return The qos.
*/
long getQos();
/**
* string options = 6;
* @return The options.
*/
String getOptions();
/**
* string options = 6;
* @return The bytes for options.
*/
com.google.protobuf.ByteString
getOptionsBytes();
/**
* string owner = 7;
* @return The owner.
*/
String getOwner();
/**
* string owner = 7;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
}
/**
*
* MsgBindService defines an SDK message for binding to an existing service.
*
*
* Protobuf type {@code irismod.service.MsgBindService}
*/
public static final class MsgBindService extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgBindService)
MsgBindServiceOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgBindService.newBuilder() to construct.
private MsgBindService(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgBindService() {
serviceName_ = "";
provider_ = "";
deposit_ = java.util.Collections.emptyList();
pricing_ = "";
options_ = "";
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgBindService();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgBindService(
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: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deposit_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
deposit_.add(
input.readMessage(proto.cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry));
break;
}
case 34: {
String s = input.readStringRequireUtf8();
pricing_ = s;
break;
}
case 40: {
qos_ = input.readUInt64();
break;
}
case 50: {
String s = input.readStringRequireUtf8();
options_ = s;
break;
}
case 58: {
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deposit_ = java.util.Collections.unmodifiableList(deposit_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgBindService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgBindService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgBindService.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 DEPOSIT_FIELD_NUMBER = 3;
private java.util.List deposit_;
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List getDepositList() {
return deposit_;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList() {
return deposit_;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public int getDepositCount() {
return deposit_.size();
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index) {
return deposit_.get(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index) {
return deposit_.get(index);
}
public static final int PRICING_FIELD_NUMBER = 4;
private volatile Object pricing_;
/**
* string pricing = 4;
* @return The pricing.
*/
@Override
public String getPricing() {
Object ref = pricing_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
pricing_ = s;
return s;
}
}
/**
* string pricing = 4;
* @return The bytes for pricing.
*/
@Override
public com.google.protobuf.ByteString
getPricingBytes() {
Object ref = pricing_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
pricing_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QOS_FIELD_NUMBER = 5;
private long qos_;
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return The qos.
*/
@Override
public long getQos() {
return qos_;
}
public static final int OPTIONS_FIELD_NUMBER = 6;
private volatile Object options_;
/**
* string options = 6;
* @return The options.
*/
@Override
public String getOptions() {
Object ref = options_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
options_ = s;
return s;
}
}
/**
* string options = 6;
* @return The bytes for options.
*/
@Override
public com.google.protobuf.ByteString
getOptionsBytes() {
Object ref = options_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
options_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 7;
private volatile Object owner_;
/**
* string owner = 7;
* @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 = 7;
* @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 (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
for (int i = 0; i < deposit_.size(); i++) {
output.writeMessage(3, deposit_.get(i));
}
if (!getPricingBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pricing_);
}
if (qos_ != 0L) {
output.writeUInt64(5, qos_);
}
if (!getOptionsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, options_);
}
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, owner_);
}
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_);
}
for (int i = 0; i < deposit_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, deposit_.get(i));
}
if (!getPricingBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pricing_);
}
if (qos_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, qos_);
}
if (!getOptionsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, options_);
}
if (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgBindService)) {
return super.equals(obj);
}
MsgBindService other = (MsgBindService) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
if (!getDepositList()
.equals(other.getDepositList())) return false;
if (!getPricing()
.equals(other.getPricing())) return false;
if (getQos()
!= other.getQos()) return false;
if (!getOptions()
.equals(other.getOptions())) return false;
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) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
if (getDepositCount() > 0) {
hash = (37 * hash) + DEPOSIT_FIELD_NUMBER;
hash = (53 * hash) + getDepositList().hashCode();
}
hash = (37 * hash) + PRICING_FIELD_NUMBER;
hash = (53 * hash) + getPricing().hashCode();
hash = (37 * hash) + QOS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQos());
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgBindService parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgBindService parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgBindService parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgBindService parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgBindService parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgBindService parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgBindService parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgBindService 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 MsgBindService parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgBindService 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 MsgBindService parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgBindService 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(MsgBindService 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;
}
/**
*
* MsgBindService defines an SDK message for binding to an existing service.
*
*
* Protobuf type {@code irismod.service.MsgBindService}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgBindService)
MsgBindServiceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgBindService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgBindService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgBindService.class, Builder.class);
}
// Construct using proto.service.Tx.MsgBindService.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDepositFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
provider_ = "";
if (depositBuilder_ == null) {
deposit_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
depositBuilder_.clear();
}
pricing_ = "";
qos_ = 0L;
options_ = "";
owner_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgBindService_descriptor;
}
@Override
public MsgBindService getDefaultInstanceForType() {
return MsgBindService.getDefaultInstance();
}
@Override
public MsgBindService build() {
MsgBindService result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgBindService buildPartial() {
MsgBindService result = new MsgBindService(this);
int from_bitField0_ = bitField0_;
result.serviceName_ = serviceName_;
result.provider_ = provider_;
if (depositBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deposit_ = java.util.Collections.unmodifiableList(deposit_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deposit_ = deposit_;
} else {
result.deposit_ = depositBuilder_.build();
}
result.pricing_ = pricing_;
result.qos_ = qos_;
result.options_ = options_;
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 MsgBindService) {
return mergeFrom((MsgBindService)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgBindService other) {
if (other == MsgBindService.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
if (depositBuilder_ == null) {
if (!other.deposit_.isEmpty()) {
if (deposit_.isEmpty()) {
deposit_ = other.deposit_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDepositIsMutable();
deposit_.addAll(other.deposit_);
}
onChanged();
}
} else {
if (!other.deposit_.isEmpty()) {
if (depositBuilder_.isEmpty()) {
depositBuilder_.dispose();
depositBuilder_ = null;
deposit_ = other.deposit_;
bitField0_ = (bitField0_ & ~0x00000001);
depositBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDepositFieldBuilder() : null;
} else {
depositBuilder_.addAllMessages(other.deposit_);
}
}
}
if (!other.getPricing().isEmpty()) {
pricing_ = other.pricing_;
onChanged();
}
if (other.getQos() != 0L) {
setQos(other.getQos());
}
if (!other.getOptions().isEmpty()) {
options_ = other.options_;
onChanged();
}
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 {
MsgBindService parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgBindService) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private Object serviceName_ = "";
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 java.util.List deposit_ =
java.util.Collections.emptyList();
private void ensureDepositIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deposit_ = new java.util.ArrayList(deposit_);
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> depositBuilder_;
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List getDepositList() {
if (depositBuilder_ == null) {
return java.util.Collections.unmodifiableList(deposit_);
} else {
return depositBuilder_.getMessageList();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public int getDepositCount() {
if (depositBuilder_ == null) {
return deposit_.size();
} else {
return depositBuilder_.getCount();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index) {
if (depositBuilder_ == null) {
return deposit_.get(index);
} else {
return depositBuilder_.getMessage(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.set(index, value);
onChanged();
} else {
depositBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.set(index, builderForValue.build());
onChanged();
} else {
depositBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.add(value);
onChanged();
} else {
depositBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.add(index, value);
onChanged();
} else {
depositBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.add(builderForValue.build());
onChanged();
} else {
depositBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.add(index, builderForValue.build());
onChanged();
} else {
depositBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addAllDeposit(
Iterable extends proto.cosmos.base.v1beta1.CoinOuterClass.Coin> values) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deposit_);
onChanged();
} else {
depositBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder clearDeposit() {
if (depositBuilder_ == null) {
deposit_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
depositBuilder_.clear();
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder removeDeposit(int index) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.remove(index);
onChanged();
} else {
depositBuilder_.remove(index);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getDepositBuilder(
int index) {
return getDepositFieldBuilder().getBuilder(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index) {
if (depositBuilder_ == null) {
return deposit_.get(index); } else {
return depositBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList() {
if (depositBuilder_ != null) {
return depositBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deposit_);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDepositBuilder() {
return getDepositFieldBuilder().addBuilder(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDepositBuilder(
int index) {
return getDepositFieldBuilder().addBuilder(
index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List
getDepositBuilderList() {
return getDepositFieldBuilder().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>
getDepositFieldBuilder() {
if (depositBuilder_ == null) {
depositBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>(
deposit_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deposit_ = null;
}
return depositBuilder_;
}
private Object pricing_ = "";
/**
* string pricing = 4;
* @return The pricing.
*/
public String getPricing() {
Object ref = pricing_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
pricing_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string pricing = 4;
* @return The bytes for pricing.
*/
public com.google.protobuf.ByteString
getPricingBytes() {
Object ref = pricing_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
pricing_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string pricing = 4;
* @param value The pricing to set.
* @return This builder for chaining.
*/
public Builder setPricing(
String value) {
if (value == null) {
throw new NullPointerException();
}
pricing_ = value;
onChanged();
return this;
}
/**
* string pricing = 4;
* @return This builder for chaining.
*/
public Builder clearPricing() {
pricing_ = getDefaultInstance().getPricing();
onChanged();
return this;
}
/**
* string pricing = 4;
* @param value The bytes for pricing to set.
* @return This builder for chaining.
*/
public Builder setPricingBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pricing_ = value;
onChanged();
return this;
}
private long qos_ ;
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return The qos.
*/
@Override
public long getQos() {
return qos_;
}
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @param value The qos to set.
* @return This builder for chaining.
*/
public Builder setQos(long value) {
qos_ = value;
onChanged();
return this;
}
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return This builder for chaining.
*/
public Builder clearQos() {
qos_ = 0L;
onChanged();
return this;
}
private Object options_ = "";
/**
* string options = 6;
* @return The options.
*/
public String getOptions() {
Object ref = options_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
options_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string options = 6;
* @return The bytes for options.
*/
public com.google.protobuf.ByteString
getOptionsBytes() {
Object ref = options_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
options_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string options = 6;
* @param value The options to set.
* @return This builder for chaining.
*/
public Builder setOptions(
String value) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
return this;
}
/**
* string options = 6;
* @return This builder for chaining.
*/
public Builder clearOptions() {
options_ = getDefaultInstance().getOptions();
onChanged();
return this;
}
/**
* string options = 6;
* @param value The bytes for options to set.
* @return This builder for chaining.
*/
public Builder setOptionsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
options_ = value;
onChanged();
return this;
}
private Object owner_ = "";
/**
* string owner = 7;
* @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 = 7;
* @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 = 7;
* @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 = 7;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 7;
* @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.MsgBindService)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgBindService)
private static final MsgBindService DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgBindService();
}
public static MsgBindService getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgBindService parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgBindService(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgBindService getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgBindServiceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgBindServiceResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgBindServiceResponse defines the Msg/BindService response type.
*
*
* Protobuf type {@code irismod.service.MsgBindServiceResponse}
*/
public static final class MsgBindServiceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgBindServiceResponse)
MsgBindServiceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgBindServiceResponse.newBuilder() to construct.
private MsgBindServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgBindServiceResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgBindServiceResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgBindServiceResponse(
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 Tx.internal_static_irismod_service_MsgBindServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgBindServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgBindServiceResponse.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 MsgBindServiceResponse)) {
return super.equals(obj);
}
MsgBindServiceResponse other = (MsgBindServiceResponse) 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 MsgBindServiceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgBindServiceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgBindServiceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgBindServiceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgBindServiceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgBindServiceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgBindServiceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgBindServiceResponse 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 MsgBindServiceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgBindServiceResponse 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 MsgBindServiceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgBindServiceResponse 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(MsgBindServiceResponse 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;
}
/**
*
* MsgBindServiceResponse defines the Msg/BindService response type.
*
*
* Protobuf type {@code irismod.service.MsgBindServiceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgBindServiceResponse)
MsgBindServiceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgBindServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgBindServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgBindServiceResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgBindServiceResponse.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 Tx.internal_static_irismod_service_MsgBindServiceResponse_descriptor;
}
@Override
public MsgBindServiceResponse getDefaultInstanceForType() {
return MsgBindServiceResponse.getDefaultInstance();
}
@Override
public MsgBindServiceResponse build() {
MsgBindServiceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgBindServiceResponse buildPartial() {
MsgBindServiceResponse result = new MsgBindServiceResponse(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 MsgBindServiceResponse) {
return mergeFrom((MsgBindServiceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgBindServiceResponse other) {
if (other == MsgBindServiceResponse.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 {
MsgBindServiceResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgBindServiceResponse) 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.MsgBindServiceResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgBindServiceResponse)
private static final MsgBindServiceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgBindServiceResponse();
}
public static MsgBindServiceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgBindServiceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgBindServiceResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgBindServiceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgUpdateServiceBindingOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgUpdateServiceBinding)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List
getDepositList();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index);
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
int getDepositCount();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index);
/**
* string pricing = 4;
* @return The pricing.
*/
String getPricing();
/**
* string pricing = 4;
* @return The bytes for pricing.
*/
com.google.protobuf.ByteString
getPricingBytes();
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return The qos.
*/
long getQos();
/**
* string options = 6;
* @return The options.
*/
String getOptions();
/**
* string options = 6;
* @return The bytes for options.
*/
com.google.protobuf.ByteString
getOptionsBytes();
/**
* string owner = 7;
* @return The owner.
*/
String getOwner();
/**
* string owner = 7;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
}
/**
*
* MsgUpdateServiceBinding defines an SDK message for updating an existing service binding.
*
*
* Protobuf type {@code irismod.service.MsgUpdateServiceBinding}
*/
public static final class MsgUpdateServiceBinding extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgUpdateServiceBinding)
MsgUpdateServiceBindingOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgUpdateServiceBinding.newBuilder() to construct.
private MsgUpdateServiceBinding(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgUpdateServiceBinding() {
serviceName_ = "";
provider_ = "";
deposit_ = java.util.Collections.emptyList();
pricing_ = "";
options_ = "";
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgUpdateServiceBinding();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgUpdateServiceBinding(
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: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deposit_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
deposit_.add(
input.readMessage(proto.cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry));
break;
}
case 34: {
String s = input.readStringRequireUtf8();
pricing_ = s;
break;
}
case 40: {
qos_ = input.readUInt64();
break;
}
case 50: {
String s = input.readStringRequireUtf8();
options_ = s;
break;
}
case 58: {
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deposit_ = java.util.Collections.unmodifiableList(deposit_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBinding_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateServiceBinding.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 DEPOSIT_FIELD_NUMBER = 3;
private java.util.List deposit_;
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List getDepositList() {
return deposit_;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList() {
return deposit_;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public int getDepositCount() {
return deposit_.size();
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index) {
return deposit_.get(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index) {
return deposit_.get(index);
}
public static final int PRICING_FIELD_NUMBER = 4;
private volatile Object pricing_;
/**
* string pricing = 4;
* @return The pricing.
*/
@Override
public String getPricing() {
Object ref = pricing_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
pricing_ = s;
return s;
}
}
/**
* string pricing = 4;
* @return The bytes for pricing.
*/
@Override
public com.google.protobuf.ByteString
getPricingBytes() {
Object ref = pricing_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
pricing_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QOS_FIELD_NUMBER = 5;
private long qos_;
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return The qos.
*/
@Override
public long getQos() {
return qos_;
}
public static final int OPTIONS_FIELD_NUMBER = 6;
private volatile Object options_;
/**
* string options = 6;
* @return The options.
*/
@Override
public String getOptions() {
Object ref = options_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
options_ = s;
return s;
}
}
/**
* string options = 6;
* @return The bytes for options.
*/
@Override
public com.google.protobuf.ByteString
getOptionsBytes() {
Object ref = options_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
options_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 7;
private volatile Object owner_;
/**
* string owner = 7;
* @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 = 7;
* @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 (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
for (int i = 0; i < deposit_.size(); i++) {
output.writeMessage(3, deposit_.get(i));
}
if (!getPricingBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pricing_);
}
if (qos_ != 0L) {
output.writeUInt64(5, qos_);
}
if (!getOptionsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, options_);
}
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, owner_);
}
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_);
}
for (int i = 0; i < deposit_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, deposit_.get(i));
}
if (!getPricingBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pricing_);
}
if (qos_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, qos_);
}
if (!getOptionsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, options_);
}
if (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgUpdateServiceBinding)) {
return super.equals(obj);
}
MsgUpdateServiceBinding other = (MsgUpdateServiceBinding) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
if (!getDepositList()
.equals(other.getDepositList())) return false;
if (!getPricing()
.equals(other.getPricing())) return false;
if (getQos()
!= other.getQos()) return false;
if (!getOptions()
.equals(other.getOptions())) return false;
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) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
if (getDepositCount() > 0) {
hash = (37 * hash) + DEPOSIT_FIELD_NUMBER;
hash = (53 * hash) + getDepositList().hashCode();
}
hash = (37 * hash) + PRICING_FIELD_NUMBER;
hash = (53 * hash) + getPricing().hashCode();
hash = (37 * hash) + QOS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQos());
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgUpdateServiceBinding parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateServiceBinding parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateServiceBinding parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateServiceBinding parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateServiceBinding parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateServiceBinding parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateServiceBinding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateServiceBinding 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 MsgUpdateServiceBinding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgUpdateServiceBinding 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 MsgUpdateServiceBinding parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateServiceBinding 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(MsgUpdateServiceBinding 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;
}
/**
*
* MsgUpdateServiceBinding defines an SDK message for updating an existing service binding.
*
*
* Protobuf type {@code irismod.service.MsgUpdateServiceBinding}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgUpdateServiceBinding)
MsgUpdateServiceBindingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBinding_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateServiceBinding.class, Builder.class);
}
// Construct using proto.service.Tx.MsgUpdateServiceBinding.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDepositFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
provider_ = "";
if (depositBuilder_ == null) {
deposit_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
depositBuilder_.clear();
}
pricing_ = "";
qos_ = 0L;
options_ = "";
owner_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBinding_descriptor;
}
@Override
public MsgUpdateServiceBinding getDefaultInstanceForType() {
return MsgUpdateServiceBinding.getDefaultInstance();
}
@Override
public MsgUpdateServiceBinding build() {
MsgUpdateServiceBinding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgUpdateServiceBinding buildPartial() {
MsgUpdateServiceBinding result = new MsgUpdateServiceBinding(this);
int from_bitField0_ = bitField0_;
result.serviceName_ = serviceName_;
result.provider_ = provider_;
if (depositBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deposit_ = java.util.Collections.unmodifiableList(deposit_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deposit_ = deposit_;
} else {
result.deposit_ = depositBuilder_.build();
}
result.pricing_ = pricing_;
result.qos_ = qos_;
result.options_ = options_;
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 MsgUpdateServiceBinding) {
return mergeFrom((MsgUpdateServiceBinding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgUpdateServiceBinding other) {
if (other == MsgUpdateServiceBinding.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
if (depositBuilder_ == null) {
if (!other.deposit_.isEmpty()) {
if (deposit_.isEmpty()) {
deposit_ = other.deposit_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDepositIsMutable();
deposit_.addAll(other.deposit_);
}
onChanged();
}
} else {
if (!other.deposit_.isEmpty()) {
if (depositBuilder_.isEmpty()) {
depositBuilder_.dispose();
depositBuilder_ = null;
deposit_ = other.deposit_;
bitField0_ = (bitField0_ & ~0x00000001);
depositBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDepositFieldBuilder() : null;
} else {
depositBuilder_.addAllMessages(other.deposit_);
}
}
}
if (!other.getPricing().isEmpty()) {
pricing_ = other.pricing_;
onChanged();
}
if (other.getQos() != 0L) {
setQos(other.getQos());
}
if (!other.getOptions().isEmpty()) {
options_ = other.options_;
onChanged();
}
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 {
MsgUpdateServiceBinding parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgUpdateServiceBinding) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private Object serviceName_ = "";
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 java.util.List deposit_ =
java.util.Collections.emptyList();
private void ensureDepositIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deposit_ = new java.util.ArrayList(deposit_);
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> depositBuilder_;
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List getDepositList() {
if (depositBuilder_ == null) {
return java.util.Collections.unmodifiableList(deposit_);
} else {
return depositBuilder_.getMessageList();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public int getDepositCount() {
if (depositBuilder_ == null) {
return deposit_.size();
} else {
return depositBuilder_.getCount();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index) {
if (depositBuilder_ == null) {
return deposit_.get(index);
} else {
return depositBuilder_.getMessage(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.set(index, value);
onChanged();
} else {
depositBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.set(index, builderForValue.build());
onChanged();
} else {
depositBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.add(value);
onChanged();
} else {
depositBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.add(index, value);
onChanged();
} else {
depositBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.add(builderForValue.build());
onChanged();
} else {
depositBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.add(index, builderForValue.build());
onChanged();
} else {
depositBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addAllDeposit(
Iterable extends proto.cosmos.base.v1beta1.CoinOuterClass.Coin> values) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deposit_);
onChanged();
} else {
depositBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder clearDeposit() {
if (depositBuilder_ == null) {
deposit_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
depositBuilder_.clear();
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder removeDeposit(int index) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.remove(index);
onChanged();
} else {
depositBuilder_.remove(index);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getDepositBuilder(
int index) {
return getDepositFieldBuilder().getBuilder(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index) {
if (depositBuilder_ == null) {
return deposit_.get(index); } else {
return depositBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList() {
if (depositBuilder_ != null) {
return depositBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deposit_);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDepositBuilder() {
return getDepositFieldBuilder().addBuilder(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDepositBuilder(
int index) {
return getDepositFieldBuilder().addBuilder(
index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List
getDepositBuilderList() {
return getDepositFieldBuilder().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>
getDepositFieldBuilder() {
if (depositBuilder_ == null) {
depositBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>(
deposit_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deposit_ = null;
}
return depositBuilder_;
}
private Object pricing_ = "";
/**
* string pricing = 4;
* @return The pricing.
*/
public String getPricing() {
Object ref = pricing_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
pricing_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string pricing = 4;
* @return The bytes for pricing.
*/
public com.google.protobuf.ByteString
getPricingBytes() {
Object ref = pricing_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
pricing_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string pricing = 4;
* @param value The pricing to set.
* @return This builder for chaining.
*/
public Builder setPricing(
String value) {
if (value == null) {
throw new NullPointerException();
}
pricing_ = value;
onChanged();
return this;
}
/**
* string pricing = 4;
* @return This builder for chaining.
*/
public Builder clearPricing() {
pricing_ = getDefaultInstance().getPricing();
onChanged();
return this;
}
/**
* string pricing = 4;
* @param value The bytes for pricing to set.
* @return This builder for chaining.
*/
public Builder setPricingBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pricing_ = value;
onChanged();
return this;
}
private long qos_ ;
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return The qos.
*/
@Override
public long getQos() {
return qos_;
}
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @param value The qos to set.
* @return This builder for chaining.
*/
public Builder setQos(long value) {
qos_ = value;
onChanged();
return this;
}
/**
* uint64 qos = 5 [(.gogoproto.customname) = "QoS"];
* @return This builder for chaining.
*/
public Builder clearQos() {
qos_ = 0L;
onChanged();
return this;
}
private Object options_ = "";
/**
* string options = 6;
* @return The options.
*/
public String getOptions() {
Object ref = options_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
options_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string options = 6;
* @return The bytes for options.
*/
public com.google.protobuf.ByteString
getOptionsBytes() {
Object ref = options_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
options_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string options = 6;
* @param value The options to set.
* @return This builder for chaining.
*/
public Builder setOptions(
String value) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
return this;
}
/**
* string options = 6;
* @return This builder for chaining.
*/
public Builder clearOptions() {
options_ = getDefaultInstance().getOptions();
onChanged();
return this;
}
/**
* string options = 6;
* @param value The bytes for options to set.
* @return This builder for chaining.
*/
public Builder setOptionsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
options_ = value;
onChanged();
return this;
}
private Object owner_ = "";
/**
* string owner = 7;
* @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 = 7;
* @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 = 7;
* @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 = 7;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 7;
* @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.MsgUpdateServiceBinding)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgUpdateServiceBinding)
private static final MsgUpdateServiceBinding DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgUpdateServiceBinding();
}
public static MsgUpdateServiceBinding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgUpdateServiceBinding parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgUpdateServiceBinding(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgUpdateServiceBinding getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgUpdateServiceBindingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgUpdateServiceBindingResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgUpdateServiceBindingResponse defines the Msg/UpdateServiceBinding response type.
*
*
* Protobuf type {@code irismod.service.MsgUpdateServiceBindingResponse}
*/
public static final class MsgUpdateServiceBindingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgUpdateServiceBindingResponse)
MsgUpdateServiceBindingResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgUpdateServiceBindingResponse.newBuilder() to construct.
private MsgUpdateServiceBindingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgUpdateServiceBindingResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgUpdateServiceBindingResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgUpdateServiceBindingResponse(
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 Tx.internal_static_irismod_service_MsgUpdateServiceBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateServiceBindingResponse.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 MsgUpdateServiceBindingResponse)) {
return super.equals(obj);
}
MsgUpdateServiceBindingResponse other = (MsgUpdateServiceBindingResponse) 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 MsgUpdateServiceBindingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateServiceBindingResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateServiceBindingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateServiceBindingResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateServiceBindingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateServiceBindingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateServiceBindingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateServiceBindingResponse 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 MsgUpdateServiceBindingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgUpdateServiceBindingResponse 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 MsgUpdateServiceBindingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateServiceBindingResponse 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(MsgUpdateServiceBindingResponse 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;
}
/**
*
* MsgUpdateServiceBindingResponse defines the Msg/UpdateServiceBinding response type.
*
*
* Protobuf type {@code irismod.service.MsgUpdateServiceBindingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgUpdateServiceBindingResponse)
MsgUpdateServiceBindingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateServiceBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateServiceBindingResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgUpdateServiceBindingResponse.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 Tx.internal_static_irismod_service_MsgUpdateServiceBindingResponse_descriptor;
}
@Override
public MsgUpdateServiceBindingResponse getDefaultInstanceForType() {
return MsgUpdateServiceBindingResponse.getDefaultInstance();
}
@Override
public MsgUpdateServiceBindingResponse build() {
MsgUpdateServiceBindingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgUpdateServiceBindingResponse buildPartial() {
MsgUpdateServiceBindingResponse result = new MsgUpdateServiceBindingResponse(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 MsgUpdateServiceBindingResponse) {
return mergeFrom((MsgUpdateServiceBindingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgUpdateServiceBindingResponse other) {
if (other == MsgUpdateServiceBindingResponse.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 {
MsgUpdateServiceBindingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgUpdateServiceBindingResponse) 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.MsgUpdateServiceBindingResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgUpdateServiceBindingResponse)
private static final MsgUpdateServiceBindingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgUpdateServiceBindingResponse();
}
public static MsgUpdateServiceBindingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgUpdateServiceBindingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgUpdateServiceBindingResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgUpdateServiceBindingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgSetWithdrawAddressOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgSetWithdrawAddress)
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();
/**
* string withdraw_address = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @return The withdrawAddress.
*/
String getWithdrawAddress();
/**
* string withdraw_address = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @return The bytes for withdrawAddress.
*/
com.google.protobuf.ByteString
getWithdrawAddressBytes();
}
/**
*
* MsgSetWithdrawAddress defines an SDK message to set the withdrawal address for a provider.
*
*
* Protobuf type {@code irismod.service.MsgSetWithdrawAddress}
*/
public static final class MsgSetWithdrawAddress extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgSetWithdrawAddress)
MsgSetWithdrawAddressOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgSetWithdrawAddress.newBuilder() to construct.
private MsgSetWithdrawAddress(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgSetWithdrawAddress() {
owner_ = "";
withdrawAddress_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgSetWithdrawAddress();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgSetWithdrawAddress(
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;
}
case 18: {
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 Tx.internal_static_irismod_service_MsgSetWithdrawAddress_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgSetWithdrawAddress.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;
}
}
public static final int WITHDRAW_ADDRESS_FIELD_NUMBER = 2;
private volatile Object withdrawAddress_;
/**
* string withdraw_address = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @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 = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @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 (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, owner_);
}
if (!getWithdrawAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, withdrawAddress_);
}
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_);
}
if (!getWithdrawAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, withdrawAddress_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgSetWithdrawAddress)) {
return super.equals(obj);
}
MsgSetWithdrawAddress other = (MsgSetWithdrawAddress) obj;
if (!getOwner()
.equals(other.getOwner())) return false;
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) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (37 * hash) + WITHDRAW_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getWithdrawAddress().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgSetWithdrawAddress parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgSetWithdrawAddress parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgSetWithdrawAddress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgSetWithdrawAddress parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgSetWithdrawAddress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgSetWithdrawAddress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgSetWithdrawAddress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgSetWithdrawAddress 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 MsgSetWithdrawAddress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgSetWithdrawAddress 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 MsgSetWithdrawAddress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgSetWithdrawAddress 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(MsgSetWithdrawAddress 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;
}
/**
*
* MsgSetWithdrawAddress defines an SDK message to set the withdrawal address for a provider.
*
*
* Protobuf type {@code irismod.service.MsgSetWithdrawAddress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgSetWithdrawAddress)
MsgSetWithdrawAddressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddress_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgSetWithdrawAddress.class, Builder.class);
}
// Construct using proto.service.Tx.MsgSetWithdrawAddress.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_ = "";
withdrawAddress_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddress_descriptor;
}
@Override
public MsgSetWithdrawAddress getDefaultInstanceForType() {
return MsgSetWithdrawAddress.getDefaultInstance();
}
@Override
public MsgSetWithdrawAddress build() {
MsgSetWithdrawAddress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgSetWithdrawAddress buildPartial() {
MsgSetWithdrawAddress result = new MsgSetWithdrawAddress(this);
result.owner_ = owner_;
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 MsgSetWithdrawAddress) {
return mergeFrom((MsgSetWithdrawAddress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgSetWithdrawAddress other) {
if (other == MsgSetWithdrawAddress.getDefaultInstance()) return this;
if (!other.getOwner().isEmpty()) {
owner_ = other.owner_;
onChanged();
}
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 {
MsgSetWithdrawAddress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgSetWithdrawAddress) 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;
}
private Object withdrawAddress_ = "";
/**
* string withdraw_address = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @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 = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @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 = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @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 = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @return This builder for chaining.
*/
public Builder clearWithdrawAddress() {
withdrawAddress_ = getDefaultInstance().getWithdrawAddress();
onChanged();
return this;
}
/**
* string withdraw_address = 2 [(.gogoproto.moretags) = "yaml:\"withdraw_address\""];
* @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.MsgSetWithdrawAddress)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgSetWithdrawAddress)
private static final MsgSetWithdrawAddress DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgSetWithdrawAddress();
}
public static MsgSetWithdrawAddress getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgSetWithdrawAddress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgSetWithdrawAddress(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgSetWithdrawAddress getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgSetWithdrawAddressResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgSetWithdrawAddressResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
*
*
* Protobuf type {@code irismod.service.MsgSetWithdrawAddressResponse}
*/
public static final class MsgSetWithdrawAddressResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgSetWithdrawAddressResponse)
MsgSetWithdrawAddressResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgSetWithdrawAddressResponse.newBuilder() to construct.
private MsgSetWithdrawAddressResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgSetWithdrawAddressResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgSetWithdrawAddressResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgSetWithdrawAddressResponse(
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 Tx.internal_static_irismod_service_MsgSetWithdrawAddressResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddressResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgSetWithdrawAddressResponse.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 MsgSetWithdrawAddressResponse)) {
return super.equals(obj);
}
MsgSetWithdrawAddressResponse other = (MsgSetWithdrawAddressResponse) 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 MsgSetWithdrawAddressResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgSetWithdrawAddressResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgSetWithdrawAddressResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgSetWithdrawAddressResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgSetWithdrawAddressResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgSetWithdrawAddressResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgSetWithdrawAddressResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgSetWithdrawAddressResponse 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 MsgSetWithdrawAddressResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgSetWithdrawAddressResponse 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 MsgSetWithdrawAddressResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgSetWithdrawAddressResponse 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(MsgSetWithdrawAddressResponse 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;
}
/**
*
* MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
*
*
* Protobuf type {@code irismod.service.MsgSetWithdrawAddressResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgSetWithdrawAddressResponse)
MsgSetWithdrawAddressResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddressResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgSetWithdrawAddressResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgSetWithdrawAddressResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgSetWithdrawAddressResponse.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 Tx.internal_static_irismod_service_MsgSetWithdrawAddressResponse_descriptor;
}
@Override
public MsgSetWithdrawAddressResponse getDefaultInstanceForType() {
return MsgSetWithdrawAddressResponse.getDefaultInstance();
}
@Override
public MsgSetWithdrawAddressResponse build() {
MsgSetWithdrawAddressResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgSetWithdrawAddressResponse buildPartial() {
MsgSetWithdrawAddressResponse result = new MsgSetWithdrawAddressResponse(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 MsgSetWithdrawAddressResponse) {
return mergeFrom((MsgSetWithdrawAddressResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgSetWithdrawAddressResponse other) {
if (other == MsgSetWithdrawAddressResponse.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 {
MsgSetWithdrawAddressResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgSetWithdrawAddressResponse) 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.MsgSetWithdrawAddressResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgSetWithdrawAddressResponse)
private static final MsgSetWithdrawAddressResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgSetWithdrawAddressResponse();
}
public static MsgSetWithdrawAddressResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgSetWithdrawAddressResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgSetWithdrawAddressResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgSetWithdrawAddressResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgDisableServiceBindingOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgDisableServiceBinding)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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();
/**
* string owner = 3;
* @return The owner.
*/
String getOwner();
/**
* string owner = 3;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
}
/**
*
* MsgDisableServiceBinding defines an SDK message to disable a service binding.
*
*
* Protobuf type {@code irismod.service.MsgDisableServiceBinding}
*/
public static final class MsgDisableServiceBinding extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgDisableServiceBinding)
MsgDisableServiceBindingOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgDisableServiceBinding.newBuilder() to construct.
private MsgDisableServiceBinding(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgDisableServiceBinding() {
serviceName_ = "";
provider_ = "";
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgDisableServiceBinding();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgDisableServiceBinding(
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: {
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 Tx.internal_static_irismod_service_MsgDisableServiceBinding_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDisableServiceBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDisableServiceBinding.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 OWNER_FIELD_NUMBER = 3;
private volatile Object owner_;
/**
* string owner = 3;
* @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 = 3;
* @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 (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, owner_);
}
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 (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgDisableServiceBinding)) {
return super.equals(obj);
}
MsgDisableServiceBinding other = (MsgDisableServiceBinding) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
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) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgDisableServiceBinding parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDisableServiceBinding parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDisableServiceBinding parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDisableServiceBinding parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDisableServiceBinding parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDisableServiceBinding parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDisableServiceBinding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDisableServiceBinding 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 MsgDisableServiceBinding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgDisableServiceBinding 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 MsgDisableServiceBinding parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDisableServiceBinding 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(MsgDisableServiceBinding 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;
}
/**
*
* MsgDisableServiceBinding defines an SDK message to disable a service binding.
*
*
* Protobuf type {@code irismod.service.MsgDisableServiceBinding}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgDisableServiceBinding)
MsgDisableServiceBindingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgDisableServiceBinding_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDisableServiceBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDisableServiceBinding.class, Builder.class);
}
// Construct using proto.service.Tx.MsgDisableServiceBinding.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_ = "";
owner_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgDisableServiceBinding_descriptor;
}
@Override
public MsgDisableServiceBinding getDefaultInstanceForType() {
return MsgDisableServiceBinding.getDefaultInstance();
}
@Override
public MsgDisableServiceBinding build() {
MsgDisableServiceBinding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgDisableServiceBinding buildPartial() {
MsgDisableServiceBinding result = new MsgDisableServiceBinding(this);
result.serviceName_ = serviceName_;
result.provider_ = provider_;
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 MsgDisableServiceBinding) {
return mergeFrom((MsgDisableServiceBinding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgDisableServiceBinding other) {
if (other == MsgDisableServiceBinding.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
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 {
MsgDisableServiceBinding parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgDisableServiceBinding) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object serviceName_ = "";
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 Object owner_ = "";
/**
* string owner = 3;
* @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 = 3;
* @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 = 3;
* @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 = 3;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 3;
* @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.MsgDisableServiceBinding)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgDisableServiceBinding)
private static final MsgDisableServiceBinding DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgDisableServiceBinding();
}
public static MsgDisableServiceBinding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgDisableServiceBinding parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgDisableServiceBinding(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgDisableServiceBinding getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgDisableServiceBindingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgDisableServiceBindingResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgDisableServiceBindingResponse defines the Msg/DisableServiceBinding response type.
*
*
* Protobuf type {@code irismod.service.MsgDisableServiceBindingResponse}
*/
public static final class MsgDisableServiceBindingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgDisableServiceBindingResponse)
MsgDisableServiceBindingResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgDisableServiceBindingResponse.newBuilder() to construct.
private MsgDisableServiceBindingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgDisableServiceBindingResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgDisableServiceBindingResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgDisableServiceBindingResponse(
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 Tx.internal_static_irismod_service_MsgDisableServiceBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDisableServiceBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDisableServiceBindingResponse.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 MsgDisableServiceBindingResponse)) {
return super.equals(obj);
}
MsgDisableServiceBindingResponse other = (MsgDisableServiceBindingResponse) 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 MsgDisableServiceBindingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDisableServiceBindingResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDisableServiceBindingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDisableServiceBindingResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDisableServiceBindingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgDisableServiceBindingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgDisableServiceBindingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDisableServiceBindingResponse 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 MsgDisableServiceBindingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgDisableServiceBindingResponse 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 MsgDisableServiceBindingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgDisableServiceBindingResponse 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(MsgDisableServiceBindingResponse 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;
}
/**
*
* MsgDisableServiceBindingResponse defines the Msg/DisableServiceBinding response type.
*
*
* Protobuf type {@code irismod.service.MsgDisableServiceBindingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgDisableServiceBindingResponse)
MsgDisableServiceBindingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgDisableServiceBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgDisableServiceBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgDisableServiceBindingResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgDisableServiceBindingResponse.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 Tx.internal_static_irismod_service_MsgDisableServiceBindingResponse_descriptor;
}
@Override
public MsgDisableServiceBindingResponse getDefaultInstanceForType() {
return MsgDisableServiceBindingResponse.getDefaultInstance();
}
@Override
public MsgDisableServiceBindingResponse build() {
MsgDisableServiceBindingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgDisableServiceBindingResponse buildPartial() {
MsgDisableServiceBindingResponse result = new MsgDisableServiceBindingResponse(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 MsgDisableServiceBindingResponse) {
return mergeFrom((MsgDisableServiceBindingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgDisableServiceBindingResponse other) {
if (other == MsgDisableServiceBindingResponse.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 {
MsgDisableServiceBindingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgDisableServiceBindingResponse) 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.MsgDisableServiceBindingResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgDisableServiceBindingResponse)
private static final MsgDisableServiceBindingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgDisableServiceBindingResponse();
}
public static MsgDisableServiceBindingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgDisableServiceBindingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgDisableServiceBindingResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgDisableServiceBindingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgEnableServiceBindingOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgEnableServiceBinding)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List
getDepositList();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index);
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
int getDepositCount();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList();
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index);
/**
* string owner = 4;
* @return The owner.
*/
String getOwner();
/**
* string owner = 4;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
}
/**
*
* MsgEnableServiceBinding defines an SDK message to enable a service binding.
*
*
* Protobuf type {@code irismod.service.MsgEnableServiceBinding}
*/
public static final class MsgEnableServiceBinding extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgEnableServiceBinding)
MsgEnableServiceBindingOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgEnableServiceBinding.newBuilder() to construct.
private MsgEnableServiceBinding(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgEnableServiceBinding() {
serviceName_ = "";
provider_ = "";
deposit_ = java.util.Collections.emptyList();
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgEnableServiceBinding();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgEnableServiceBinding(
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: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deposit_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
deposit_.add(
input.readMessage(proto.cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry));
break;
}
case 34: {
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deposit_ = java.util.Collections.unmodifiableList(deposit_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgEnableServiceBinding_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgEnableServiceBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgEnableServiceBinding.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 DEPOSIT_FIELD_NUMBER = 3;
private java.util.List deposit_;
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List getDepositList() {
return deposit_;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList() {
return deposit_;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public int getDepositCount() {
return deposit_.size();
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index) {
return deposit_.get(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index) {
return deposit_.get(index);
}
public static final int OWNER_FIELD_NUMBER = 4;
private volatile Object owner_;
/**
* string owner = 4;
* @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 = 4;
* @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 (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
for (int i = 0; i < deposit_.size(); i++) {
output.writeMessage(3, deposit_.get(i));
}
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, owner_);
}
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_);
}
for (int i = 0; i < deposit_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, deposit_.get(i));
}
if (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgEnableServiceBinding)) {
return super.equals(obj);
}
MsgEnableServiceBinding other = (MsgEnableServiceBinding) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
if (!getDepositList()
.equals(other.getDepositList())) return false;
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) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
if (getDepositCount() > 0) {
hash = (37 * hash) + DEPOSIT_FIELD_NUMBER;
hash = (53 * hash) + getDepositList().hashCode();
}
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgEnableServiceBinding parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgEnableServiceBinding parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgEnableServiceBinding parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgEnableServiceBinding parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgEnableServiceBinding parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgEnableServiceBinding parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgEnableServiceBinding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgEnableServiceBinding 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 MsgEnableServiceBinding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgEnableServiceBinding 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 MsgEnableServiceBinding parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgEnableServiceBinding 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(MsgEnableServiceBinding 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;
}
/**
*
* MsgEnableServiceBinding defines an SDK message to enable a service binding.
*
*
* Protobuf type {@code irismod.service.MsgEnableServiceBinding}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgEnableServiceBinding)
MsgEnableServiceBindingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgEnableServiceBinding_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgEnableServiceBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgEnableServiceBinding.class, Builder.class);
}
// Construct using proto.service.Tx.MsgEnableServiceBinding.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDepositFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
provider_ = "";
if (depositBuilder_ == null) {
deposit_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
depositBuilder_.clear();
}
owner_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgEnableServiceBinding_descriptor;
}
@Override
public MsgEnableServiceBinding getDefaultInstanceForType() {
return MsgEnableServiceBinding.getDefaultInstance();
}
@Override
public MsgEnableServiceBinding build() {
MsgEnableServiceBinding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgEnableServiceBinding buildPartial() {
MsgEnableServiceBinding result = new MsgEnableServiceBinding(this);
int from_bitField0_ = bitField0_;
result.serviceName_ = serviceName_;
result.provider_ = provider_;
if (depositBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deposit_ = java.util.Collections.unmodifiableList(deposit_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deposit_ = deposit_;
} else {
result.deposit_ = depositBuilder_.build();
}
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 MsgEnableServiceBinding) {
return mergeFrom((MsgEnableServiceBinding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgEnableServiceBinding other) {
if (other == MsgEnableServiceBinding.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
if (depositBuilder_ == null) {
if (!other.deposit_.isEmpty()) {
if (deposit_.isEmpty()) {
deposit_ = other.deposit_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDepositIsMutable();
deposit_.addAll(other.deposit_);
}
onChanged();
}
} else {
if (!other.deposit_.isEmpty()) {
if (depositBuilder_.isEmpty()) {
depositBuilder_.dispose();
depositBuilder_ = null;
deposit_ = other.deposit_;
bitField0_ = (bitField0_ & ~0x00000001);
depositBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDepositFieldBuilder() : null;
} else {
depositBuilder_.addAllMessages(other.deposit_);
}
}
}
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 {
MsgEnableServiceBinding parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgEnableServiceBinding) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private Object serviceName_ = "";
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 java.util.List deposit_ =
java.util.Collections.emptyList();
private void ensureDepositIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deposit_ = new java.util.ArrayList(deposit_);
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> depositBuilder_;
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List getDepositList() {
if (depositBuilder_ == null) {
return java.util.Collections.unmodifiableList(deposit_);
} else {
return depositBuilder_.getMessageList();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public int getDepositCount() {
if (depositBuilder_ == null) {
return deposit_.size();
} else {
return depositBuilder_.getCount();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getDeposit(int index) {
if (depositBuilder_ == null) {
return deposit_.get(index);
} else {
return depositBuilder_.getMessage(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.set(index, value);
onChanged();
} else {
depositBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.set(index, builderForValue.build());
onChanged();
} else {
depositBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.add(value);
onChanged();
} else {
depositBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (depositBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDepositIsMutable();
deposit_.add(index, value);
onChanged();
} else {
depositBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.add(builderForValue.build());
onChanged();
} else {
depositBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addDeposit(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.add(index, builderForValue.build());
onChanged();
} else {
depositBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addAllDeposit(
Iterable extends proto.cosmos.base.v1beta1.CoinOuterClass.Coin> values) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deposit_);
onChanged();
} else {
depositBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder clearDeposit() {
if (depositBuilder_ == null) {
deposit_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
depositBuilder_.clear();
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder removeDeposit(int index) {
if (depositBuilder_ == null) {
ensureDepositIsMutable();
deposit_.remove(index);
onChanged();
} else {
depositBuilder_.remove(index);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getDepositBuilder(
int index) {
return getDepositFieldBuilder().getBuilder(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDepositOrBuilder(
int index) {
if (depositBuilder_ == null) {
return deposit_.get(index); } else {
return depositBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getDepositOrBuilderList() {
if (depositBuilder_ != null) {
return depositBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deposit_);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDepositBuilder() {
return getDepositFieldBuilder().addBuilder(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDepositBuilder(
int index) {
return getDepositFieldBuilder().addBuilder(
index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin deposit = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List
getDepositBuilderList() {
return getDepositFieldBuilder().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>
getDepositFieldBuilder() {
if (depositBuilder_ == null) {
depositBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>(
deposit_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deposit_ = null;
}
return depositBuilder_;
}
private Object owner_ = "";
/**
* string owner = 4;
* @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 = 4;
* @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 = 4;
* @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 = 4;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 4;
* @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.MsgEnableServiceBinding)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgEnableServiceBinding)
private static final MsgEnableServiceBinding DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgEnableServiceBinding();
}
public static MsgEnableServiceBinding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgEnableServiceBinding parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgEnableServiceBinding(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgEnableServiceBinding getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgEnableServiceBindingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgEnableServiceBindingResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgEnableServiceBindingResponse defines the Msg/EnableServiceBinding response type.
*
*
* Protobuf type {@code irismod.service.MsgEnableServiceBindingResponse}
*/
public static final class MsgEnableServiceBindingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgEnableServiceBindingResponse)
MsgEnableServiceBindingResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgEnableServiceBindingResponse.newBuilder() to construct.
private MsgEnableServiceBindingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgEnableServiceBindingResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgEnableServiceBindingResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgEnableServiceBindingResponse(
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 Tx.internal_static_irismod_service_MsgEnableServiceBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgEnableServiceBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgEnableServiceBindingResponse.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 MsgEnableServiceBindingResponse)) {
return super.equals(obj);
}
MsgEnableServiceBindingResponse other = (MsgEnableServiceBindingResponse) 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 MsgEnableServiceBindingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgEnableServiceBindingResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgEnableServiceBindingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgEnableServiceBindingResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgEnableServiceBindingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgEnableServiceBindingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgEnableServiceBindingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgEnableServiceBindingResponse 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 MsgEnableServiceBindingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgEnableServiceBindingResponse 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 MsgEnableServiceBindingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgEnableServiceBindingResponse 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(MsgEnableServiceBindingResponse 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;
}
/**
*
* MsgEnableServiceBindingResponse defines the Msg/EnableServiceBinding response type.
*
*
* Protobuf type {@code irismod.service.MsgEnableServiceBindingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgEnableServiceBindingResponse)
MsgEnableServiceBindingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgEnableServiceBindingResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgEnableServiceBindingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgEnableServiceBindingResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgEnableServiceBindingResponse.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 Tx.internal_static_irismod_service_MsgEnableServiceBindingResponse_descriptor;
}
@Override
public MsgEnableServiceBindingResponse getDefaultInstanceForType() {
return MsgEnableServiceBindingResponse.getDefaultInstance();
}
@Override
public MsgEnableServiceBindingResponse build() {
MsgEnableServiceBindingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgEnableServiceBindingResponse buildPartial() {
MsgEnableServiceBindingResponse result = new MsgEnableServiceBindingResponse(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 MsgEnableServiceBindingResponse) {
return mergeFrom((MsgEnableServiceBindingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgEnableServiceBindingResponse other) {
if (other == MsgEnableServiceBindingResponse.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 {
MsgEnableServiceBindingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgEnableServiceBindingResponse) 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.MsgEnableServiceBindingResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgEnableServiceBindingResponse)
private static final MsgEnableServiceBindingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgEnableServiceBindingResponse();
}
public static MsgEnableServiceBindingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgEnableServiceBindingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgEnableServiceBindingResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgEnableServiceBindingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgRefundServiceDepositOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgRefundServiceDeposit)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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();
/**
* string owner = 3;
* @return The owner.
*/
String getOwner();
/**
* string owner = 3;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
}
/**
*
* MsgRefundServiceDeposit defines an SDK message to refund deposit from a service binding.
*
*
* Protobuf type {@code irismod.service.MsgRefundServiceDeposit}
*/
public static final class MsgRefundServiceDeposit extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgRefundServiceDeposit)
MsgRefundServiceDepositOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgRefundServiceDeposit.newBuilder() to construct.
private MsgRefundServiceDeposit(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgRefundServiceDeposit() {
serviceName_ = "";
provider_ = "";
owner_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgRefundServiceDeposit();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgRefundServiceDeposit(
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: {
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 Tx.internal_static_irismod_service_MsgRefundServiceDeposit_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRefundServiceDeposit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRefundServiceDeposit.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 OWNER_FIELD_NUMBER = 3;
private volatile Object owner_;
/**
* string owner = 3;
* @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 = 3;
* @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 (!getServiceNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
if (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, owner_);
}
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 (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgRefundServiceDeposit)) {
return super.equals(obj);
}
MsgRefundServiceDeposit other = (MsgRefundServiceDeposit) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
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) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgRefundServiceDeposit parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRefundServiceDeposit parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRefundServiceDeposit parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRefundServiceDeposit parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRefundServiceDeposit parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRefundServiceDeposit parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRefundServiceDeposit parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRefundServiceDeposit 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 MsgRefundServiceDeposit parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgRefundServiceDeposit 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 MsgRefundServiceDeposit parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRefundServiceDeposit 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(MsgRefundServiceDeposit 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;
}
/**
*
* MsgRefundServiceDeposit defines an SDK message to refund deposit from a service binding.
*
*
* Protobuf type {@code irismod.service.MsgRefundServiceDeposit}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgRefundServiceDeposit)
MsgRefundServiceDepositOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgRefundServiceDeposit_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRefundServiceDeposit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRefundServiceDeposit.class, Builder.class);
}
// Construct using proto.service.Tx.MsgRefundServiceDeposit.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_ = "";
owner_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgRefundServiceDeposit_descriptor;
}
@Override
public MsgRefundServiceDeposit getDefaultInstanceForType() {
return MsgRefundServiceDeposit.getDefaultInstance();
}
@Override
public MsgRefundServiceDeposit build() {
MsgRefundServiceDeposit result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgRefundServiceDeposit buildPartial() {
MsgRefundServiceDeposit result = new MsgRefundServiceDeposit(this);
result.serviceName_ = serviceName_;
result.provider_ = provider_;
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 MsgRefundServiceDeposit) {
return mergeFrom((MsgRefundServiceDeposit)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgRefundServiceDeposit other) {
if (other == MsgRefundServiceDeposit.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
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 {
MsgRefundServiceDeposit parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgRefundServiceDeposit) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object serviceName_ = "";
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 Object owner_ = "";
/**
* string owner = 3;
* @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 = 3;
* @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 = 3;
* @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 = 3;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* string owner = 3;
* @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.MsgRefundServiceDeposit)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgRefundServiceDeposit)
private static final MsgRefundServiceDeposit DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgRefundServiceDeposit();
}
public static MsgRefundServiceDeposit getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgRefundServiceDeposit parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgRefundServiceDeposit(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgRefundServiceDeposit getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgRefundServiceDepositResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgRefundServiceDepositResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgRefundServiceDepositResponse defines the Msg/RefundServiceDeposit response type.
*
*
* Protobuf type {@code irismod.service.MsgRefundServiceDepositResponse}
*/
public static final class MsgRefundServiceDepositResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgRefundServiceDepositResponse)
MsgRefundServiceDepositResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgRefundServiceDepositResponse.newBuilder() to construct.
private MsgRefundServiceDepositResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgRefundServiceDepositResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgRefundServiceDepositResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgRefundServiceDepositResponse(
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 Tx.internal_static_irismod_service_MsgRefundServiceDepositResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRefundServiceDepositResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRefundServiceDepositResponse.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 MsgRefundServiceDepositResponse)) {
return super.equals(obj);
}
MsgRefundServiceDepositResponse other = (MsgRefundServiceDepositResponse) 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 MsgRefundServiceDepositResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRefundServiceDepositResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRefundServiceDepositResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRefundServiceDepositResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRefundServiceDepositResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRefundServiceDepositResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRefundServiceDepositResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRefundServiceDepositResponse 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 MsgRefundServiceDepositResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgRefundServiceDepositResponse 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 MsgRefundServiceDepositResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRefundServiceDepositResponse 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(MsgRefundServiceDepositResponse 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;
}
/**
*
* MsgRefundServiceDepositResponse defines the Msg/RefundServiceDeposit response type.
*
*
* Protobuf type {@code irismod.service.MsgRefundServiceDepositResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgRefundServiceDepositResponse)
MsgRefundServiceDepositResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgRefundServiceDepositResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRefundServiceDepositResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRefundServiceDepositResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgRefundServiceDepositResponse.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 Tx.internal_static_irismod_service_MsgRefundServiceDepositResponse_descriptor;
}
@Override
public MsgRefundServiceDepositResponse getDefaultInstanceForType() {
return MsgRefundServiceDepositResponse.getDefaultInstance();
}
@Override
public MsgRefundServiceDepositResponse build() {
MsgRefundServiceDepositResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgRefundServiceDepositResponse buildPartial() {
MsgRefundServiceDepositResponse result = new MsgRefundServiceDepositResponse(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 MsgRefundServiceDepositResponse) {
return mergeFrom((MsgRefundServiceDepositResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgRefundServiceDepositResponse other) {
if (other == MsgRefundServiceDepositResponse.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 {
MsgRefundServiceDepositResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgRefundServiceDepositResponse) 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.MsgRefundServiceDepositResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgRefundServiceDepositResponse)
private static final MsgRefundServiceDepositResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgRefundServiceDepositResponse();
}
public static MsgRefundServiceDepositResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgRefundServiceDepositResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgRefundServiceDepositResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgRefundServiceDepositResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgCallServiceOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgCallService)
com.google.protobuf.MessageOrBuilder {
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The serviceName.
*/
String getServiceName();
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
* repeated string providers = 2;
* @return A list containing the providers.
*/
java.util.List
getProvidersList();
/**
* repeated string providers = 2;
* @return The count of providers.
*/
int getProvidersCount();
/**
* repeated string providers = 2;
* @param index The index of the element to return.
* @return The providers at the given index.
*/
String getProviders(int index);
/**
* repeated string providers = 2;
* @param index The index of the value to return.
* @return The bytes of the providers at the given index.
*/
com.google.protobuf.ByteString
getProvidersBytes(int index);
/**
* string consumer = 3;
* @return The consumer.
*/
String getConsumer();
/**
* string consumer = 3;
* @return The bytes for consumer.
*/
com.google.protobuf.ByteString
getConsumerBytes();
/**
* string input = 4;
* @return The input.
*/
String getInput();
/**
* string input = 4;
* @return The bytes for input.
*/
com.google.protobuf.ByteString
getInputBytes();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List
getServiceFeeCapList();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.Coin getServiceFeeCap(int index);
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
int getServiceFeeCapCount();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getServiceFeeCapOrBuilderList();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getServiceFeeCapOrBuilder(
int index);
/**
* int64 timeout = 6;
* @return The timeout.
*/
long getTimeout();
/**
* bool super_mode = 7 [(.gogoproto.moretags) = "yaml:\"super_mode\""];
* @return The superMode.
*/
boolean getSuperMode();
/**
* bool repeated = 8;
* @return The repeated.
*/
boolean getRepeated();
/**
* uint64 repeated_frequency = 9 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return The repeatedFrequency.
*/
long getRepeatedFrequency();
/**
* int64 repeated_total = 10 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return The repeatedTotal.
*/
long getRepeatedTotal();
}
/**
*
* MsgCallService defines an SDK message to initiate a service request context.
*
*
* Protobuf type {@code irismod.service.MsgCallService}
*/
public static final class MsgCallService extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgCallService)
MsgCallServiceOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgCallService.newBuilder() to construct.
private MsgCallService(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgCallService() {
serviceName_ = "";
providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
consumer_ = "";
input_ = "";
serviceFeeCap_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgCallService();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgCallService(
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: {
String s = input.readStringRequireUtf8();
serviceName_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
providers_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
providers_.add(s);
break;
}
case 26: {
String s = input.readStringRequireUtf8();
consumer_ = s;
break;
}
case 34: {
String s = input.readStringRequireUtf8();
input_ = s;
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
serviceFeeCap_.add(
input.readMessage(proto.cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry));
break;
}
case 48: {
timeout_ = input.readInt64();
break;
}
case 56: {
superMode_ = input.readBool();
break;
}
case 64: {
repeated_ = input.readBool();
break;
}
case 72: {
repeatedFrequency_ = input.readUInt64();
break;
}
case 80: {
repeatedTotal_ = input.readInt64();
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)) {
providers_ = providers_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = java.util.Collections.unmodifiableList(serviceFeeCap_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgCallService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgCallService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgCallService.class, Builder.class);
}
public static final int SERVICE_NAME_FIELD_NUMBER = 1;
private volatile Object serviceName_;
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 PROVIDERS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList providers_;
/**
* repeated string providers = 2;
* @return A list containing the providers.
*/
public com.google.protobuf.ProtocolStringList
getProvidersList() {
return providers_;
}
/**
* repeated string providers = 2;
* @return The count of providers.
*/
public int getProvidersCount() {
return providers_.size();
}
/**
* repeated string providers = 2;
* @param index The index of the element to return.
* @return The providers at the given index.
*/
public String getProviders(int index) {
return providers_.get(index);
}
/**
* repeated string providers = 2;
* @param index The index of the value to return.
* @return The bytes of the providers at the given index.
*/
public com.google.protobuf.ByteString
getProvidersBytes(int index) {
return providers_.getByteString(index);
}
public static final int CONSUMER_FIELD_NUMBER = 3;
private volatile Object consumer_;
/**
* string consumer = 3;
* @return The consumer.
*/
@Override
public String getConsumer() {
Object ref = consumer_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
}
}
/**
* string consumer = 3;
* @return The bytes for consumer.
*/
@Override
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INPUT_FIELD_NUMBER = 4;
private volatile Object input_;
/**
* string input = 4;
* @return The input.
*/
@Override
public String getInput() {
Object ref = input_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
input_ = s;
return s;
}
}
/**
* string input = 4;
* @return The bytes for input.
*/
@Override
public com.google.protobuf.ByteString
getInputBytes() {
Object ref = input_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
input_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICE_FEE_CAP_FIELD_NUMBER = 5;
private java.util.List serviceFeeCap_;
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List getServiceFeeCapList() {
return serviceFeeCap_;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getServiceFeeCapOrBuilderList() {
return serviceFeeCap_;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public int getServiceFeeCapCount() {
return serviceFeeCap_.size();
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getServiceFeeCap(int index) {
return serviceFeeCap_.get(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getServiceFeeCapOrBuilder(
int index) {
return serviceFeeCap_.get(index);
}
public static final int TIMEOUT_FIELD_NUMBER = 6;
private long timeout_;
/**
* int64 timeout = 6;
* @return The timeout.
*/
@Override
public long getTimeout() {
return timeout_;
}
public static final int SUPER_MODE_FIELD_NUMBER = 7;
private boolean superMode_;
/**
* bool super_mode = 7 [(.gogoproto.moretags) = "yaml:\"super_mode\""];
* @return The superMode.
*/
@Override
public boolean getSuperMode() {
return superMode_;
}
public static final int REPEATED_FIELD_NUMBER = 8;
private boolean repeated_;
/**
* bool repeated = 8;
* @return The repeated.
*/
@Override
public boolean getRepeated() {
return repeated_;
}
public static final int REPEATED_FREQUENCY_FIELD_NUMBER = 9;
private long repeatedFrequency_;
/**
* uint64 repeated_frequency = 9 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return The repeatedFrequency.
*/
@Override
public long getRepeatedFrequency() {
return repeatedFrequency_;
}
public static final int REPEATED_TOTAL_FIELD_NUMBER = 10;
private long repeatedTotal_;
/**
* int64 repeated_total = 10 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return The repeatedTotal.
*/
@Override
public long getRepeatedTotal() {
return repeatedTotal_;
}
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_);
}
for (int i = 0; i < providers_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, providers_.getRaw(i));
}
if (!getConsumerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, consumer_);
}
if (!getInputBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, input_);
}
for (int i = 0; i < serviceFeeCap_.size(); i++) {
output.writeMessage(5, serviceFeeCap_.get(i));
}
if (timeout_ != 0L) {
output.writeInt64(6, timeout_);
}
if (superMode_ != false) {
output.writeBool(7, superMode_);
}
if (repeated_ != false) {
output.writeBool(8, repeated_);
}
if (repeatedFrequency_ != 0L) {
output.writeUInt64(9, repeatedFrequency_);
}
if (repeatedTotal_ != 0L) {
output.writeInt64(10, repeatedTotal_);
}
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_);
}
{
int dataSize = 0;
for (int i = 0; i < providers_.size(); i++) {
dataSize += computeStringSizeNoTag(providers_.getRaw(i));
}
size += dataSize;
size += 1 * getProvidersList().size();
}
if (!getConsumerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, consumer_);
}
if (!getInputBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, input_);
}
for (int i = 0; i < serviceFeeCap_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, serviceFeeCap_.get(i));
}
if (timeout_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, timeout_);
}
if (superMode_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, superMode_);
}
if (repeated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, repeated_);
}
if (repeatedFrequency_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, repeatedFrequency_);
}
if (repeatedTotal_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, repeatedTotal_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgCallService)) {
return super.equals(obj);
}
MsgCallService other = (MsgCallService) obj;
if (!getServiceName()
.equals(other.getServiceName())) return false;
if (!getProvidersList()
.equals(other.getProvidersList())) return false;
if (!getConsumer()
.equals(other.getConsumer())) return false;
if (!getInput()
.equals(other.getInput())) return false;
if (!getServiceFeeCapList()
.equals(other.getServiceFeeCapList())) return false;
if (getTimeout()
!= other.getTimeout()) return false;
if (getSuperMode()
!= other.getSuperMode()) return false;
if (getRepeated()
!= other.getRepeated()) return false;
if (getRepeatedFrequency()
!= other.getRepeatedFrequency()) return false;
if (getRepeatedTotal()
!= other.getRepeatedTotal()) 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();
if (getProvidersCount() > 0) {
hash = (37 * hash) + PROVIDERS_FIELD_NUMBER;
hash = (53 * hash) + getProvidersList().hashCode();
}
hash = (37 * hash) + CONSUMER_FIELD_NUMBER;
hash = (53 * hash) + getConsumer().hashCode();
hash = (37 * hash) + INPUT_FIELD_NUMBER;
hash = (53 * hash) + getInput().hashCode();
if (getServiceFeeCapCount() > 0) {
hash = (37 * hash) + SERVICE_FEE_CAP_FIELD_NUMBER;
hash = (53 * hash) + getServiceFeeCapList().hashCode();
}
hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeout());
hash = (37 * hash) + SUPER_MODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSuperMode());
hash = (37 * hash) + REPEATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRepeated());
hash = (37 * hash) + REPEATED_FREQUENCY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRepeatedFrequency());
hash = (37 * hash) + REPEATED_TOTAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRepeatedTotal());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgCallService parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgCallService parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgCallService parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgCallService parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgCallService parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgCallService parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgCallService parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgCallService 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 MsgCallService parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgCallService 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 MsgCallService parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgCallService 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(MsgCallService 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;
}
/**
*
* MsgCallService defines an SDK message to initiate a service request context.
*
*
* Protobuf type {@code irismod.service.MsgCallService}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgCallService)
MsgCallServiceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgCallService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgCallService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgCallService.class, Builder.class);
}
// Construct using proto.service.Tx.MsgCallService.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getServiceFeeCapFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
serviceName_ = "";
providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
consumer_ = "";
input_ = "";
if (serviceFeeCapBuilder_ == null) {
serviceFeeCap_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
serviceFeeCapBuilder_.clear();
}
timeout_ = 0L;
superMode_ = false;
repeated_ = false;
repeatedFrequency_ = 0L;
repeatedTotal_ = 0L;
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgCallService_descriptor;
}
@Override
public MsgCallService getDefaultInstanceForType() {
return MsgCallService.getDefaultInstance();
}
@Override
public MsgCallService build() {
MsgCallService result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgCallService buildPartial() {
MsgCallService result = new MsgCallService(this);
int from_bitField0_ = bitField0_;
result.serviceName_ = serviceName_;
if (((bitField0_ & 0x00000001) != 0)) {
providers_ = providers_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.providers_ = providers_;
result.consumer_ = consumer_;
result.input_ = input_;
if (serviceFeeCapBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = java.util.Collections.unmodifiableList(serviceFeeCap_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.serviceFeeCap_ = serviceFeeCap_;
} else {
result.serviceFeeCap_ = serviceFeeCapBuilder_.build();
}
result.timeout_ = timeout_;
result.superMode_ = superMode_;
result.repeated_ = repeated_;
result.repeatedFrequency_ = repeatedFrequency_;
result.repeatedTotal_ = repeatedTotal_;
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 MsgCallService) {
return mergeFrom((MsgCallService)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgCallService other) {
if (other == MsgCallService.getDefaultInstance()) return this;
if (!other.getServiceName().isEmpty()) {
serviceName_ = other.serviceName_;
onChanged();
}
if (!other.providers_.isEmpty()) {
if (providers_.isEmpty()) {
providers_ = other.providers_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureProvidersIsMutable();
providers_.addAll(other.providers_);
}
onChanged();
}
if (!other.getConsumer().isEmpty()) {
consumer_ = other.consumer_;
onChanged();
}
if (!other.getInput().isEmpty()) {
input_ = other.input_;
onChanged();
}
if (serviceFeeCapBuilder_ == null) {
if (!other.serviceFeeCap_.isEmpty()) {
if (serviceFeeCap_.isEmpty()) {
serviceFeeCap_ = other.serviceFeeCap_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.addAll(other.serviceFeeCap_);
}
onChanged();
}
} else {
if (!other.serviceFeeCap_.isEmpty()) {
if (serviceFeeCapBuilder_.isEmpty()) {
serviceFeeCapBuilder_.dispose();
serviceFeeCapBuilder_ = null;
serviceFeeCap_ = other.serviceFeeCap_;
bitField0_ = (bitField0_ & ~0x00000002);
serviceFeeCapBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceFeeCapFieldBuilder() : null;
} else {
serviceFeeCapBuilder_.addAllMessages(other.serviceFeeCap_);
}
}
}
if (other.getTimeout() != 0L) {
setTimeout(other.getTimeout());
}
if (other.getSuperMode() != false) {
setSuperMode(other.getSuperMode());
}
if (other.getRepeated() != false) {
setRepeated(other.getRepeated());
}
if (other.getRepeatedFrequency() != 0L) {
setRepeatedFrequency(other.getRepeatedFrequency());
}
if (other.getRepeatedTotal() != 0L) {
setRepeatedTotal(other.getRepeatedTotal());
}
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 {
MsgCallService parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgCallService) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private Object serviceName_ = "";
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @return This builder for chaining.
*/
public Builder clearServiceName() {
serviceName_ = getDefaultInstance().getServiceName();
onChanged();
return this;
}
/**
* string service_name = 1 [(.gogoproto.moretags) = "yaml:\"service_name\""];
* @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 com.google.protobuf.LazyStringList providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureProvidersIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
providers_ = new com.google.protobuf.LazyStringArrayList(providers_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string providers = 2;
* @return A list containing the providers.
*/
public com.google.protobuf.ProtocolStringList
getProvidersList() {
return providers_.getUnmodifiableView();
}
/**
* repeated string providers = 2;
* @return The count of providers.
*/
public int getProvidersCount() {
return providers_.size();
}
/**
* repeated string providers = 2;
* @param index The index of the element to return.
* @return The providers at the given index.
*/
public String getProviders(int index) {
return providers_.get(index);
}
/**
* repeated string providers = 2;
* @param index The index of the value to return.
* @return The bytes of the providers at the given index.
*/
public com.google.protobuf.ByteString
getProvidersBytes(int index) {
return providers_.getByteString(index);
}
/**
* repeated string providers = 2;
* @param index The index to set the value at.
* @param value The providers to set.
* @return This builder for chaining.
*/
public Builder setProviders(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProvidersIsMutable();
providers_.set(index, value);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @param value The providers to add.
* @return This builder for chaining.
*/
public Builder addProviders(
String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProvidersIsMutable();
providers_.add(value);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @param values The providers to add.
* @return This builder for chaining.
*/
public Builder addAllProviders(
Iterable values) {
ensureProvidersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, providers_);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @return This builder for chaining.
*/
public Builder clearProviders() {
providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @param value The bytes of the providers to add.
* @return This builder for chaining.
*/
public Builder addProvidersBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureProvidersIsMutable();
providers_.add(value);
onChanged();
return this;
}
private Object consumer_ = "";
/**
* string consumer = 3;
* @return The consumer.
*/
public String getConsumer() {
Object ref = consumer_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string consumer = 3;
* @return The bytes for consumer.
*/
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string consumer = 3;
* @param value The consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumer(
String value) {
if (value == null) {
throw new NullPointerException();
}
consumer_ = value;
onChanged();
return this;
}
/**
* string consumer = 3;
* @return This builder for chaining.
*/
public Builder clearConsumer() {
consumer_ = getDefaultInstance().getConsumer();
onChanged();
return this;
}
/**
* string consumer = 3;
* @param value The bytes for consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
consumer_ = value;
onChanged();
return this;
}
private Object input_ = "";
/**
* string input = 4;
* @return The input.
*/
public String getInput() {
Object ref = input_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
input_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string input = 4;
* @return The bytes for input.
*/
public com.google.protobuf.ByteString
getInputBytes() {
Object ref = input_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
input_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string input = 4;
* @param value The input to set.
* @return This builder for chaining.
*/
public Builder setInput(
String value) {
if (value == null) {
throw new NullPointerException();
}
input_ = value;
onChanged();
return this;
}
/**
* string input = 4;
* @return This builder for chaining.
*/
public Builder clearInput() {
input_ = getDefaultInstance().getInput();
onChanged();
return this;
}
/**
* string input = 4;
* @param value The bytes for input to set.
* @return This builder for chaining.
*/
public Builder setInputBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
input_ = value;
onChanged();
return this;
}
private java.util.List serviceFeeCap_ =
java.util.Collections.emptyList();
private void ensureServiceFeeCapIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = new java.util.ArrayList(serviceFeeCap_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> serviceFeeCapBuilder_;
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List getServiceFeeCapList() {
if (serviceFeeCapBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceFeeCap_);
} else {
return serviceFeeCapBuilder_.getMessageList();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public int getServiceFeeCapCount() {
if (serviceFeeCapBuilder_ == null) {
return serviceFeeCap_.size();
} else {
return serviceFeeCapBuilder_.getCount();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getServiceFeeCap(int index) {
if (serviceFeeCapBuilder_ == null) {
return serviceFeeCap_.get(index);
} else {
return serviceFeeCapBuilder_.getMessage(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (serviceFeeCapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceFeeCapIsMutable();
serviceFeeCap_.set(index, value);
onChanged();
} else {
serviceFeeCapBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.set(index, builderForValue.build());
onChanged();
} else {
serviceFeeCapBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (serviceFeeCapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(value);
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (serviceFeeCapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(index, value);
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(builderForValue.build());
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(index, builderForValue.build());
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addAllServiceFeeCap(
Iterable extends proto.cosmos.base.v1beta1.CoinOuterClass.Coin> values) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceFeeCap_);
onChanged();
} else {
serviceFeeCapBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder clearServiceFeeCap() {
if (serviceFeeCapBuilder_ == null) {
serviceFeeCap_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
serviceFeeCapBuilder_.clear();
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder removeServiceFeeCap(int index) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.remove(index);
onChanged();
} else {
serviceFeeCapBuilder_.remove(index);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getServiceFeeCapBuilder(
int index) {
return getServiceFeeCapFieldBuilder().getBuilder(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getServiceFeeCapOrBuilder(
int index) {
if (serviceFeeCapBuilder_ == null) {
return serviceFeeCap_.get(index); } else {
return serviceFeeCapBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getServiceFeeCapOrBuilderList() {
if (serviceFeeCapBuilder_ != null) {
return serviceFeeCapBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceFeeCap_);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addServiceFeeCapBuilder() {
return getServiceFeeCapFieldBuilder().addBuilder(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addServiceFeeCapBuilder(
int index) {
return getServiceFeeCapFieldBuilder().addBuilder(
index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List
getServiceFeeCapBuilderList() {
return getServiceFeeCapFieldBuilder().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>
getServiceFeeCapFieldBuilder() {
if (serviceFeeCapBuilder_ == null) {
serviceFeeCapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>(
serviceFeeCap_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
serviceFeeCap_ = null;
}
return serviceFeeCapBuilder_;
}
private long timeout_ ;
/**
* int64 timeout = 6;
* @return The timeout.
*/
@Override
public long getTimeout() {
return timeout_;
}
/**
* int64 timeout = 6;
* @param value The timeout to set.
* @return This builder for chaining.
*/
public Builder setTimeout(long value) {
timeout_ = value;
onChanged();
return this;
}
/**
* int64 timeout = 6;
* @return This builder for chaining.
*/
public Builder clearTimeout() {
timeout_ = 0L;
onChanged();
return this;
}
private boolean superMode_ ;
/**
* bool super_mode = 7 [(.gogoproto.moretags) = "yaml:\"super_mode\""];
* @return The superMode.
*/
@Override
public boolean getSuperMode() {
return superMode_;
}
/**
* bool super_mode = 7 [(.gogoproto.moretags) = "yaml:\"super_mode\""];
* @param value The superMode to set.
* @return This builder for chaining.
*/
public Builder setSuperMode(boolean value) {
superMode_ = value;
onChanged();
return this;
}
/**
* bool super_mode = 7 [(.gogoproto.moretags) = "yaml:\"super_mode\""];
* @return This builder for chaining.
*/
public Builder clearSuperMode() {
superMode_ = false;
onChanged();
return this;
}
private boolean repeated_ ;
/**
* bool repeated = 8;
* @return The repeated.
*/
@Override
public boolean getRepeated() {
return repeated_;
}
/**
* bool repeated = 8;
* @param value The repeated to set.
* @return This builder for chaining.
*/
public Builder setRepeated(boolean value) {
repeated_ = value;
onChanged();
return this;
}
/**
* bool repeated = 8;
* @return This builder for chaining.
*/
public Builder clearRepeated() {
repeated_ = false;
onChanged();
return this;
}
private long repeatedFrequency_ ;
/**
* uint64 repeated_frequency = 9 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return The repeatedFrequency.
*/
@Override
public long getRepeatedFrequency() {
return repeatedFrequency_;
}
/**
* uint64 repeated_frequency = 9 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @param value The repeatedFrequency to set.
* @return This builder for chaining.
*/
public Builder setRepeatedFrequency(long value) {
repeatedFrequency_ = value;
onChanged();
return this;
}
/**
* uint64 repeated_frequency = 9 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return This builder for chaining.
*/
public Builder clearRepeatedFrequency() {
repeatedFrequency_ = 0L;
onChanged();
return this;
}
private long repeatedTotal_ ;
/**
* int64 repeated_total = 10 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return The repeatedTotal.
*/
@Override
public long getRepeatedTotal() {
return repeatedTotal_;
}
/**
* int64 repeated_total = 10 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @param value The repeatedTotal to set.
* @return This builder for chaining.
*/
public Builder setRepeatedTotal(long value) {
repeatedTotal_ = value;
onChanged();
return this;
}
/**
* int64 repeated_total = 10 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return This builder for chaining.
*/
public Builder clearRepeatedTotal() {
repeatedTotal_ = 0L;
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.MsgCallService)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgCallService)
private static final MsgCallService DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgCallService();
}
public static MsgCallService getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgCallService parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgCallService(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgCallService getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgCallServiceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgCallServiceResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
}
/**
*
* MsgCallServiceResponse defines the Msg/CallService response type.
*
*
* Protobuf type {@code irismod.service.MsgCallServiceResponse}
*/
public static final class MsgCallServiceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgCallServiceResponse)
MsgCallServiceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgCallServiceResponse.newBuilder() to construct.
private MsgCallServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgCallServiceResponse() {
requestContextId_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgCallServiceResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgCallServiceResponse(
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 Tx.internal_static_irismod_service_MsgCallServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgCallServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgCallServiceResponse.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 MsgCallServiceResponse)) {
return super.equals(obj);
}
MsgCallServiceResponse other = (MsgCallServiceResponse) 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 MsgCallServiceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgCallServiceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgCallServiceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgCallServiceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgCallServiceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgCallServiceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgCallServiceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgCallServiceResponse 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 MsgCallServiceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgCallServiceResponse 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 MsgCallServiceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgCallServiceResponse 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(MsgCallServiceResponse 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;
}
/**
*
* MsgCallServiceResponse defines the Msg/CallService response type.
*
*
* Protobuf type {@code irismod.service.MsgCallServiceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgCallServiceResponse)
MsgCallServiceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgCallServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgCallServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgCallServiceResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgCallServiceResponse.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 Tx.internal_static_irismod_service_MsgCallServiceResponse_descriptor;
}
@Override
public MsgCallServiceResponse getDefaultInstanceForType() {
return MsgCallServiceResponse.getDefaultInstance();
}
@Override
public MsgCallServiceResponse build() {
MsgCallServiceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgCallServiceResponse buildPartial() {
MsgCallServiceResponse result = new MsgCallServiceResponse(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 MsgCallServiceResponse) {
return mergeFrom((MsgCallServiceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgCallServiceResponse other) {
if (other == MsgCallServiceResponse.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 {
MsgCallServiceResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgCallServiceResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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.MsgCallServiceResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgCallServiceResponse)
private static final MsgCallServiceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgCallServiceResponse();
}
public static MsgCallServiceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgCallServiceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgCallServiceResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgCallServiceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgRespondServiceOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgRespondService)
com.google.protobuf.MessageOrBuilder {
/**
* string request_id = 1 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @return The requestId.
*/
String getRequestId();
/**
* string request_id = 1 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
/**
* string provider = 2;
* @return The provider.
*/
String getProvider();
/**
* string provider = 2;
* @return The bytes for provider.
*/
com.google.protobuf.ByteString
getProviderBytes();
/**
* string result = 3;
* @return The result.
*/
String getResult();
/**
* string result = 3;
* @return The bytes for result.
*/
com.google.protobuf.ByteString
getResultBytes();
/**
* string output = 4;
* @return The output.
*/
String getOutput();
/**
* string output = 4;
* @return The bytes for output.
*/
com.google.protobuf.ByteString
getOutputBytes();
}
/**
*
* MsgRespondService defines an SDK message to respond a service request.
*
*
* Protobuf type {@code irismod.service.MsgRespondService}
*/
public static final class MsgRespondService extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgRespondService)
MsgRespondServiceOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgRespondService.newBuilder() to construct.
private MsgRespondService(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgRespondService() {
requestId_ = "";
provider_ = "";
result_ = "";
output_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgRespondService();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgRespondService(
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;
}
case 18: {
String s = input.readStringRequireUtf8();
provider_ = s;
break;
}
case 26: {
String s = input.readStringRequireUtf8();
result_ = s;
break;
}
case 34: {
String s = input.readStringRequireUtf8();
output_ = 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 Tx.internal_static_irismod_service_MsgRespondService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRespondService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRespondService.class, Builder.class);
}
public static final int REQUEST_ID_FIELD_NUMBER = 1;
private volatile Object requestId_;
/**
* string request_id = 1 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @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;
}
}
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 RESULT_FIELD_NUMBER = 3;
private volatile Object result_;
/**
* string result = 3;
* @return The result.
*/
@Override
public String getResult() {
Object ref = result_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
result_ = s;
return s;
}
}
/**
* string result = 3;
* @return The bytes for result.
*/
@Override
public com.google.protobuf.ByteString
getResultBytes() {
Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OUTPUT_FIELD_NUMBER = 4;
private volatile Object output_;
/**
* string output = 4;
* @return The output.
*/
@Override
public String getOutput() {
Object ref = output_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
output_ = s;
return s;
}
}
/**
* string output = 4;
* @return The bytes for output.
*/
@Override
public com.google.protobuf.ByteString
getOutputBytes() {
Object ref = output_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
output_ = 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_);
}
if (!getProviderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, provider_);
}
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, result_);
}
if (!getOutputBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, output_);
}
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_);
}
if (!getProviderBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, provider_);
}
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, result_);
}
if (!getOutputBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, output_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgRespondService)) {
return super.equals(obj);
}
MsgRespondService other = (MsgRespondService) obj;
if (!getRequestId()
.equals(other.getRequestId())) return false;
if (!getProvider()
.equals(other.getProvider())) return false;
if (!getResult()
.equals(other.getResult())) return false;
if (!getOutput()
.equals(other.getOutput())) 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 = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
hash = (53 * hash) + getOutput().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgRespondService parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRespondService parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRespondService parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRespondService parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRespondService parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRespondService parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRespondService parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRespondService 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 MsgRespondService parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgRespondService 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 MsgRespondService parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRespondService 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(MsgRespondService 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;
}
/**
*
* MsgRespondService defines an SDK message to respond a service request.
*
*
* Protobuf type {@code irismod.service.MsgRespondService}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgRespondService)
MsgRespondServiceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgRespondService_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRespondService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRespondService.class, Builder.class);
}
// Construct using proto.service.Tx.MsgRespondService.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_ = "";
provider_ = "";
result_ = "";
output_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgRespondService_descriptor;
}
@Override
public MsgRespondService getDefaultInstanceForType() {
return MsgRespondService.getDefaultInstance();
}
@Override
public MsgRespondService build() {
MsgRespondService result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgRespondService buildPartial() {
MsgRespondService result = new MsgRespondService(this);
result.requestId_ = requestId_;
result.provider_ = provider_;
result.result_ = result_;
result.output_ = output_;
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 MsgRespondService) {
return mergeFrom((MsgRespondService)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgRespondService other) {
if (other == MsgRespondService.getDefaultInstance()) return this;
if (!other.getRequestId().isEmpty()) {
requestId_ = other.requestId_;
onChanged();
}
if (!other.getProvider().isEmpty()) {
provider_ = other.provider_;
onChanged();
}
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
if (!other.getOutput().isEmpty()) {
output_ = other.output_;
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 {
MsgRespondService parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgRespondService) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestId_ = "";
/**
* string request_id = 1 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = getDefaultInstance().getRequestId();
onChanged();
return this;
}
/**
* string request_id = 1 [(.gogoproto.moretags) = "yaml:\"request_id\""];
* @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;
}
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 Object result_ = "";
/**
* string result = 3;
* @return The result.
*/
public String getResult() {
Object ref = result_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string result = 3;
* @return The bytes for result.
*/
public com.google.protobuf.ByteString
getResultBytes() {
Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 3;
* @param value The result to set.
* @return This builder for chaining.
*/
public Builder setResult(
String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 3;
* @return This builder for chaining.
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 3;
* @param value The bytes for result to set.
* @return This builder for chaining.
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
private Object output_ = "";
/**
* string output = 4;
* @return The output.
*/
public String getOutput() {
Object ref = output_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
output_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string output = 4;
* @return The bytes for output.
*/
public com.google.protobuf.ByteString
getOutputBytes() {
Object ref = output_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
output_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string output = 4;
* @param value The output to set.
* @return This builder for chaining.
*/
public Builder setOutput(
String value) {
if (value == null) {
throw new NullPointerException();
}
output_ = value;
onChanged();
return this;
}
/**
* string output = 4;
* @return This builder for chaining.
*/
public Builder clearOutput() {
output_ = getDefaultInstance().getOutput();
onChanged();
return this;
}
/**
* string output = 4;
* @param value The bytes for output to set.
* @return This builder for chaining.
*/
public Builder setOutputBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
output_ = 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.MsgRespondService)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgRespondService)
private static final MsgRespondService DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgRespondService();
}
public static MsgRespondService getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgRespondService parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgRespondService(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgRespondService getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgRespondServiceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgRespondServiceResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgRespondService defines the Msg/RespondService response type.
*
*
* Protobuf type {@code irismod.service.MsgRespondServiceResponse}
*/
public static final class MsgRespondServiceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgRespondServiceResponse)
MsgRespondServiceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgRespondServiceResponse.newBuilder() to construct.
private MsgRespondServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgRespondServiceResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgRespondServiceResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgRespondServiceResponse(
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 Tx.internal_static_irismod_service_MsgRespondServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRespondServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRespondServiceResponse.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 MsgRespondServiceResponse)) {
return super.equals(obj);
}
MsgRespondServiceResponse other = (MsgRespondServiceResponse) 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 MsgRespondServiceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRespondServiceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRespondServiceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRespondServiceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRespondServiceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgRespondServiceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgRespondServiceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRespondServiceResponse 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 MsgRespondServiceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgRespondServiceResponse 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 MsgRespondServiceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgRespondServiceResponse 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(MsgRespondServiceResponse 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;
}
/**
*
* MsgRespondService defines the Msg/RespondService response type.
*
*
* Protobuf type {@code irismod.service.MsgRespondServiceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgRespondServiceResponse)
MsgRespondServiceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgRespondServiceResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgRespondServiceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgRespondServiceResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgRespondServiceResponse.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 Tx.internal_static_irismod_service_MsgRespondServiceResponse_descriptor;
}
@Override
public MsgRespondServiceResponse getDefaultInstanceForType() {
return MsgRespondServiceResponse.getDefaultInstance();
}
@Override
public MsgRespondServiceResponse build() {
MsgRespondServiceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgRespondServiceResponse buildPartial() {
MsgRespondServiceResponse result = new MsgRespondServiceResponse(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 MsgRespondServiceResponse) {
return mergeFrom((MsgRespondServiceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgRespondServiceResponse other) {
if (other == MsgRespondServiceResponse.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 {
MsgRespondServiceResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgRespondServiceResponse) 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.MsgRespondServiceResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgRespondServiceResponse)
private static final MsgRespondServiceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgRespondServiceResponse();
}
public static MsgRespondServiceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgRespondServiceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgRespondServiceResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgRespondServiceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgPauseRequestContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgPauseRequestContext)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
/**
* string consumer = 2;
* @return The consumer.
*/
String getConsumer();
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
com.google.protobuf.ByteString
getConsumerBytes();
}
/**
*
* MsgPauseRequestContext defines an SDK message to pause a service request.
*
*
* Protobuf type {@code irismod.service.MsgPauseRequestContext}
*/
public static final class MsgPauseRequestContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgPauseRequestContext)
MsgPauseRequestContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgPauseRequestContext.newBuilder() to construct.
private MsgPauseRequestContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgPauseRequestContext() {
requestContextId_ = "";
consumer_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgPauseRequestContext();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgPauseRequestContext(
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 18: {
String s = input.readStringRequireUtf8();
consumer_ = 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 Tx.internal_static_irismod_service_MsgPauseRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgPauseRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgPauseRequestContext.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 CONSUMER_FIELD_NUMBER = 2;
private volatile Object consumer_;
/**
* string consumer = 2;
* @return The consumer.
*/
@Override
public String getConsumer() {
Object ref = consumer_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
}
}
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
@Override
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = 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_);
}
if (!getConsumerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, consumer_);
}
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 (!getConsumerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, consumer_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgPauseRequestContext)) {
return super.equals(obj);
}
MsgPauseRequestContext other = (MsgPauseRequestContext) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (!getConsumer()
.equals(other.getConsumer())) 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) + CONSUMER_FIELD_NUMBER;
hash = (53 * hash) + getConsumer().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgPauseRequestContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgPauseRequestContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgPauseRequestContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgPauseRequestContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgPauseRequestContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgPauseRequestContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgPauseRequestContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgPauseRequestContext 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 MsgPauseRequestContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgPauseRequestContext 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 MsgPauseRequestContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgPauseRequestContext 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(MsgPauseRequestContext 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;
}
/**
*
* MsgPauseRequestContext defines an SDK message to pause a service request.
*
*
* Protobuf type {@code irismod.service.MsgPauseRequestContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgPauseRequestContext)
MsgPauseRequestContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgPauseRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgPauseRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgPauseRequestContext.class, Builder.class);
}
// Construct using proto.service.Tx.MsgPauseRequestContext.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_ = "";
consumer_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgPauseRequestContext_descriptor;
}
@Override
public MsgPauseRequestContext getDefaultInstanceForType() {
return MsgPauseRequestContext.getDefaultInstance();
}
@Override
public MsgPauseRequestContext build() {
MsgPauseRequestContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgPauseRequestContext buildPartial() {
MsgPauseRequestContext result = new MsgPauseRequestContext(this);
result.requestContextId_ = requestContextId_;
result.consumer_ = consumer_;
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 MsgPauseRequestContext) {
return mergeFrom((MsgPauseRequestContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgPauseRequestContext other) {
if (other == MsgPauseRequestContext.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
if (!other.getConsumer().isEmpty()) {
consumer_ = other.consumer_;
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 {
MsgPauseRequestContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgPauseRequestContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 Object consumer_ = "";
/**
* string consumer = 2;
* @return The consumer.
*/
public String getConsumer() {
Object ref = consumer_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string consumer = 2;
* @param value The consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumer(
String value) {
if (value == null) {
throw new NullPointerException();
}
consumer_ = value;
onChanged();
return this;
}
/**
* string consumer = 2;
* @return This builder for chaining.
*/
public Builder clearConsumer() {
consumer_ = getDefaultInstance().getConsumer();
onChanged();
return this;
}
/**
* string consumer = 2;
* @param value The bytes for consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
consumer_ = 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.MsgPauseRequestContext)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgPauseRequestContext)
private static final MsgPauseRequestContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgPauseRequestContext();
}
public static MsgPauseRequestContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgPauseRequestContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgPauseRequestContext(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgPauseRequestContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgPauseRequestContextResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgPauseRequestContextResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgPauseRequestContextResponse defines the Msg/PauseRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgPauseRequestContextResponse}
*/
public static final class MsgPauseRequestContextResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgPauseRequestContextResponse)
MsgPauseRequestContextResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgPauseRequestContextResponse.newBuilder() to construct.
private MsgPauseRequestContextResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgPauseRequestContextResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgPauseRequestContextResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgPauseRequestContextResponse(
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 Tx.internal_static_irismod_service_MsgPauseRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgPauseRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgPauseRequestContextResponse.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 MsgPauseRequestContextResponse)) {
return super.equals(obj);
}
MsgPauseRequestContextResponse other = (MsgPauseRequestContextResponse) 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 MsgPauseRequestContextResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgPauseRequestContextResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgPauseRequestContextResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgPauseRequestContextResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgPauseRequestContextResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgPauseRequestContextResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgPauseRequestContextResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgPauseRequestContextResponse 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 MsgPauseRequestContextResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgPauseRequestContextResponse 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 MsgPauseRequestContextResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgPauseRequestContextResponse 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(MsgPauseRequestContextResponse 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;
}
/**
*
* MsgPauseRequestContextResponse defines the Msg/PauseRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgPauseRequestContextResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgPauseRequestContextResponse)
MsgPauseRequestContextResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgPauseRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgPauseRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgPauseRequestContextResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgPauseRequestContextResponse.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 Tx.internal_static_irismod_service_MsgPauseRequestContextResponse_descriptor;
}
@Override
public MsgPauseRequestContextResponse getDefaultInstanceForType() {
return MsgPauseRequestContextResponse.getDefaultInstance();
}
@Override
public MsgPauseRequestContextResponse build() {
MsgPauseRequestContextResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgPauseRequestContextResponse buildPartial() {
MsgPauseRequestContextResponse result = new MsgPauseRequestContextResponse(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 MsgPauseRequestContextResponse) {
return mergeFrom((MsgPauseRequestContextResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgPauseRequestContextResponse other) {
if (other == MsgPauseRequestContextResponse.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 {
MsgPauseRequestContextResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgPauseRequestContextResponse) 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.MsgPauseRequestContextResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgPauseRequestContextResponse)
private static final MsgPauseRequestContextResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgPauseRequestContextResponse();
}
public static MsgPauseRequestContextResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgPauseRequestContextResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgPauseRequestContextResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgPauseRequestContextResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgStartRequestContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgStartRequestContext)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
/**
* string consumer = 2;
* @return The consumer.
*/
String getConsumer();
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
com.google.protobuf.ByteString
getConsumerBytes();
}
/**
*
* MsgStartRequestContext defines an SDK message to resume a service request.
*
*
* Protobuf type {@code irismod.service.MsgStartRequestContext}
*/
public static final class MsgStartRequestContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgStartRequestContext)
MsgStartRequestContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgStartRequestContext.newBuilder() to construct.
private MsgStartRequestContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgStartRequestContext() {
requestContextId_ = "";
consumer_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgStartRequestContext();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgStartRequestContext(
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 18: {
String s = input.readStringRequireUtf8();
consumer_ = 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 Tx.internal_static_irismod_service_MsgStartRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgStartRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgStartRequestContext.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 CONSUMER_FIELD_NUMBER = 2;
private volatile Object consumer_;
/**
* string consumer = 2;
* @return The consumer.
*/
@Override
public String getConsumer() {
Object ref = consumer_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
}
}
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
@Override
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = 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_);
}
if (!getConsumerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, consumer_);
}
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 (!getConsumerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, consumer_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgStartRequestContext)) {
return super.equals(obj);
}
MsgStartRequestContext other = (MsgStartRequestContext) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (!getConsumer()
.equals(other.getConsumer())) 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) + CONSUMER_FIELD_NUMBER;
hash = (53 * hash) + getConsumer().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgStartRequestContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgStartRequestContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgStartRequestContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgStartRequestContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgStartRequestContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgStartRequestContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgStartRequestContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgStartRequestContext 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 MsgStartRequestContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgStartRequestContext 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 MsgStartRequestContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgStartRequestContext 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(MsgStartRequestContext 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;
}
/**
*
* MsgStartRequestContext defines an SDK message to resume a service request.
*
*
* Protobuf type {@code irismod.service.MsgStartRequestContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgStartRequestContext)
MsgStartRequestContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgStartRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgStartRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgStartRequestContext.class, Builder.class);
}
// Construct using proto.service.Tx.MsgStartRequestContext.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_ = "";
consumer_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgStartRequestContext_descriptor;
}
@Override
public MsgStartRequestContext getDefaultInstanceForType() {
return MsgStartRequestContext.getDefaultInstance();
}
@Override
public MsgStartRequestContext build() {
MsgStartRequestContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgStartRequestContext buildPartial() {
MsgStartRequestContext result = new MsgStartRequestContext(this);
result.requestContextId_ = requestContextId_;
result.consumer_ = consumer_;
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 MsgStartRequestContext) {
return mergeFrom((MsgStartRequestContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgStartRequestContext other) {
if (other == MsgStartRequestContext.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
if (!other.getConsumer().isEmpty()) {
consumer_ = other.consumer_;
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 {
MsgStartRequestContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgStartRequestContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 Object consumer_ = "";
/**
* string consumer = 2;
* @return The consumer.
*/
public String getConsumer() {
Object ref = consumer_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string consumer = 2;
* @param value The consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumer(
String value) {
if (value == null) {
throw new NullPointerException();
}
consumer_ = value;
onChanged();
return this;
}
/**
* string consumer = 2;
* @return This builder for chaining.
*/
public Builder clearConsumer() {
consumer_ = getDefaultInstance().getConsumer();
onChanged();
return this;
}
/**
* string consumer = 2;
* @param value The bytes for consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
consumer_ = 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.MsgStartRequestContext)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgStartRequestContext)
private static final MsgStartRequestContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgStartRequestContext();
}
public static MsgStartRequestContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgStartRequestContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgStartRequestContext(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgStartRequestContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgStartRequestContextResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgStartRequestContextResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgStartRequestContextResponse defines the Msg/StartRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgStartRequestContextResponse}
*/
public static final class MsgStartRequestContextResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgStartRequestContextResponse)
MsgStartRequestContextResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgStartRequestContextResponse.newBuilder() to construct.
private MsgStartRequestContextResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgStartRequestContextResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgStartRequestContextResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgStartRequestContextResponse(
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 Tx.internal_static_irismod_service_MsgStartRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgStartRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgStartRequestContextResponse.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 MsgStartRequestContextResponse)) {
return super.equals(obj);
}
MsgStartRequestContextResponse other = (MsgStartRequestContextResponse) 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 MsgStartRequestContextResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgStartRequestContextResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgStartRequestContextResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgStartRequestContextResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgStartRequestContextResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgStartRequestContextResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgStartRequestContextResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgStartRequestContextResponse 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 MsgStartRequestContextResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgStartRequestContextResponse 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 MsgStartRequestContextResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgStartRequestContextResponse 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(MsgStartRequestContextResponse 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;
}
/**
*
* MsgStartRequestContextResponse defines the Msg/StartRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgStartRequestContextResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgStartRequestContextResponse)
MsgStartRequestContextResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgStartRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgStartRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgStartRequestContextResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgStartRequestContextResponse.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 Tx.internal_static_irismod_service_MsgStartRequestContextResponse_descriptor;
}
@Override
public MsgStartRequestContextResponse getDefaultInstanceForType() {
return MsgStartRequestContextResponse.getDefaultInstance();
}
@Override
public MsgStartRequestContextResponse build() {
MsgStartRequestContextResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgStartRequestContextResponse buildPartial() {
MsgStartRequestContextResponse result = new MsgStartRequestContextResponse(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 MsgStartRequestContextResponse) {
return mergeFrom((MsgStartRequestContextResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgStartRequestContextResponse other) {
if (other == MsgStartRequestContextResponse.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 {
MsgStartRequestContextResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgStartRequestContextResponse) 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.MsgStartRequestContextResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgStartRequestContextResponse)
private static final MsgStartRequestContextResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgStartRequestContextResponse();
}
public static MsgStartRequestContextResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgStartRequestContextResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgStartRequestContextResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgStartRequestContextResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgKillRequestContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgKillRequestContext)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
/**
* string consumer = 2;
* @return The consumer.
*/
String getConsumer();
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
com.google.protobuf.ByteString
getConsumerBytes();
}
/**
*
* MsgKillRequestContext defines an SDK message to terminate a service request.
*
*
* Protobuf type {@code irismod.service.MsgKillRequestContext}
*/
public static final class MsgKillRequestContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgKillRequestContext)
MsgKillRequestContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgKillRequestContext.newBuilder() to construct.
private MsgKillRequestContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgKillRequestContext() {
requestContextId_ = "";
consumer_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgKillRequestContext();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgKillRequestContext(
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 18: {
String s = input.readStringRequireUtf8();
consumer_ = 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 Tx.internal_static_irismod_service_MsgKillRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgKillRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgKillRequestContext.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 CONSUMER_FIELD_NUMBER = 2;
private volatile Object consumer_;
/**
* string consumer = 2;
* @return The consumer.
*/
@Override
public String getConsumer() {
Object ref = consumer_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
}
}
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
@Override
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = 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_);
}
if (!getConsumerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, consumer_);
}
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 (!getConsumerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, consumer_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgKillRequestContext)) {
return super.equals(obj);
}
MsgKillRequestContext other = (MsgKillRequestContext) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (!getConsumer()
.equals(other.getConsumer())) 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) + CONSUMER_FIELD_NUMBER;
hash = (53 * hash) + getConsumer().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgKillRequestContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgKillRequestContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgKillRequestContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgKillRequestContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgKillRequestContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgKillRequestContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgKillRequestContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgKillRequestContext 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 MsgKillRequestContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgKillRequestContext 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 MsgKillRequestContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgKillRequestContext 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(MsgKillRequestContext 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;
}
/**
*
* MsgKillRequestContext defines an SDK message to terminate a service request.
*
*
* Protobuf type {@code irismod.service.MsgKillRequestContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgKillRequestContext)
MsgKillRequestContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgKillRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgKillRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgKillRequestContext.class, Builder.class);
}
// Construct using proto.service.Tx.MsgKillRequestContext.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_ = "";
consumer_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgKillRequestContext_descriptor;
}
@Override
public MsgKillRequestContext getDefaultInstanceForType() {
return MsgKillRequestContext.getDefaultInstance();
}
@Override
public MsgKillRequestContext build() {
MsgKillRequestContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgKillRequestContext buildPartial() {
MsgKillRequestContext result = new MsgKillRequestContext(this);
result.requestContextId_ = requestContextId_;
result.consumer_ = consumer_;
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 MsgKillRequestContext) {
return mergeFrom((MsgKillRequestContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgKillRequestContext other) {
if (other == MsgKillRequestContext.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
if (!other.getConsumer().isEmpty()) {
consumer_ = other.consumer_;
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 {
MsgKillRequestContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgKillRequestContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object requestContextId_ = "";
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 Object consumer_ = "";
/**
* string consumer = 2;
* @return The consumer.
*/
public String getConsumer() {
Object ref = consumer_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string consumer = 2;
* @return The bytes for consumer.
*/
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string consumer = 2;
* @param value The consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumer(
String value) {
if (value == null) {
throw new NullPointerException();
}
consumer_ = value;
onChanged();
return this;
}
/**
* string consumer = 2;
* @return This builder for chaining.
*/
public Builder clearConsumer() {
consumer_ = getDefaultInstance().getConsumer();
onChanged();
return this;
}
/**
* string consumer = 2;
* @param value The bytes for consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
consumer_ = 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.MsgKillRequestContext)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgKillRequestContext)
private static final MsgKillRequestContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgKillRequestContext();
}
public static MsgKillRequestContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgKillRequestContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgKillRequestContext(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgKillRequestContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgKillRequestContextResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgKillRequestContextResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgKillRequestContextResponse defines the Msg/KillRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgKillRequestContextResponse}
*/
public static final class MsgKillRequestContextResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgKillRequestContextResponse)
MsgKillRequestContextResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgKillRequestContextResponse.newBuilder() to construct.
private MsgKillRequestContextResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgKillRequestContextResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgKillRequestContextResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgKillRequestContextResponse(
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 Tx.internal_static_irismod_service_MsgKillRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgKillRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgKillRequestContextResponse.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 MsgKillRequestContextResponse)) {
return super.equals(obj);
}
MsgKillRequestContextResponse other = (MsgKillRequestContextResponse) 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 MsgKillRequestContextResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgKillRequestContextResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgKillRequestContextResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgKillRequestContextResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgKillRequestContextResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgKillRequestContextResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgKillRequestContextResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgKillRequestContextResponse 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 MsgKillRequestContextResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgKillRequestContextResponse 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 MsgKillRequestContextResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgKillRequestContextResponse 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(MsgKillRequestContextResponse 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;
}
/**
*
* MsgKillRequestContextResponse defines the Msg/KillRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgKillRequestContextResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgKillRequestContextResponse)
MsgKillRequestContextResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgKillRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgKillRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgKillRequestContextResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgKillRequestContextResponse.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 Tx.internal_static_irismod_service_MsgKillRequestContextResponse_descriptor;
}
@Override
public MsgKillRequestContextResponse getDefaultInstanceForType() {
return MsgKillRequestContextResponse.getDefaultInstance();
}
@Override
public MsgKillRequestContextResponse build() {
MsgKillRequestContextResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgKillRequestContextResponse buildPartial() {
MsgKillRequestContextResponse result = new MsgKillRequestContextResponse(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 MsgKillRequestContextResponse) {
return mergeFrom((MsgKillRequestContextResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgKillRequestContextResponse other) {
if (other == MsgKillRequestContextResponse.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 {
MsgKillRequestContextResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgKillRequestContextResponse) 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.MsgKillRequestContextResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgKillRequestContextResponse)
private static final MsgKillRequestContextResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgKillRequestContextResponse();
}
public static MsgKillRequestContextResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgKillRequestContextResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgKillRequestContextResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgKillRequestContextResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgUpdateRequestContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgUpdateRequestContext)
com.google.protobuf.MessageOrBuilder {
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The requestContextId.
*/
String getRequestContextId();
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return The bytes for requestContextId.
*/
com.google.protobuf.ByteString
getRequestContextIdBytes();
/**
* repeated string providers = 2;
* @return A list containing the providers.
*/
java.util.List
getProvidersList();
/**
* repeated string providers = 2;
* @return The count of providers.
*/
int getProvidersCount();
/**
* repeated string providers = 2;
* @param index The index of the element to return.
* @return The providers at the given index.
*/
String getProviders(int index);
/**
* repeated string providers = 2;
* @param index The index of the value to return.
* @return The bytes of the providers at the given index.
*/
com.google.protobuf.ByteString
getProvidersBytes(int index);
/**
* string consumer = 3;
* @return The consumer.
*/
String getConsumer();
/**
* string consumer = 3;
* @return The bytes for consumer.
*/
com.google.protobuf.ByteString
getConsumerBytes();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List
getServiceFeeCapList();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.Coin getServiceFeeCap(int index);
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
int getServiceFeeCapCount();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getServiceFeeCapOrBuilderList();
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getServiceFeeCapOrBuilder(
int index);
/**
* int64 timeout = 5;
* @return The timeout.
*/
long getTimeout();
/**
* uint64 repeated_frequency = 6 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return The repeatedFrequency.
*/
long getRepeatedFrequency();
/**
* int64 repeated_total = 7 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return The repeatedTotal.
*/
long getRepeatedTotal();
}
/**
*
* MsgUpdateRequestContext defines an SDK message to update a service request context.
*
*
* Protobuf type {@code irismod.service.MsgUpdateRequestContext}
*/
public static final class MsgUpdateRequestContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgUpdateRequestContext)
MsgUpdateRequestContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgUpdateRequestContext.newBuilder() to construct.
private MsgUpdateRequestContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgUpdateRequestContext() {
requestContextId_ = "";
providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
consumer_ = "";
serviceFeeCap_ = java.util.Collections.emptyList();
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgUpdateRequestContext();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgUpdateRequestContext(
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: {
String s = input.readStringRequireUtf8();
requestContextId_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
providers_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
providers_.add(s);
break;
}
case 26: {
String s = input.readStringRequireUtf8();
consumer_ = s;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
serviceFeeCap_.add(
input.readMessage(proto.cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry));
break;
}
case 40: {
timeout_ = input.readInt64();
break;
}
case 48: {
repeatedFrequency_ = input.readUInt64();
break;
}
case 56: {
repeatedTotal_ = input.readInt64();
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)) {
providers_ = providers_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = java.util.Collections.unmodifiableList(serviceFeeCap_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateRequestContext.class, Builder.class);
}
public static final int REQUEST_CONTEXT_ID_FIELD_NUMBER = 1;
private volatile Object requestContextId_;
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 PROVIDERS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList providers_;
/**
* repeated string providers = 2;
* @return A list containing the providers.
*/
public com.google.protobuf.ProtocolStringList
getProvidersList() {
return providers_;
}
/**
* repeated string providers = 2;
* @return The count of providers.
*/
public int getProvidersCount() {
return providers_.size();
}
/**
* repeated string providers = 2;
* @param index The index of the element to return.
* @return The providers at the given index.
*/
public String getProviders(int index) {
return providers_.get(index);
}
/**
* repeated string providers = 2;
* @param index The index of the value to return.
* @return The bytes of the providers at the given index.
*/
public com.google.protobuf.ByteString
getProvidersBytes(int index) {
return providers_.getByteString(index);
}
public static final int CONSUMER_FIELD_NUMBER = 3;
private volatile Object consumer_;
/**
* string consumer = 3;
* @return The consumer.
*/
@Override
public String getConsumer() {
Object ref = consumer_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
}
}
/**
* string consumer = 3;
* @return The bytes for consumer.
*/
@Override
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICE_FEE_CAP_FIELD_NUMBER = 4;
private java.util.List serviceFeeCap_;
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List getServiceFeeCapList() {
return serviceFeeCap_;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getServiceFeeCapOrBuilderList() {
return serviceFeeCap_;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public int getServiceFeeCapCount() {
return serviceFeeCap_.size();
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getServiceFeeCap(int index) {
return serviceFeeCap_.get(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
@Override
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getServiceFeeCapOrBuilder(
int index) {
return serviceFeeCap_.get(index);
}
public static final int TIMEOUT_FIELD_NUMBER = 5;
private long timeout_;
/**
* int64 timeout = 5;
* @return The timeout.
*/
@Override
public long getTimeout() {
return timeout_;
}
public static final int REPEATED_FREQUENCY_FIELD_NUMBER = 6;
private long repeatedFrequency_;
/**
* uint64 repeated_frequency = 6 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return The repeatedFrequency.
*/
@Override
public long getRepeatedFrequency() {
return repeatedFrequency_;
}
public static final int REPEATED_TOTAL_FIELD_NUMBER = 7;
private long repeatedTotal_;
/**
* int64 repeated_total = 7 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return The repeatedTotal.
*/
@Override
public long getRepeatedTotal() {
return repeatedTotal_;
}
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_);
}
for (int i = 0; i < providers_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, providers_.getRaw(i));
}
if (!getConsumerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, consumer_);
}
for (int i = 0; i < serviceFeeCap_.size(); i++) {
output.writeMessage(4, serviceFeeCap_.get(i));
}
if (timeout_ != 0L) {
output.writeInt64(5, timeout_);
}
if (repeatedFrequency_ != 0L) {
output.writeUInt64(6, repeatedFrequency_);
}
if (repeatedTotal_ != 0L) {
output.writeInt64(7, repeatedTotal_);
}
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_);
}
{
int dataSize = 0;
for (int i = 0; i < providers_.size(); i++) {
dataSize += computeStringSizeNoTag(providers_.getRaw(i));
}
size += dataSize;
size += 1 * getProvidersList().size();
}
if (!getConsumerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, consumer_);
}
for (int i = 0; i < serviceFeeCap_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, serviceFeeCap_.get(i));
}
if (timeout_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, timeout_);
}
if (repeatedFrequency_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, repeatedFrequency_);
}
if (repeatedTotal_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, repeatedTotal_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MsgUpdateRequestContext)) {
return super.equals(obj);
}
MsgUpdateRequestContext other = (MsgUpdateRequestContext) obj;
if (!getRequestContextId()
.equals(other.getRequestContextId())) return false;
if (!getProvidersList()
.equals(other.getProvidersList())) return false;
if (!getConsumer()
.equals(other.getConsumer())) return false;
if (!getServiceFeeCapList()
.equals(other.getServiceFeeCapList())) return false;
if (getTimeout()
!= other.getTimeout()) return false;
if (getRepeatedFrequency()
!= other.getRepeatedFrequency()) return false;
if (getRepeatedTotal()
!= other.getRepeatedTotal()) 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();
if (getProvidersCount() > 0) {
hash = (37 * hash) + PROVIDERS_FIELD_NUMBER;
hash = (53 * hash) + getProvidersList().hashCode();
}
hash = (37 * hash) + CONSUMER_FIELD_NUMBER;
hash = (53 * hash) + getConsumer().hashCode();
if (getServiceFeeCapCount() > 0) {
hash = (37 * hash) + SERVICE_FEE_CAP_FIELD_NUMBER;
hash = (53 * hash) + getServiceFeeCapList().hashCode();
}
hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeout());
hash = (37 * hash) + REPEATED_FREQUENCY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRepeatedFrequency());
hash = (37 * hash) + REPEATED_TOTAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRepeatedTotal());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgUpdateRequestContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateRequestContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateRequestContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateRequestContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateRequestContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateRequestContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateRequestContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateRequestContext 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 MsgUpdateRequestContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgUpdateRequestContext 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 MsgUpdateRequestContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateRequestContext 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(MsgUpdateRequestContext 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;
}
/**
*
* MsgUpdateRequestContext defines an SDK message to update a service request context.
*
*
* Protobuf type {@code irismod.service.MsgUpdateRequestContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgUpdateRequestContext)
MsgUpdateRequestContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContext_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateRequestContext.class, Builder.class);
}
// Construct using proto.service.Tx.MsgUpdateRequestContext.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getServiceFeeCapFieldBuilder();
}
}
@Override
public Builder clear() {
super.clear();
requestContextId_ = "";
providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
consumer_ = "";
if (serviceFeeCapBuilder_ == null) {
serviceFeeCap_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
serviceFeeCapBuilder_.clear();
}
timeout_ = 0L;
repeatedFrequency_ = 0L;
repeatedTotal_ = 0L;
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContext_descriptor;
}
@Override
public MsgUpdateRequestContext getDefaultInstanceForType() {
return MsgUpdateRequestContext.getDefaultInstance();
}
@Override
public MsgUpdateRequestContext build() {
MsgUpdateRequestContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgUpdateRequestContext buildPartial() {
MsgUpdateRequestContext result = new MsgUpdateRequestContext(this);
int from_bitField0_ = bitField0_;
result.requestContextId_ = requestContextId_;
if (((bitField0_ & 0x00000001) != 0)) {
providers_ = providers_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.providers_ = providers_;
result.consumer_ = consumer_;
if (serviceFeeCapBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = java.util.Collections.unmodifiableList(serviceFeeCap_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.serviceFeeCap_ = serviceFeeCap_;
} else {
result.serviceFeeCap_ = serviceFeeCapBuilder_.build();
}
result.timeout_ = timeout_;
result.repeatedFrequency_ = repeatedFrequency_;
result.repeatedTotal_ = repeatedTotal_;
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 MsgUpdateRequestContext) {
return mergeFrom((MsgUpdateRequestContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgUpdateRequestContext other) {
if (other == MsgUpdateRequestContext.getDefaultInstance()) return this;
if (!other.getRequestContextId().isEmpty()) {
requestContextId_ = other.requestContextId_;
onChanged();
}
if (!other.providers_.isEmpty()) {
if (providers_.isEmpty()) {
providers_ = other.providers_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureProvidersIsMutable();
providers_.addAll(other.providers_);
}
onChanged();
}
if (!other.getConsumer().isEmpty()) {
consumer_ = other.consumer_;
onChanged();
}
if (serviceFeeCapBuilder_ == null) {
if (!other.serviceFeeCap_.isEmpty()) {
if (serviceFeeCap_.isEmpty()) {
serviceFeeCap_ = other.serviceFeeCap_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.addAll(other.serviceFeeCap_);
}
onChanged();
}
} else {
if (!other.serviceFeeCap_.isEmpty()) {
if (serviceFeeCapBuilder_.isEmpty()) {
serviceFeeCapBuilder_.dispose();
serviceFeeCapBuilder_ = null;
serviceFeeCap_ = other.serviceFeeCap_;
bitField0_ = (bitField0_ & ~0x00000002);
serviceFeeCapBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceFeeCapFieldBuilder() : null;
} else {
serviceFeeCapBuilder_.addAllMessages(other.serviceFeeCap_);
}
}
}
if (other.getTimeout() != 0L) {
setTimeout(other.getTimeout());
}
if (other.getRepeatedFrequency() != 0L) {
setRepeatedFrequency(other.getRepeatedFrequency());
}
if (other.getRepeatedTotal() != 0L) {
setRepeatedTotal(other.getRepeatedTotal());
}
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 {
MsgUpdateRequestContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgUpdateRequestContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private Object requestContextId_ = "";
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @return This builder for chaining.
*/
public Builder clearRequestContextId() {
requestContextId_ = getDefaultInstance().getRequestContextId();
onChanged();
return this;
}
/**
* string request_context_id = 1 [(.gogoproto.moretags) = "yaml:\"request_context_id\""];
* @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 com.google.protobuf.LazyStringList providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureProvidersIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
providers_ = new com.google.protobuf.LazyStringArrayList(providers_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string providers = 2;
* @return A list containing the providers.
*/
public com.google.protobuf.ProtocolStringList
getProvidersList() {
return providers_.getUnmodifiableView();
}
/**
* repeated string providers = 2;
* @return The count of providers.
*/
public int getProvidersCount() {
return providers_.size();
}
/**
* repeated string providers = 2;
* @param index The index of the element to return.
* @return The providers at the given index.
*/
public String getProviders(int index) {
return providers_.get(index);
}
/**
* repeated string providers = 2;
* @param index The index of the value to return.
* @return The bytes of the providers at the given index.
*/
public com.google.protobuf.ByteString
getProvidersBytes(int index) {
return providers_.getByteString(index);
}
/**
* repeated string providers = 2;
* @param index The index to set the value at.
* @param value The providers to set.
* @return This builder for chaining.
*/
public Builder setProviders(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProvidersIsMutable();
providers_.set(index, value);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @param value The providers to add.
* @return This builder for chaining.
*/
public Builder addProviders(
String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProvidersIsMutable();
providers_.add(value);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @param values The providers to add.
* @return This builder for chaining.
*/
public Builder addAllProviders(
Iterable values) {
ensureProvidersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, providers_);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @return This builder for chaining.
*/
public Builder clearProviders() {
providers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string providers = 2;
* @param value The bytes of the providers to add.
* @return This builder for chaining.
*/
public Builder addProvidersBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureProvidersIsMutable();
providers_.add(value);
onChanged();
return this;
}
private Object consumer_ = "";
/**
* string consumer = 3;
* @return The consumer.
*/
public String getConsumer() {
Object ref = consumer_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
consumer_ = s;
return s;
} else {
return (String) ref;
}
}
/**
* string consumer = 3;
* @return The bytes for consumer.
*/
public com.google.protobuf.ByteString
getConsumerBytes() {
Object ref = consumer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
consumer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string consumer = 3;
* @param value The consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumer(
String value) {
if (value == null) {
throw new NullPointerException();
}
consumer_ = value;
onChanged();
return this;
}
/**
* string consumer = 3;
* @return This builder for chaining.
*/
public Builder clearConsumer() {
consumer_ = getDefaultInstance().getConsumer();
onChanged();
return this;
}
/**
* string consumer = 3;
* @param value The bytes for consumer to set.
* @return This builder for chaining.
*/
public Builder setConsumerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
consumer_ = value;
onChanged();
return this;
}
private java.util.List serviceFeeCap_ =
java.util.Collections.emptyList();
private void ensureServiceFeeCapIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
serviceFeeCap_ = new java.util.ArrayList(serviceFeeCap_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> serviceFeeCapBuilder_;
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List getServiceFeeCapList() {
if (serviceFeeCapBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceFeeCap_);
} else {
return serviceFeeCapBuilder_.getMessageList();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public int getServiceFeeCapCount() {
if (serviceFeeCapBuilder_ == null) {
return serviceFeeCap_.size();
} else {
return serviceFeeCapBuilder_.getCount();
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin getServiceFeeCap(int index) {
if (serviceFeeCapBuilder_ == null) {
return serviceFeeCap_.get(index);
} else {
return serviceFeeCapBuilder_.getMessage(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (serviceFeeCapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceFeeCapIsMutable();
serviceFeeCap_.set(index, value);
onChanged();
} else {
serviceFeeCapBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder setServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.set(index, builderForValue.build());
onChanged();
} else {
serviceFeeCapBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (serviceFeeCapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(value);
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin value) {
if (serviceFeeCapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(index, value);
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(builderForValue.build());
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addServiceFeeCap(
int index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.add(index, builderForValue.build());
onChanged();
} else {
serviceFeeCapBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder addAllServiceFeeCap(
Iterable extends proto.cosmos.base.v1beta1.CoinOuterClass.Coin> values) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceFeeCap_);
onChanged();
} else {
serviceFeeCapBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder clearServiceFeeCap() {
if (serviceFeeCapBuilder_ == null) {
serviceFeeCap_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
serviceFeeCapBuilder_.clear();
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public Builder removeServiceFeeCap(int index) {
if (serviceFeeCapBuilder_ == null) {
ensureServiceFeeCapIsMutable();
serviceFeeCap_.remove(index);
onChanged();
} else {
serviceFeeCapBuilder_.remove(index);
}
return this;
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getServiceFeeCapBuilder(
int index) {
return getServiceFeeCapFieldBuilder().getBuilder(index);
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getServiceFeeCapOrBuilder(
int index) {
if (serviceFeeCapBuilder_ == null) {
return serviceFeeCap_.get(index); } else {
return serviceFeeCapBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List extends proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>
getServiceFeeCapOrBuilderList() {
if (serviceFeeCapBuilder_ != null) {
return serviceFeeCapBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceFeeCap_);
}
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addServiceFeeCapBuilder() {
return getServiceFeeCapFieldBuilder().addBuilder(
proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addServiceFeeCapBuilder(
int index) {
return getServiceFeeCapFieldBuilder().addBuilder(
index, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance());
}
/**
* repeated .cosmos.base.v1beta1.Coin service_fee_cap = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"service_fee_cap\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
*/
public java.util.List
getServiceFeeCapBuilderList() {
return getServiceFeeCapFieldBuilder().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>
getServiceFeeCapFieldBuilder() {
if (serviceFeeCapBuilder_ == null) {
serviceFeeCapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
proto.cosmos.base.v1beta1.CoinOuterClass.Coin, proto.cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, proto.cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>(
serviceFeeCap_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
serviceFeeCap_ = null;
}
return serviceFeeCapBuilder_;
}
private long timeout_ ;
/**
* int64 timeout = 5;
* @return The timeout.
*/
@Override
public long getTimeout() {
return timeout_;
}
/**
* int64 timeout = 5;
* @param value The timeout to set.
* @return This builder for chaining.
*/
public Builder setTimeout(long value) {
timeout_ = value;
onChanged();
return this;
}
/**
* int64 timeout = 5;
* @return This builder for chaining.
*/
public Builder clearTimeout() {
timeout_ = 0L;
onChanged();
return this;
}
private long repeatedFrequency_ ;
/**
* uint64 repeated_frequency = 6 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return The repeatedFrequency.
*/
@Override
public long getRepeatedFrequency() {
return repeatedFrequency_;
}
/**
* uint64 repeated_frequency = 6 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @param value The repeatedFrequency to set.
* @return This builder for chaining.
*/
public Builder setRepeatedFrequency(long value) {
repeatedFrequency_ = value;
onChanged();
return this;
}
/**
* uint64 repeated_frequency = 6 [(.gogoproto.moretags) = "yaml:\"repeated_frequency\""];
* @return This builder for chaining.
*/
public Builder clearRepeatedFrequency() {
repeatedFrequency_ = 0L;
onChanged();
return this;
}
private long repeatedTotal_ ;
/**
* int64 repeated_total = 7 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return The repeatedTotal.
*/
@Override
public long getRepeatedTotal() {
return repeatedTotal_;
}
/**
* int64 repeated_total = 7 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @param value The repeatedTotal to set.
* @return This builder for chaining.
*/
public Builder setRepeatedTotal(long value) {
repeatedTotal_ = value;
onChanged();
return this;
}
/**
* int64 repeated_total = 7 [(.gogoproto.moretags) = "yaml:\"repeated_total\""];
* @return This builder for chaining.
*/
public Builder clearRepeatedTotal() {
repeatedTotal_ = 0L;
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.MsgUpdateRequestContext)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgUpdateRequestContext)
private static final MsgUpdateRequestContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgUpdateRequestContext();
}
public static MsgUpdateRequestContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgUpdateRequestContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgUpdateRequestContext(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgUpdateRequestContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgUpdateRequestContextResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgUpdateRequestContextResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgUpdateRequestContextResponse defines the Msg/UpdateRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgUpdateRequestContextResponse}
*/
public static final class MsgUpdateRequestContextResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgUpdateRequestContextResponse)
MsgUpdateRequestContextResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgUpdateRequestContextResponse.newBuilder() to construct.
private MsgUpdateRequestContextResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgUpdateRequestContextResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgUpdateRequestContextResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgUpdateRequestContextResponse(
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 Tx.internal_static_irismod_service_MsgUpdateRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateRequestContextResponse.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 MsgUpdateRequestContextResponse)) {
return super.equals(obj);
}
MsgUpdateRequestContextResponse other = (MsgUpdateRequestContextResponse) 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 MsgUpdateRequestContextResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateRequestContextResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateRequestContextResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateRequestContextResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateRequestContextResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgUpdateRequestContextResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgUpdateRequestContextResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateRequestContextResponse 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 MsgUpdateRequestContextResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgUpdateRequestContextResponse 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 MsgUpdateRequestContextResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgUpdateRequestContextResponse 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(MsgUpdateRequestContextResponse 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;
}
/**
*
* MsgUpdateRequestContextResponse defines the Msg/UpdateRequestContext response type.
*
*
* Protobuf type {@code irismod.service.MsgUpdateRequestContextResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgUpdateRequestContextResponse)
MsgUpdateRequestContextResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContextResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgUpdateRequestContextResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgUpdateRequestContextResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgUpdateRequestContextResponse.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 Tx.internal_static_irismod_service_MsgUpdateRequestContextResponse_descriptor;
}
@Override
public MsgUpdateRequestContextResponse getDefaultInstanceForType() {
return MsgUpdateRequestContextResponse.getDefaultInstance();
}
@Override
public MsgUpdateRequestContextResponse build() {
MsgUpdateRequestContextResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgUpdateRequestContextResponse buildPartial() {
MsgUpdateRequestContextResponse result = new MsgUpdateRequestContextResponse(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 MsgUpdateRequestContextResponse) {
return mergeFrom((MsgUpdateRequestContextResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgUpdateRequestContextResponse other) {
if (other == MsgUpdateRequestContextResponse.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 {
MsgUpdateRequestContextResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgUpdateRequestContextResponse) 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.MsgUpdateRequestContextResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgUpdateRequestContextResponse)
private static final MsgUpdateRequestContextResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgUpdateRequestContextResponse();
}
public static MsgUpdateRequestContextResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgUpdateRequestContextResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgUpdateRequestContextResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgUpdateRequestContextResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgWithdrawEarnedFeesOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgWithdrawEarnedFees)
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();
/**
* string provider = 2;
* @return The provider.
*/
String getProvider();
/**
* string provider = 2;
* @return The bytes for provider.
*/
com.google.protobuf.ByteString
getProviderBytes();
}
/**
*
* MsgWithdrawEarnedFees defines an SDK message to withdraw the fees earned by the provider or owner.
*
*
* Protobuf type {@code irismod.service.MsgWithdrawEarnedFees}
*/
public static final class MsgWithdrawEarnedFees extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgWithdrawEarnedFees)
MsgWithdrawEarnedFeesOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgWithdrawEarnedFees.newBuilder() to construct.
private MsgWithdrawEarnedFees(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgWithdrawEarnedFees() {
owner_ = "";
provider_ = "";
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgWithdrawEarnedFees();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgWithdrawEarnedFees(
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;
}
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 Tx.internal_static_irismod_service_MsgWithdrawEarnedFees_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFees_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgWithdrawEarnedFees.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;
}
}
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 (!getOwnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, owner_);
}
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 (!getOwnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, owner_);
}
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 MsgWithdrawEarnedFees)) {
return super.equals(obj);
}
MsgWithdrawEarnedFees other = (MsgWithdrawEarnedFees) obj;
if (!getOwner()
.equals(other.getOwner())) 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) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + getProvider().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static MsgWithdrawEarnedFees parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgWithdrawEarnedFees parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgWithdrawEarnedFees parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgWithdrawEarnedFees parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgWithdrawEarnedFees parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgWithdrawEarnedFees parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgWithdrawEarnedFees parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgWithdrawEarnedFees 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 MsgWithdrawEarnedFees parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgWithdrawEarnedFees 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 MsgWithdrawEarnedFees parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgWithdrawEarnedFees 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(MsgWithdrawEarnedFees 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;
}
/**
*
* MsgWithdrawEarnedFees defines an SDK message to withdraw the fees earned by the provider or owner.
*
*
* Protobuf type {@code irismod.service.MsgWithdrawEarnedFees}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgWithdrawEarnedFees)
MsgWithdrawEarnedFeesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFees_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFees_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgWithdrawEarnedFees.class, Builder.class);
}
// Construct using proto.service.Tx.MsgWithdrawEarnedFees.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_ = "";
provider_ = "";
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFees_descriptor;
}
@Override
public MsgWithdrawEarnedFees getDefaultInstanceForType() {
return MsgWithdrawEarnedFees.getDefaultInstance();
}
@Override
public MsgWithdrawEarnedFees build() {
MsgWithdrawEarnedFees result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgWithdrawEarnedFees buildPartial() {
MsgWithdrawEarnedFees result = new MsgWithdrawEarnedFees(this);
result.owner_ = owner_;
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 MsgWithdrawEarnedFees) {
return mergeFrom((MsgWithdrawEarnedFees)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgWithdrawEarnedFees other) {
if (other == MsgWithdrawEarnedFees.getDefaultInstance()) return this;
if (!other.getOwner().isEmpty()) {
owner_ = other.owner_;
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 {
MsgWithdrawEarnedFees parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgWithdrawEarnedFees) 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;
}
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.MsgWithdrawEarnedFees)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgWithdrawEarnedFees)
private static final MsgWithdrawEarnedFees DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgWithdrawEarnedFees();
}
public static MsgWithdrawEarnedFees getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgWithdrawEarnedFees parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgWithdrawEarnedFees(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgWithdrawEarnedFees getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgWithdrawEarnedFeesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:irismod.service.MsgWithdrawEarnedFeesResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgWithdrawEarnedFeesResponse defines the Msg/WithdrawEarnedFees response type.
*
*
* Protobuf type {@code irismod.service.MsgWithdrawEarnedFeesResponse}
*/
public static final class MsgWithdrawEarnedFeesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:irismod.service.MsgWithdrawEarnedFeesResponse)
MsgWithdrawEarnedFeesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgWithdrawEarnedFeesResponse.newBuilder() to construct.
private MsgWithdrawEarnedFeesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgWithdrawEarnedFeesResponse() {
}
@Override
@SuppressWarnings({"unused"})
protected Object newInstance(
UnusedPrivateParameter unused) {
return new MsgWithdrawEarnedFeesResponse();
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgWithdrawEarnedFeesResponse(
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 Tx.internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgWithdrawEarnedFeesResponse.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 MsgWithdrawEarnedFeesResponse)) {
return super.equals(obj);
}
MsgWithdrawEarnedFeesResponse other = (MsgWithdrawEarnedFeesResponse) 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 MsgWithdrawEarnedFeesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgWithdrawEarnedFeesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgWithdrawEarnedFeesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgWithdrawEarnedFeesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgWithdrawEarnedFeesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static MsgWithdrawEarnedFeesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static MsgWithdrawEarnedFeesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgWithdrawEarnedFeesResponse 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 MsgWithdrawEarnedFeesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static MsgWithdrawEarnedFeesResponse 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 MsgWithdrawEarnedFeesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static MsgWithdrawEarnedFeesResponse 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(MsgWithdrawEarnedFeesResponse 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;
}
/**
*
* MsgWithdrawEarnedFeesResponse defines the Msg/WithdrawEarnedFees response type.
*
*
* Protobuf type {@code irismod.service.MsgWithdrawEarnedFeesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:irismod.service.MsgWithdrawEarnedFeesResponse)
MsgWithdrawEarnedFeesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return Tx.internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
MsgWithdrawEarnedFeesResponse.class, Builder.class);
}
// Construct using proto.service.Tx.MsgWithdrawEarnedFeesResponse.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 Tx.internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_descriptor;
}
@Override
public MsgWithdrawEarnedFeesResponse getDefaultInstanceForType() {
return MsgWithdrawEarnedFeesResponse.getDefaultInstance();
}
@Override
public MsgWithdrawEarnedFeesResponse build() {
MsgWithdrawEarnedFeesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public MsgWithdrawEarnedFeesResponse buildPartial() {
MsgWithdrawEarnedFeesResponse result = new MsgWithdrawEarnedFeesResponse(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 MsgWithdrawEarnedFeesResponse) {
return mergeFrom((MsgWithdrawEarnedFeesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(MsgWithdrawEarnedFeesResponse other) {
if (other == MsgWithdrawEarnedFeesResponse.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 {
MsgWithdrawEarnedFeesResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (MsgWithdrawEarnedFeesResponse) 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.MsgWithdrawEarnedFeesResponse)
}
// @@protoc_insertion_point(class_scope:irismod.service.MsgWithdrawEarnedFeesResponse)
private static final MsgWithdrawEarnedFeesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new MsgWithdrawEarnedFeesResponse();
}
public static MsgWithdrawEarnedFeesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@Override
public MsgWithdrawEarnedFeesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgWithdrawEarnedFeesResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public MsgWithdrawEarnedFeesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgDefineService_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgDefineService_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgDefineServiceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgDefineServiceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgBindService_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgBindService_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgBindServiceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgBindServiceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgUpdateServiceBinding_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgUpdateServiceBinding_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgUpdateServiceBindingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgUpdateServiceBindingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgSetWithdrawAddress_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgSetWithdrawAddress_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgSetWithdrawAddressResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgSetWithdrawAddressResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgDisableServiceBinding_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgDisableServiceBinding_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgDisableServiceBindingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgDisableServiceBindingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgEnableServiceBinding_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgEnableServiceBinding_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgEnableServiceBindingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgEnableServiceBindingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgRefundServiceDeposit_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgRefundServiceDeposit_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgRefundServiceDepositResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgRefundServiceDepositResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgCallService_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgCallService_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgCallServiceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgCallServiceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgRespondService_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgRespondService_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgRespondServiceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgRespondServiceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgPauseRequestContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgPauseRequestContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgPauseRequestContextResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgPauseRequestContextResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgStartRequestContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgStartRequestContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgStartRequestContextResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgStartRequestContextResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgKillRequestContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgKillRequestContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgKillRequestContextResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgKillRequestContextResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgUpdateRequestContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgUpdateRequestContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgUpdateRequestContextResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgUpdateRequestContextResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgWithdrawEarnedFees_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgWithdrawEarnedFees_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
String[] descriptorData = {
"\n\020service/tx.proto\022\017irismod.service\032\036cos" +
"mos/base/v1beta1/coin.proto\032\024gogoproto/g" +
"ogo.proto\"\237\001\n\020MsgDefineService\022\014\n\004name\030\001" +
" \001(\t\022\023\n\013description\030\002 \001(\t\022\014\n\004tags\030\003 \003(\t\022" +
"\016\n\006author\030\004 \001(\t\0229\n\022author_description\030\005 " +
"\001(\tB\035\362\336\037\031yaml:\"author_description\"\022\017\n\007sc" +
"hemas\030\006 \001(\t\"\032\n\030MsgDefineServiceResponse\"" +
"\366\001\n\016MsgBindService\022-\n\014service_name\030\001 \001(\t" +
"B\027\362\336\037\023yaml:\"service_name\"\022\020\n\010provider\030\002 " +
"\001(\t\022\\\n\007deposit\030\003 \003(\0132\031.cosmos.base.v1bet" +
"a1.CoinB0\310\336\037\000\252\337\037(github.com/cosmos/cosmo" +
"s-sdk/types.Coins\022\017\n\007pricing\030\004 \001(\t\022\024\n\003qo" +
"s\030\005 \001(\004B\007\342\336\037\003QoS\022\017\n\007options\030\006 \001(\t\022\r\n\005own" +
"er\030\007 \001(\t\"\030\n\026MsgBindServiceResponse\"\377\001\n\027M" +
"sgUpdateServiceBinding\022-\n\014service_name\030\001" +
" \001(\tB\027\362\336\037\023yaml:\"service_name\"\022\020\n\010provide" +
"r\030\002 \001(\t\022\\\n\007deposit\030\003 \003(\0132\031.cosmos.base.v" +
"1beta1.CoinB0\310\336\037\000\252\337\037(github.com/cosmos/c" +
"osmos-sdk/types.Coins\022\017\n\007pricing\030\004 \001(\t\022\024" +
"\n\003qos\030\005 \001(\004B\007\342\336\037\003QoS\022\017\n\007options\030\006 \001(\t\022\r\n" +
"\005owner\030\007 \001(\t\"!\n\037MsgUpdateServiceBindingR" +
"esponse\"]\n\025MsgSetWithdrawAddress\022\r\n\005owne" +
"r\030\001 \001(\t\0225\n\020withdraw_address\030\002 \001(\tB\033\362\336\037\027y" +
"aml:\"withdraw_address\"\"\037\n\035MsgSetWithdraw" +
"AddressResponse\"j\n\030MsgDisableServiceBind" +
"ing\022-\n\014service_name\030\001 \001(\tB\027\362\336\037\023yaml:\"ser" +
"vice_name\"\022\020\n\010provider\030\002 \001(\t\022\r\n\005owner\030\003 " +
"\001(\t\"\"\n MsgDisableServiceBindingResponse\"" +
"\307\001\n\027MsgEnableServiceBinding\022-\n\014service_n" +
"ame\030\001 \001(\tB\027\362\336\037\023yaml:\"service_name\"\022\020\n\010pr" +
"ovider\030\002 \001(\t\022\\\n\007deposit\030\003 \003(\0132\031.cosmos.b" +
"ase.v1beta1.CoinB0\310\336\037\000\252\337\037(github.com/cos" +
"mos/cosmos-sdk/types.Coins\022\r\n\005owner\030\004 \001(" +
"\t\"!\n\037MsgEnableServiceBindingResponse\"i\n\027" +
"MsgRefundServiceDeposit\022-\n\014service_name\030" +
"\001 \001(\tB\027\362\336\037\023yaml:\"service_name\"\022\020\n\010provid" +
"er\030\002 \001(\t\022\r\n\005owner\030\003 \001(\t\"!\n\037MsgRefundServ" +
"iceDepositResponse\"\257\003\n\016MsgCallService\022-\n" +
"\014service_name\030\001 \001(\tB\027\362\336\037\023yaml:\"service_n" +
"ame\"\022\021\n\tproviders\030\002 \003(\t\022\020\n\010consumer\030\003 \001(" +
"\t\022\r\n\005input\030\004 \001(\t\022~\n\017service_fee_cap\030\005 \003(" +
"\0132\031.cosmos.base.v1beta1.CoinBJ\310\336\037\000\252\337\037(gi" +
"thub.com/cosmos/cosmos-sdk/types.Coins\362\336" +
"\037\026yaml:\"service_fee_cap\"\022\017\n\007timeout\030\006 \001(" +
"\003\022)\n\nsuper_mode\030\007 \001(\010B\025\362\336\037\021yaml:\"super_m" +
"ode\"\022\020\n\010repeated\030\010 \001(\010\0229\n\022repeated_frequ" +
"ency\030\t \001(\004B\035\362\336\037\031yaml:\"repeated_frequency" +
"\"\0221\n\016repeated_total\030\n \001(\003B\031\362\336\037\025yaml:\"rep" +
"eated_total\"\"S\n\026MsgCallServiceResponse\0229" +
"\n\022request_context_id\030\001 \001(\tB\035\362\336\037\031yaml:\"re" +
"quest_context_id\"\"p\n\021MsgRespondService\022)" +
"\n\nrequest_id\030\001 \001(\tB\025\362\336\037\021yaml:\"request_id" +
"\"\022\020\n\010provider\030\002 \001(\t\022\016\n\006result\030\003 \001(\t\022\016\n\006o" +
"utput\030\004 \001(\t\"\033\n\031MsgRespondServiceResponse" +
"\"e\n\026MsgPauseRequestContext\0229\n\022request_co" +
"ntext_id\030\001 \001(\tB\035\362\336\037\031yaml:\"request_contex" +
"t_id\"\022\020\n\010consumer\030\002 \001(\t\" \n\036MsgPauseReque" +
"stContextResponse\"e\n\026MsgStartRequestCont" +
"ext\0229\n\022request_context_id\030\001 \001(\tB\035\362\336\037\031yam" +
"l:\"request_context_id\"\022\020\n\010consumer\030\002 \001(\t" +
"\" \n\036MsgStartRequestContextResponse\"d\n\025Ms" +
"gKillRequestContext\0229\n\022request_context_i" +
"d\030\001 \001(\tB\035\362\336\037\031yaml:\"request_context_id\"\022\020" +
"\n\010consumer\030\002 \001(\t\"\037\n\035MsgKillRequestContex" +
"tResponse\"\370\002\n\027MsgUpdateRequestContext\0229\n" +
"\022request_context_id\030\001 \001(\tB\035\362\336\037\031yaml:\"req" +
"uest_context_id\"\022\021\n\tproviders\030\002 \003(\t\022\020\n\010c" +
"onsumer\030\003 \001(\t\022~\n\017service_fee_cap\030\004 \003(\0132\031" +
".cosmos.base.v1beta1.CoinBJ\310\336\037\000\252\337\037(githu" +
"b.com/cosmos/cosmos-sdk/types.Coins\362\336\037\026y" +
"aml:\"service_fee_cap\"\022\017\n\007timeout\030\005 \001(\003\0229" +
"\n\022repeated_frequency\030\006 \001(\004B\035\362\336\037\031yaml:\"re" +
"peated_frequency\"\0221\n\016repeated_total\030\007 \001(" +
"\003B\031\362\336\037\025yaml:\"repeated_total\"\"!\n\037MsgUpdat" +
"eRequestContextResponse\"8\n\025MsgWithdrawEa" +
"rnedFees\022\r\n\005owner\030\001 \001(\t\022\020\n\010provider\030\002 \001(" +
"\t\"\037\n\035MsgWithdrawEarnedFeesResponse2\353\013\n\003M" +
"sg\022]\n\rDefineService\022!.irismod.service.Ms" +
"gDefineService\032).irismod.service.MsgDefi" +
"neServiceResponse\022W\n\013BindService\022\037.irism" +
"od.service.MsgBindService\032\'.irismod.serv" +
"ice.MsgBindServiceResponse\022r\n\024UpdateServ" +
"iceBinding\022(.irismod.service.MsgUpdateSe" +
"rviceBinding\0320.irismod.service.MsgUpdate" +
"ServiceBindingResponse\022l\n\022SetWithdrawAdd" +
"ress\022&.irismod.service.MsgSetWithdrawAdd" +
"ress\032..irismod.service.MsgSetWithdrawAdd" +
"ressResponse\022r\n\024EnableServiceBinding\022(.i" +
"rismod.service.MsgEnableServiceBinding\0320" +
".irismod.service.MsgEnableServiceBinding" +
"Response\022u\n\025DisableServiceBinding\022).iris" +
"mod.service.MsgDisableServiceBinding\0321.i" +
"rismod.service.MsgDisableServiceBindingR" +
"esponse\022r\n\024RefundServiceDeposit\022(.irismo" +
"d.service.MsgRefundServiceDeposit\0320.iris" +
"mod.service.MsgRefundServiceDepositRespo" +
"nse\022W\n\013CallService\022\037.irismod.service.Msg" +
"CallService\032\'.irismod.service.MsgCallSer" +
"viceResponse\022`\n\016RespondService\022\".irismod" +
".service.MsgRespondService\032*.irismod.ser" +
"vice.MsgRespondServiceResponse\022o\n\023PauseR" +
"equestContext\022\'.irismod.service.MsgPause" +
"RequestContext\032/.irismod.service.MsgPaus" +
"eRequestContextResponse\022o\n\023StartRequestC" +
"ontext\022\'.irismod.service.MsgStartRequest" +
"Context\032/.irismod.service.MsgStartReques" +
"tContextResponse\022l\n\022KillRequestContext\022&" +
".irismod.service.MsgKillRequestContext\032." +
".irismod.service.MsgKillRequestContextRe" +
"sponse\022r\n\024UpdateRequestContext\022(.irismod" +
".service.MsgUpdateRequestContext\0320.irism" +
"od.service.MsgUpdateRequestContextRespon" +
"se\022l\n\022WithdrawEarnedFees\022&.irismod.servi" +
"ce.MsgWithdrawEarnedFees\032..irismod.servi" +
"ce.MsgWithdrawEarnedFeesResponseB\023\n\rprot" +
"o.service\310\341\036\000b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
proto.cosmos.base.v1beta1.CoinOuterClass.getDescriptor(),
com.google.protobuf.GoGoProtos.getDescriptor(),
});
internal_static_irismod_service_MsgDefineService_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_irismod_service_MsgDefineService_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgDefineService_descriptor,
new String[] { "Name", "Description", "Tags", "Author", "AuthorDescription", "Schemas", });
internal_static_irismod_service_MsgDefineServiceResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_irismod_service_MsgDefineServiceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgDefineServiceResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgBindService_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_irismod_service_MsgBindService_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgBindService_descriptor,
new String[] { "ServiceName", "Provider", "Deposit", "Pricing", "Qos", "Options", "Owner", });
internal_static_irismod_service_MsgBindServiceResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_irismod_service_MsgBindServiceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgBindServiceResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgUpdateServiceBinding_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_irismod_service_MsgUpdateServiceBinding_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgUpdateServiceBinding_descriptor,
new String[] { "ServiceName", "Provider", "Deposit", "Pricing", "Qos", "Options", "Owner", });
internal_static_irismod_service_MsgUpdateServiceBindingResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_irismod_service_MsgUpdateServiceBindingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgUpdateServiceBindingResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgSetWithdrawAddress_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_irismod_service_MsgSetWithdrawAddress_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgSetWithdrawAddress_descriptor,
new String[] { "Owner", "WithdrawAddress", });
internal_static_irismod_service_MsgSetWithdrawAddressResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_irismod_service_MsgSetWithdrawAddressResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgSetWithdrawAddressResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgDisableServiceBinding_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_irismod_service_MsgDisableServiceBinding_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgDisableServiceBinding_descriptor,
new String[] { "ServiceName", "Provider", "Owner", });
internal_static_irismod_service_MsgDisableServiceBindingResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_irismod_service_MsgDisableServiceBindingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgDisableServiceBindingResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgEnableServiceBinding_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_irismod_service_MsgEnableServiceBinding_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgEnableServiceBinding_descriptor,
new String[] { "ServiceName", "Provider", "Deposit", "Owner", });
internal_static_irismod_service_MsgEnableServiceBindingResponse_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_irismod_service_MsgEnableServiceBindingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgEnableServiceBindingResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgRefundServiceDeposit_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_irismod_service_MsgRefundServiceDeposit_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgRefundServiceDeposit_descriptor,
new String[] { "ServiceName", "Provider", "Owner", });
internal_static_irismod_service_MsgRefundServiceDepositResponse_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_irismod_service_MsgRefundServiceDepositResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgRefundServiceDepositResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgCallService_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_irismod_service_MsgCallService_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgCallService_descriptor,
new String[] { "ServiceName", "Providers", "Consumer", "Input", "ServiceFeeCap", "Timeout", "SuperMode", "Repeated", "RepeatedFrequency", "RepeatedTotal", });
internal_static_irismod_service_MsgCallServiceResponse_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_irismod_service_MsgCallServiceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgCallServiceResponse_descriptor,
new String[] { "RequestContextId", });
internal_static_irismod_service_MsgRespondService_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_irismod_service_MsgRespondService_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgRespondService_descriptor,
new String[] { "RequestId", "Provider", "Result", "Output", });
internal_static_irismod_service_MsgRespondServiceResponse_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_irismod_service_MsgRespondServiceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgRespondServiceResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgPauseRequestContext_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_irismod_service_MsgPauseRequestContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgPauseRequestContext_descriptor,
new String[] { "RequestContextId", "Consumer", });
internal_static_irismod_service_MsgPauseRequestContextResponse_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_irismod_service_MsgPauseRequestContextResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgPauseRequestContextResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgStartRequestContext_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_irismod_service_MsgStartRequestContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgStartRequestContext_descriptor,
new String[] { "RequestContextId", "Consumer", });
internal_static_irismod_service_MsgStartRequestContextResponse_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_irismod_service_MsgStartRequestContextResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgStartRequestContextResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgKillRequestContext_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_irismod_service_MsgKillRequestContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgKillRequestContext_descriptor,
new String[] { "RequestContextId", "Consumer", });
internal_static_irismod_service_MsgKillRequestContextResponse_descriptor =
getDescriptor().getMessageTypes().get(23);
internal_static_irismod_service_MsgKillRequestContextResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgKillRequestContextResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgUpdateRequestContext_descriptor =
getDescriptor().getMessageTypes().get(24);
internal_static_irismod_service_MsgUpdateRequestContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgUpdateRequestContext_descriptor,
new String[] { "RequestContextId", "Providers", "Consumer", "ServiceFeeCap", "Timeout", "RepeatedFrequency", "RepeatedTotal", });
internal_static_irismod_service_MsgUpdateRequestContextResponse_descriptor =
getDescriptor().getMessageTypes().get(25);
internal_static_irismod_service_MsgUpdateRequestContextResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgUpdateRequestContextResponse_descriptor,
new String[] { });
internal_static_irismod_service_MsgWithdrawEarnedFees_descriptor =
getDescriptor().getMessageTypes().get(26);
internal_static_irismod_service_MsgWithdrawEarnedFees_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgWithdrawEarnedFees_descriptor,
new String[] { "Owner", "Provider", });
internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_descriptor =
getDescriptor().getMessageTypes().get(27);
internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_irismod_service_MsgWithdrawEarnedFeesResponse_descriptor,
new String[] { });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.castrepeated);
registry.add(com.google.protobuf.GoGoProtos.customname);
registry.add(com.google.protobuf.GoGoProtos.goprotoGettersAll);
registry.add(com.google.protobuf.GoGoProtos.moretags);
registry.add(com.google.protobuf.GoGoProtos.nullable);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
proto.cosmos.base.v1beta1.CoinOuterClass.getDescriptor();
com.google.protobuf.GoGoProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}