From dab00185dd067a6614c0270fe1879ccbeae034f0 Mon Sep 17 00:00:00 2001 From: saeedmozaffari Date: Mon, 5 Nov 2018 15:55:37 +0330 Subject: [PATCH] Update Proto To Build 94 Bot --- src/main/java/net/iGap/proto/ProtoGlobal.java | 65 ++ .../java/net/iGap/proto/ProtoUserSetBot.java | 800 ++++++++++++++++++ 2 files changed, 865 insertions(+) create mode 100644 src/main/java/net/iGap/proto/ProtoUserSetBot.java diff --git a/src/main/java/net/iGap/proto/ProtoGlobal.java b/src/main/java/net/iGap/proto/ProtoGlobal.java index 19f1674..71b3ab2 100644 --- a/src/main/java/net/iGap/proto/ProtoGlobal.java +++ b/src/main/java/net/iGap/proto/ProtoGlobal.java @@ -5118,6 +5118,11 @@ public interface RegisteredUserOrBuilder extends * optional bool verified = 17; */ boolean getVerified(); + + /** + * optional bool bot = 18; + */ + boolean getBot(); } /** * Protobuf type {@code proto.RegisteredUser} @@ -5878,6 +5883,29 @@ private void clearVerified() { verified_ = false; } + public static final int BOT_FIELD_NUMBER = 18; + private boolean bot_; + /** + * optional bool bot = 18; + */ + public boolean getBot() { + return bot_; + } + /** + * optional bool bot = 18; + */ + private void setBot(boolean value) { + + bot_ = value; + } + /** + * optional bool bot = 18; + */ + private void clearBot() { + + bot_ = false; + } + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (id_ != 0L) { @@ -5931,6 +5959,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (verified_ != false) { output.writeBool(17, verified_); } + if (bot_ != false) { + output.writeBool(18, bot_); + } } public int getSerializedSize() { @@ -6006,6 +6037,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(17, verified_); } + if (bot_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(18, bot_); + } memoizedSerializedSize = size; return size; } @@ -6655,6 +6690,29 @@ public Builder clearVerified() { return this; } + /** + * optional bool bot = 18; + */ + public boolean getBot() { + return instance.getBot(); + } + /** + * optional bool bot = 18; + */ + public Builder setBot(boolean value) { + copyOnWrite(); + instance.setBot(value); + return this; + } + /** + * optional bool bot = 18; + */ + public Builder clearBot() { + copyOnWrite(); + instance.clearBot(); + return this; + } + // @@protoc_insertion_point(builder_scope:proto.RegisteredUser) } protected final Object dynamicMethod( @@ -6708,6 +6766,8 @@ protected final Object dynamicMethod( !other.bio_.isEmpty(), other.bio_); verified_ = visitor.visitBoolean(verified_ != false, verified_, other.verified_ != false, other.verified_); + bot_ = visitor.visitBoolean(bot_ != false, bot_, + other.bot_ != false, other.bot_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } @@ -6834,6 +6894,11 @@ protected final Object dynamicMethod( verified_ = input.readBool(); break; } + case 144: { + + bot_ = input.readBool(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { diff --git a/src/main/java/net/iGap/proto/ProtoUserSetBot.java b/src/main/java/net/iGap/proto/ProtoUserSetBot.java new file mode 100644 index 0000000..46f166e --- /dev/null +++ b/src/main/java/net/iGap/proto/ProtoUserSetBot.java @@ -0,0 +1,800 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: UserSetBot.proto + +package net.iGap.proto; + +public final class ProtoUserSetBot { + private ProtoUserSetBot() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + public interface UserSetBotOrBuilder extends + // @@protoc_insertion_point(interface_extends:proto.UserSetBot) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * optional .proto.Request request = 1; + */ + boolean hasRequest(); + /** + * optional .proto.Request request = 1; + */ + net.iGap.proto.ProtoRequest.Request getRequest(); + + /** + * optional bool status = 2; + */ + boolean getStatus(); + } + /** + * Protobuf type {@code proto.UserSetBot} + */ + public static final class UserSetBot extends + com.google.protobuf.GeneratedMessageLite< + UserSetBot, UserSetBot.Builder> implements + // @@protoc_insertion_point(message_implements:proto.UserSetBot) + UserSetBotOrBuilder { + private UserSetBot() { + } + public static final int REQUEST_FIELD_NUMBER = 1; + private net.iGap.proto.ProtoRequest.Request request_; + /** + * optional .proto.Request request = 1; + */ + public boolean hasRequest() { + return request_ != null; + } + /** + * optional .proto.Request request = 1; + */ + public net.iGap.proto.ProtoRequest.Request getRequest() { + return request_ == null ? net.iGap.proto.ProtoRequest.Request.getDefaultInstance() : request_; + } + /** + * optional .proto.Request request = 1; + */ + private void setRequest(net.iGap.proto.ProtoRequest.Request value) { + if (value == null) { + throw new NullPointerException(); + } + request_ = value; + + } + /** + * optional .proto.Request request = 1; + */ + private void setRequest( + net.iGap.proto.ProtoRequest.Request.Builder builderForValue) { + request_ = builderForValue.build(); + + } + /** + * optional .proto.Request request = 1; + */ + private void mergeRequest(net.iGap.proto.ProtoRequest.Request value) { + if (request_ != null && + request_ != net.iGap.proto.ProtoRequest.Request.getDefaultInstance()) { + request_ = + net.iGap.proto.ProtoRequest.Request.newBuilder(request_).mergeFrom(value).buildPartial(); + } else { + request_ = value; + } + + } + /** + * optional .proto.Request request = 1; + */ + private void clearRequest() { request_ = null; + + } + + public static final int STATUS_FIELD_NUMBER = 2; + private boolean status_; + /** + * optional bool status = 2; + */ + public boolean getStatus() { + return status_; + } + /** + * optional bool status = 2; + */ + private void setStatus(boolean value) { + + status_ = value; + } + /** + * optional bool status = 2; + */ + private void clearStatus() { + + status_ = false; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (request_ != null) { + output.writeMessage(1, getRequest()); + } + if (status_ != false) { + output.writeBool(2, status_); + } + } + + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (request_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRequest()); + } + if (status_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, status_); + } + memoizedSerializedSize = size; + return size; + } + + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBot parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(net.iGap.proto.ProtoUserSetBot.UserSetBot prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + /** + * Protobuf type {@code proto.UserSetBot} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + net.iGap.proto.ProtoUserSetBot.UserSetBot, Builder> implements + // @@protoc_insertion_point(builder_implements:proto.UserSetBot) + net.iGap.proto.ProtoUserSetBot.UserSetBotOrBuilder { + // Construct using net.iGap.proto.ProtoUserSetBot.UserSetBot.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * optional .proto.Request request = 1; + */ + public boolean hasRequest() { + return instance.hasRequest(); + } + /** + * optional .proto.Request request = 1; + */ + public net.iGap.proto.ProtoRequest.Request getRequest() { + return instance.getRequest(); + } + /** + * optional .proto.Request request = 1; + */ + public Builder setRequest(net.iGap.proto.ProtoRequest.Request value) { + copyOnWrite(); + instance.setRequest(value); + return this; + } + /** + * optional .proto.Request request = 1; + */ + public Builder setRequest( + net.iGap.proto.ProtoRequest.Request.Builder builderForValue) { + copyOnWrite(); + instance.setRequest(builderForValue); + return this; + } + /** + * optional .proto.Request request = 1; + */ + public Builder mergeRequest(net.iGap.proto.ProtoRequest.Request value) { + copyOnWrite(); + instance.mergeRequest(value); + return this; + } + /** + * optional .proto.Request request = 1; + */ + public Builder clearRequest() { copyOnWrite(); + instance.clearRequest(); + return this; + } + + /** + * optional bool status = 2; + */ + public boolean getStatus() { + return instance.getStatus(); + } + /** + * optional bool status = 2; + */ + public Builder setStatus(boolean value) { + copyOnWrite(); + instance.setStatus(value); + return this; + } + /** + * optional bool status = 2; + */ + public Builder clearStatus() { + copyOnWrite(); + instance.clearStatus(); + return this; + } + + // @@protoc_insertion_point(builder_scope:proto.UserSetBot) + } + protected final Object dynamicMethod( + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + Object arg0, Object arg1) { + switch (method) { + case NEW_MUTABLE_INSTANCE: { + return new net.iGap.proto.ProtoUserSetBot.UserSetBot(); + } + case IS_INITIALIZED: { + return DEFAULT_INSTANCE; + } + case MAKE_IMMUTABLE: { + return null; + } + case NEW_BUILDER: { + return new Builder(); + } + case VISIT: { + Visitor visitor = (Visitor) arg0; + net.iGap.proto.ProtoUserSetBot.UserSetBot other = (net.iGap.proto.ProtoUserSetBot.UserSetBot) arg1; + request_ = visitor.visitMessage(request_, other.request_); + status_ = visitor.visitBoolean(status_ != false, status_, + other.status_ != false, other.status_); + if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor + .INSTANCE) { + } + return this; + } + case MERGE_FROM_STREAM: { + com.google.protobuf.CodedInputStream input = + (com.google.protobuf.CodedInputStream) arg0; + com.google.protobuf.ExtensionRegistryLite extensionRegistry = + (com.google.protobuf.ExtensionRegistryLite) arg1; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + net.iGap.proto.ProtoRequest.Request.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(net.iGap.proto.ProtoRequest.Request.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + + status_ = input.readBool(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw new RuntimeException(e.setUnfinishedMessage(this)); + } catch (java.io.IOException e) { + throw new RuntimeException( + new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this)); + } finally { + } + } + case GET_DEFAULT_INSTANCE: { + return DEFAULT_INSTANCE; + } + case GET_PARSER: { + if (PARSER == null) { synchronized (net.iGap.proto.ProtoUserSetBot.UserSetBot.class) { + if (PARSER == null) { + PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); + } + } + } + return PARSER; + } + } + throw new UnsupportedOperationException(); + } + + + // @@protoc_insertion_point(class_scope:proto.UserSetBot) + private static final net.iGap.proto.ProtoUserSetBot.UserSetBot DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new UserSetBot(); + DEFAULT_INSTANCE.makeImmutable(); + } + + public static net.iGap.proto.ProtoUserSetBot.UserSetBot getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static volatile com.google.protobuf.Parser PARSER; + + public static com.google.protobuf.Parser parser() { + return DEFAULT_INSTANCE.getParserForType(); + } + } + + public interface UserSetBotResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:proto.UserSetBotResponse) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * optional .proto.Response response = 1; + */ + boolean hasResponse(); + /** + * optional .proto.Response response = 1; + */ + net.iGap.proto.ProtoResponse.Response getResponse(); + + /** + * optional bool status = 2; + */ + boolean getStatus(); + } + /** + * Protobuf type {@code proto.UserSetBotResponse} + */ + public static final class UserSetBotResponse extends + com.google.protobuf.GeneratedMessageLite< + UserSetBotResponse, UserSetBotResponse.Builder> implements + // @@protoc_insertion_point(message_implements:proto.UserSetBotResponse) + UserSetBotResponseOrBuilder { + private UserSetBotResponse() { + } + public static final int RESPONSE_FIELD_NUMBER = 1; + private net.iGap.proto.ProtoResponse.Response response_; + /** + * optional .proto.Response response = 1; + */ + public boolean hasResponse() { + return response_ != null; + } + /** + * optional .proto.Response response = 1; + */ + public net.iGap.proto.ProtoResponse.Response getResponse() { + return response_ == null ? net.iGap.proto.ProtoResponse.Response.getDefaultInstance() : response_; + } + /** + * optional .proto.Response response = 1; + */ + private void setResponse(net.iGap.proto.ProtoResponse.Response value) { + if (value == null) { + throw new NullPointerException(); + } + response_ = value; + + } + /** + * optional .proto.Response response = 1; + */ + private void setResponse( + net.iGap.proto.ProtoResponse.Response.Builder builderForValue) { + response_ = builderForValue.build(); + + } + /** + * optional .proto.Response response = 1; + */ + private void mergeResponse(net.iGap.proto.ProtoResponse.Response value) { + if (response_ != null && + response_ != net.iGap.proto.ProtoResponse.Response.getDefaultInstance()) { + response_ = + net.iGap.proto.ProtoResponse.Response.newBuilder(response_).mergeFrom(value).buildPartial(); + } else { + response_ = value; + } + + } + /** + * optional .proto.Response response = 1; + */ + private void clearResponse() { response_ = null; + + } + + public static final int STATUS_FIELD_NUMBER = 2; + private boolean status_; + /** + * optional bool status = 2; + */ + public boolean getStatus() { + return status_; + } + /** + * optional bool status = 2; + */ + private void setStatus(boolean value) { + + status_ = value; + } + /** + * optional bool status = 2; + */ + private void clearStatus() { + + status_ = false; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (response_ != null) { + output.writeMessage(1, getResponse()); + } + if (status_ != false) { + output.writeBool(2, status_); + } + } + + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (response_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResponse()); + } + if (status_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, status_); + } + memoizedSerializedSize = size; + return size; + } + + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(net.iGap.proto.ProtoUserSetBot.UserSetBotResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + /** + * Protobuf type {@code proto.UserSetBotResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + net.iGap.proto.ProtoUserSetBot.UserSetBotResponse, Builder> implements + // @@protoc_insertion_point(builder_implements:proto.UserSetBotResponse) + net.iGap.proto.ProtoUserSetBot.UserSetBotResponseOrBuilder { + // Construct using net.iGap.proto.ProtoUserSetBot.UserSetBotResponse.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * optional .proto.Response response = 1; + */ + public boolean hasResponse() { + return instance.hasResponse(); + } + /** + * optional .proto.Response response = 1; + */ + public net.iGap.proto.ProtoResponse.Response getResponse() { + return instance.getResponse(); + } + /** + * optional .proto.Response response = 1; + */ + public Builder setResponse(net.iGap.proto.ProtoResponse.Response value) { + copyOnWrite(); + instance.setResponse(value); + return this; + } + /** + * optional .proto.Response response = 1; + */ + public Builder setResponse( + net.iGap.proto.ProtoResponse.Response.Builder builderForValue) { + copyOnWrite(); + instance.setResponse(builderForValue); + return this; + } + /** + * optional .proto.Response response = 1; + */ + public Builder mergeResponse(net.iGap.proto.ProtoResponse.Response value) { + copyOnWrite(); + instance.mergeResponse(value); + return this; + } + /** + * optional .proto.Response response = 1; + */ + public Builder clearResponse() { copyOnWrite(); + instance.clearResponse(); + return this; + } + + /** + * optional bool status = 2; + */ + public boolean getStatus() { + return instance.getStatus(); + } + /** + * optional bool status = 2; + */ + public Builder setStatus(boolean value) { + copyOnWrite(); + instance.setStatus(value); + return this; + } + /** + * optional bool status = 2; + */ + public Builder clearStatus() { + copyOnWrite(); + instance.clearStatus(); + return this; + } + + // @@protoc_insertion_point(builder_scope:proto.UserSetBotResponse) + } + protected final Object dynamicMethod( + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + Object arg0, Object arg1) { + switch (method) { + case NEW_MUTABLE_INSTANCE: { + return new net.iGap.proto.ProtoUserSetBot.UserSetBotResponse(); + } + case IS_INITIALIZED: { + return DEFAULT_INSTANCE; + } + case MAKE_IMMUTABLE: { + return null; + } + case NEW_BUILDER: { + return new Builder(); + } + case VISIT: { + Visitor visitor = (Visitor) arg0; + net.iGap.proto.ProtoUserSetBot.UserSetBotResponse other = (net.iGap.proto.ProtoUserSetBot.UserSetBotResponse) arg1; + response_ = visitor.visitMessage(response_, other.response_); + status_ = visitor.visitBoolean(status_ != false, status_, + other.status_ != false, other.status_); + if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor + .INSTANCE) { + } + return this; + } + case MERGE_FROM_STREAM: { + com.google.protobuf.CodedInputStream input = + (com.google.protobuf.CodedInputStream) arg0; + com.google.protobuf.ExtensionRegistryLite extensionRegistry = + (com.google.protobuf.ExtensionRegistryLite) arg1; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + net.iGap.proto.ProtoResponse.Response.Builder subBuilder = null; + if (response_ != null) { + subBuilder = response_.toBuilder(); + } + response_ = input.readMessage(net.iGap.proto.ProtoResponse.Response.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(response_); + response_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + + status_ = input.readBool(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw new RuntimeException(e.setUnfinishedMessage(this)); + } catch (java.io.IOException e) { + throw new RuntimeException( + new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this)); + } finally { + } + } + case GET_DEFAULT_INSTANCE: { + return DEFAULT_INSTANCE; + } + case GET_PARSER: { + if (PARSER == null) { synchronized (net.iGap.proto.ProtoUserSetBot.UserSetBotResponse.class) { + if (PARSER == null) { + PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); + } + } + } + return PARSER; + } + } + throw new UnsupportedOperationException(); + } + + + // @@protoc_insertion_point(class_scope:proto.UserSetBotResponse) + private static final net.iGap.proto.ProtoUserSetBot.UserSetBotResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new UserSetBotResponse(); + DEFAULT_INSTANCE.makeImmutable(); + } + + public static net.iGap.proto.ProtoUserSetBot.UserSetBotResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static volatile com.google.protobuf.Parser PARSER; + + public static com.google.protobuf.Parser parser() { + return DEFAULT_INSTANCE.getParserForType(); + } + } + + + static { + } + + // @@protoc_insertion_point(outer_class_scope) +}