_xiaofang/xiaofang/Assets/ProtoBuf/Proto/Select.cs
2024-12-30 12:12:16 +08:00

2994 lines
96 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: select.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
/// <summary>Holder for reflection information generated from select.proto</summary>
public static partial class SelectReflection {
#region Descriptor
/// <summary>File descriptor for select.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SelectReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CgxzZWxlY3QucHJvdG8iiwIKDVNlbGVjdFJlcXVlc3QSEAoIU2VsZWN0SWQY",
"ASABKAkSDgoGVXNlcklkGAIgASgJEg4KBlJvb21JZBgDIAEoCRIOCgZUYXNr",
"SWQYBCABKAkSDgoGUm9sZUlkGAUgASgJEhAKCElucHV0TnVtGAYgASgFEi8K",
"DlNlbGVjdFVzZXJMaXN0GAcgAygLMhcuU2VsZWN0UmVxdWVzdC5Vc2VyTGlz",
"dBIWCg5TZWxlY3RSb2xlTGlzdBgIIAMoCRIPCgdPdGhlcklkGAkgASgJEhAK",
"CE90aGVySWQyGAogASgJGioKCFVzZXJMaXN0Eg4KBlVzZXJJZBgBIAEoCRIO",
"CgZSb2xlSWQYAiABKAkipAUKDlNlbGVjdFJlc3BvbnNlEgoKAklkGAEgASgJ",
"Eg4KBkJhc2VJZBgCIAEoCRIMCgROb3RlGAMgASgJEg0KBUdyb3VwGAQgASgJ",
"EhEKCVVuRGlzcGxheRgFIAEoCRIQCghTaG93VGV4dBgGIAEoCRIMCgRJY29u",
"GAcgASgJEhUKDVByZWNvbmRpdGlvbnMYCCABKAkSEQoJRXhjbHVzaXZlGAkg",
"ASgJEhAKCFRhc2tUaW1lGAogASgJEhEKCVRpbWVMaW1pdBgLIAEoAxISCgpO",
"ZXh0U2VsZWN0GAwgASgJEhAKCFRhc2tMaW5rGA0gASgJEhcKD1Rhc2tMaW5r",
"RGV0YWlscxgOIAEoCRIQCghDYWxsTW9kZRgPIAEoCRIVCg1DYWxsUmVjaXBp",
"ZW50GBAgASgJEhUKDUNvcnJlY3RPcHRpb24YESABKAkSDgoGUmV3YXJkGBIg",
"ASgJEg4KBlJlc3VsdBgTIAEoCRINCgVSb3V0ZRgUIAEoCRIUCgxUaW1pbmdD",
"aGFuZ2UYFSABKAkSEQoJQXBwbGllZFVJGBYgASgJEhEKCVVJRGV0YWlscxgX",
"IAEoCRILCgNTZXEYGCABKAkSEgoKUGxheVNjcmlwdBgZIAEoCRIOCgZSb29t",
"SWQYGiABKAkSEgoKQ3JlYXRlVGltZRgbIAEoCRISCgpVcGRhdGVUaW1lGBwg",
"ASgJEg4KBlVzZXJJZBgdIAEoCRIOCgZSb2xlSWQYHiABKAkSMAoOU2VsZWN0",
"VXNlckxpc3QYHyADKAsyGC5TZWxlY3RSZXNwb25zZS5Vc2VyTGlzdBIWCg5T",
"ZWxlY3RSb2xlTGlzdBggIAMoCRoqCghVc2VyTGlzdBIOCgZVc2VySWQYASAB",
"KAkSDgoGUm9sZUlkGAIgASgJIkgKFFNlbGVjdEhpc3RvcnlSZXF1ZXN0EhAK",
"CFNlbGVjdElkGAEgASgJEg4KBlVzZXJJZBgCIAEoCRIOCgZSb29tSWQYAyAB",
"KAkiOQoVU2VsZWN0SGlzdG9yeVJlc3BvbnNlEiAKB1NlbGVjdHMYASADKAsy",
"Dy5TZWxlY3RSZXNwb25zZUIHWgUuLztwYmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::SelectRequest), global::SelectRequest.Parser, new[]{ "SelectId", "UserId", "RoomId", "TaskId", "RoleId", "InputNum", "SelectUserList", "SelectRoleList", "OtherId", "OtherId2" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::SelectRequest.Types.UserList), global::SelectRequest.Types.UserList.Parser, new[]{ "UserId", "RoleId" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::SelectResponse), global::SelectResponse.Parser, new[]{ "Id", "BaseId", "Note", "Group", "UnDisplay", "ShowText", "Icon", "Preconditions", "Exclusive", "TaskTime", "TimeLimit", "NextSelect", "TaskLink", "TaskLinkDetails", "CallMode", "CallRecipient", "CorrectOption", "Reward", "Result", "Route", "TimingChange", "AppliedUI", "UIDetails", "Seq", "PlayScript", "RoomId", "CreateTime", "UpdateTime", "UserId", "RoleId", "SelectUserList", "SelectRoleList" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::SelectResponse.Types.UserList), global::SelectResponse.Types.UserList.Parser, new[]{ "UserId", "RoleId" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::SelectHistoryRequest), global::SelectHistoryRequest.Parser, new[]{ "SelectId", "UserId", "RoomId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SelectHistoryResponse), global::SelectHistoryResponse.Parser, new[]{ "Selects" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectRequest : pb::IMessage<SelectRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectRequest> _parser = new pb::MessageParser<SelectRequest>(() => new SelectRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::SelectReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectRequest(SelectRequest other) : this() {
selectId_ = other.selectId_;
userId_ = other.userId_;
roomId_ = other.roomId_;
taskId_ = other.taskId_;
roleId_ = other.roleId_;
inputNum_ = other.inputNum_;
selectUserList_ = other.selectUserList_.Clone();
selectRoleList_ = other.selectRoleList_.Clone();
otherId_ = other.otherId_;
otherId2_ = other.otherId2_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectRequest Clone() {
return new SelectRequest(this);
}
/// <summary>Field number for the "SelectId" field.</summary>
public const int SelectIdFieldNumber = 1;
private string selectId_ = "";
/// <summary>
/// 选择的ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SelectId {
get { return selectId_; }
set {
selectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 2;
private string userId_ = "";
/// <summary>
/// 当前操作用户ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserId {
get { return userId_; }
set {
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 3;
private string roomId_ = "";
/// <summary>
/// 房间ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskId" field.</summary>
public const int TaskIdFieldNumber = 4;
private string taskId_ = "";
/// <summary>
/// 任务ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskId {
get { return taskId_; }
set {
taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoleId" field.</summary>
public const int RoleIdFieldNumber = 5;
private string roleId_ = "";
/// <summary>
/// 角色ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoleId {
get { return roleId_; }
set {
roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "InputNum" field.</summary>
public const int InputNumFieldNumber = 6;
private int inputNum_;
/// <summary>
/// 输入的数字, 操作某个选项需要传入值的情况 例如上报未疏散的人数
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int InputNum {
get { return inputNum_; }
set {
inputNum_ = value;
}
}
/// <summary>Field number for the "SelectUserList" field.</summary>
public const int SelectUserListFieldNumber = 7;
private static readonly pb::FieldCodec<global::SelectRequest.Types.UserList> _repeated_selectUserList_codec
= pb::FieldCodec.ForMessage(58, global::SelectRequest.Types.UserList.Parser);
private readonly pbc::RepeatedField<global::SelectRequest.Types.UserList> selectUserList_ = new pbc::RepeatedField<global::SelectRequest.Types.UserList>();
/// <summary>
/// 选择的用户ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::SelectRequest.Types.UserList> SelectUserList {
get { return selectUserList_; }
}
/// <summary>Field number for the "SelectRoleList" field.</summary>
public const int SelectRoleListFieldNumber = 8;
private static readonly pb::FieldCodec<string> _repeated_selectRoleList_codec
= pb::FieldCodec.ForString(66);
private readonly pbc::RepeatedField<string> selectRoleList_ = new pbc::RepeatedField<string>();
/// <summary>
/// 选择的角色ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> SelectRoleList {
get { return selectRoleList_; }
}
/// <summary>Field number for the "OtherId" field.</summary>
public const int OtherIdFieldNumber = 9;
private string otherId_ = "";
/// <summary>
/// 其他ID 道具ID 交互对象ID 等 例如当触发属于消火栓增援任务时需要传入消火栓的对象ID根据配置表获取
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string OtherId {
get { return otherId_; }
set {
otherId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "OtherId2" field.</summary>
public const int OtherId2FieldNumber = 10;
private string otherId2_ = "";
/// <summary>
/// 其他ID2 道具ID 交互对象ID 等 例如当触发属于消火栓增援任务时需要传消火栓唯一ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string OtherId2 {
get { return otherId2_; }
set {
otherId2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SelectId != other.SelectId) return false;
if (UserId != other.UserId) return false;
if (RoomId != other.RoomId) return false;
if (TaskId != other.TaskId) return false;
if (RoleId != other.RoleId) return false;
if (InputNum != other.InputNum) return false;
if(!selectUserList_.Equals(other.selectUserList_)) return false;
if(!selectRoleList_.Equals(other.selectRoleList_)) return false;
if (OtherId != other.OtherId) return false;
if (OtherId2 != other.OtherId2) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SelectId.Length != 0) hash ^= SelectId.GetHashCode();
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (TaskId.Length != 0) hash ^= TaskId.GetHashCode();
if (RoleId.Length != 0) hash ^= RoleId.GetHashCode();
if (InputNum != 0) hash ^= InputNum.GetHashCode();
hash ^= selectUserList_.GetHashCode();
hash ^= selectRoleList_.GetHashCode();
if (OtherId.Length != 0) hash ^= OtherId.GetHashCode();
if (OtherId2.Length != 0) hash ^= OtherId2.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SelectId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SelectId);
}
if (UserId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(UserId);
}
if (RoomId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(RoomId);
}
if (TaskId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(TaskId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(42);
output.WriteString(RoleId);
}
if (InputNum != 0) {
output.WriteRawTag(48);
output.WriteInt32(InputNum);
}
selectUserList_.WriteTo(output, _repeated_selectUserList_codec);
selectRoleList_.WriteTo(output, _repeated_selectRoleList_codec);
if (OtherId.Length != 0) {
output.WriteRawTag(74);
output.WriteString(OtherId);
}
if (OtherId2.Length != 0) {
output.WriteRawTag(82);
output.WriteString(OtherId2);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SelectId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SelectId);
}
if (UserId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(UserId);
}
if (RoomId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(RoomId);
}
if (TaskId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(TaskId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(42);
output.WriteString(RoleId);
}
if (InputNum != 0) {
output.WriteRawTag(48);
output.WriteInt32(InputNum);
}
selectUserList_.WriteTo(ref output, _repeated_selectUserList_codec);
selectRoleList_.WriteTo(ref output, _repeated_selectRoleList_codec);
if (OtherId.Length != 0) {
output.WriteRawTag(74);
output.WriteString(OtherId);
}
if (OtherId2.Length != 0) {
output.WriteRawTag(82);
output.WriteString(OtherId2);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SelectId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectId);
}
if (UserId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
}
if (RoomId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (TaskId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId);
}
if (RoleId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId);
}
if (InputNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InputNum);
}
size += selectUserList_.CalculateSize(_repeated_selectUserList_codec);
size += selectRoleList_.CalculateSize(_repeated_selectRoleList_codec);
if (OtherId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OtherId);
}
if (OtherId2.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OtherId2);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectRequest other) {
if (other == null) {
return;
}
if (other.SelectId.Length != 0) {
SelectId = other.SelectId;
}
if (other.UserId.Length != 0) {
UserId = other.UserId;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
if (other.TaskId.Length != 0) {
TaskId = other.TaskId;
}
if (other.RoleId.Length != 0) {
RoleId = other.RoleId;
}
if (other.InputNum != 0) {
InputNum = other.InputNum;
}
selectUserList_.Add(other.selectUserList_);
selectRoleList_.Add(other.selectRoleList_);
if (other.OtherId.Length != 0) {
OtherId = other.OtherId;
}
if (other.OtherId2.Length != 0) {
OtherId2 = other.OtherId2;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SelectId = input.ReadString();
break;
}
case 18: {
UserId = input.ReadString();
break;
}
case 26: {
RoomId = input.ReadString();
break;
}
case 34: {
TaskId = input.ReadString();
break;
}
case 42: {
RoleId = input.ReadString();
break;
}
case 48: {
InputNum = input.ReadInt32();
break;
}
case 58: {
selectUserList_.AddEntriesFrom(input, _repeated_selectUserList_codec);
break;
}
case 66: {
selectRoleList_.AddEntriesFrom(input, _repeated_selectRoleList_codec);
break;
}
case 74: {
OtherId = input.ReadString();
break;
}
case 82: {
OtherId2 = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SelectId = input.ReadString();
break;
}
case 18: {
UserId = input.ReadString();
break;
}
case 26: {
RoomId = input.ReadString();
break;
}
case 34: {
TaskId = input.ReadString();
break;
}
case 42: {
RoleId = input.ReadString();
break;
}
case 48: {
InputNum = input.ReadInt32();
break;
}
case 58: {
selectUserList_.AddEntriesFrom(ref input, _repeated_selectUserList_codec);
break;
}
case 66: {
selectRoleList_.AddEntriesFrom(ref input, _repeated_selectRoleList_codec);
break;
}
case 74: {
OtherId = input.ReadString();
break;
}
case 82: {
OtherId2 = input.ReadString();
break;
}
}
}
}
#endif
#region Nested types
/// <summary>Container for nested types declared in the SelectRequest message type.</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserList : pb::IMessage<UserList>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserList> _parser = new pb::MessageParser<UserList>(() => new UserList());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserList> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::SelectRequest.Descriptor.NestedTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserList() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserList(UserList other) : this() {
userId_ = other.userId_;
roleId_ = other.roleId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserList Clone() {
return new UserList(this);
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 1;
private string userId_ = "";
/// <summary>
/// 用户ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserId {
get { return userId_; }
set {
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoleId" field.</summary>
public const int RoleIdFieldNumber = 2;
private string roleId_ = "";
/// <summary>
/// 角色ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoleId {
get { return roleId_; }
set {
roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserList);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserList other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (RoleId != other.RoleId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
if (RoleId.Length != 0) hash ^= RoleId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (UserId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RoleId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (UserId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RoleId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (UserId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
}
if (RoleId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UserList other) {
if (other == null) {
return;
}
if (other.UserId.Length != 0) {
UserId = other.UserId;
}
if (other.RoleId.Length != 0) {
RoleId = other.RoleId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
UserId = input.ReadString();
break;
}
case 18: {
RoleId = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
UserId = input.ReadString();
break;
}
case 18: {
RoleId = input.ReadString();
break;
}
}
}
}
#endif
}
}
#endregion
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectResponse : pb::IMessage<SelectResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectResponse> _parser = new pb::MessageParser<SelectResponse>(() => new SelectResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::SelectReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectResponse(SelectResponse other) : this() {
id_ = other.id_;
baseId_ = other.baseId_;
note_ = other.note_;
group_ = other.group_;
unDisplay_ = other.unDisplay_;
showText_ = other.showText_;
icon_ = other.icon_;
preconditions_ = other.preconditions_;
exclusive_ = other.exclusive_;
taskTime_ = other.taskTime_;
timeLimit_ = other.timeLimit_;
nextSelect_ = other.nextSelect_;
taskLink_ = other.taskLink_;
taskLinkDetails_ = other.taskLinkDetails_;
callMode_ = other.callMode_;
callRecipient_ = other.callRecipient_;
correctOption_ = other.correctOption_;
reward_ = other.reward_;
result_ = other.result_;
route_ = other.route_;
timingChange_ = other.timingChange_;
appliedUI_ = other.appliedUI_;
uIDetails_ = other.uIDetails_;
seq_ = other.seq_;
playScript_ = other.playScript_;
roomId_ = other.roomId_;
createTime_ = other.createTime_;
updateTime_ = other.updateTime_;
userId_ = other.userId_;
roleId_ = other.roleId_;
selectUserList_ = other.selectUserList_.Clone();
selectRoleList_ = other.selectRoleList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectResponse Clone() {
return new SelectResponse(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
/// 选择的ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "BaseId" field.</summary>
public const int BaseIdFieldNumber = 2;
private string baseId_ = "";
/// <summary>
/// 选项表基础ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string BaseId {
get { return baseId_; }
set {
baseId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Note" field.</summary>
public const int NoteFieldNumber = 3;
private string note_ = "";
/// <summary>
/// 选项说明
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Note {
get { return note_; }
set {
note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Group" field.</summary>
public const int GroupFieldNumber = 4;
private string group_ = "";
/// <summary>
/// 选项分组
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Group {
get { return group_; }
set {
group_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UnDisplay" field.</summary>
public const int UnDisplayFieldNumber = 5;
private string unDisplay_ = "";
/// <summary>
/// 是否隐藏 1 只显示一次 2 可重复显示
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UnDisplay {
get { return unDisplay_; }
set {
unDisplay_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "ShowText" field.</summary>
public const int ShowTextFieldNumber = 6;
private string showText_ = "";
/// <summary>
/// 显示文本
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ShowText {
get { return showText_; }
set {
showText_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Icon" field.</summary>
public const int IconFieldNumber = 7;
private string icon_ = "";
/// <summary>
/// 图标
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Icon {
get { return icon_; }
set {
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Preconditions" field.</summary>
public const int PreconditionsFieldNumber = 8;
private string preconditions_ = "";
/// <summary>
/// 前置条件
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Preconditions {
get { return preconditions_; }
set {
preconditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Exclusive" field.</summary>
public const int ExclusiveFieldNumber = 9;
private string exclusive_ = "";
/// <summary>
/// 是否独占
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Exclusive {
get { return exclusive_; }
set {
exclusive_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskTime" field.</summary>
public const int TaskTimeFieldNumber = 10;
private string taskTime_ = "";
/// <summary>
/// 任务时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskTime {
get { return taskTime_; }
set {
taskTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TimeLimit" field.</summary>
public const int TimeLimitFieldNumber = 11;
private long timeLimit_;
/// <summary>
/// 时间限制
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TimeLimit {
get { return timeLimit_; }
set {
timeLimit_ = value;
}
}
/// <summary>Field number for the "NextSelect" field.</summary>
public const int NextSelectFieldNumber = 12;
private string nextSelect_ = "";
/// <summary>
/// 下一个选项
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string NextSelect {
get { return nextSelect_; }
set {
nextSelect_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskLink" field.</summary>
public const int TaskLinkFieldNumber = 13;
private string taskLink_ = "";
/// <summary>
/// 任务链接
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskLink {
get { return taskLink_; }
set {
taskLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskLinkDetails" field.</summary>
public const int TaskLinkDetailsFieldNumber = 14;
private string taskLinkDetails_ = "";
/// <summary>
/// 任务链接详情
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskLinkDetails {
get { return taskLinkDetails_; }
set {
taskLinkDetails_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CallMode" field.</summary>
public const int CallModeFieldNumber = 15;
private string callMode_ = "";
/// <summary>
/// 呼叫方式
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CallMode {
get { return callMode_; }
set {
callMode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CallRecipient" field.</summary>
public const int CallRecipientFieldNumber = 16;
private string callRecipient_ = "";
/// <summary>
/// 呼叫接收者
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CallRecipient {
get { return callRecipient_; }
set {
callRecipient_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CorrectOption" field.</summary>
public const int CorrectOptionFieldNumber = 17;
private string correctOption_ = "";
/// <summary>
/// 正确选项
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CorrectOption {
get { return correctOption_; }
set {
correctOption_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Reward" field.</summary>
public const int RewardFieldNumber = 18;
private string reward_ = "";
/// <summary>
/// 奖励
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Reward {
get { return reward_; }
set {
reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Result" field.</summary>
public const int ResultFieldNumber = 19;
private string result_ = "";
/// <summary>
/// 结果
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Result {
get { return result_; }
set {
result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Route" field.</summary>
public const int RouteFieldNumber = 20;
private string route_ = "";
/// <summary>
/// 路由
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Route {
get { return route_; }
set {
route_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TimingChange" field.</summary>
public const int TimingChangeFieldNumber = 21;
private string timingChange_ = "";
/// <summary>
/// 是否允许定时修改
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TimingChange {
get { return timingChange_; }
set {
timingChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "AppliedUI" field.</summary>
public const int AppliedUIFieldNumber = 22;
private string appliedUI_ = "";
/// <summary>
/// 是否已应用UI
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string AppliedUI {
get { return appliedUI_; }
set {
appliedUI_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UIDetails" field.</summary>
public const int UIDetailsFieldNumber = 23;
private string uIDetails_ = "";
/// <summary>
/// UI详情
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UIDetails {
get { return uIDetails_; }
set {
uIDetails_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Seq" field.</summary>
public const int SeqFieldNumber = 24;
private string seq_ = "";
/// <summary>
/// 执行时的序列帧
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Seq {
get { return seq_; }
set {
seq_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "PlayScript" field.</summary>
public const int PlayScriptFieldNumber = 25;
private string playScript_ = "";
/// <summary>
/// JSON格式的播放脚本
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PlayScript {
get { return playScript_; }
set {
playScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 26;
private string roomId_ = "";
/// <summary>
/// 房间ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CreateTime" field.</summary>
public const int CreateTimeFieldNumber = 27;
private string createTime_ = "";
/// <summary>
/// 创建时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CreateTime {
get { return createTime_; }
set {
createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UpdateTime" field.</summary>
public const int UpdateTimeFieldNumber = 28;
private string updateTime_ = "";
/// <summary>
/// 更新时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UpdateTime {
get { return updateTime_; }
set {
updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 29;
private string userId_ = "";
/// <summary>
/// 创建人ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserId {
get { return userId_; }
set {
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoleId" field.</summary>
public const int RoleIdFieldNumber = 30;
private string roleId_ = "";
/// <summary>
/// 角色ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoleId {
get { return roleId_; }
set {
roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "SelectUserList" field.</summary>
public const int SelectUserListFieldNumber = 31;
private static readonly pb::FieldCodec<global::SelectResponse.Types.UserList> _repeated_selectUserList_codec
= pb::FieldCodec.ForMessage(250, global::SelectResponse.Types.UserList.Parser);
private readonly pbc::RepeatedField<global::SelectResponse.Types.UserList> selectUserList_ = new pbc::RepeatedField<global::SelectResponse.Types.UserList>();
/// <summary>
/// 选择的用户ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::SelectResponse.Types.UserList> SelectUserList {
get { return selectUserList_; }
}
/// <summary>Field number for the "SelectRoleList" field.</summary>
public const int SelectRoleListFieldNumber = 32;
private static readonly pb::FieldCodec<string> _repeated_selectRoleList_codec
= pb::FieldCodec.ForString(258);
private readonly pbc::RepeatedField<string> selectRoleList_ = new pbc::RepeatedField<string>();
/// <summary>
/// 选择的角色ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> SelectRoleList {
get { return selectRoleList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (BaseId != other.BaseId) return false;
if (Note != other.Note) return false;
if (Group != other.Group) return false;
if (UnDisplay != other.UnDisplay) return false;
if (ShowText != other.ShowText) return false;
if (Icon != other.Icon) return false;
if (Preconditions != other.Preconditions) return false;
if (Exclusive != other.Exclusive) return false;
if (TaskTime != other.TaskTime) return false;
if (TimeLimit != other.TimeLimit) return false;
if (NextSelect != other.NextSelect) return false;
if (TaskLink != other.TaskLink) return false;
if (TaskLinkDetails != other.TaskLinkDetails) return false;
if (CallMode != other.CallMode) return false;
if (CallRecipient != other.CallRecipient) return false;
if (CorrectOption != other.CorrectOption) return false;
if (Reward != other.Reward) return false;
if (Result != other.Result) return false;
if (Route != other.Route) return false;
if (TimingChange != other.TimingChange) return false;
if (AppliedUI != other.AppliedUI) return false;
if (UIDetails != other.UIDetails) return false;
if (Seq != other.Seq) return false;
if (PlayScript != other.PlayScript) return false;
if (RoomId != other.RoomId) return false;
if (CreateTime != other.CreateTime) return false;
if (UpdateTime != other.UpdateTime) return false;
if (UserId != other.UserId) return false;
if (RoleId != other.RoleId) return false;
if(!selectUserList_.Equals(other.selectUserList_)) return false;
if(!selectRoleList_.Equals(other.selectRoleList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (BaseId.Length != 0) hash ^= BaseId.GetHashCode();
if (Note.Length != 0) hash ^= Note.GetHashCode();
if (Group.Length != 0) hash ^= Group.GetHashCode();
if (UnDisplay.Length != 0) hash ^= UnDisplay.GetHashCode();
if (ShowText.Length != 0) hash ^= ShowText.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (Preconditions.Length != 0) hash ^= Preconditions.GetHashCode();
if (Exclusive.Length != 0) hash ^= Exclusive.GetHashCode();
if (TaskTime.Length != 0) hash ^= TaskTime.GetHashCode();
if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode();
if (NextSelect.Length != 0) hash ^= NextSelect.GetHashCode();
if (TaskLink.Length != 0) hash ^= TaskLink.GetHashCode();
if (TaskLinkDetails.Length != 0) hash ^= TaskLinkDetails.GetHashCode();
if (CallMode.Length != 0) hash ^= CallMode.GetHashCode();
if (CallRecipient.Length != 0) hash ^= CallRecipient.GetHashCode();
if (CorrectOption.Length != 0) hash ^= CorrectOption.GetHashCode();
if (Reward.Length != 0) hash ^= Reward.GetHashCode();
if (Result.Length != 0) hash ^= Result.GetHashCode();
if (Route.Length != 0) hash ^= Route.GetHashCode();
if (TimingChange.Length != 0) hash ^= TimingChange.GetHashCode();
if (AppliedUI.Length != 0) hash ^= AppliedUI.GetHashCode();
if (UIDetails.Length != 0) hash ^= UIDetails.GetHashCode();
if (Seq.Length != 0) hash ^= Seq.GetHashCode();
if (PlayScript.Length != 0) hash ^= PlayScript.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode();
if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode();
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
if (RoleId.Length != 0) hash ^= RoleId.GetHashCode();
hash ^= selectUserList_.GetHashCode();
hash ^= selectRoleList_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (BaseId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(BaseId);
}
if (Note.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Note);
}
if (Group.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Group);
}
if (UnDisplay.Length != 0) {
output.WriteRawTag(42);
output.WriteString(UnDisplay);
}
if (ShowText.Length != 0) {
output.WriteRawTag(50);
output.WriteString(ShowText);
}
if (Icon.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Icon);
}
if (Preconditions.Length != 0) {
output.WriteRawTag(66);
output.WriteString(Preconditions);
}
if (Exclusive.Length != 0) {
output.WriteRawTag(74);
output.WriteString(Exclusive);
}
if (TaskTime.Length != 0) {
output.WriteRawTag(82);
output.WriteString(TaskTime);
}
if (TimeLimit != 0L) {
output.WriteRawTag(88);
output.WriteInt64(TimeLimit);
}
if (NextSelect.Length != 0) {
output.WriteRawTag(98);
output.WriteString(NextSelect);
}
if (TaskLink.Length != 0) {
output.WriteRawTag(106);
output.WriteString(TaskLink);
}
if (TaskLinkDetails.Length != 0) {
output.WriteRawTag(114);
output.WriteString(TaskLinkDetails);
}
if (CallMode.Length != 0) {
output.WriteRawTag(122);
output.WriteString(CallMode);
}
if (CallRecipient.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(CallRecipient);
}
if (CorrectOption.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(CorrectOption);
}
if (Reward.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(Reward);
}
if (Result.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(Result);
}
if (Route.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(Route);
}
if (TimingChange.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(TimingChange);
}
if (AppliedUI.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(AppliedUI);
}
if (UIDetails.Length != 0) {
output.WriteRawTag(186, 1);
output.WriteString(UIDetails);
}
if (Seq.Length != 0) {
output.WriteRawTag(194, 1);
output.WriteString(Seq);
}
if (PlayScript.Length != 0) {
output.WriteRawTag(202, 1);
output.WriteString(PlayScript);
}
if (RoomId.Length != 0) {
output.WriteRawTag(210, 1);
output.WriteString(RoomId);
}
if (CreateTime.Length != 0) {
output.WriteRawTag(218, 1);
output.WriteString(CreateTime);
}
if (UpdateTime.Length != 0) {
output.WriteRawTag(226, 1);
output.WriteString(UpdateTime);
}
if (UserId.Length != 0) {
output.WriteRawTag(234, 1);
output.WriteString(UserId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(242, 1);
output.WriteString(RoleId);
}
selectUserList_.WriteTo(output, _repeated_selectUserList_codec);
selectRoleList_.WriteTo(output, _repeated_selectRoleList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (BaseId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(BaseId);
}
if (Note.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Note);
}
if (Group.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Group);
}
if (UnDisplay.Length != 0) {
output.WriteRawTag(42);
output.WriteString(UnDisplay);
}
if (ShowText.Length != 0) {
output.WriteRawTag(50);
output.WriteString(ShowText);
}
if (Icon.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Icon);
}
if (Preconditions.Length != 0) {
output.WriteRawTag(66);
output.WriteString(Preconditions);
}
if (Exclusive.Length != 0) {
output.WriteRawTag(74);
output.WriteString(Exclusive);
}
if (TaskTime.Length != 0) {
output.WriteRawTag(82);
output.WriteString(TaskTime);
}
if (TimeLimit != 0L) {
output.WriteRawTag(88);
output.WriteInt64(TimeLimit);
}
if (NextSelect.Length != 0) {
output.WriteRawTag(98);
output.WriteString(NextSelect);
}
if (TaskLink.Length != 0) {
output.WriteRawTag(106);
output.WriteString(TaskLink);
}
if (TaskLinkDetails.Length != 0) {
output.WriteRawTag(114);
output.WriteString(TaskLinkDetails);
}
if (CallMode.Length != 0) {
output.WriteRawTag(122);
output.WriteString(CallMode);
}
if (CallRecipient.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(CallRecipient);
}
if (CorrectOption.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(CorrectOption);
}
if (Reward.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(Reward);
}
if (Result.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(Result);
}
if (Route.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(Route);
}
if (TimingChange.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(TimingChange);
}
if (AppliedUI.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(AppliedUI);
}
if (UIDetails.Length != 0) {
output.WriteRawTag(186, 1);
output.WriteString(UIDetails);
}
if (Seq.Length != 0) {
output.WriteRawTag(194, 1);
output.WriteString(Seq);
}
if (PlayScript.Length != 0) {
output.WriteRawTag(202, 1);
output.WriteString(PlayScript);
}
if (RoomId.Length != 0) {
output.WriteRawTag(210, 1);
output.WriteString(RoomId);
}
if (CreateTime.Length != 0) {
output.WriteRawTag(218, 1);
output.WriteString(CreateTime);
}
if (UpdateTime.Length != 0) {
output.WriteRawTag(226, 1);
output.WriteString(UpdateTime);
}
if (UserId.Length != 0) {
output.WriteRawTag(234, 1);
output.WriteString(UserId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(242, 1);
output.WriteString(RoleId);
}
selectUserList_.WriteTo(ref output, _repeated_selectUserList_codec);
selectRoleList_.WriteTo(ref output, _repeated_selectRoleList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (BaseId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseId);
}
if (Note.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Note);
}
if (Group.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Group);
}
if (UnDisplay.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UnDisplay);
}
if (ShowText.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ShowText);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (Preconditions.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Preconditions);
}
if (Exclusive.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Exclusive);
}
if (TaskTime.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskTime);
}
if (TimeLimit != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit);
}
if (NextSelect.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(NextSelect);
}
if (TaskLink.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskLink);
}
if (TaskLinkDetails.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskLinkDetails);
}
if (CallMode.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CallMode);
}
if (CallRecipient.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(CallRecipient);
}
if (CorrectOption.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(CorrectOption);
}
if (Reward.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Reward);
}
if (Result.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Result);
}
if (Route.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Route);
}
if (TimingChange.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(TimingChange);
}
if (AppliedUI.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(AppliedUI);
}
if (UIDetails.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(UIDetails);
}
if (Seq.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Seq);
}
if (PlayScript.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(PlayScript);
}
if (RoomId.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (CreateTime.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(CreateTime);
}
if (UpdateTime.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime);
}
if (UserId.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(UserId);
}
if (RoleId.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(RoleId);
}
size += selectUserList_.CalculateSize(_repeated_selectUserList_codec);
size += selectRoleList_.CalculateSize(_repeated_selectRoleList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectResponse other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.BaseId.Length != 0) {
BaseId = other.BaseId;
}
if (other.Note.Length != 0) {
Note = other.Note;
}
if (other.Group.Length != 0) {
Group = other.Group;
}
if (other.UnDisplay.Length != 0) {
UnDisplay = other.UnDisplay;
}
if (other.ShowText.Length != 0) {
ShowText = other.ShowText;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.Preconditions.Length != 0) {
Preconditions = other.Preconditions;
}
if (other.Exclusive.Length != 0) {
Exclusive = other.Exclusive;
}
if (other.TaskTime.Length != 0) {
TaskTime = other.TaskTime;
}
if (other.TimeLimit != 0L) {
TimeLimit = other.TimeLimit;
}
if (other.NextSelect.Length != 0) {
NextSelect = other.NextSelect;
}
if (other.TaskLink.Length != 0) {
TaskLink = other.TaskLink;
}
if (other.TaskLinkDetails.Length != 0) {
TaskLinkDetails = other.TaskLinkDetails;
}
if (other.CallMode.Length != 0) {
CallMode = other.CallMode;
}
if (other.CallRecipient.Length != 0) {
CallRecipient = other.CallRecipient;
}
if (other.CorrectOption.Length != 0) {
CorrectOption = other.CorrectOption;
}
if (other.Reward.Length != 0) {
Reward = other.Reward;
}
if (other.Result.Length != 0) {
Result = other.Result;
}
if (other.Route.Length != 0) {
Route = other.Route;
}
if (other.TimingChange.Length != 0) {
TimingChange = other.TimingChange;
}
if (other.AppliedUI.Length != 0) {
AppliedUI = other.AppliedUI;
}
if (other.UIDetails.Length != 0) {
UIDetails = other.UIDetails;
}
if (other.Seq.Length != 0) {
Seq = other.Seq;
}
if (other.PlayScript.Length != 0) {
PlayScript = other.PlayScript;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
if (other.CreateTime.Length != 0) {
CreateTime = other.CreateTime;
}
if (other.UpdateTime.Length != 0) {
UpdateTime = other.UpdateTime;
}
if (other.UserId.Length != 0) {
UserId = other.UserId;
}
if (other.RoleId.Length != 0) {
RoleId = other.RoleId;
}
selectUserList_.Add(other.selectUserList_);
selectRoleList_.Add(other.selectRoleList_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
BaseId = input.ReadString();
break;
}
case 26: {
Note = input.ReadString();
break;
}
case 34: {
Group = input.ReadString();
break;
}
case 42: {
UnDisplay = input.ReadString();
break;
}
case 50: {
ShowText = input.ReadString();
break;
}
case 58: {
Icon = input.ReadString();
break;
}
case 66: {
Preconditions = input.ReadString();
break;
}
case 74: {
Exclusive = input.ReadString();
break;
}
case 82: {
TaskTime = input.ReadString();
break;
}
case 88: {
TimeLimit = input.ReadInt64();
break;
}
case 98: {
NextSelect = input.ReadString();
break;
}
case 106: {
TaskLink = input.ReadString();
break;
}
case 114: {
TaskLinkDetails = input.ReadString();
break;
}
case 122: {
CallMode = input.ReadString();
break;
}
case 130: {
CallRecipient = input.ReadString();
break;
}
case 138: {
CorrectOption = input.ReadString();
break;
}
case 146: {
Reward = input.ReadString();
break;
}
case 154: {
Result = input.ReadString();
break;
}
case 162: {
Route = input.ReadString();
break;
}
case 170: {
TimingChange = input.ReadString();
break;
}
case 178: {
AppliedUI = input.ReadString();
break;
}
case 186: {
UIDetails = input.ReadString();
break;
}
case 194: {
Seq = input.ReadString();
break;
}
case 202: {
PlayScript = input.ReadString();
break;
}
case 210: {
RoomId = input.ReadString();
break;
}
case 218: {
CreateTime = input.ReadString();
break;
}
case 226: {
UpdateTime = input.ReadString();
break;
}
case 234: {
UserId = input.ReadString();
break;
}
case 242: {
RoleId = input.ReadString();
break;
}
case 250: {
selectUserList_.AddEntriesFrom(input, _repeated_selectUserList_codec);
break;
}
case 258: {
selectRoleList_.AddEntriesFrom(input, _repeated_selectRoleList_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
BaseId = input.ReadString();
break;
}
case 26: {
Note = input.ReadString();
break;
}
case 34: {
Group = input.ReadString();
break;
}
case 42: {
UnDisplay = input.ReadString();
break;
}
case 50: {
ShowText = input.ReadString();
break;
}
case 58: {
Icon = input.ReadString();
break;
}
case 66: {
Preconditions = input.ReadString();
break;
}
case 74: {
Exclusive = input.ReadString();
break;
}
case 82: {
TaskTime = input.ReadString();
break;
}
case 88: {
TimeLimit = input.ReadInt64();
break;
}
case 98: {
NextSelect = input.ReadString();
break;
}
case 106: {
TaskLink = input.ReadString();
break;
}
case 114: {
TaskLinkDetails = input.ReadString();
break;
}
case 122: {
CallMode = input.ReadString();
break;
}
case 130: {
CallRecipient = input.ReadString();
break;
}
case 138: {
CorrectOption = input.ReadString();
break;
}
case 146: {
Reward = input.ReadString();
break;
}
case 154: {
Result = input.ReadString();
break;
}
case 162: {
Route = input.ReadString();
break;
}
case 170: {
TimingChange = input.ReadString();
break;
}
case 178: {
AppliedUI = input.ReadString();
break;
}
case 186: {
UIDetails = input.ReadString();
break;
}
case 194: {
Seq = input.ReadString();
break;
}
case 202: {
PlayScript = input.ReadString();
break;
}
case 210: {
RoomId = input.ReadString();
break;
}
case 218: {
CreateTime = input.ReadString();
break;
}
case 226: {
UpdateTime = input.ReadString();
break;
}
case 234: {
UserId = input.ReadString();
break;
}
case 242: {
RoleId = input.ReadString();
break;
}
case 250: {
selectUserList_.AddEntriesFrom(ref input, _repeated_selectUserList_codec);
break;
}
case 258: {
selectRoleList_.AddEntriesFrom(ref input, _repeated_selectRoleList_codec);
break;
}
}
}
}
#endif
#region Nested types
/// <summary>Container for nested types declared in the SelectResponse message type.</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserList : pb::IMessage<UserList>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserList> _parser = new pb::MessageParser<UserList>(() => new UserList());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserList> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::SelectResponse.Descriptor.NestedTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserList() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserList(UserList other) : this() {
userId_ = other.userId_;
roleId_ = other.roleId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserList Clone() {
return new UserList(this);
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 1;
private string userId_ = "";
/// <summary>
/// 用户ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserId {
get { return userId_; }
set {
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoleId" field.</summary>
public const int RoleIdFieldNumber = 2;
private string roleId_ = "";
/// <summary>
/// 角色ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoleId {
get { return roleId_; }
set {
roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserList);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserList other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (RoleId != other.RoleId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
if (RoleId.Length != 0) hash ^= RoleId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (UserId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RoleId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (UserId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserId);
}
if (RoleId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RoleId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (UserId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
}
if (RoleId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UserList other) {
if (other == null) {
return;
}
if (other.UserId.Length != 0) {
UserId = other.UserId;
}
if (other.RoleId.Length != 0) {
RoleId = other.RoleId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
UserId = input.ReadString();
break;
}
case 18: {
RoleId = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
UserId = input.ReadString();
break;
}
case 18: {
RoleId = input.ReadString();
break;
}
}
}
}
#endif
}
}
#endregion
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectHistoryRequest : pb::IMessage<SelectHistoryRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectHistoryRequest> _parser = new pb::MessageParser<SelectHistoryRequest>(() => new SelectHistoryRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectHistoryRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::SelectReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectHistoryRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectHistoryRequest(SelectHistoryRequest other) : this() {
selectId_ = other.selectId_;
userId_ = other.userId_;
roomId_ = other.roomId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectHistoryRequest Clone() {
return new SelectHistoryRequest(this);
}
/// <summary>Field number for the "SelectId" field.</summary>
public const int SelectIdFieldNumber = 1;
private string selectId_ = "";
/// <summary>
/// 选择的ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SelectId {
get { return selectId_; }
set {
selectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 2;
private string userId_ = "";
/// <summary>
/// 当前操作用户ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserId {
get { return userId_; }
set {
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 3;
private string roomId_ = "";
/// <summary>
/// 房间ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectHistoryRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectHistoryRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SelectId != other.SelectId) return false;
if (UserId != other.UserId) return false;
if (RoomId != other.RoomId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SelectId.Length != 0) hash ^= SelectId.GetHashCode();
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SelectId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SelectId);
}
if (UserId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(UserId);
}
if (RoomId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(RoomId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SelectId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SelectId);
}
if (UserId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(UserId);
}
if (RoomId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(RoomId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SelectId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectId);
}
if (UserId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
}
if (RoomId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectHistoryRequest other) {
if (other == null) {
return;
}
if (other.SelectId.Length != 0) {
SelectId = other.SelectId;
}
if (other.UserId.Length != 0) {
UserId = other.UserId;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SelectId = input.ReadString();
break;
}
case 18: {
UserId = input.ReadString();
break;
}
case 26: {
RoomId = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SelectId = input.ReadString();
break;
}
case 18: {
UserId = input.ReadString();
break;
}
case 26: {
RoomId = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectHistoryResponse : pb::IMessage<SelectHistoryResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectHistoryResponse> _parser = new pb::MessageParser<SelectHistoryResponse>(() => new SelectHistoryResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectHistoryResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::SelectReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectHistoryResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectHistoryResponse(SelectHistoryResponse other) : this() {
selects_ = other.selects_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectHistoryResponse Clone() {
return new SelectHistoryResponse(this);
}
/// <summary>Field number for the "Selects" field.</summary>
public const int SelectsFieldNumber = 1;
private static readonly pb::FieldCodec<global::SelectResponse> _repeated_selects_codec
= pb::FieldCodec.ForMessage(10, global::SelectResponse.Parser);
private readonly pbc::RepeatedField<global::SelectResponse> selects_ = new pbc::RepeatedField<global::SelectResponse>();
/// <summary>
/// 选择历史列表
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::SelectResponse> Selects {
get { return selects_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectHistoryResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectHistoryResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!selects_.Equals(other.selects_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= selects_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
selects_.WriteTo(output, _repeated_selects_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
selects_.WriteTo(ref output, _repeated_selects_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
size += selects_.CalculateSize(_repeated_selects_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectHistoryResponse other) {
if (other == null) {
return;
}
selects_.Add(other.selects_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
selects_.AddEntriesFrom(input, _repeated_selects_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
selects_.AddEntriesFrom(ref input, _repeated_selects_codec);
break;
}
}
}
}
#endif
}
#endregion
#endregion Designer generated code