//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Protos/OperateInfoGreer.proto
//
#pragma warning disable 1591, 0612, 3021
#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;
/// Holder for reflection information generated from Protos/OperateInfoGreer.proto
public static partial class OperateInfoGreerReflection {
#region Descriptor
/// File descriptor for Protos/OperateInfoGreer.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static OperateInfoGreerReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1Qcm90b3MvT3BlcmF0ZUluZm9HcmVlci5wcm90byIxCgxMb2dpblJlcXVl",
"c3QSDwoHQWNjb3VudBgBIAEoCRIQCghQYXNzd29yZBgCIAEoCSIwCg1Mb2dp",
"blJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIPCgdtZXNzYWdlGAIgASgJIjwK",
"E1N0dWRlbnRMb2dpblJlcXVlc3QSEwoLcGhvbmVOdW1iZXIYASABKAkSEAoI",
"cGFzc3dvcmQYAiABKAkiWgoUU3R1ZGVudExvZ2luUmVzcG9uc2USDgoGcmVz",
"dWx0GAEgASgIEg8KB21lc3NhZ2UYAiABKAkSEwoLcGhvbmVOdW1iZXIYAyAB",
"KAkSDAoEbmFtZRgEIAEoCSIrChRTdHVkZW50TG9nb3V0UmVxdWVzdBITCgtw",
"aG9uZU51bWJlchgBIAEoCSI4ChVTdHVkZW50TG9nb3V0UmVzcG9uc2USDgoG",
"cmVzdWx0GAEgASgIEg8KB21lc3NhZ2UYAiABKAkiPAoWU3R1ZGVudFJlZ2lz",
"dGVyUmVxdWVzdBIiCgxzdHVkZW50SW5mb3MYASADKAsyDC5TdHVkZW50SW5m",
"byJkCgtTdHVkZW50SW5mbxIMCgRuYW1lGAEgASgJEg0KBW1ham9yGAIgASgJ",
"EhMKC3Bob25lTnVtYmVyGAMgASgJEhAKCHBhc3N3b3JkGAQgASgJEhEKCWNs",
"YXNzTmFtZRgFIAEoCSJqChdTdHVkZW50UmVnaXN0ZXJSZXNwb25zZRIOCgZy",
"ZXN1bHQYASABKAUSDwoHbWVzc2FnZRgCIAEoCRIuChJTdHVkZW50SW5mb1Jl",
"c3VsdHMYAyADKAsyEi5TdHVkZW50SW5mb1Jlc3VsdCJaChFTdHVkZW50SW5m",
"b1Jlc3VsdBITCgtwaG9uZU51bWJlchgBIAEoCRIMCgRuYW1lGAIgASgJEg8K",
"B3N1Y2Nlc3MYAyABKAgSEQoJZGV0YWlsTXNnGAQgASgJIooBCg1TZWFyY2hS",
"ZXF1ZXN0EgwKBG5hbWUYASABKAkSDQoFbWFqb3IYAiABKAkSEgoKY291cnNl",
"TmFtZRgDIAEoCRIRCgljbGFzc05hbWUYBCABKAkSEwoLcGhvbmVOdW1iZXIY",
"BSABKAkSEQoJc3RhcnR0aW1lGAYgASgDEg0KBW9yZGVyGAcgASgFIlkKElNl",
"YXJjaEluZm9SZXNwb25zZRIOCgZyZXN1bHQYASABKAgSDwoHbWVzc2FnZRgC",
"IAEoCRIiCgxzdHVkZW50SW5mb3MYAyADKAsyDC5TdHVkZW50SW5mbyJcChNT",
"ZWFyY2hTY29yZVJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIPCgdtZXNzYWdl",
"GAIgASgJEiQKDXN0dWRlbnRTY29yZXMYAyADKAsyDS5TdHVkZW50U2NvcmUi",
"nQEKDFN0dWRlbnRTY29yZRIMCgRuYW1lGAEgASgJEg0KBW1ham9yGAIgASgJ",
"EhIKCmNvdXJzZU5hbWUYAyABKAkSEQoJY2xhc3NOYW1lGAQgASgJEhMKC3Bo",
"b25lTnVtYmVyGAUgASgJEhEKCXN0YXJ0dGltZRgGIAEoAxISCgphbnN3ZXJ0",
"aW1lGAcgASgFEg0KBXNjb3JlGAggASgCIlkKElNlYXJjaFRpbWVSZXNwb25z",
"ZRIOCgZyZXN1bHQYASABKAgSDwoHbWVzc2FnZRgCIAEoCRIiCgxzdHVkZW50",
"VGltZXMYAyADKAsyDC5TdHVkZW50VGltZSKgAQoLU3R1ZGVudFRpbWUSDAoE",
"bmFtZRgBIAEoCRINCgVtYWpvchgCIAEoCRISCgpjb3Vyc2VOYW1lGAMgASgJ",
"EhMKC3Bob25lTnVtYmVyGAQgASgJEhEKCWNsYXNzTmFtZRgFIAEoCRIRCglz",
"dGFydHRpbWUYBiABKAMSEgoKYW5zd2VydGltZRgHIAEoBRIRCgl0b3RhbHRp",
"bWUYCCABKAUiMgoPT3BlcmF0ZVJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIP",
"CgdtZXNzYWdlGAIgASgJIjgKEkRlbGV0ZUJhdGNoUmVxdWVzdBIiCgxzdHVk",
"ZW50SW5mb3MYASADKAsyDC5TdHVkZW50SW5mbyJaChNEZWxldGVCYXRjaFJl",
"c3BvbnNlEg4KBnJlc3VsdBgBIAEoBRIPCgdtZXNzYWdlGAIgASgJEiIKDHN0",
"dWRlbnRJbmZvcxgDIAMoCzIMLlN0dWRlbnRJbmZvIhIKEFNlYXJjaEFsbFJl",
"cXVlc3QiFAoSTWFqb3JzSW5mb3NSZXF1ZXN0IlYKE01ham9yc0luZm9zUmVz",
"cG9uc2USDgoGcmVzdWx0GAEgASgIEg8KB21lc3NhZ2UYAiABKAkSHgoKbWFq",
"b3JJbmZvcxgDIAMoCzIKLk1ham9ySW5mbyIqCglNYWpvckluZm8SCgoCaWQY",
"ASABKAUSEQoJbWFqb3JOYW1lGAIgASgJIhQKEkNvdXJzZUluZm9zUmVxdWVz",
"dCJYChNDb3Vyc2VJbmZvc1Jlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIPCgdt",
"ZXNzYWdlGAIgASgJEiAKC2NvdXJzZUluZm9zGAMgAygLMgsuQ291cnNlSW5m",
"byIsCgpDb3Vyc2VJbmZvEgoKAmlkGAEgASgFEhIKCmNvdXJzZU5hbWUYAiAB",
"KAkiEwoRQ2xhc3NJbmZvc1JlcXVlc3QiVQoSQ2xhc3NJbmZvc1Jlc3BvbnNl",
"Eg4KBnJlc3VsdBgBIAEoCBIPCgdtZXNzYWdlGAIgASgJEh4KCmNsYXNzSW5m",
"b3MYAyADKAsyCi5DbGFzc0luZm8iKgoJQ2xhc3NJbmZvEgoKAmlkGAEgASgF",
"EhEKCWNsYXNzTmFtZRgCIAEoCTKZCQoHT3BlcmF0ZRIoCgVMb2dpbhINLkxv",
"Z2luUmVxdWVzdBoOLkxvZ2luUmVzcG9uc2UiABI9CgxTdHVkZW50TG9naW4S",
"FC5TdHVkZW50TG9naW5SZXF1ZXN0GhUuU3R1ZGVudExvZ2luUmVzcG9uc2Ui",
"ABJACg1TdHVkZW50TG9nb3V0EhUuU3R1ZGVudExvZ291dFJlcXVlc3QaFi5T",
"dHVkZW50TG9nb3V0UmVzcG9uc2UiABJAChRBbGxTdHVkZW50SW5mb1NlYXJj",
"aBIRLlNlYXJjaEFsbFJlcXVlc3QaEy5TZWFyY2hJbmZvUmVzcG9uc2UiABJC",
"ChVBbGxTdHVkZW50U2NvcmVTZWFyY2gSES5TZWFyY2hBbGxSZXF1ZXN0GhQu",
"U2VhcmNoU2NvcmVSZXNwb25zZSIAEkAKFEFsbFN0dWRlbnRUaW1lU2VhcmNo",
"EhEuU2VhcmNoQWxsUmVxdWVzdBoTLlNlYXJjaFRpbWVSZXNwb25zZSIAEjoK",
"EVN0dWRlbnRJbmZvU2VhcmNoEg4uU2VhcmNoUmVxdWVzdBoTLlNlYXJjaElu",
"Zm9SZXNwb25zZSIAEjwKElN0dWRlbnRTY29yZVNlYXJjaBIOLlNlYXJjaFJl",
"cXVlc3QaFC5TZWFyY2hTY29yZVJlc3BvbnNlIgASOgoRU3R1ZGVudFRpbWVT",
"ZWFyY2gSDi5TZWFyY2hSZXF1ZXN0GhMuU2VhcmNoVGltZVJlc3BvbnNlIgAS",
"RgoPU3R1ZGVudFJlZ2lzdGVyEhcuU3R1ZGVudFJlZ2lzdGVyUmVxdWVzdBoY",
"LlN0dWRlbnRSZWdpc3RlclJlc3BvbnNlIgASRQoWRGVsZXRlQmF0Y2hTdHVk",
"ZW50SW5mbxITLkRlbGV0ZUJhdGNoUmVxdWVzdBoULkRlbGV0ZUJhdGNoUmVz",
"cG9uc2UiABI1ChFTdHVkZW50SW5mb1VwZGF0ZRIMLlN0dWRlbnRJbmZvGhAu",
"T3BlcmF0ZVJlc3BvbnNlIgASNgoSVXNlckF1dGhlbnRpY2F0aW9uEgwuU3R1",
"ZGVudEluZm8aEC5PcGVyYXRlUmVzcG9uc2UiABI8ChBTdHVkZW50UHdkVXBk",
"YXRlEhQuU3R1ZGVudExvZ2luUmVxdWVzdBoQLk9wZXJhdGVSZXNwb25zZSIA",
"EjQKD1N0dWRlbnRTY29yZUFkZBINLlN0dWRlbnRTY29yZRoQLk9wZXJhdGVS",
"ZXNwb25zZSIAEjIKDlN0dWRlbnRUaW1lQWRkEgwuU3R1ZGVudFRpbWUaEC5P",
"cGVyYXRlUmVzcG9uc2UiABJAChFHZXRBbGxNYWpvcnNJbmZvcxITLk1ham9y",
"c0luZm9zUmVxdWVzdBoULk1ham9yc0luZm9zUmVzcG9uc2UiABJAChFHZXRB",
"bGxDb3Vyc2VJbmZvcxITLkNvdXJzZUluZm9zUmVxdWVzdBoULkNvdXJzZUlu",
"Zm9zUmVzcG9uc2UiABI7ChBHZXRBbGxDbGFzc0luZm9zEhIuQ2xhc3NJbmZv",
"c1JlcXVlc3QaEy5DbGFzc0luZm9zUmVzcG9uc2ViBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::LoginRequest), global::LoginRequest.Parser, new[]{ "Account", "Password" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::LoginResponse), global::LoginResponse.Parser, new[]{ "Result", "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentLoginRequest), global::StudentLoginRequest.Parser, new[]{ "PhoneNumber", "Password" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentLoginResponse), global::StudentLoginResponse.Parser, new[]{ "Result", "Message", "PhoneNumber", "Name" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentLogoutRequest), global::StudentLogoutRequest.Parser, new[]{ "PhoneNumber" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentLogoutResponse), global::StudentLogoutResponse.Parser, new[]{ "Result", "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentRegisterRequest), global::StudentRegisterRequest.Parser, new[]{ "StudentInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentInfo), global::StudentInfo.Parser, new[]{ "Name", "Major", "PhoneNumber", "Password", "ClassName" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentRegisterResponse), global::StudentRegisterResponse.Parser, new[]{ "Result", "Message", "StudentInfoResults" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentInfoResult), global::StudentInfoResult.Parser, new[]{ "PhoneNumber", "Name", "Success", "DetailMsg" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SearchRequest), global::SearchRequest.Parser, new[]{ "Name", "Major", "CourseName", "ClassName", "PhoneNumber", "Starttime", "Order" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SearchInfoResponse), global::SearchInfoResponse.Parser, new[]{ "Result", "Message", "StudentInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SearchScoreResponse), global::SearchScoreResponse.Parser, new[]{ "Result", "Message", "StudentScores" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentScore), global::StudentScore.Parser, new[]{ "Name", "Major", "CourseName", "ClassName", "PhoneNumber", "Starttime", "Answertime", "Score" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SearchTimeResponse), global::SearchTimeResponse.Parser, new[]{ "Result", "Message", "StudentTimes" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::StudentTime), global::StudentTime.Parser, new[]{ "Name", "Major", "CourseName", "PhoneNumber", "ClassName", "Starttime", "Answertime", "Totaltime" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::OperateResponse), global::OperateResponse.Parser, new[]{ "Result", "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::DeleteBatchRequest), global::DeleteBatchRequest.Parser, new[]{ "StudentInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::DeleteBatchResponse), global::DeleteBatchResponse.Parser, new[]{ "Result", "Message", "StudentInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::SearchAllRequest), global::SearchAllRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MajorsInfosRequest), global::MajorsInfosRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MajorsInfosResponse), global::MajorsInfosResponse.Parser, new[]{ "Result", "Message", "MajorInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MajorInfo), global::MajorInfo.Parser, new[]{ "Id", "MajorName" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::CourseInfosRequest), global::CourseInfosRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::CourseInfosResponse), global::CourseInfosResponse.Parser, new[]{ "Result", "Message", "CourseInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::CourseInfo), global::CourseInfo.Parser, new[]{ "Id", "CourseName" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ClassInfosRequest), global::ClassInfosRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ClassInfosResponse), global::ClassInfosResponse.Parser, new[]{ "Result", "Message", "ClassInfos" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ClassInfo), global::ClassInfo.Parser, new[]{ "Id", "ClassName" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class LoginRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LoginRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LoginRequest(LoginRequest other) : this() {
account_ = other.account_;
password_ = other.password_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LoginRequest Clone() {
return new LoginRequest(this);
}
/// Field number for the "Account" field.
public const int AccountFieldNumber = 1;
private string account_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Account {
get { return account_; }
set {
account_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "Password" field.
public const int PasswordFieldNumber = 2;
private string password_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Password {
get { return password_; }
set {
password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as LoginRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(LoginRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Account != other.Account) return false;
if (Password != other.Password) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Account.Length != 0) hash ^= Account.GetHashCode();
if (Password.Length != 0) hash ^= Password.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Account.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Account);
}
if (Password.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Password);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Account.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Account);
}
if (Password.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Password);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Account.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Account);
}
if (Password.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(LoginRequest other) {
if (other == null) {
return;
}
if (other.Account.Length != 0) {
Account = other.Account;
}
if (other.Password.Length != 0) {
Password = other.Password;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Account = input.ReadString();
break;
}
case 18: {
Password = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Account = input.ReadString();
break;
}
case 18: {
Password = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class LoginResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LoginResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LoginResponse(LoginResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LoginResponse Clone() {
return new LoginResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as LoginResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(LoginResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(LoginResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class StudentLoginRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentLoginRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLoginRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLoginRequest(StudentLoginRequest other) : this() {
phoneNumber_ = other.phoneNumber_;
password_ = other.password_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLoginRequest Clone() {
return new StudentLoginRequest(this);
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 1;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "password" field.
public const int PasswordFieldNumber = 2;
private string password_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Password {
get { return password_; }
set {
password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentLoginRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentLoginRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PhoneNumber != other.PhoneNumber) return false;
if (Password != other.Password) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (Password.Length != 0) hash ^= Password.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (PhoneNumber.Length != 0) {
output.WriteRawTag(10);
output.WriteString(PhoneNumber);
}
if (Password.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Password);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (PhoneNumber.Length != 0) {
output.WriteRawTag(10);
output.WriteString(PhoneNumber);
}
if (Password.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Password);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (Password.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentLoginRequest other) {
if (other == null) {
return;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.Password.Length != 0) {
Password = other.Password;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
PhoneNumber = input.ReadString();
break;
}
case 18: {
Password = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
PhoneNumber = input.ReadString();
break;
}
case 18: {
Password = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class StudentLoginResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentLoginResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLoginResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLoginResponse(StudentLoginResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
phoneNumber_ = other.phoneNumber_;
name_ = other.name_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLoginResponse Clone() {
return new StudentLoginResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 3;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 4;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentLoginResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentLoginResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if (PhoneNumber != other.PhoneNumber) return false;
if (Name != other.Name) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PhoneNumber);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PhoneNumber);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentLoginResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
PhoneNumber = input.ReadString();
break;
}
case 34: {
Name = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
PhoneNumber = input.ReadString();
break;
}
case 34: {
Name = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class StudentLogoutRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentLogoutRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLogoutRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLogoutRequest(StudentLogoutRequest other) : this() {
phoneNumber_ = other.phoneNumber_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLogoutRequest Clone() {
return new StudentLogoutRequest(this);
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 1;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentLogoutRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentLogoutRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PhoneNumber != other.PhoneNumber) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (PhoneNumber.Length != 0) {
output.WriteRawTag(10);
output.WriteString(PhoneNumber);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (PhoneNumber.Length != 0) {
output.WriteRawTag(10);
output.WriteString(PhoneNumber);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentLogoutRequest other) {
if (other == null) {
return;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
PhoneNumber = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
PhoneNumber = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class StudentLogoutResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentLogoutResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLogoutResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLogoutResponse(StudentLogoutResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentLogoutResponse Clone() {
return new StudentLogoutResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentLogoutResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentLogoutResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentLogoutResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class StudentRegisterRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentRegisterRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentRegisterRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentRegisterRequest(StudentRegisterRequest other) : this() {
studentInfos_ = other.studentInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentRegisterRequest Clone() {
return new StudentRegisterRequest(this);
}
/// Field number for the "studentInfos" field.
public const int StudentInfosFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_studentInfos_codec
= pb::FieldCodec.ForMessage(10, global::StudentInfo.Parser);
private readonly pbc::RepeatedField studentInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentInfos {
get { return studentInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentRegisterRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentRegisterRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!studentInfos_.Equals(other.studentInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= studentInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentRegisterRequest other) {
if (other == null) {
return;
}
studentInfos_.Add(other.studentInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class StudentInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentInfo(StudentInfo other) : this() {
name_ = other.name_;
major_ = other.major_;
phoneNumber_ = other.phoneNumber_;
password_ = other.password_;
className_ = other.className_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentInfo Clone() {
return new StudentInfo(this);
}
/// Field number for the "name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "major" field.
public const int MajorFieldNumber = 2;
private string major_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Major {
get { return major_; }
set {
major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 3;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "password" field.
public const int PasswordFieldNumber = 4;
private string password_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Password {
get { return password_; }
set {
password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "className" field.
public const int ClassNameFieldNumber = 5;
private string className_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ClassName {
get { return className_; }
set {
className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Major != other.Major) return false;
if (PhoneNumber != other.PhoneNumber) return false;
if (Password != other.Password) return false;
if (ClassName != other.ClassName) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Major.Length != 0) hash ^= Major.GetHashCode();
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (Password.Length != 0) hash ^= Password.GetHashCode();
if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PhoneNumber);
}
if (Password.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Password);
}
if (ClassName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(ClassName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PhoneNumber);
}
if (Password.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Password);
}
if (ClassName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(ClassName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Major.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
}
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (Password.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
}
if (ClassName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentInfo other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Major.Length != 0) {
Major = other.Major;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.Password.Length != 0) {
Password = other.Password;
}
if (other.ClassName.Length != 0) {
ClassName = other.ClassName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
PhoneNumber = input.ReadString();
break;
}
case 34: {
Password = input.ReadString();
break;
}
case 42: {
ClassName = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
PhoneNumber = input.ReadString();
break;
}
case 34: {
Password = input.ReadString();
break;
}
case 42: {
ClassName = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class StudentRegisterResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentRegisterResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentRegisterResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentRegisterResponse(StudentRegisterResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
studentInfoResults_ = other.studentInfoResults_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentRegisterResponse Clone() {
return new StudentRegisterResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private int result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "StudentInfoResults" field.
public const int StudentInfoResultsFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_studentInfoResults_codec
= pb::FieldCodec.ForMessage(26, global::StudentInfoResult.Parser);
private readonly pbc::RepeatedField studentInfoResults_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentInfoResults {
get { return studentInfoResults_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentRegisterResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentRegisterResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!studentInfoResults_.Equals(other.studentInfoResults_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != 0) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= studentInfoResults_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != 0) {
output.WriteRawTag(8);
output.WriteInt32(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentInfoResults_.WriteTo(output, _repeated_studentInfoResults_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != 0) {
output.WriteRawTag(8);
output.WriteInt32(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentInfoResults_.WriteTo(ref output, _repeated_studentInfoResults_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Result);
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += studentInfoResults_.CalculateSize(_repeated_studentInfoResults_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentRegisterResponse other) {
if (other == null) {
return;
}
if (other.Result != 0) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
studentInfoResults_.Add(other.studentInfoResults_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadInt32();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentInfoResults_.AddEntriesFrom(input, _repeated_studentInfoResults_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadInt32();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentInfoResults_.AddEntriesFrom(ref input, _repeated_studentInfoResults_codec);
break;
}
}
}
}
#endif
}
public sealed partial class StudentInfoResult : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentInfoResult());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentInfoResult() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentInfoResult(StudentInfoResult other) : this() {
phoneNumber_ = other.phoneNumber_;
name_ = other.name_;
success_ = other.success_;
detailMsg_ = other.detailMsg_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentInfoResult Clone() {
return new StudentInfoResult(this);
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 1;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 2;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "success" field.
public const int SuccessFieldNumber = 3;
private bool success_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Success {
get { return success_; }
set {
success_ = value;
}
}
/// Field number for the "detailMsg" field.
public const int DetailMsgFieldNumber = 4;
private string detailMsg_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string DetailMsg {
get { return detailMsg_; }
set {
detailMsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentInfoResult);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentInfoResult other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PhoneNumber != other.PhoneNumber) return false;
if (Name != other.Name) return false;
if (Success != other.Success) return false;
if (DetailMsg != other.DetailMsg) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Success != false) hash ^= Success.GetHashCode();
if (DetailMsg.Length != 0) hash ^= DetailMsg.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (PhoneNumber.Length != 0) {
output.WriteRawTag(10);
output.WriteString(PhoneNumber);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (Success != false) {
output.WriteRawTag(24);
output.WriteBool(Success);
}
if (DetailMsg.Length != 0) {
output.WriteRawTag(34);
output.WriteString(DetailMsg);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (PhoneNumber.Length != 0) {
output.WriteRawTag(10);
output.WriteString(PhoneNumber);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (Success != false) {
output.WriteRawTag(24);
output.WriteBool(Success);
}
if (DetailMsg.Length != 0) {
output.WriteRawTag(34);
output.WriteString(DetailMsg);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Success != false) {
size += 1 + 1;
}
if (DetailMsg.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DetailMsg);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentInfoResult other) {
if (other == null) {
return;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Success != false) {
Success = other.Success;
}
if (other.DetailMsg.Length != 0) {
DetailMsg = other.DetailMsg;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
PhoneNumber = input.ReadString();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 24: {
Success = input.ReadBool();
break;
}
case 34: {
DetailMsg = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
PhoneNumber = input.ReadString();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 24: {
Success = input.ReadBool();
break;
}
case 34: {
DetailMsg = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class SearchRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchRequest(SearchRequest other) : this() {
name_ = other.name_;
major_ = other.major_;
courseName_ = other.courseName_;
className_ = other.className_;
phoneNumber_ = other.phoneNumber_;
starttime_ = other.starttime_;
order_ = other.order_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchRequest Clone() {
return new SearchRequest(this);
}
/// Field number for the "name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "major" field.
public const int MajorFieldNumber = 2;
private string major_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Major {
get { return major_; }
set {
major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "courseName" field.
public const int CourseNameFieldNumber = 3;
private string courseName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string CourseName {
get { return courseName_; }
set {
courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "className" field.
public const int ClassNameFieldNumber = 4;
private string className_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ClassName {
get { return className_; }
set {
className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 5;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "starttime" field.
public const int StarttimeFieldNumber = 6;
private long starttime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Starttime {
get { return starttime_; }
set {
starttime_ = value;
}
}
/// Field number for the "order" field.
public const int OrderFieldNumber = 7;
private int order_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Order {
get { return order_; }
set {
order_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SearchRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SearchRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Major != other.Major) return false;
if (CourseName != other.CourseName) return false;
if (ClassName != other.ClassName) return false;
if (PhoneNumber != other.PhoneNumber) return false;
if (Starttime != other.Starttime) return false;
if (Order != other.Order) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Major.Length != 0) hash ^= Major.GetHashCode();
if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (Starttime != 0L) hash ^= Starttime.GetHashCode();
if (Order != 0) hash ^= Order.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (CourseName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CourseName);
}
if (ClassName.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ClassName);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(42);
output.WriteString(PhoneNumber);
}
if (Starttime != 0L) {
output.WriteRawTag(48);
output.WriteInt64(Starttime);
}
if (Order != 0) {
output.WriteRawTag(56);
output.WriteInt32(Order);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (CourseName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CourseName);
}
if (ClassName.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ClassName);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(42);
output.WriteString(PhoneNumber);
}
if (Starttime != 0L) {
output.WriteRawTag(48);
output.WriteInt64(Starttime);
}
if (Order != 0) {
output.WriteRawTag(56);
output.WriteInt32(Order);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Major.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
}
if (CourseName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
}
if (ClassName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
}
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (Starttime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Starttime);
}
if (Order != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SearchRequest other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Major.Length != 0) {
Major = other.Major;
}
if (other.CourseName.Length != 0) {
CourseName = other.CourseName;
}
if (other.ClassName.Length != 0) {
ClassName = other.ClassName;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.Starttime != 0L) {
Starttime = other.Starttime;
}
if (other.Order != 0) {
Order = other.Order;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
CourseName = input.ReadString();
break;
}
case 34: {
ClassName = input.ReadString();
break;
}
case 42: {
PhoneNumber = input.ReadString();
break;
}
case 48: {
Starttime = input.ReadInt64();
break;
}
case 56: {
Order = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
CourseName = input.ReadString();
break;
}
case 34: {
ClassName = input.ReadString();
break;
}
case 42: {
PhoneNumber = input.ReadString();
break;
}
case 48: {
Starttime = input.ReadInt64();
break;
}
case 56: {
Order = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class SearchInfoResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchInfoResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchInfoResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchInfoResponse(SearchInfoResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
studentInfos_ = other.studentInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchInfoResponse Clone() {
return new SearchInfoResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "studentInfos" field.
public const int StudentInfosFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_studentInfos_codec
= pb::FieldCodec.ForMessage(26, global::StudentInfo.Parser);
private readonly pbc::RepeatedField studentInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentInfos {
get { return studentInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SearchInfoResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SearchInfoResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!studentInfos_.Equals(other.studentInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= studentInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SearchInfoResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
studentInfos_.Add(other.studentInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class SearchScoreResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchScoreResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[12]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchScoreResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchScoreResponse(SearchScoreResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
studentScores_ = other.studentScores_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchScoreResponse Clone() {
return new SearchScoreResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "studentScores" field.
public const int StudentScoresFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_studentScores_codec
= pb::FieldCodec.ForMessage(26, global::StudentScore.Parser);
private readonly pbc::RepeatedField studentScores_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentScores {
get { return studentScores_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SearchScoreResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SearchScoreResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!studentScores_.Equals(other.studentScores_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= studentScores_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentScores_.WriteTo(output, _repeated_studentScores_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentScores_.WriteTo(ref output, _repeated_studentScores_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += studentScores_.CalculateSize(_repeated_studentScores_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SearchScoreResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
studentScores_.Add(other.studentScores_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentScores_.AddEntriesFrom(input, _repeated_studentScores_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentScores_.AddEntriesFrom(ref input, _repeated_studentScores_codec);
break;
}
}
}
}
#endif
}
public sealed partial class StudentScore : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentScore());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[13]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentScore() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentScore(StudentScore other) : this() {
name_ = other.name_;
major_ = other.major_;
courseName_ = other.courseName_;
className_ = other.className_;
phoneNumber_ = other.phoneNumber_;
starttime_ = other.starttime_;
answertime_ = other.answertime_;
score_ = other.score_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentScore Clone() {
return new StudentScore(this);
}
/// Field number for the "name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "major" field.
public const int MajorFieldNumber = 2;
private string major_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Major {
get { return major_; }
set {
major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "courseName" field.
public const int CourseNameFieldNumber = 3;
private string courseName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string CourseName {
get { return courseName_; }
set {
courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "className" field.
public const int ClassNameFieldNumber = 4;
private string className_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ClassName {
get { return className_; }
set {
className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 5;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "starttime" field.
public const int StarttimeFieldNumber = 6;
private long starttime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Starttime {
get { return starttime_; }
set {
starttime_ = value;
}
}
/// Field number for the "answertime" field.
public const int AnswertimeFieldNumber = 7;
private int answertime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Answertime {
get { return answertime_; }
set {
answertime_ = value;
}
}
/// Field number for the "score" field.
public const int ScoreFieldNumber = 8;
private float score_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public float Score {
get { return score_; }
set {
score_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentScore);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentScore other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Major != other.Major) return false;
if (CourseName != other.CourseName) return false;
if (ClassName != other.ClassName) return false;
if (PhoneNumber != other.PhoneNumber) return false;
if (Starttime != other.Starttime) return false;
if (Answertime != other.Answertime) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Score, other.Score)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Major.Length != 0) hash ^= Major.GetHashCode();
if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (Starttime != 0L) hash ^= Starttime.GetHashCode();
if (Answertime != 0) hash ^= Answertime.GetHashCode();
if (Score != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Score);
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (CourseName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CourseName);
}
if (ClassName.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ClassName);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(42);
output.WriteString(PhoneNumber);
}
if (Starttime != 0L) {
output.WriteRawTag(48);
output.WriteInt64(Starttime);
}
if (Answertime != 0) {
output.WriteRawTag(56);
output.WriteInt32(Answertime);
}
if (Score != 0F) {
output.WriteRawTag(69);
output.WriteFloat(Score);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (CourseName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CourseName);
}
if (ClassName.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ClassName);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(42);
output.WriteString(PhoneNumber);
}
if (Starttime != 0L) {
output.WriteRawTag(48);
output.WriteInt64(Starttime);
}
if (Answertime != 0) {
output.WriteRawTag(56);
output.WriteInt32(Answertime);
}
if (Score != 0F) {
output.WriteRawTag(69);
output.WriteFloat(Score);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Major.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
}
if (CourseName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
}
if (ClassName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
}
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (Starttime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Starttime);
}
if (Answertime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Answertime);
}
if (Score != 0F) {
size += 1 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentScore other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Major.Length != 0) {
Major = other.Major;
}
if (other.CourseName.Length != 0) {
CourseName = other.CourseName;
}
if (other.ClassName.Length != 0) {
ClassName = other.ClassName;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.Starttime != 0L) {
Starttime = other.Starttime;
}
if (other.Answertime != 0) {
Answertime = other.Answertime;
}
if (other.Score != 0F) {
Score = other.Score;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
CourseName = input.ReadString();
break;
}
case 34: {
ClassName = input.ReadString();
break;
}
case 42: {
PhoneNumber = input.ReadString();
break;
}
case 48: {
Starttime = input.ReadInt64();
break;
}
case 56: {
Answertime = input.ReadInt32();
break;
}
case 69: {
Score = input.ReadFloat();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
CourseName = input.ReadString();
break;
}
case 34: {
ClassName = input.ReadString();
break;
}
case 42: {
PhoneNumber = input.ReadString();
break;
}
case 48: {
Starttime = input.ReadInt64();
break;
}
case 56: {
Answertime = input.ReadInt32();
break;
}
case 69: {
Score = input.ReadFloat();
break;
}
}
}
}
#endif
}
public sealed partial class SearchTimeResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchTimeResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[14]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchTimeResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchTimeResponse(SearchTimeResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
studentTimes_ = other.studentTimes_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchTimeResponse Clone() {
return new SearchTimeResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "studentTimes" field.
public const int StudentTimesFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_studentTimes_codec
= pb::FieldCodec.ForMessage(26, global::StudentTime.Parser);
private readonly pbc::RepeatedField studentTimes_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentTimes {
get { return studentTimes_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SearchTimeResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SearchTimeResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!studentTimes_.Equals(other.studentTimes_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= studentTimes_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentTimes_.WriteTo(output, _repeated_studentTimes_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentTimes_.WriteTo(ref output, _repeated_studentTimes_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += studentTimes_.CalculateSize(_repeated_studentTimes_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SearchTimeResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
studentTimes_.Add(other.studentTimes_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentTimes_.AddEntriesFrom(input, _repeated_studentTimes_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentTimes_.AddEntriesFrom(ref input, _repeated_studentTimes_codec);
break;
}
}
}
}
#endif
}
public sealed partial class StudentTime : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StudentTime());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[15]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentTime() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentTime(StudentTime other) : this() {
name_ = other.name_;
major_ = other.major_;
courseName_ = other.courseName_;
phoneNumber_ = other.phoneNumber_;
className_ = other.className_;
starttime_ = other.starttime_;
answertime_ = other.answertime_;
totaltime_ = other.totaltime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StudentTime Clone() {
return new StudentTime(this);
}
/// Field number for the "name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "major" field.
public const int MajorFieldNumber = 2;
private string major_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Major {
get { return major_; }
set {
major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "courseName" field.
public const int CourseNameFieldNumber = 3;
private string courseName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string CourseName {
get { return courseName_; }
set {
courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "phoneNumber" field.
public const int PhoneNumberFieldNumber = 4;
private string phoneNumber_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string PhoneNumber {
get { return phoneNumber_; }
set {
phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "className" field.
public const int ClassNameFieldNumber = 5;
private string className_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ClassName {
get { return className_; }
set {
className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "starttime" field.
public const int StarttimeFieldNumber = 6;
private long starttime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Starttime {
get { return starttime_; }
set {
starttime_ = value;
}
}
/// Field number for the "answertime" field.
public const int AnswertimeFieldNumber = 7;
private int answertime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Answertime {
get { return answertime_; }
set {
answertime_ = value;
}
}
/// Field number for the "totaltime" field.
public const int TotaltimeFieldNumber = 8;
private int totaltime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Totaltime {
get { return totaltime_; }
set {
totaltime_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StudentTime);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StudentTime other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Major != other.Major) return false;
if (CourseName != other.CourseName) return false;
if (PhoneNumber != other.PhoneNumber) return false;
if (ClassName != other.ClassName) return false;
if (Starttime != other.Starttime) return false;
if (Answertime != other.Answertime) return false;
if (Totaltime != other.Totaltime) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Major.Length != 0) hash ^= Major.GetHashCode();
if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
if (Starttime != 0L) hash ^= Starttime.GetHashCode();
if (Answertime != 0) hash ^= Answertime.GetHashCode();
if (Totaltime != 0) hash ^= Totaltime.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (CourseName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CourseName);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(34);
output.WriteString(PhoneNumber);
}
if (ClassName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(ClassName);
}
if (Starttime != 0L) {
output.WriteRawTag(48);
output.WriteInt64(Starttime);
}
if (Answertime != 0) {
output.WriteRawTag(56);
output.WriteInt32(Answertime);
}
if (Totaltime != 0) {
output.WriteRawTag(64);
output.WriteInt32(Totaltime);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Major.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Major);
}
if (CourseName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CourseName);
}
if (PhoneNumber.Length != 0) {
output.WriteRawTag(34);
output.WriteString(PhoneNumber);
}
if (ClassName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(ClassName);
}
if (Starttime != 0L) {
output.WriteRawTag(48);
output.WriteInt64(Starttime);
}
if (Answertime != 0) {
output.WriteRawTag(56);
output.WriteInt32(Answertime);
}
if (Totaltime != 0) {
output.WriteRawTag(64);
output.WriteInt32(Totaltime);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Major.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
}
if (CourseName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
}
if (PhoneNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
}
if (ClassName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
}
if (Starttime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Starttime);
}
if (Answertime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Answertime);
}
if (Totaltime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Totaltime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StudentTime other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Major.Length != 0) {
Major = other.Major;
}
if (other.CourseName.Length != 0) {
CourseName = other.CourseName;
}
if (other.PhoneNumber.Length != 0) {
PhoneNumber = other.PhoneNumber;
}
if (other.ClassName.Length != 0) {
ClassName = other.ClassName;
}
if (other.Starttime != 0L) {
Starttime = other.Starttime;
}
if (other.Answertime != 0) {
Answertime = other.Answertime;
}
if (other.Totaltime != 0) {
Totaltime = other.Totaltime;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
CourseName = input.ReadString();
break;
}
case 34: {
PhoneNumber = input.ReadString();
break;
}
case 42: {
ClassName = input.ReadString();
break;
}
case 48: {
Starttime = input.ReadInt64();
break;
}
case 56: {
Answertime = input.ReadInt32();
break;
}
case 64: {
Totaltime = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Major = input.ReadString();
break;
}
case 26: {
CourseName = input.ReadString();
break;
}
case 34: {
PhoneNumber = input.ReadString();
break;
}
case 42: {
ClassName = input.ReadString();
break;
}
case 48: {
Starttime = input.ReadInt64();
break;
}
case 56: {
Answertime = input.ReadInt32();
break;
}
case 64: {
Totaltime = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class OperateResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OperateResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[16]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public OperateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public OperateResponse(OperateResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public OperateResponse Clone() {
return new OperateResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as OperateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(OperateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(OperateResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class DeleteBatchRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteBatchRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[17]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteBatchRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteBatchRequest(DeleteBatchRequest other) : this() {
studentInfos_ = other.studentInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteBatchRequest Clone() {
return new DeleteBatchRequest(this);
}
/// Field number for the "studentInfos" field.
public const int StudentInfosFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_studentInfos_codec
= pb::FieldCodec.ForMessage(10, global::StudentInfo.Parser);
private readonly pbc::RepeatedField studentInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentInfos {
get { return studentInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DeleteBatchRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DeleteBatchRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!studentInfos_.Equals(other.studentInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= studentInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DeleteBatchRequest other) {
if (other == null) {
return;
}
studentInfos_.Add(other.studentInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class DeleteBatchResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteBatchResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[18]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteBatchResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteBatchResponse(DeleteBatchResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
studentInfos_ = other.studentInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteBatchResponse Clone() {
return new DeleteBatchResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private int result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "studentInfos" field.
public const int StudentInfosFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_studentInfos_codec
= pb::FieldCodec.ForMessage(26, global::StudentInfo.Parser);
private readonly pbc::RepeatedField studentInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StudentInfos {
get { return studentInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DeleteBatchResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DeleteBatchResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!studentInfos_.Equals(other.studentInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != 0) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= studentInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != 0) {
output.WriteRawTag(8);
output.WriteInt32(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != 0) {
output.WriteRawTag(8);
output.WriteInt32(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Result);
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DeleteBatchResponse other) {
if (other == null) {
return;
}
if (other.Result != 0) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
studentInfos_.Add(other.studentInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadInt32();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadInt32();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class SearchAllRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchAllRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[19]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchAllRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchAllRequest(SearchAllRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SearchAllRequest Clone() {
return new SearchAllRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SearchAllRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SearchAllRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SearchAllRequest other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
public sealed partial class MajorsInfosRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MajorsInfosRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[20]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorsInfosRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorsInfosRequest(MajorsInfosRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorsInfosRequest Clone() {
return new MajorsInfosRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MajorsInfosRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MajorsInfosRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MajorsInfosRequest other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
public sealed partial class MajorsInfosResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MajorsInfosResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[21]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorsInfosResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorsInfosResponse(MajorsInfosResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
majorInfos_ = other.majorInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorsInfosResponse Clone() {
return new MajorsInfosResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "majorInfos" field.
public const int MajorInfosFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_majorInfos_codec
= pb::FieldCodec.ForMessage(26, global::MajorInfo.Parser);
private readonly pbc::RepeatedField majorInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField MajorInfos {
get { return majorInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MajorsInfosResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MajorsInfosResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!majorInfos_.Equals(other.majorInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= majorInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
majorInfos_.WriteTo(output, _repeated_majorInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
majorInfos_.WriteTo(ref output, _repeated_majorInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += majorInfos_.CalculateSize(_repeated_majorInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MajorsInfosResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
majorInfos_.Add(other.majorInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
majorInfos_.AddEntriesFrom(input, _repeated_majorInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
majorInfos_.AddEntriesFrom(ref input, _repeated_majorInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class MajorInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MajorInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[22]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorInfo(MajorInfo other) : this() {
id_ = other.id_;
majorName_ = other.majorName_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MajorInfo Clone() {
return new MajorInfo(this);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// Field number for the "majorName" field.
public const int MajorNameFieldNumber = 2;
private string majorName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string MajorName {
get { return majorName_; }
set {
majorName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MajorInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MajorInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (MajorName != other.MajorName) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id != 0) hash ^= Id.GetHashCode();
if (MajorName.Length != 0) hash ^= MajorName.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (MajorName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(MajorName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (MajorName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(MajorName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (MajorName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(MajorName);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MajorInfo other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.MajorName.Length != 0) {
MajorName = other.MajorName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 18: {
MajorName = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 18: {
MajorName = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class CourseInfosRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CourseInfosRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[23]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfosRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfosRequest(CourseInfosRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfosRequest Clone() {
return new CourseInfosRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CourseInfosRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CourseInfosRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CourseInfosRequest other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
public sealed partial class CourseInfosResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CourseInfosResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[24]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfosResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfosResponse(CourseInfosResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
courseInfos_ = other.courseInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfosResponse Clone() {
return new CourseInfosResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "courseInfos" field.
public const int CourseInfosFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_courseInfos_codec
= pb::FieldCodec.ForMessage(26, global::CourseInfo.Parser);
private readonly pbc::RepeatedField courseInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField CourseInfos {
get { return courseInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CourseInfosResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CourseInfosResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!courseInfos_.Equals(other.courseInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= courseInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
courseInfos_.WriteTo(output, _repeated_courseInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
courseInfos_.WriteTo(ref output, _repeated_courseInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += courseInfos_.CalculateSize(_repeated_courseInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CourseInfosResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
courseInfos_.Add(other.courseInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
courseInfos_.AddEntriesFrom(input, _repeated_courseInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
courseInfos_.AddEntriesFrom(ref input, _repeated_courseInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class CourseInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CourseInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[25]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfo(CourseInfo other) : this() {
id_ = other.id_;
courseName_ = other.courseName_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CourseInfo Clone() {
return new CourseInfo(this);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// Field number for the "courseName" field.
public const int CourseNameFieldNumber = 2;
private string courseName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string CourseName {
get { return courseName_; }
set {
courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CourseInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CourseInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (CourseName != other.CourseName) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id != 0) hash ^= Id.GetHashCode();
if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (CourseName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(CourseName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (CourseName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(CourseName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (CourseName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CourseInfo other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.CourseName.Length != 0) {
CourseName = other.CourseName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 18: {
CourseName = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 18: {
CourseName = input.ReadString();
break;
}
}
}
}
#endif
}
public sealed partial class ClassInfosRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClassInfosRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[26]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfosRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfosRequest(ClassInfosRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfosRequest Clone() {
return new ClassInfosRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClassInfosRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClassInfosRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClassInfosRequest other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
public sealed partial class ClassInfosResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClassInfosResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[27]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfosResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfosResponse(ClassInfosResponse other) : this() {
result_ = other.result_;
message_ = other.message_;
classInfos_ = other.classInfos_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfosResponse Clone() {
return new ClassInfosResponse(this);
}
/// Field number for the "result" field.
public const int ResultFieldNumber = 1;
private bool result_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Result {
get { return result_; }
set {
result_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "classInfos" field.
public const int ClassInfosFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_classInfos_codec
= pb::FieldCodec.ForMessage(26, global::ClassInfo.Parser);
private readonly pbc::RepeatedField classInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField ClassInfos {
get { return classInfos_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClassInfosResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClassInfosResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Result != other.Result) return false;
if (Message != other.Message) return false;
if(!classInfos_.Equals(other.classInfos_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Result != false) hash ^= Result.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= classInfos_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
classInfos_.WriteTo(output, _repeated_classInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Result != false) {
output.WriteRawTag(8);
output.WriteBool(Result);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
classInfos_.WriteTo(ref output, _repeated_classInfos_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Result != false) {
size += 1 + 1;
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += classInfos_.CalculateSize(_repeated_classInfos_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClassInfosResponse other) {
if (other == null) {
return;
}
if (other.Result != false) {
Result = other.Result;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
classInfos_.Add(other.classInfos_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
classInfos_.AddEntriesFrom(input, _repeated_classInfos_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Result = input.ReadBool();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
classInfos_.AddEntriesFrom(ref input, _repeated_classInfos_codec);
break;
}
}
}
}
#endif
}
public sealed partial class ClassInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClassInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[28]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfo(ClassInfo other) : this() {
id_ = other.id_;
className_ = other.className_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClassInfo Clone() {
return new ClassInfo(this);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// Field number for the "className" field.
public const int ClassNameFieldNumber = 2;
private string className_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ClassName {
get { return className_; }
set {
className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClassInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClassInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (ClassName != other.ClassName) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id != 0) hash ^= Id.GetHashCode();
if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (ClassName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClassName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (ClassName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClassName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (ClassName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClassInfo other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.ClassName.Length != 0) {
ClassName = other.ClassName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 18: {
ClassName = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 18: {
ClassName = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
#endregion Designer generated code