krpc-node 4.0.1 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/lib/client.js +7 -7
- package/lib/decoders.js +2 -2
- package/lib/krpc.proto +1 -2
- package/package.json +11 -12
- package/.idea/dictionaries/potz6.xml +0 -7
- package/.idea/dictionaries/ryan.xml +0 -8
- package/.idea/inspectionProfiles/Project_Default.xml +0 -7
- package/.idea/inspectionProfiles/profiles_settings.xml +0 -7
- package/.idea/jsLibraryMappings.xml +0 -9
- package/.idea/krpc-node.iml +0 -21
- package/.idea/markdown-navigator/profiles_settings.xml +0 -3
- package/.idea/markdown-navigator.xml +0 -72
- package/.idea/misc.xml +0 -10
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.idea/watcherTasks.xml +0 -4
- package/.idea/workspace.xml +0 -3197
- package/notes.txt +0 -19
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/COPYING +0 -674
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/COPYING.LESSER +0 -165
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.Drawing.txt +0 -2
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.InfernalRobotics.txt +0 -13
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.KerbalAlarmClock.txt +0 -11
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.RemoteTech.txt +0 -9
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.SpaceCenter.txt +0 -274
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.UI.txt +0 -7
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.txt +0 -124
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/Google.Protobuf.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.Drawing.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.Drawing.json +0 -1483
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.Drawing.xml +0 -284
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.InfernalRobotics.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.InfernalRobotics.json +0 -938
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.InfernalRobotics.xml +0 -289
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.KerbalAlarmClock.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.KerbalAlarmClock.json +0 -669
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.KerbalAlarmClock.xml +0 -489
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.RemoteTech.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.RemoteTech.json +0 -456
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.RemoteTech.xml +0 -184
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.SpaceCenter.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.SpaceCenter.json +0 -17732
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.SpaceCenter.xml +0 -7039
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.json +0 -1776
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.ksp +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.xml +0 -506
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.dll +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.json +0 -139
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.xml +0 -3331
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/PluginData/settings.cfg +0 -1
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/VERSION.txt +0 -1
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/applauncher-offline.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/applauncher-online.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-close-window.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-collapse.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-disconnect-client.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-expand.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/toolbar-offline.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/toolbar-online.png +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/kRPC.version +0 -7
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/LICENSE +0 -25
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/LICENSE.Google.Protobuf +0 -32
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/LICENSE.KRPC.SpaceCenter +0 -14
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/README.txt +0 -7
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/VERSION.txt +0 -1
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-cpp-0.4.0-10-g379f6b2.zip +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-csharp-0.4.0-10-g379f6b2.zip +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-java-0.4.0-10-g379f6b2.jar +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-lua-0.4.0-10-g379f6b2.zip +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-python-0.4.0-10-g379f6b2.zip +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/kRPC.pdf +0 -0
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC.cs +0 -4596
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC.java +0 -22464
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC.lua +0 -1241
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC_pb2.py +0 -1583
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/LICENSE +0 -21
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/krpc.pb.cpp +0 -11754
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/krpc.pb.hpp +0 -6159
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/krpc.proto +0 -215
- package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2.zip +0 -0
- package/yarn.lock +0 -4696
|
@@ -1,4596 +0,0 @@
|
|
|
1
|
-
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
// source: protobuf/krpc.proto
|
|
3
|
-
#pragma warning disable 1591, 0612, 3021
|
|
4
|
-
#region Designer generated code
|
|
5
|
-
|
|
6
|
-
using pb = global::Google.Protobuf;
|
|
7
|
-
using pbc = global::Google.Protobuf.Collections;
|
|
8
|
-
using pbr = global::Google.Protobuf.Reflection;
|
|
9
|
-
using scg = global::System.Collections.Generic;
|
|
10
|
-
namespace KRPC.Schema.KRPC {
|
|
11
|
-
|
|
12
|
-
/// <summary>Holder for reflection information generated from protobuf/krpc.proto</summary>
|
|
13
|
-
public static partial class KrpcReflection {
|
|
14
|
-
|
|
15
|
-
#region Descriptor
|
|
16
|
-
/// <summary>File descriptor for protobuf/krpc.proto</summary>
|
|
17
|
-
public static pbr::FileDescriptor Descriptor {
|
|
18
|
-
get { return descriptor; }
|
|
19
|
-
}
|
|
20
|
-
private static pbr::FileDescriptor descriptor;
|
|
21
|
-
|
|
22
|
-
static KrpcReflection() {
|
|
23
|
-
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
24
|
-
string.Concat(
|
|
25
|
-
"ChNwcm90b2J1Zi9rcnBjLnByb3RvEgtrcnBjLnNjaGVtYSKTAQoRQ29ubmVj",
|
|
26
|
-
"dGlvblJlcXVlc3QSMQoEdHlwZRgBIAEoDjIjLmtycGMuc2NoZW1hLkNvbm5l",
|
|
27
|
-
"Y3Rpb25SZXF1ZXN0LlR5cGUSEwoLY2xpZW50X25hbWUYAiABKAkSGQoRY2xp",
|
|
28
|
-
"ZW50X2lkZW50aWZpZXIYAyABKAwiGwoEVHlwZRIHCgNSUEMQABIKCgZTVFJF",
|
|
29
|
-
"QU0QASK+AQoSQ29ubmVjdGlvblJlc3BvbnNlEjYKBnN0YXR1cxgBIAEoDjIm",
|
|
30
|
-
"LmtycGMuc2NoZW1hLkNvbm5lY3Rpb25SZXNwb25zZS5TdGF0dXMSDwoHbWVz",
|
|
31
|
-
"c2FnZRgCIAEoCRIZChFjbGllbnRfaWRlbnRpZmllchgDIAEoDCJECgZTdGF0",
|
|
32
|
-
"dXMSBgoCT0sQABIVChFNQUxGT1JNRURfTUVTU0FHRRABEgsKB1RJTUVPVVQQ",
|
|
33
|
-
"AhIOCgpXUk9OR19UWVBFEAMiNAoHUmVxdWVzdBIpCgVjYWxscxgBIAMoCzIa",
|
|
34
|
-
"LmtycGMuc2NoZW1hLlByb2NlZHVyZUNhbGwiXQoNUHJvY2VkdXJlQ2FsbBIP",
|
|
35
|
-
"CgdzZXJ2aWNlGAEgASgJEhEKCXByb2NlZHVyZRgCIAEoCRIoCglhcmd1bWVu",
|
|
36
|
-
"dHMYAyADKAsyFS5rcnBjLnNjaGVtYS5Bcmd1bWVudCIrCghBcmd1bWVudBIQ",
|
|
37
|
-
"Cghwb3NpdGlvbhgBIAEoDRINCgV2YWx1ZRgCIAEoDCJcCghSZXNwb25zZRIh",
|
|
38
|
-
"CgVlcnJvchgBIAEoCzISLmtycGMuc2NoZW1hLkVycm9yEi0KB3Jlc3VsdHMY",
|
|
39
|
-
"AiADKAsyHC5rcnBjLnNjaGVtYS5Qcm9jZWR1cmVSZXN1bHQiQwoPUHJvY2Vk",
|
|
40
|
-
"dXJlUmVzdWx0EiEKBWVycm9yGAEgASgLMhIua3JwYy5zY2hlbWEuRXJyb3IS",
|
|
41
|
-
"DQoFdmFsdWUYAiABKAwiUAoFRXJyb3ISDwoHc2VydmljZRgBIAEoCRIMCgRu",
|
|
42
|
-
"YW1lGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJEhMKC3N0YWNrX3RyYWNl",
|
|
43
|
-
"GAQgASgJIjoKDFN0cmVhbVVwZGF0ZRIqCgdyZXN1bHRzGAEgAygLMhkua3Jw",
|
|
44
|
-
"Yy5zY2hlbWEuU3RyZWFtUmVzdWx0IkgKDFN0cmVhbVJlc3VsdBIKCgJpZBgB",
|
|
45
|
-
"IAEoBBIsCgZyZXN1bHQYAiABKAsyHC5rcnBjLnNjaGVtYS5Qcm9jZWR1cmVS",
|
|
46
|
-
"ZXN1bHQiMgoIU2VydmljZXMSJgoIc2VydmljZXMYASADKAsyFC5rcnBjLnNj",
|
|
47
|
-
"aGVtYS5TZXJ2aWNlItsBCgdTZXJ2aWNlEgwKBG5hbWUYASABKAkSKgoKcHJv",
|
|
48
|
-
"Y2VkdXJlcxgCIAMoCzIWLmtycGMuc2NoZW1hLlByb2NlZHVyZRIjCgdjbGFz",
|
|
49
|
-
"c2VzGAMgAygLMhIua3JwYy5zY2hlbWEuQ2xhc3MSLgoMZW51bWVyYXRpb25z",
|
|
50
|
-
"GAQgAygLMhgua3JwYy5zY2hlbWEuRW51bWVyYXRpb24SKgoKZXhjZXB0aW9u",
|
|
51
|
-
"cxgFIAMoCzIWLmtycGMuc2NoZW1hLkV4Y2VwdGlvbhIVCg1kb2N1bWVudGF0",
|
|
52
|
-
"aW9uGAYgASgJIoQBCglQcm9jZWR1cmUSDAoEbmFtZRgBIAEoCRIqCgpwYXJh",
|
|
53
|
-
"bWV0ZXJzGAIgAygLMhYua3JwYy5zY2hlbWEuUGFyYW1ldGVyEiYKC3JldHVy",
|
|
54
|
-
"bl90eXBlGAMgASgLMhEua3JwYy5zY2hlbWEuVHlwZRIVCg1kb2N1bWVudGF0",
|
|
55
|
-
"aW9uGAQgASgJIlEKCVBhcmFtZXRlchIMCgRuYW1lGAEgASgJEh8KBHR5cGUY",
|
|
56
|
-
"AiABKAsyES5rcnBjLnNjaGVtYS5UeXBlEhUKDWRlZmF1bHRfdmFsdWUYAyAB",
|
|
57
|
-
"KAwiLAoFQ2xhc3MSDAoEbmFtZRgBIAEoCRIVCg1kb2N1bWVudGF0aW9uGAIg",
|
|
58
|
-
"ASgJImEKC0VudW1lcmF0aW9uEgwKBG5hbWUYASABKAkSLQoGdmFsdWVzGAIg",
|
|
59
|
-
"AygLMh0ua3JwYy5zY2hlbWEuRW51bWVyYXRpb25WYWx1ZRIVCg1kb2N1bWVu",
|
|
60
|
-
"dGF0aW9uGAMgASgJIkYKEEVudW1lcmF0aW9uVmFsdWUSDAoEbmFtZRgBIAEo",
|
|
61
|
-
"CRINCgV2YWx1ZRgCIAEoBRIVCg1kb2N1bWVudGF0aW9uGAMgASgJIjAKCUV4",
|
|
62
|
-
"Y2VwdGlvbhIMCgRuYW1lGAEgASgJEhUKDWRvY3VtZW50YXRpb24YAiABKAki",
|
|
63
|
-
"jgMKBFR5cGUSKAoEY29kZRgBIAEoDjIaLmtycGMuc2NoZW1hLlR5cGUuVHlw",
|
|
64
|
-
"ZUNvZGUSDwoHc2VydmljZRgCIAEoCRIMCgRuYW1lGAMgASgJEiAKBXR5cGVz",
|
|
65
|
-
"GAQgAygLMhEua3JwYy5zY2hlbWEuVHlwZRIQCghudWxsYWJsZRgFIAEoCCKI",
|
|
66
|
-
"AgoIVHlwZUNvZGUSCAoETk9ORRAAEgoKBkRPVUJMRRABEgkKBUZMT0FUEAIS",
|
|
67
|
-
"CgoGU0lOVDMyEAMSCgoGU0lOVDY0EAQSCgoGVUlOVDMyEAUSCgoGVUlOVDY0",
|
|
68
|
-
"EAYSCAoEQk9PTBAHEgoKBlNUUklORxAIEgkKBUJZVEVTEAkSCQoFQ0xBU1MQ",
|
|
69
|
-
"ZBIPCgtFTlVNRVJBVElPThBlEhMKDlBST0NFRFVSRV9DQUxMEMgBEgsKBlNU",
|
|
70
|
-
"UkVBTRDJARILCgZTVEFUVVMQygESDQoIU0VSVklDRVMQywESCgoFVFVQTEUQ",
|
|
71
|
-
"rAISCQoETElTVBCtAhIICgNTRVQQrgISDwoKRElDVElPTkFSWRCvAiIWCgVU",
|
|
72
|
-
"dXBsZRINCgVpdGVtcxgBIAMoDCIVCgRMaXN0Eg0KBWl0ZW1zGAEgAygMIhQK",
|
|
73
|
-
"A1NldBINCgVpdGVtcxgBIAMoDCI7CgpEaWN0aW9uYXJ5Ei0KB2VudHJpZXMY",
|
|
74
|
-
"ASADKAsyHC5rcnBjLnNjaGVtYS5EaWN0aW9uYXJ5RW50cnkiLQoPRGljdGlv",
|
|
75
|
-
"bmFyeUVudHJ5EgsKA2tleRgBIAEoDBINCgV2YWx1ZRgCIAEoDCIUCgZTdHJl",
|
|
76
|
-
"YW0SCgoCaWQYASABKAQi9AMKBlN0YXR1cxIPCgd2ZXJzaW9uGAEgASgJEhIK",
|
|
77
|
-
"CmJ5dGVzX3JlYWQYAiABKAQSFQoNYnl0ZXNfd3JpdHRlbhgDIAEoBBIXCg9i",
|
|
78
|
-
"eXRlc19yZWFkX3JhdGUYBCABKAISGgoSYnl0ZXNfd3JpdHRlbl9yYXRlGAUg",
|
|
79
|
-
"ASgCEhUKDXJwY3NfZXhlY3V0ZWQYBiABKAQSEAoIcnBjX3JhdGUYByABKAIS",
|
|
80
|
-
"GgoSb25lX3JwY19wZXJfdXBkYXRlGAggASgIEhsKE21heF90aW1lX3Blcl91",
|
|
81
|
-
"cGRhdGUYCSABKA0SHQoVYWRhcHRpdmVfcmF0ZV9jb250cm9sGAogASgIEhUK",
|
|
82
|
-
"DWJsb2NraW5nX3JlY3YYCyABKAgSFAoMcmVjdl90aW1lb3V0GAwgASgNEhsK",
|
|
83
|
-
"E3RpbWVfcGVyX3JwY191cGRhdGUYDSABKAISIAoYcG9sbF90aW1lX3Blcl9y",
|
|
84
|
-
"cGNfdXBkYXRlGA4gASgCEiAKGGV4ZWNfdGltZV9wZXJfcnBjX3VwZGF0ZRgP",
|
|
85
|
-
"IAEoAhITCgtzdHJlYW1fcnBjcxgQIAEoDRIcChRzdHJlYW1fcnBjc19leGVj",
|
|
86
|
-
"dXRlZBgRIAEoBBIXCg9zdHJlYW1fcnBjX3JhdGUYEiABKAISHgoWdGltZV9w",
|
|
87
|
-
"ZXJfc3RyZWFtX3VwZGF0ZRgTIAEoAkImCgtrcnBjLnNjaGVtYUIES1JQQ6oC",
|
|
88
|
-
"EEtSUEMuU2NoZW1hLktSUENiBnByb3RvMw=="));
|
|
89
|
-
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
90
|
-
new pbr::FileDescriptor[] { },
|
|
91
|
-
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
92
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.ConnectionRequest), global::KRPC.Schema.KRPC.ConnectionRequest.Parser, new[]{ "Type", "ClientName", "ClientIdentifier" }, null, new[]{ typeof(global::KRPC.Schema.KRPC.ConnectionRequest.Types.Type) }, null),
|
|
93
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.ConnectionResponse), global::KRPC.Schema.KRPC.ConnectionResponse.Parser, new[]{ "Status", "Message", "ClientIdentifier" }, null, new[]{ typeof(global::KRPC.Schema.KRPC.ConnectionResponse.Types.Status) }, null),
|
|
94
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Request), global::KRPC.Schema.KRPC.Request.Parser, new[]{ "Calls" }, null, null, null),
|
|
95
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.ProcedureCall), global::KRPC.Schema.KRPC.ProcedureCall.Parser, new[]{ "Service", "Procedure", "Arguments" }, null, null, null),
|
|
96
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Argument), global::KRPC.Schema.KRPC.Argument.Parser, new[]{ "Position", "Value" }, null, null, null),
|
|
97
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Response), global::KRPC.Schema.KRPC.Response.Parser, new[]{ "Error", "Results" }, null, null, null),
|
|
98
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.ProcedureResult), global::KRPC.Schema.KRPC.ProcedureResult.Parser, new[]{ "Error", "Value" }, null, null, null),
|
|
99
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Error), global::KRPC.Schema.KRPC.Error.Parser, new[]{ "Service", "Name", "Description", "StackTrace" }, null, null, null),
|
|
100
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.StreamUpdate), global::KRPC.Schema.KRPC.StreamUpdate.Parser, new[]{ "Results" }, null, null, null),
|
|
101
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.StreamResult), global::KRPC.Schema.KRPC.StreamResult.Parser, new[]{ "Id", "Result" }, null, null, null),
|
|
102
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Services), global::KRPC.Schema.KRPC.Services.Parser, new[]{ "Services_" }, null, null, null),
|
|
103
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Service), global::KRPC.Schema.KRPC.Service.Parser, new[]{ "Name", "Procedures", "Classes", "Enumerations", "Exceptions", "Documentation" }, null, null, null),
|
|
104
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Procedure), global::KRPC.Schema.KRPC.Procedure.Parser, new[]{ "Name", "Parameters", "ReturnType", "Documentation" }, null, null, null),
|
|
105
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Parameter), global::KRPC.Schema.KRPC.Parameter.Parser, new[]{ "Name", "Type", "DefaultValue" }, null, null, null),
|
|
106
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Class), global::KRPC.Schema.KRPC.Class.Parser, new[]{ "Name", "Documentation" }, null, null, null),
|
|
107
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Enumeration), global::KRPC.Schema.KRPC.Enumeration.Parser, new[]{ "Name", "Values", "Documentation" }, null, null, null),
|
|
108
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.EnumerationValue), global::KRPC.Schema.KRPC.EnumerationValue.Parser, new[]{ "Name", "Value", "Documentation" }, null, null, null),
|
|
109
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Exception), global::KRPC.Schema.KRPC.Exception.Parser, new[]{ "Name", "Documentation" }, null, null, null),
|
|
110
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Type), global::KRPC.Schema.KRPC.Type.Parser, new[]{ "Code", "Service", "Name", "Types_", "Nullable" }, null, new[]{ typeof(global::KRPC.Schema.KRPC.Type.Types.TypeCode) }, null),
|
|
111
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Tuple), global::KRPC.Schema.KRPC.Tuple.Parser, new[]{ "Items" }, null, null, null),
|
|
112
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.List), global::KRPC.Schema.KRPC.List.Parser, new[]{ "Items" }, null, null, null),
|
|
113
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Set), global::KRPC.Schema.KRPC.Set.Parser, new[]{ "Items" }, null, null, null),
|
|
114
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Dictionary), global::KRPC.Schema.KRPC.Dictionary.Parser, new[]{ "Entries" }, null, null, null),
|
|
115
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.DictionaryEntry), global::KRPC.Schema.KRPC.DictionaryEntry.Parser, new[]{ "Key", "Value" }, null, null, null),
|
|
116
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Stream), global::KRPC.Schema.KRPC.Stream.Parser, new[]{ "Id" }, null, null, null),
|
|
117
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::KRPC.Schema.KRPC.Status), global::KRPC.Schema.KRPC.Status.Parser, new[]{ "Version", "BytesRead", "BytesWritten", "BytesReadRate", "BytesWrittenRate", "RpcsExecuted", "RpcRate", "OneRpcPerUpdate", "MaxTimePerUpdate", "AdaptiveRateControl", "BlockingRecv", "RecvTimeout", "TimePerRpcUpdate", "PollTimePerRpcUpdate", "ExecTimePerRpcUpdate", "StreamRpcs", "StreamRpcsExecuted", "StreamRpcRate", "TimePerStreamUpdate" }, null, null, null)
|
|
118
|
-
}));
|
|
119
|
-
}
|
|
120
|
-
#endregion
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
#region Messages
|
|
124
|
-
public sealed partial class ConnectionRequest : pb::IMessage<ConnectionRequest> {
|
|
125
|
-
private static readonly pb::MessageParser<ConnectionRequest> _parser = new pb::MessageParser<ConnectionRequest>(() => new ConnectionRequest());
|
|
126
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
127
|
-
public static pb::MessageParser<ConnectionRequest> Parser { get { return _parser; } }
|
|
128
|
-
|
|
129
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
130
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
131
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[0]; }
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
135
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
136
|
-
get { return Descriptor; }
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
140
|
-
public ConnectionRequest() {
|
|
141
|
-
OnConstruction();
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
partial void OnConstruction();
|
|
145
|
-
|
|
146
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
147
|
-
public ConnectionRequest(ConnectionRequest other) : this() {
|
|
148
|
-
type_ = other.type_;
|
|
149
|
-
clientName_ = other.clientName_;
|
|
150
|
-
clientIdentifier_ = other.clientIdentifier_;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
154
|
-
public ConnectionRequest Clone() {
|
|
155
|
-
return new ConnectionRequest(this);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/// <summary>Field number for the "type" field.</summary>
|
|
159
|
-
public const int TypeFieldNumber = 1;
|
|
160
|
-
private global::KRPC.Schema.KRPC.ConnectionRequest.Types.Type type_ = 0;
|
|
161
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
162
|
-
public global::KRPC.Schema.KRPC.ConnectionRequest.Types.Type Type {
|
|
163
|
-
get { return type_; }
|
|
164
|
-
set {
|
|
165
|
-
type_ = value;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/// <summary>Field number for the "client_name" field.</summary>
|
|
170
|
-
public const int ClientNameFieldNumber = 2;
|
|
171
|
-
private string clientName_ = "";
|
|
172
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
173
|
-
public string ClientName {
|
|
174
|
-
get { return clientName_; }
|
|
175
|
-
set {
|
|
176
|
-
clientName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/// <summary>Field number for the "client_identifier" field.</summary>
|
|
181
|
-
public const int ClientIdentifierFieldNumber = 3;
|
|
182
|
-
private pb::ByteString clientIdentifier_ = pb::ByteString.Empty;
|
|
183
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
184
|
-
public pb::ByteString ClientIdentifier {
|
|
185
|
-
get { return clientIdentifier_; }
|
|
186
|
-
set {
|
|
187
|
-
clientIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
192
|
-
public override bool Equals(object other) {
|
|
193
|
-
return Equals(other as ConnectionRequest);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
197
|
-
public bool Equals(ConnectionRequest other) {
|
|
198
|
-
if (ReferenceEquals(other, null)) {
|
|
199
|
-
return false;
|
|
200
|
-
}
|
|
201
|
-
if (ReferenceEquals(other, this)) {
|
|
202
|
-
return true;
|
|
203
|
-
}
|
|
204
|
-
if (Type != other.Type) return false;
|
|
205
|
-
if (ClientName != other.ClientName) return false;
|
|
206
|
-
if (ClientIdentifier != other.ClientIdentifier) return false;
|
|
207
|
-
return true;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
211
|
-
public override int GetHashCode() {
|
|
212
|
-
int hash = 1;
|
|
213
|
-
if (Type != 0) hash ^= Type.GetHashCode();
|
|
214
|
-
if (ClientName.Length != 0) hash ^= ClientName.GetHashCode();
|
|
215
|
-
if (ClientIdentifier.Length != 0) hash ^= ClientIdentifier.GetHashCode();
|
|
216
|
-
return hash;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
220
|
-
public override string ToString() {
|
|
221
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
225
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
226
|
-
if (Type != 0) {
|
|
227
|
-
output.WriteRawTag(8);
|
|
228
|
-
output.WriteEnum((int) Type);
|
|
229
|
-
}
|
|
230
|
-
if (ClientName.Length != 0) {
|
|
231
|
-
output.WriteRawTag(18);
|
|
232
|
-
output.WriteString(ClientName);
|
|
233
|
-
}
|
|
234
|
-
if (ClientIdentifier.Length != 0) {
|
|
235
|
-
output.WriteRawTag(26);
|
|
236
|
-
output.WriteBytes(ClientIdentifier);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
241
|
-
public int CalculateSize() {
|
|
242
|
-
int size = 0;
|
|
243
|
-
if (Type != 0) {
|
|
244
|
-
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
|
|
245
|
-
}
|
|
246
|
-
if (ClientName.Length != 0) {
|
|
247
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientName);
|
|
248
|
-
}
|
|
249
|
-
if (ClientIdentifier.Length != 0) {
|
|
250
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(ClientIdentifier);
|
|
251
|
-
}
|
|
252
|
-
return size;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
256
|
-
public void MergeFrom(ConnectionRequest other) {
|
|
257
|
-
if (other == null) {
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
if (other.Type != 0) {
|
|
261
|
-
Type = other.Type;
|
|
262
|
-
}
|
|
263
|
-
if (other.ClientName.Length != 0) {
|
|
264
|
-
ClientName = other.ClientName;
|
|
265
|
-
}
|
|
266
|
-
if (other.ClientIdentifier.Length != 0) {
|
|
267
|
-
ClientIdentifier = other.ClientIdentifier;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
272
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
273
|
-
uint tag;
|
|
274
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
275
|
-
switch(tag) {
|
|
276
|
-
default:
|
|
277
|
-
input.SkipLastField();
|
|
278
|
-
break;
|
|
279
|
-
case 8: {
|
|
280
|
-
type_ = (global::KRPC.Schema.KRPC.ConnectionRequest.Types.Type) input.ReadEnum();
|
|
281
|
-
break;
|
|
282
|
-
}
|
|
283
|
-
case 18: {
|
|
284
|
-
ClientName = input.ReadString();
|
|
285
|
-
break;
|
|
286
|
-
}
|
|
287
|
-
case 26: {
|
|
288
|
-
ClientIdentifier = input.ReadBytes();
|
|
289
|
-
break;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
#region Nested types
|
|
296
|
-
/// <summary>Container for nested types declared in the ConnectionRequest message type.</summary>
|
|
297
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
298
|
-
public static partial class Types {
|
|
299
|
-
public enum Type {
|
|
300
|
-
[pbr::OriginalName("RPC")] Rpc = 0,
|
|
301
|
-
[pbr::OriginalName("STREAM")] Stream = 1,
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
#endregion
|
|
306
|
-
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
public sealed partial class ConnectionResponse : pb::IMessage<ConnectionResponse> {
|
|
310
|
-
private static readonly pb::MessageParser<ConnectionResponse> _parser = new pb::MessageParser<ConnectionResponse>(() => new ConnectionResponse());
|
|
311
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
312
|
-
public static pb::MessageParser<ConnectionResponse> Parser { get { return _parser; } }
|
|
313
|
-
|
|
314
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
315
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
316
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[1]; }
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
320
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
321
|
-
get { return Descriptor; }
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
325
|
-
public ConnectionResponse() {
|
|
326
|
-
OnConstruction();
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
partial void OnConstruction();
|
|
330
|
-
|
|
331
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
332
|
-
public ConnectionResponse(ConnectionResponse other) : this() {
|
|
333
|
-
status_ = other.status_;
|
|
334
|
-
message_ = other.message_;
|
|
335
|
-
clientIdentifier_ = other.clientIdentifier_;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
339
|
-
public ConnectionResponse Clone() {
|
|
340
|
-
return new ConnectionResponse(this);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/// <summary>Field number for the "status" field.</summary>
|
|
344
|
-
public const int StatusFieldNumber = 1;
|
|
345
|
-
private global::KRPC.Schema.KRPC.ConnectionResponse.Types.Status status_ = 0;
|
|
346
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
347
|
-
public global::KRPC.Schema.KRPC.ConnectionResponse.Types.Status Status {
|
|
348
|
-
get { return status_; }
|
|
349
|
-
set {
|
|
350
|
-
status_ = value;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/// <summary>Field number for the "message" field.</summary>
|
|
355
|
-
public const int MessageFieldNumber = 2;
|
|
356
|
-
private string message_ = "";
|
|
357
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
358
|
-
public string Message {
|
|
359
|
-
get { return message_; }
|
|
360
|
-
set {
|
|
361
|
-
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/// <summary>Field number for the "client_identifier" field.</summary>
|
|
366
|
-
public const int ClientIdentifierFieldNumber = 3;
|
|
367
|
-
private pb::ByteString clientIdentifier_ = pb::ByteString.Empty;
|
|
368
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
369
|
-
public pb::ByteString ClientIdentifier {
|
|
370
|
-
get { return clientIdentifier_; }
|
|
371
|
-
set {
|
|
372
|
-
clientIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
377
|
-
public override bool Equals(object other) {
|
|
378
|
-
return Equals(other as ConnectionResponse);
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
382
|
-
public bool Equals(ConnectionResponse other) {
|
|
383
|
-
if (ReferenceEquals(other, null)) {
|
|
384
|
-
return false;
|
|
385
|
-
}
|
|
386
|
-
if (ReferenceEquals(other, this)) {
|
|
387
|
-
return true;
|
|
388
|
-
}
|
|
389
|
-
if (Status != other.Status) return false;
|
|
390
|
-
if (Message != other.Message) return false;
|
|
391
|
-
if (ClientIdentifier != other.ClientIdentifier) return false;
|
|
392
|
-
return true;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
396
|
-
public override int GetHashCode() {
|
|
397
|
-
int hash = 1;
|
|
398
|
-
if (Status != 0) hash ^= Status.GetHashCode();
|
|
399
|
-
if (Message.Length != 0) hash ^= Message.GetHashCode();
|
|
400
|
-
if (ClientIdentifier.Length != 0) hash ^= ClientIdentifier.GetHashCode();
|
|
401
|
-
return hash;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
405
|
-
public override string ToString() {
|
|
406
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
410
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
411
|
-
if (Status != 0) {
|
|
412
|
-
output.WriteRawTag(8);
|
|
413
|
-
output.WriteEnum((int) Status);
|
|
414
|
-
}
|
|
415
|
-
if (Message.Length != 0) {
|
|
416
|
-
output.WriteRawTag(18);
|
|
417
|
-
output.WriteString(Message);
|
|
418
|
-
}
|
|
419
|
-
if (ClientIdentifier.Length != 0) {
|
|
420
|
-
output.WriteRawTag(26);
|
|
421
|
-
output.WriteBytes(ClientIdentifier);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
426
|
-
public int CalculateSize() {
|
|
427
|
-
int size = 0;
|
|
428
|
-
if (Status != 0) {
|
|
429
|
-
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
|
430
|
-
}
|
|
431
|
-
if (Message.Length != 0) {
|
|
432
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
|
|
433
|
-
}
|
|
434
|
-
if (ClientIdentifier.Length != 0) {
|
|
435
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(ClientIdentifier);
|
|
436
|
-
}
|
|
437
|
-
return size;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
441
|
-
public void MergeFrom(ConnectionResponse other) {
|
|
442
|
-
if (other == null) {
|
|
443
|
-
return;
|
|
444
|
-
}
|
|
445
|
-
if (other.Status != 0) {
|
|
446
|
-
Status = other.Status;
|
|
447
|
-
}
|
|
448
|
-
if (other.Message.Length != 0) {
|
|
449
|
-
Message = other.Message;
|
|
450
|
-
}
|
|
451
|
-
if (other.ClientIdentifier.Length != 0) {
|
|
452
|
-
ClientIdentifier = other.ClientIdentifier;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
457
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
458
|
-
uint tag;
|
|
459
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
460
|
-
switch(tag) {
|
|
461
|
-
default:
|
|
462
|
-
input.SkipLastField();
|
|
463
|
-
break;
|
|
464
|
-
case 8: {
|
|
465
|
-
status_ = (global::KRPC.Schema.KRPC.ConnectionResponse.Types.Status) input.ReadEnum();
|
|
466
|
-
break;
|
|
467
|
-
}
|
|
468
|
-
case 18: {
|
|
469
|
-
Message = input.ReadString();
|
|
470
|
-
break;
|
|
471
|
-
}
|
|
472
|
-
case 26: {
|
|
473
|
-
ClientIdentifier = input.ReadBytes();
|
|
474
|
-
break;
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
#region Nested types
|
|
481
|
-
/// <summary>Container for nested types declared in the ConnectionResponse message type.</summary>
|
|
482
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
483
|
-
public static partial class Types {
|
|
484
|
-
public enum Status {
|
|
485
|
-
[pbr::OriginalName("OK")] Ok = 0,
|
|
486
|
-
[pbr::OriginalName("MALFORMED_MESSAGE")] MalformedMessage = 1,
|
|
487
|
-
[pbr::OriginalName("TIMEOUT")] Timeout = 2,
|
|
488
|
-
[pbr::OriginalName("WRONG_TYPE")] WrongType = 3,
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
}
|
|
492
|
-
#endregion
|
|
493
|
-
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
public sealed partial class Request : pb::IMessage<Request> {
|
|
497
|
-
private static readonly pb::MessageParser<Request> _parser = new pb::MessageParser<Request>(() => new Request());
|
|
498
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
499
|
-
public static pb::MessageParser<Request> Parser { get { return _parser; } }
|
|
500
|
-
|
|
501
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
502
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
503
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[2]; }
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
507
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
508
|
-
get { return Descriptor; }
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
512
|
-
public Request() {
|
|
513
|
-
OnConstruction();
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
partial void OnConstruction();
|
|
517
|
-
|
|
518
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
519
|
-
public Request(Request other) : this() {
|
|
520
|
-
calls_ = other.calls_.Clone();
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
524
|
-
public Request Clone() {
|
|
525
|
-
return new Request(this);
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/// <summary>Field number for the "calls" field.</summary>
|
|
529
|
-
public const int CallsFieldNumber = 1;
|
|
530
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.ProcedureCall> _repeated_calls_codec
|
|
531
|
-
= pb::FieldCodec.ForMessage(10, global::KRPC.Schema.KRPC.ProcedureCall.Parser);
|
|
532
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.ProcedureCall> calls_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.ProcedureCall>();
|
|
533
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
534
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.ProcedureCall> Calls {
|
|
535
|
-
get { return calls_; }
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
539
|
-
public override bool Equals(object other) {
|
|
540
|
-
return Equals(other as Request);
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
544
|
-
public bool Equals(Request other) {
|
|
545
|
-
if (ReferenceEquals(other, null)) {
|
|
546
|
-
return false;
|
|
547
|
-
}
|
|
548
|
-
if (ReferenceEquals(other, this)) {
|
|
549
|
-
return true;
|
|
550
|
-
}
|
|
551
|
-
if(!calls_.Equals(other.calls_)) return false;
|
|
552
|
-
return true;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
556
|
-
public override int GetHashCode() {
|
|
557
|
-
int hash = 1;
|
|
558
|
-
hash ^= calls_.GetHashCode();
|
|
559
|
-
return hash;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
563
|
-
public override string ToString() {
|
|
564
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
568
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
569
|
-
calls_.WriteTo(output, _repeated_calls_codec);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
573
|
-
public int CalculateSize() {
|
|
574
|
-
int size = 0;
|
|
575
|
-
size += calls_.CalculateSize(_repeated_calls_codec);
|
|
576
|
-
return size;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
580
|
-
public void MergeFrom(Request other) {
|
|
581
|
-
if (other == null) {
|
|
582
|
-
return;
|
|
583
|
-
}
|
|
584
|
-
calls_.Add(other.calls_);
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
588
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
589
|
-
uint tag;
|
|
590
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
591
|
-
switch(tag) {
|
|
592
|
-
default:
|
|
593
|
-
input.SkipLastField();
|
|
594
|
-
break;
|
|
595
|
-
case 10: {
|
|
596
|
-
calls_.AddEntriesFrom(input, _repeated_calls_codec);
|
|
597
|
-
break;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
public sealed partial class ProcedureCall : pb::IMessage<ProcedureCall> {
|
|
606
|
-
private static readonly pb::MessageParser<ProcedureCall> _parser = new pb::MessageParser<ProcedureCall>(() => new ProcedureCall());
|
|
607
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
608
|
-
public static pb::MessageParser<ProcedureCall> Parser { get { return _parser; } }
|
|
609
|
-
|
|
610
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
611
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
612
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[3]; }
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
616
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
617
|
-
get { return Descriptor; }
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
621
|
-
public ProcedureCall() {
|
|
622
|
-
OnConstruction();
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
partial void OnConstruction();
|
|
626
|
-
|
|
627
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
628
|
-
public ProcedureCall(ProcedureCall other) : this() {
|
|
629
|
-
service_ = other.service_;
|
|
630
|
-
procedure_ = other.procedure_;
|
|
631
|
-
arguments_ = other.arguments_.Clone();
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
635
|
-
public ProcedureCall Clone() {
|
|
636
|
-
return new ProcedureCall(this);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/// <summary>Field number for the "service" field.</summary>
|
|
640
|
-
public const int ServiceFieldNumber = 1;
|
|
641
|
-
private string service_ = "";
|
|
642
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
643
|
-
public string Service {
|
|
644
|
-
get { return service_; }
|
|
645
|
-
set {
|
|
646
|
-
service_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/// <summary>Field number for the "procedure" field.</summary>
|
|
651
|
-
public const int ProcedureFieldNumber = 2;
|
|
652
|
-
private string procedure_ = "";
|
|
653
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
654
|
-
public string Procedure {
|
|
655
|
-
get { return procedure_; }
|
|
656
|
-
set {
|
|
657
|
-
procedure_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/// <summary>Field number for the "arguments" field.</summary>
|
|
662
|
-
public const int ArgumentsFieldNumber = 3;
|
|
663
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Argument> _repeated_arguments_codec
|
|
664
|
-
= pb::FieldCodec.ForMessage(26, global::KRPC.Schema.KRPC.Argument.Parser);
|
|
665
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Argument> arguments_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Argument>();
|
|
666
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
667
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Argument> Arguments {
|
|
668
|
-
get { return arguments_; }
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
672
|
-
public override bool Equals(object other) {
|
|
673
|
-
return Equals(other as ProcedureCall);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
677
|
-
public bool Equals(ProcedureCall other) {
|
|
678
|
-
if (ReferenceEquals(other, null)) {
|
|
679
|
-
return false;
|
|
680
|
-
}
|
|
681
|
-
if (ReferenceEquals(other, this)) {
|
|
682
|
-
return true;
|
|
683
|
-
}
|
|
684
|
-
if (Service != other.Service) return false;
|
|
685
|
-
if (Procedure != other.Procedure) return false;
|
|
686
|
-
if(!arguments_.Equals(other.arguments_)) return false;
|
|
687
|
-
return true;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
691
|
-
public override int GetHashCode() {
|
|
692
|
-
int hash = 1;
|
|
693
|
-
if (Service.Length != 0) hash ^= Service.GetHashCode();
|
|
694
|
-
if (Procedure.Length != 0) hash ^= Procedure.GetHashCode();
|
|
695
|
-
hash ^= arguments_.GetHashCode();
|
|
696
|
-
return hash;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
700
|
-
public override string ToString() {
|
|
701
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
705
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
706
|
-
if (Service.Length != 0) {
|
|
707
|
-
output.WriteRawTag(10);
|
|
708
|
-
output.WriteString(Service);
|
|
709
|
-
}
|
|
710
|
-
if (Procedure.Length != 0) {
|
|
711
|
-
output.WriteRawTag(18);
|
|
712
|
-
output.WriteString(Procedure);
|
|
713
|
-
}
|
|
714
|
-
arguments_.WriteTo(output, _repeated_arguments_codec);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
718
|
-
public int CalculateSize() {
|
|
719
|
-
int size = 0;
|
|
720
|
-
if (Service.Length != 0) {
|
|
721
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Service);
|
|
722
|
-
}
|
|
723
|
-
if (Procedure.Length != 0) {
|
|
724
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Procedure);
|
|
725
|
-
}
|
|
726
|
-
size += arguments_.CalculateSize(_repeated_arguments_codec);
|
|
727
|
-
return size;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
731
|
-
public void MergeFrom(ProcedureCall other) {
|
|
732
|
-
if (other == null) {
|
|
733
|
-
return;
|
|
734
|
-
}
|
|
735
|
-
if (other.Service.Length != 0) {
|
|
736
|
-
Service = other.Service;
|
|
737
|
-
}
|
|
738
|
-
if (other.Procedure.Length != 0) {
|
|
739
|
-
Procedure = other.Procedure;
|
|
740
|
-
}
|
|
741
|
-
arguments_.Add(other.arguments_);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
745
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
746
|
-
uint tag;
|
|
747
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
748
|
-
switch(tag) {
|
|
749
|
-
default:
|
|
750
|
-
input.SkipLastField();
|
|
751
|
-
break;
|
|
752
|
-
case 10: {
|
|
753
|
-
Service = input.ReadString();
|
|
754
|
-
break;
|
|
755
|
-
}
|
|
756
|
-
case 18: {
|
|
757
|
-
Procedure = input.ReadString();
|
|
758
|
-
break;
|
|
759
|
-
}
|
|
760
|
-
case 26: {
|
|
761
|
-
arguments_.AddEntriesFrom(input, _repeated_arguments_codec);
|
|
762
|
-
break;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
public sealed partial class Argument : pb::IMessage<Argument> {
|
|
771
|
-
private static readonly pb::MessageParser<Argument> _parser = new pb::MessageParser<Argument>(() => new Argument());
|
|
772
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
773
|
-
public static pb::MessageParser<Argument> Parser { get { return _parser; } }
|
|
774
|
-
|
|
775
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
776
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
777
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[4]; }
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
781
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
782
|
-
get { return Descriptor; }
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
786
|
-
public Argument() {
|
|
787
|
-
OnConstruction();
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
partial void OnConstruction();
|
|
791
|
-
|
|
792
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
793
|
-
public Argument(Argument other) : this() {
|
|
794
|
-
position_ = other.position_;
|
|
795
|
-
value_ = other.value_;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
799
|
-
public Argument Clone() {
|
|
800
|
-
return new Argument(this);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
/// <summary>Field number for the "position" field.</summary>
|
|
804
|
-
public const int PositionFieldNumber = 1;
|
|
805
|
-
private uint position_;
|
|
806
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
807
|
-
public uint Position {
|
|
808
|
-
get { return position_; }
|
|
809
|
-
set {
|
|
810
|
-
position_ = value;
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
/// <summary>Field number for the "value" field.</summary>
|
|
815
|
-
public const int ValueFieldNumber = 2;
|
|
816
|
-
private pb::ByteString value_ = pb::ByteString.Empty;
|
|
817
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
818
|
-
public pb::ByteString Value {
|
|
819
|
-
get { return value_; }
|
|
820
|
-
set {
|
|
821
|
-
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
826
|
-
public override bool Equals(object other) {
|
|
827
|
-
return Equals(other as Argument);
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
831
|
-
public bool Equals(Argument other) {
|
|
832
|
-
if (ReferenceEquals(other, null)) {
|
|
833
|
-
return false;
|
|
834
|
-
}
|
|
835
|
-
if (ReferenceEquals(other, this)) {
|
|
836
|
-
return true;
|
|
837
|
-
}
|
|
838
|
-
if (Position != other.Position) return false;
|
|
839
|
-
if (Value != other.Value) return false;
|
|
840
|
-
return true;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
844
|
-
public override int GetHashCode() {
|
|
845
|
-
int hash = 1;
|
|
846
|
-
if (Position != 0) hash ^= Position.GetHashCode();
|
|
847
|
-
if (Value.Length != 0) hash ^= Value.GetHashCode();
|
|
848
|
-
return hash;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
852
|
-
public override string ToString() {
|
|
853
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
857
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
858
|
-
if (Position != 0) {
|
|
859
|
-
output.WriteRawTag(8);
|
|
860
|
-
output.WriteUInt32(Position);
|
|
861
|
-
}
|
|
862
|
-
if (Value.Length != 0) {
|
|
863
|
-
output.WriteRawTag(18);
|
|
864
|
-
output.WriteBytes(Value);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
869
|
-
public int CalculateSize() {
|
|
870
|
-
int size = 0;
|
|
871
|
-
if (Position != 0) {
|
|
872
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Position);
|
|
873
|
-
}
|
|
874
|
-
if (Value.Length != 0) {
|
|
875
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value);
|
|
876
|
-
}
|
|
877
|
-
return size;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
881
|
-
public void MergeFrom(Argument other) {
|
|
882
|
-
if (other == null) {
|
|
883
|
-
return;
|
|
884
|
-
}
|
|
885
|
-
if (other.Position != 0) {
|
|
886
|
-
Position = other.Position;
|
|
887
|
-
}
|
|
888
|
-
if (other.Value.Length != 0) {
|
|
889
|
-
Value = other.Value;
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
894
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
895
|
-
uint tag;
|
|
896
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
897
|
-
switch(tag) {
|
|
898
|
-
default:
|
|
899
|
-
input.SkipLastField();
|
|
900
|
-
break;
|
|
901
|
-
case 8: {
|
|
902
|
-
Position = input.ReadUInt32();
|
|
903
|
-
break;
|
|
904
|
-
}
|
|
905
|
-
case 18: {
|
|
906
|
-
Value = input.ReadBytes();
|
|
907
|
-
break;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
public sealed partial class Response : pb::IMessage<Response> {
|
|
916
|
-
private static readonly pb::MessageParser<Response> _parser = new pb::MessageParser<Response>(() => new Response());
|
|
917
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
918
|
-
public static pb::MessageParser<Response> Parser { get { return _parser; } }
|
|
919
|
-
|
|
920
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
921
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
922
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[5]; }
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
926
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
927
|
-
get { return Descriptor; }
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
931
|
-
public Response() {
|
|
932
|
-
OnConstruction();
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
partial void OnConstruction();
|
|
936
|
-
|
|
937
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
938
|
-
public Response(Response other) : this() {
|
|
939
|
-
Error = other.error_ != null ? other.Error.Clone() : null;
|
|
940
|
-
results_ = other.results_.Clone();
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
944
|
-
public Response Clone() {
|
|
945
|
-
return new Response(this);
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
/// <summary>Field number for the "error" field.</summary>
|
|
949
|
-
public const int ErrorFieldNumber = 1;
|
|
950
|
-
private global::KRPC.Schema.KRPC.Error error_;
|
|
951
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
952
|
-
public global::KRPC.Schema.KRPC.Error Error {
|
|
953
|
-
get { return error_; }
|
|
954
|
-
set {
|
|
955
|
-
error_ = value;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
/// <summary>Field number for the "results" field.</summary>
|
|
960
|
-
public const int ResultsFieldNumber = 2;
|
|
961
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.ProcedureResult> _repeated_results_codec
|
|
962
|
-
= pb::FieldCodec.ForMessage(18, global::KRPC.Schema.KRPC.ProcedureResult.Parser);
|
|
963
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.ProcedureResult> results_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.ProcedureResult>();
|
|
964
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
965
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.ProcedureResult> Results {
|
|
966
|
-
get { return results_; }
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
970
|
-
public override bool Equals(object other) {
|
|
971
|
-
return Equals(other as Response);
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
975
|
-
public bool Equals(Response other) {
|
|
976
|
-
if (ReferenceEquals(other, null)) {
|
|
977
|
-
return false;
|
|
978
|
-
}
|
|
979
|
-
if (ReferenceEquals(other, this)) {
|
|
980
|
-
return true;
|
|
981
|
-
}
|
|
982
|
-
if (!object.Equals(Error, other.Error)) return false;
|
|
983
|
-
if(!results_.Equals(other.results_)) return false;
|
|
984
|
-
return true;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
988
|
-
public override int GetHashCode() {
|
|
989
|
-
int hash = 1;
|
|
990
|
-
if (error_ != null) hash ^= Error.GetHashCode();
|
|
991
|
-
hash ^= results_.GetHashCode();
|
|
992
|
-
return hash;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
996
|
-
public override string ToString() {
|
|
997
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1001
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1002
|
-
if (error_ != null) {
|
|
1003
|
-
output.WriteRawTag(10);
|
|
1004
|
-
output.WriteMessage(Error);
|
|
1005
|
-
}
|
|
1006
|
-
results_.WriteTo(output, _repeated_results_codec);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1010
|
-
public int CalculateSize() {
|
|
1011
|
-
int size = 0;
|
|
1012
|
-
if (error_ != null) {
|
|
1013
|
-
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error);
|
|
1014
|
-
}
|
|
1015
|
-
size += results_.CalculateSize(_repeated_results_codec);
|
|
1016
|
-
return size;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1020
|
-
public void MergeFrom(Response other) {
|
|
1021
|
-
if (other == null) {
|
|
1022
|
-
return;
|
|
1023
|
-
}
|
|
1024
|
-
if (other.error_ != null) {
|
|
1025
|
-
if (error_ == null) {
|
|
1026
|
-
error_ = new global::KRPC.Schema.KRPC.Error();
|
|
1027
|
-
}
|
|
1028
|
-
Error.MergeFrom(other.Error);
|
|
1029
|
-
}
|
|
1030
|
-
results_.Add(other.results_);
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1034
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1035
|
-
uint tag;
|
|
1036
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1037
|
-
switch(tag) {
|
|
1038
|
-
default:
|
|
1039
|
-
input.SkipLastField();
|
|
1040
|
-
break;
|
|
1041
|
-
case 10: {
|
|
1042
|
-
if (error_ == null) {
|
|
1043
|
-
error_ = new global::KRPC.Schema.KRPC.Error();
|
|
1044
|
-
}
|
|
1045
|
-
input.ReadMessage(error_);
|
|
1046
|
-
break;
|
|
1047
|
-
}
|
|
1048
|
-
case 18: {
|
|
1049
|
-
results_.AddEntriesFrom(input, _repeated_results_codec);
|
|
1050
|
-
break;
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
public sealed partial class ProcedureResult : pb::IMessage<ProcedureResult> {
|
|
1059
|
-
private static readonly pb::MessageParser<ProcedureResult> _parser = new pb::MessageParser<ProcedureResult>(() => new ProcedureResult());
|
|
1060
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1061
|
-
public static pb::MessageParser<ProcedureResult> Parser { get { return _parser; } }
|
|
1062
|
-
|
|
1063
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1064
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
1065
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[6]; }
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1069
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
1070
|
-
get { return Descriptor; }
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1074
|
-
public ProcedureResult() {
|
|
1075
|
-
OnConstruction();
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
partial void OnConstruction();
|
|
1079
|
-
|
|
1080
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1081
|
-
public ProcedureResult(ProcedureResult other) : this() {
|
|
1082
|
-
Error = other.error_ != null ? other.Error.Clone() : null;
|
|
1083
|
-
value_ = other.value_;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1087
|
-
public ProcedureResult Clone() {
|
|
1088
|
-
return new ProcedureResult(this);
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
/// <summary>Field number for the "error" field.</summary>
|
|
1092
|
-
public const int ErrorFieldNumber = 1;
|
|
1093
|
-
private global::KRPC.Schema.KRPC.Error error_;
|
|
1094
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1095
|
-
public global::KRPC.Schema.KRPC.Error Error {
|
|
1096
|
-
get { return error_; }
|
|
1097
|
-
set {
|
|
1098
|
-
error_ = value;
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
/// <summary>Field number for the "value" field.</summary>
|
|
1103
|
-
public const int ValueFieldNumber = 2;
|
|
1104
|
-
private pb::ByteString value_ = pb::ByteString.Empty;
|
|
1105
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1106
|
-
public pb::ByteString Value {
|
|
1107
|
-
get { return value_; }
|
|
1108
|
-
set {
|
|
1109
|
-
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1114
|
-
public override bool Equals(object other) {
|
|
1115
|
-
return Equals(other as ProcedureResult);
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1119
|
-
public bool Equals(ProcedureResult other) {
|
|
1120
|
-
if (ReferenceEquals(other, null)) {
|
|
1121
|
-
return false;
|
|
1122
|
-
}
|
|
1123
|
-
if (ReferenceEquals(other, this)) {
|
|
1124
|
-
return true;
|
|
1125
|
-
}
|
|
1126
|
-
if (!object.Equals(Error, other.Error)) return false;
|
|
1127
|
-
if (Value != other.Value) return false;
|
|
1128
|
-
return true;
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1132
|
-
public override int GetHashCode() {
|
|
1133
|
-
int hash = 1;
|
|
1134
|
-
if (error_ != null) hash ^= Error.GetHashCode();
|
|
1135
|
-
if (Value.Length != 0) hash ^= Value.GetHashCode();
|
|
1136
|
-
return hash;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1140
|
-
public override string ToString() {
|
|
1141
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1145
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1146
|
-
if (error_ != null) {
|
|
1147
|
-
output.WriteRawTag(10);
|
|
1148
|
-
output.WriteMessage(Error);
|
|
1149
|
-
}
|
|
1150
|
-
if (Value.Length != 0) {
|
|
1151
|
-
output.WriteRawTag(18);
|
|
1152
|
-
output.WriteBytes(Value);
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1157
|
-
public int CalculateSize() {
|
|
1158
|
-
int size = 0;
|
|
1159
|
-
if (error_ != null) {
|
|
1160
|
-
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error);
|
|
1161
|
-
}
|
|
1162
|
-
if (Value.Length != 0) {
|
|
1163
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value);
|
|
1164
|
-
}
|
|
1165
|
-
return size;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1169
|
-
public void MergeFrom(ProcedureResult other) {
|
|
1170
|
-
if (other == null) {
|
|
1171
|
-
return;
|
|
1172
|
-
}
|
|
1173
|
-
if (other.error_ != null) {
|
|
1174
|
-
if (error_ == null) {
|
|
1175
|
-
error_ = new global::KRPC.Schema.KRPC.Error();
|
|
1176
|
-
}
|
|
1177
|
-
Error.MergeFrom(other.Error);
|
|
1178
|
-
}
|
|
1179
|
-
if (other.Value.Length != 0) {
|
|
1180
|
-
Value = other.Value;
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1185
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1186
|
-
uint tag;
|
|
1187
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1188
|
-
switch(tag) {
|
|
1189
|
-
default:
|
|
1190
|
-
input.SkipLastField();
|
|
1191
|
-
break;
|
|
1192
|
-
case 10: {
|
|
1193
|
-
if (error_ == null) {
|
|
1194
|
-
error_ = new global::KRPC.Schema.KRPC.Error();
|
|
1195
|
-
}
|
|
1196
|
-
input.ReadMessage(error_);
|
|
1197
|
-
break;
|
|
1198
|
-
}
|
|
1199
|
-
case 18: {
|
|
1200
|
-
Value = input.ReadBytes();
|
|
1201
|
-
break;
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
public sealed partial class Error : pb::IMessage<Error> {
|
|
1210
|
-
private static readonly pb::MessageParser<Error> _parser = new pb::MessageParser<Error>(() => new Error());
|
|
1211
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1212
|
-
public static pb::MessageParser<Error> Parser { get { return _parser; } }
|
|
1213
|
-
|
|
1214
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1215
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
1216
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[7]; }
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1220
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
1221
|
-
get { return Descriptor; }
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1225
|
-
public Error() {
|
|
1226
|
-
OnConstruction();
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
partial void OnConstruction();
|
|
1230
|
-
|
|
1231
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1232
|
-
public Error(Error other) : this() {
|
|
1233
|
-
service_ = other.service_;
|
|
1234
|
-
name_ = other.name_;
|
|
1235
|
-
description_ = other.description_;
|
|
1236
|
-
stackTrace_ = other.stackTrace_;
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1240
|
-
public Error Clone() {
|
|
1241
|
-
return new Error(this);
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
/// <summary>Field number for the "service" field.</summary>
|
|
1245
|
-
public const int ServiceFieldNumber = 1;
|
|
1246
|
-
private string service_ = "";
|
|
1247
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1248
|
-
public string Service {
|
|
1249
|
-
get { return service_; }
|
|
1250
|
-
set {
|
|
1251
|
-
service_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
1256
|
-
public const int NameFieldNumber = 2;
|
|
1257
|
-
private string name_ = "";
|
|
1258
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1259
|
-
public string Name {
|
|
1260
|
-
get { return name_; }
|
|
1261
|
-
set {
|
|
1262
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
/// <summary>Field number for the "description" field.</summary>
|
|
1267
|
-
public const int DescriptionFieldNumber = 3;
|
|
1268
|
-
private string description_ = "";
|
|
1269
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1270
|
-
public string Description {
|
|
1271
|
-
get { return description_; }
|
|
1272
|
-
set {
|
|
1273
|
-
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
/// <summary>Field number for the "stack_trace" field.</summary>
|
|
1278
|
-
public const int StackTraceFieldNumber = 4;
|
|
1279
|
-
private string stackTrace_ = "";
|
|
1280
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1281
|
-
public string StackTrace {
|
|
1282
|
-
get { return stackTrace_; }
|
|
1283
|
-
set {
|
|
1284
|
-
stackTrace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1289
|
-
public override bool Equals(object other) {
|
|
1290
|
-
return Equals(other as Error);
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1294
|
-
public bool Equals(Error other) {
|
|
1295
|
-
if (ReferenceEquals(other, null)) {
|
|
1296
|
-
return false;
|
|
1297
|
-
}
|
|
1298
|
-
if (ReferenceEquals(other, this)) {
|
|
1299
|
-
return true;
|
|
1300
|
-
}
|
|
1301
|
-
if (Service != other.Service) return false;
|
|
1302
|
-
if (Name != other.Name) return false;
|
|
1303
|
-
if (Description != other.Description) return false;
|
|
1304
|
-
if (StackTrace != other.StackTrace) return false;
|
|
1305
|
-
return true;
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1309
|
-
public override int GetHashCode() {
|
|
1310
|
-
int hash = 1;
|
|
1311
|
-
if (Service.Length != 0) hash ^= Service.GetHashCode();
|
|
1312
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
1313
|
-
if (Description.Length != 0) hash ^= Description.GetHashCode();
|
|
1314
|
-
if (StackTrace.Length != 0) hash ^= StackTrace.GetHashCode();
|
|
1315
|
-
return hash;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1319
|
-
public override string ToString() {
|
|
1320
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1324
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1325
|
-
if (Service.Length != 0) {
|
|
1326
|
-
output.WriteRawTag(10);
|
|
1327
|
-
output.WriteString(Service);
|
|
1328
|
-
}
|
|
1329
|
-
if (Name.Length != 0) {
|
|
1330
|
-
output.WriteRawTag(18);
|
|
1331
|
-
output.WriteString(Name);
|
|
1332
|
-
}
|
|
1333
|
-
if (Description.Length != 0) {
|
|
1334
|
-
output.WriteRawTag(26);
|
|
1335
|
-
output.WriteString(Description);
|
|
1336
|
-
}
|
|
1337
|
-
if (StackTrace.Length != 0) {
|
|
1338
|
-
output.WriteRawTag(34);
|
|
1339
|
-
output.WriteString(StackTrace);
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1344
|
-
public int CalculateSize() {
|
|
1345
|
-
int size = 0;
|
|
1346
|
-
if (Service.Length != 0) {
|
|
1347
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Service);
|
|
1348
|
-
}
|
|
1349
|
-
if (Name.Length != 0) {
|
|
1350
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
1351
|
-
}
|
|
1352
|
-
if (Description.Length != 0) {
|
|
1353
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
|
|
1354
|
-
}
|
|
1355
|
-
if (StackTrace.Length != 0) {
|
|
1356
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(StackTrace);
|
|
1357
|
-
}
|
|
1358
|
-
return size;
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1362
|
-
public void MergeFrom(Error other) {
|
|
1363
|
-
if (other == null) {
|
|
1364
|
-
return;
|
|
1365
|
-
}
|
|
1366
|
-
if (other.Service.Length != 0) {
|
|
1367
|
-
Service = other.Service;
|
|
1368
|
-
}
|
|
1369
|
-
if (other.Name.Length != 0) {
|
|
1370
|
-
Name = other.Name;
|
|
1371
|
-
}
|
|
1372
|
-
if (other.Description.Length != 0) {
|
|
1373
|
-
Description = other.Description;
|
|
1374
|
-
}
|
|
1375
|
-
if (other.StackTrace.Length != 0) {
|
|
1376
|
-
StackTrace = other.StackTrace;
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1381
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1382
|
-
uint tag;
|
|
1383
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1384
|
-
switch(tag) {
|
|
1385
|
-
default:
|
|
1386
|
-
input.SkipLastField();
|
|
1387
|
-
break;
|
|
1388
|
-
case 10: {
|
|
1389
|
-
Service = input.ReadString();
|
|
1390
|
-
break;
|
|
1391
|
-
}
|
|
1392
|
-
case 18: {
|
|
1393
|
-
Name = input.ReadString();
|
|
1394
|
-
break;
|
|
1395
|
-
}
|
|
1396
|
-
case 26: {
|
|
1397
|
-
Description = input.ReadString();
|
|
1398
|
-
break;
|
|
1399
|
-
}
|
|
1400
|
-
case 34: {
|
|
1401
|
-
StackTrace = input.ReadString();
|
|
1402
|
-
break;
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
public sealed partial class StreamUpdate : pb::IMessage<StreamUpdate> {
|
|
1411
|
-
private static readonly pb::MessageParser<StreamUpdate> _parser = new pb::MessageParser<StreamUpdate>(() => new StreamUpdate());
|
|
1412
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1413
|
-
public static pb::MessageParser<StreamUpdate> Parser { get { return _parser; } }
|
|
1414
|
-
|
|
1415
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1416
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
1417
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[8]; }
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1421
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
1422
|
-
get { return Descriptor; }
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1426
|
-
public StreamUpdate() {
|
|
1427
|
-
OnConstruction();
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
partial void OnConstruction();
|
|
1431
|
-
|
|
1432
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1433
|
-
public StreamUpdate(StreamUpdate other) : this() {
|
|
1434
|
-
results_ = other.results_.Clone();
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1438
|
-
public StreamUpdate Clone() {
|
|
1439
|
-
return new StreamUpdate(this);
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
/// <summary>Field number for the "results" field.</summary>
|
|
1443
|
-
public const int ResultsFieldNumber = 1;
|
|
1444
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.StreamResult> _repeated_results_codec
|
|
1445
|
-
= pb::FieldCodec.ForMessage(10, global::KRPC.Schema.KRPC.StreamResult.Parser);
|
|
1446
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.StreamResult> results_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.StreamResult>();
|
|
1447
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1448
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.StreamResult> Results {
|
|
1449
|
-
get { return results_; }
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1453
|
-
public override bool Equals(object other) {
|
|
1454
|
-
return Equals(other as StreamUpdate);
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1458
|
-
public bool Equals(StreamUpdate other) {
|
|
1459
|
-
if (ReferenceEquals(other, null)) {
|
|
1460
|
-
return false;
|
|
1461
|
-
}
|
|
1462
|
-
if (ReferenceEquals(other, this)) {
|
|
1463
|
-
return true;
|
|
1464
|
-
}
|
|
1465
|
-
if(!results_.Equals(other.results_)) return false;
|
|
1466
|
-
return true;
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1470
|
-
public override int GetHashCode() {
|
|
1471
|
-
int hash = 1;
|
|
1472
|
-
hash ^= results_.GetHashCode();
|
|
1473
|
-
return hash;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1477
|
-
public override string ToString() {
|
|
1478
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1482
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1483
|
-
results_.WriteTo(output, _repeated_results_codec);
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1487
|
-
public int CalculateSize() {
|
|
1488
|
-
int size = 0;
|
|
1489
|
-
size += results_.CalculateSize(_repeated_results_codec);
|
|
1490
|
-
return size;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1494
|
-
public void MergeFrom(StreamUpdate other) {
|
|
1495
|
-
if (other == null) {
|
|
1496
|
-
return;
|
|
1497
|
-
}
|
|
1498
|
-
results_.Add(other.results_);
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1502
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1503
|
-
uint tag;
|
|
1504
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1505
|
-
switch(tag) {
|
|
1506
|
-
default:
|
|
1507
|
-
input.SkipLastField();
|
|
1508
|
-
break;
|
|
1509
|
-
case 10: {
|
|
1510
|
-
results_.AddEntriesFrom(input, _repeated_results_codec);
|
|
1511
|
-
break;
|
|
1512
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
public sealed partial class StreamResult : pb::IMessage<StreamResult> {
|
|
1520
|
-
private static readonly pb::MessageParser<StreamResult> _parser = new pb::MessageParser<StreamResult>(() => new StreamResult());
|
|
1521
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1522
|
-
public static pb::MessageParser<StreamResult> Parser { get { return _parser; } }
|
|
1523
|
-
|
|
1524
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1525
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
1526
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[9]; }
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1530
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
1531
|
-
get { return Descriptor; }
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1535
|
-
public StreamResult() {
|
|
1536
|
-
OnConstruction();
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
partial void OnConstruction();
|
|
1540
|
-
|
|
1541
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1542
|
-
public StreamResult(StreamResult other) : this() {
|
|
1543
|
-
id_ = other.id_;
|
|
1544
|
-
Result = other.result_ != null ? other.Result.Clone() : null;
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1548
|
-
public StreamResult Clone() {
|
|
1549
|
-
return new StreamResult(this);
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
/// <summary>Field number for the "id" field.</summary>
|
|
1553
|
-
public const int IdFieldNumber = 1;
|
|
1554
|
-
private ulong id_;
|
|
1555
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1556
|
-
public ulong Id {
|
|
1557
|
-
get { return id_; }
|
|
1558
|
-
set {
|
|
1559
|
-
id_ = value;
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
/// <summary>Field number for the "result" field.</summary>
|
|
1564
|
-
public const int ResultFieldNumber = 2;
|
|
1565
|
-
private global::KRPC.Schema.KRPC.ProcedureResult result_;
|
|
1566
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1567
|
-
public global::KRPC.Schema.KRPC.ProcedureResult Result {
|
|
1568
|
-
get { return result_; }
|
|
1569
|
-
set {
|
|
1570
|
-
result_ = value;
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1575
|
-
public override bool Equals(object other) {
|
|
1576
|
-
return Equals(other as StreamResult);
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1580
|
-
public bool Equals(StreamResult other) {
|
|
1581
|
-
if (ReferenceEquals(other, null)) {
|
|
1582
|
-
return false;
|
|
1583
|
-
}
|
|
1584
|
-
if (ReferenceEquals(other, this)) {
|
|
1585
|
-
return true;
|
|
1586
|
-
}
|
|
1587
|
-
if (Id != other.Id) return false;
|
|
1588
|
-
if (!object.Equals(Result, other.Result)) return false;
|
|
1589
|
-
return true;
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1593
|
-
public override int GetHashCode() {
|
|
1594
|
-
int hash = 1;
|
|
1595
|
-
if (Id != 0UL) hash ^= Id.GetHashCode();
|
|
1596
|
-
if (result_ != null) hash ^= Result.GetHashCode();
|
|
1597
|
-
return hash;
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1601
|
-
public override string ToString() {
|
|
1602
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1606
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1607
|
-
if (Id != 0UL) {
|
|
1608
|
-
output.WriteRawTag(8);
|
|
1609
|
-
output.WriteUInt64(Id);
|
|
1610
|
-
}
|
|
1611
|
-
if (result_ != null) {
|
|
1612
|
-
output.WriteRawTag(18);
|
|
1613
|
-
output.WriteMessage(Result);
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1618
|
-
public int CalculateSize() {
|
|
1619
|
-
int size = 0;
|
|
1620
|
-
if (Id != 0UL) {
|
|
1621
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id);
|
|
1622
|
-
}
|
|
1623
|
-
if (result_ != null) {
|
|
1624
|
-
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Result);
|
|
1625
|
-
}
|
|
1626
|
-
return size;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1630
|
-
public void MergeFrom(StreamResult other) {
|
|
1631
|
-
if (other == null) {
|
|
1632
|
-
return;
|
|
1633
|
-
}
|
|
1634
|
-
if (other.Id != 0UL) {
|
|
1635
|
-
Id = other.Id;
|
|
1636
|
-
}
|
|
1637
|
-
if (other.result_ != null) {
|
|
1638
|
-
if (result_ == null) {
|
|
1639
|
-
result_ = new global::KRPC.Schema.KRPC.ProcedureResult();
|
|
1640
|
-
}
|
|
1641
|
-
Result.MergeFrom(other.Result);
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1646
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1647
|
-
uint tag;
|
|
1648
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1649
|
-
switch(tag) {
|
|
1650
|
-
default:
|
|
1651
|
-
input.SkipLastField();
|
|
1652
|
-
break;
|
|
1653
|
-
case 8: {
|
|
1654
|
-
Id = input.ReadUInt64();
|
|
1655
|
-
break;
|
|
1656
|
-
}
|
|
1657
|
-
case 18: {
|
|
1658
|
-
if (result_ == null) {
|
|
1659
|
-
result_ = new global::KRPC.Schema.KRPC.ProcedureResult();
|
|
1660
|
-
}
|
|
1661
|
-
input.ReadMessage(result_);
|
|
1662
|
-
break;
|
|
1663
|
-
}
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
public sealed partial class Services : pb::IMessage<Services> {
|
|
1671
|
-
private static readonly pb::MessageParser<Services> _parser = new pb::MessageParser<Services>(() => new Services());
|
|
1672
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1673
|
-
public static pb::MessageParser<Services> Parser { get { return _parser; } }
|
|
1674
|
-
|
|
1675
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1676
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
1677
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[10]; }
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1681
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
1682
|
-
get { return Descriptor; }
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1686
|
-
public Services() {
|
|
1687
|
-
OnConstruction();
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
partial void OnConstruction();
|
|
1691
|
-
|
|
1692
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1693
|
-
public Services(Services other) : this() {
|
|
1694
|
-
services_ = other.services_.Clone();
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1698
|
-
public Services Clone() {
|
|
1699
|
-
return new Services(this);
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
/// <summary>Field number for the "services" field.</summary>
|
|
1703
|
-
public const int Services_FieldNumber = 1;
|
|
1704
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Service> _repeated_services_codec
|
|
1705
|
-
= pb::FieldCodec.ForMessage(10, global::KRPC.Schema.KRPC.Service.Parser);
|
|
1706
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Service> services_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Service>();
|
|
1707
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1708
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Service> Services_ {
|
|
1709
|
-
get { return services_; }
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1713
|
-
public override bool Equals(object other) {
|
|
1714
|
-
return Equals(other as Services);
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1718
|
-
public bool Equals(Services other) {
|
|
1719
|
-
if (ReferenceEquals(other, null)) {
|
|
1720
|
-
return false;
|
|
1721
|
-
}
|
|
1722
|
-
if (ReferenceEquals(other, this)) {
|
|
1723
|
-
return true;
|
|
1724
|
-
}
|
|
1725
|
-
if(!services_.Equals(other.services_)) return false;
|
|
1726
|
-
return true;
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1730
|
-
public override int GetHashCode() {
|
|
1731
|
-
int hash = 1;
|
|
1732
|
-
hash ^= services_.GetHashCode();
|
|
1733
|
-
return hash;
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1737
|
-
public override string ToString() {
|
|
1738
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1742
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1743
|
-
services_.WriteTo(output, _repeated_services_codec);
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1747
|
-
public int CalculateSize() {
|
|
1748
|
-
int size = 0;
|
|
1749
|
-
size += services_.CalculateSize(_repeated_services_codec);
|
|
1750
|
-
return size;
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1754
|
-
public void MergeFrom(Services other) {
|
|
1755
|
-
if (other == null) {
|
|
1756
|
-
return;
|
|
1757
|
-
}
|
|
1758
|
-
services_.Add(other.services_);
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1762
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1763
|
-
uint tag;
|
|
1764
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1765
|
-
switch(tag) {
|
|
1766
|
-
default:
|
|
1767
|
-
input.SkipLastField();
|
|
1768
|
-
break;
|
|
1769
|
-
case 10: {
|
|
1770
|
-
services_.AddEntriesFrom(input, _repeated_services_codec);
|
|
1771
|
-
break;
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
public sealed partial class Service : pb::IMessage<Service> {
|
|
1780
|
-
private static readonly pb::MessageParser<Service> _parser = new pb::MessageParser<Service>(() => new Service());
|
|
1781
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1782
|
-
public static pb::MessageParser<Service> Parser { get { return _parser; } }
|
|
1783
|
-
|
|
1784
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1785
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
1786
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[11]; }
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1790
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
1791
|
-
get { return Descriptor; }
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1795
|
-
public Service() {
|
|
1796
|
-
OnConstruction();
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
partial void OnConstruction();
|
|
1800
|
-
|
|
1801
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1802
|
-
public Service(Service other) : this() {
|
|
1803
|
-
name_ = other.name_;
|
|
1804
|
-
procedures_ = other.procedures_.Clone();
|
|
1805
|
-
classes_ = other.classes_.Clone();
|
|
1806
|
-
enumerations_ = other.enumerations_.Clone();
|
|
1807
|
-
exceptions_ = other.exceptions_.Clone();
|
|
1808
|
-
documentation_ = other.documentation_;
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1812
|
-
public Service Clone() {
|
|
1813
|
-
return new Service(this);
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
1817
|
-
public const int NameFieldNumber = 1;
|
|
1818
|
-
private string name_ = "";
|
|
1819
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1820
|
-
public string Name {
|
|
1821
|
-
get { return name_; }
|
|
1822
|
-
set {
|
|
1823
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
/// <summary>Field number for the "procedures" field.</summary>
|
|
1828
|
-
public const int ProceduresFieldNumber = 2;
|
|
1829
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Procedure> _repeated_procedures_codec
|
|
1830
|
-
= pb::FieldCodec.ForMessage(18, global::KRPC.Schema.KRPC.Procedure.Parser);
|
|
1831
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Procedure> procedures_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Procedure>();
|
|
1832
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1833
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Procedure> Procedures {
|
|
1834
|
-
get { return procedures_; }
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
/// <summary>Field number for the "classes" field.</summary>
|
|
1838
|
-
public const int ClassesFieldNumber = 3;
|
|
1839
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Class> _repeated_classes_codec
|
|
1840
|
-
= pb::FieldCodec.ForMessage(26, global::KRPC.Schema.KRPC.Class.Parser);
|
|
1841
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Class> classes_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Class>();
|
|
1842
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1843
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Class> Classes {
|
|
1844
|
-
get { return classes_; }
|
|
1845
|
-
}
|
|
1846
|
-
|
|
1847
|
-
/// <summary>Field number for the "enumerations" field.</summary>
|
|
1848
|
-
public const int EnumerationsFieldNumber = 4;
|
|
1849
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Enumeration> _repeated_enumerations_codec
|
|
1850
|
-
= pb::FieldCodec.ForMessage(34, global::KRPC.Schema.KRPC.Enumeration.Parser);
|
|
1851
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Enumeration> enumerations_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Enumeration>();
|
|
1852
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1853
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Enumeration> Enumerations {
|
|
1854
|
-
get { return enumerations_; }
|
|
1855
|
-
}
|
|
1856
|
-
|
|
1857
|
-
/// <summary>Field number for the "exceptions" field.</summary>
|
|
1858
|
-
public const int ExceptionsFieldNumber = 5;
|
|
1859
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Exception> _repeated_exceptions_codec
|
|
1860
|
-
= pb::FieldCodec.ForMessage(42, global::KRPC.Schema.KRPC.Exception.Parser);
|
|
1861
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Exception> exceptions_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Exception>();
|
|
1862
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1863
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Exception> Exceptions {
|
|
1864
|
-
get { return exceptions_; }
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
/// <summary>Field number for the "documentation" field.</summary>
|
|
1868
|
-
public const int DocumentationFieldNumber = 6;
|
|
1869
|
-
private string documentation_ = "";
|
|
1870
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1871
|
-
public string Documentation {
|
|
1872
|
-
get { return documentation_; }
|
|
1873
|
-
set {
|
|
1874
|
-
documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1879
|
-
public override bool Equals(object other) {
|
|
1880
|
-
return Equals(other as Service);
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1884
|
-
public bool Equals(Service other) {
|
|
1885
|
-
if (ReferenceEquals(other, null)) {
|
|
1886
|
-
return false;
|
|
1887
|
-
}
|
|
1888
|
-
if (ReferenceEquals(other, this)) {
|
|
1889
|
-
return true;
|
|
1890
|
-
}
|
|
1891
|
-
if (Name != other.Name) return false;
|
|
1892
|
-
if(!procedures_.Equals(other.procedures_)) return false;
|
|
1893
|
-
if(!classes_.Equals(other.classes_)) return false;
|
|
1894
|
-
if(!enumerations_.Equals(other.enumerations_)) return false;
|
|
1895
|
-
if(!exceptions_.Equals(other.exceptions_)) return false;
|
|
1896
|
-
if (Documentation != other.Documentation) return false;
|
|
1897
|
-
return true;
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1901
|
-
public override int GetHashCode() {
|
|
1902
|
-
int hash = 1;
|
|
1903
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
1904
|
-
hash ^= procedures_.GetHashCode();
|
|
1905
|
-
hash ^= classes_.GetHashCode();
|
|
1906
|
-
hash ^= enumerations_.GetHashCode();
|
|
1907
|
-
hash ^= exceptions_.GetHashCode();
|
|
1908
|
-
if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
|
|
1909
|
-
return hash;
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1913
|
-
public override string ToString() {
|
|
1914
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1918
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
1919
|
-
if (Name.Length != 0) {
|
|
1920
|
-
output.WriteRawTag(10);
|
|
1921
|
-
output.WriteString(Name);
|
|
1922
|
-
}
|
|
1923
|
-
procedures_.WriteTo(output, _repeated_procedures_codec);
|
|
1924
|
-
classes_.WriteTo(output, _repeated_classes_codec);
|
|
1925
|
-
enumerations_.WriteTo(output, _repeated_enumerations_codec);
|
|
1926
|
-
exceptions_.WriteTo(output, _repeated_exceptions_codec);
|
|
1927
|
-
if (Documentation.Length != 0) {
|
|
1928
|
-
output.WriteRawTag(50);
|
|
1929
|
-
output.WriteString(Documentation);
|
|
1930
|
-
}
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1934
|
-
public int CalculateSize() {
|
|
1935
|
-
int size = 0;
|
|
1936
|
-
if (Name.Length != 0) {
|
|
1937
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
1938
|
-
}
|
|
1939
|
-
size += procedures_.CalculateSize(_repeated_procedures_codec);
|
|
1940
|
-
size += classes_.CalculateSize(_repeated_classes_codec);
|
|
1941
|
-
size += enumerations_.CalculateSize(_repeated_enumerations_codec);
|
|
1942
|
-
size += exceptions_.CalculateSize(_repeated_exceptions_codec);
|
|
1943
|
-
if (Documentation.Length != 0) {
|
|
1944
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
|
|
1945
|
-
}
|
|
1946
|
-
return size;
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1950
|
-
public void MergeFrom(Service other) {
|
|
1951
|
-
if (other == null) {
|
|
1952
|
-
return;
|
|
1953
|
-
}
|
|
1954
|
-
if (other.Name.Length != 0) {
|
|
1955
|
-
Name = other.Name;
|
|
1956
|
-
}
|
|
1957
|
-
procedures_.Add(other.procedures_);
|
|
1958
|
-
classes_.Add(other.classes_);
|
|
1959
|
-
enumerations_.Add(other.enumerations_);
|
|
1960
|
-
exceptions_.Add(other.exceptions_);
|
|
1961
|
-
if (other.Documentation.Length != 0) {
|
|
1962
|
-
Documentation = other.Documentation;
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1967
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
1968
|
-
uint tag;
|
|
1969
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
1970
|
-
switch(tag) {
|
|
1971
|
-
default:
|
|
1972
|
-
input.SkipLastField();
|
|
1973
|
-
break;
|
|
1974
|
-
case 10: {
|
|
1975
|
-
Name = input.ReadString();
|
|
1976
|
-
break;
|
|
1977
|
-
}
|
|
1978
|
-
case 18: {
|
|
1979
|
-
procedures_.AddEntriesFrom(input, _repeated_procedures_codec);
|
|
1980
|
-
break;
|
|
1981
|
-
}
|
|
1982
|
-
case 26: {
|
|
1983
|
-
classes_.AddEntriesFrom(input, _repeated_classes_codec);
|
|
1984
|
-
break;
|
|
1985
|
-
}
|
|
1986
|
-
case 34: {
|
|
1987
|
-
enumerations_.AddEntriesFrom(input, _repeated_enumerations_codec);
|
|
1988
|
-
break;
|
|
1989
|
-
}
|
|
1990
|
-
case 42: {
|
|
1991
|
-
exceptions_.AddEntriesFrom(input, _repeated_exceptions_codec);
|
|
1992
|
-
break;
|
|
1993
|
-
}
|
|
1994
|
-
case 50: {
|
|
1995
|
-
Documentation = input.ReadString();
|
|
1996
|
-
break;
|
|
1997
|
-
}
|
|
1998
|
-
}
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
public sealed partial class Procedure : pb::IMessage<Procedure> {
|
|
2005
|
-
private static readonly pb::MessageParser<Procedure> _parser = new pb::MessageParser<Procedure>(() => new Procedure());
|
|
2006
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2007
|
-
public static pb::MessageParser<Procedure> Parser { get { return _parser; } }
|
|
2008
|
-
|
|
2009
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2010
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
2011
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[12]; }
|
|
2012
|
-
}
|
|
2013
|
-
|
|
2014
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2015
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
2016
|
-
get { return Descriptor; }
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2020
|
-
public Procedure() {
|
|
2021
|
-
OnConstruction();
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
partial void OnConstruction();
|
|
2025
|
-
|
|
2026
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2027
|
-
public Procedure(Procedure other) : this() {
|
|
2028
|
-
name_ = other.name_;
|
|
2029
|
-
parameters_ = other.parameters_.Clone();
|
|
2030
|
-
ReturnType = other.returnType_ != null ? other.ReturnType.Clone() : null;
|
|
2031
|
-
documentation_ = other.documentation_;
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2035
|
-
public Procedure Clone() {
|
|
2036
|
-
return new Procedure(this);
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
2040
|
-
public const int NameFieldNumber = 1;
|
|
2041
|
-
private string name_ = "";
|
|
2042
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2043
|
-
public string Name {
|
|
2044
|
-
get { return name_; }
|
|
2045
|
-
set {
|
|
2046
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2047
|
-
}
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
/// <summary>Field number for the "parameters" field.</summary>
|
|
2051
|
-
public const int ParametersFieldNumber = 2;
|
|
2052
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Parameter> _repeated_parameters_codec
|
|
2053
|
-
= pb::FieldCodec.ForMessage(18, global::KRPC.Schema.KRPC.Parameter.Parser);
|
|
2054
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Parameter> parameters_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Parameter>();
|
|
2055
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2056
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Parameter> Parameters {
|
|
2057
|
-
get { return parameters_; }
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
/// <summary>Field number for the "return_type" field.</summary>
|
|
2061
|
-
public const int ReturnTypeFieldNumber = 3;
|
|
2062
|
-
private global::KRPC.Schema.KRPC.Type returnType_;
|
|
2063
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2064
|
-
public global::KRPC.Schema.KRPC.Type ReturnType {
|
|
2065
|
-
get { return returnType_; }
|
|
2066
|
-
set {
|
|
2067
|
-
returnType_ = value;
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2071
|
-
/// <summary>Field number for the "documentation" field.</summary>
|
|
2072
|
-
public const int DocumentationFieldNumber = 4;
|
|
2073
|
-
private string documentation_ = "";
|
|
2074
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2075
|
-
public string Documentation {
|
|
2076
|
-
get { return documentation_; }
|
|
2077
|
-
set {
|
|
2078
|
-
documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2081
|
-
|
|
2082
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2083
|
-
public override bool Equals(object other) {
|
|
2084
|
-
return Equals(other as Procedure);
|
|
2085
|
-
}
|
|
2086
|
-
|
|
2087
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2088
|
-
public bool Equals(Procedure other) {
|
|
2089
|
-
if (ReferenceEquals(other, null)) {
|
|
2090
|
-
return false;
|
|
2091
|
-
}
|
|
2092
|
-
if (ReferenceEquals(other, this)) {
|
|
2093
|
-
return true;
|
|
2094
|
-
}
|
|
2095
|
-
if (Name != other.Name) return false;
|
|
2096
|
-
if(!parameters_.Equals(other.parameters_)) return false;
|
|
2097
|
-
if (!object.Equals(ReturnType, other.ReturnType)) return false;
|
|
2098
|
-
if (Documentation != other.Documentation) return false;
|
|
2099
|
-
return true;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2103
|
-
public override int GetHashCode() {
|
|
2104
|
-
int hash = 1;
|
|
2105
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
2106
|
-
hash ^= parameters_.GetHashCode();
|
|
2107
|
-
if (returnType_ != null) hash ^= ReturnType.GetHashCode();
|
|
2108
|
-
if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
|
|
2109
|
-
return hash;
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2113
|
-
public override string ToString() {
|
|
2114
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2118
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
2119
|
-
if (Name.Length != 0) {
|
|
2120
|
-
output.WriteRawTag(10);
|
|
2121
|
-
output.WriteString(Name);
|
|
2122
|
-
}
|
|
2123
|
-
parameters_.WriteTo(output, _repeated_parameters_codec);
|
|
2124
|
-
if (returnType_ != null) {
|
|
2125
|
-
output.WriteRawTag(26);
|
|
2126
|
-
output.WriteMessage(ReturnType);
|
|
2127
|
-
}
|
|
2128
|
-
if (Documentation.Length != 0) {
|
|
2129
|
-
output.WriteRawTag(34);
|
|
2130
|
-
output.WriteString(Documentation);
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2135
|
-
public int CalculateSize() {
|
|
2136
|
-
int size = 0;
|
|
2137
|
-
if (Name.Length != 0) {
|
|
2138
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
2139
|
-
}
|
|
2140
|
-
size += parameters_.CalculateSize(_repeated_parameters_codec);
|
|
2141
|
-
if (returnType_ != null) {
|
|
2142
|
-
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReturnType);
|
|
2143
|
-
}
|
|
2144
|
-
if (Documentation.Length != 0) {
|
|
2145
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
|
|
2146
|
-
}
|
|
2147
|
-
return size;
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2151
|
-
public void MergeFrom(Procedure other) {
|
|
2152
|
-
if (other == null) {
|
|
2153
|
-
return;
|
|
2154
|
-
}
|
|
2155
|
-
if (other.Name.Length != 0) {
|
|
2156
|
-
Name = other.Name;
|
|
2157
|
-
}
|
|
2158
|
-
parameters_.Add(other.parameters_);
|
|
2159
|
-
if (other.returnType_ != null) {
|
|
2160
|
-
if (returnType_ == null) {
|
|
2161
|
-
returnType_ = new global::KRPC.Schema.KRPC.Type();
|
|
2162
|
-
}
|
|
2163
|
-
ReturnType.MergeFrom(other.ReturnType);
|
|
2164
|
-
}
|
|
2165
|
-
if (other.Documentation.Length != 0) {
|
|
2166
|
-
Documentation = other.Documentation;
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2171
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
2172
|
-
uint tag;
|
|
2173
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
2174
|
-
switch(tag) {
|
|
2175
|
-
default:
|
|
2176
|
-
input.SkipLastField();
|
|
2177
|
-
break;
|
|
2178
|
-
case 10: {
|
|
2179
|
-
Name = input.ReadString();
|
|
2180
|
-
break;
|
|
2181
|
-
}
|
|
2182
|
-
case 18: {
|
|
2183
|
-
parameters_.AddEntriesFrom(input, _repeated_parameters_codec);
|
|
2184
|
-
break;
|
|
2185
|
-
}
|
|
2186
|
-
case 26: {
|
|
2187
|
-
if (returnType_ == null) {
|
|
2188
|
-
returnType_ = new global::KRPC.Schema.KRPC.Type();
|
|
2189
|
-
}
|
|
2190
|
-
input.ReadMessage(returnType_);
|
|
2191
|
-
break;
|
|
2192
|
-
}
|
|
2193
|
-
case 34: {
|
|
2194
|
-
Documentation = input.ReadString();
|
|
2195
|
-
break;
|
|
2196
|
-
}
|
|
2197
|
-
}
|
|
2198
|
-
}
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
}
|
|
2202
|
-
|
|
2203
|
-
public sealed partial class Parameter : pb::IMessage<Parameter> {
|
|
2204
|
-
private static readonly pb::MessageParser<Parameter> _parser = new pb::MessageParser<Parameter>(() => new Parameter());
|
|
2205
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2206
|
-
public static pb::MessageParser<Parameter> Parser { get { return _parser; } }
|
|
2207
|
-
|
|
2208
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2209
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
2210
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[13]; }
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2214
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
2215
|
-
get { return Descriptor; }
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2219
|
-
public Parameter() {
|
|
2220
|
-
OnConstruction();
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
partial void OnConstruction();
|
|
2224
|
-
|
|
2225
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2226
|
-
public Parameter(Parameter other) : this() {
|
|
2227
|
-
name_ = other.name_;
|
|
2228
|
-
Type = other.type_ != null ? other.Type.Clone() : null;
|
|
2229
|
-
defaultValue_ = other.defaultValue_;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2233
|
-
public Parameter Clone() {
|
|
2234
|
-
return new Parameter(this);
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
2238
|
-
public const int NameFieldNumber = 1;
|
|
2239
|
-
private string name_ = "";
|
|
2240
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2241
|
-
public string Name {
|
|
2242
|
-
get { return name_; }
|
|
2243
|
-
set {
|
|
2244
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
/// <summary>Field number for the "type" field.</summary>
|
|
2249
|
-
public const int TypeFieldNumber = 2;
|
|
2250
|
-
private global::KRPC.Schema.KRPC.Type type_;
|
|
2251
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2252
|
-
public global::KRPC.Schema.KRPC.Type Type {
|
|
2253
|
-
get { return type_; }
|
|
2254
|
-
set {
|
|
2255
|
-
type_ = value;
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
/// <summary>Field number for the "default_value" field.</summary>
|
|
2260
|
-
public const int DefaultValueFieldNumber = 3;
|
|
2261
|
-
private pb::ByteString defaultValue_ = pb::ByteString.Empty;
|
|
2262
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2263
|
-
public pb::ByteString DefaultValue {
|
|
2264
|
-
get { return defaultValue_; }
|
|
2265
|
-
set {
|
|
2266
|
-
defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2271
|
-
public override bool Equals(object other) {
|
|
2272
|
-
return Equals(other as Parameter);
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2276
|
-
public bool Equals(Parameter other) {
|
|
2277
|
-
if (ReferenceEquals(other, null)) {
|
|
2278
|
-
return false;
|
|
2279
|
-
}
|
|
2280
|
-
if (ReferenceEquals(other, this)) {
|
|
2281
|
-
return true;
|
|
2282
|
-
}
|
|
2283
|
-
if (Name != other.Name) return false;
|
|
2284
|
-
if (!object.Equals(Type, other.Type)) return false;
|
|
2285
|
-
if (DefaultValue != other.DefaultValue) return false;
|
|
2286
|
-
return true;
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2290
|
-
public override int GetHashCode() {
|
|
2291
|
-
int hash = 1;
|
|
2292
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
2293
|
-
if (type_ != null) hash ^= Type.GetHashCode();
|
|
2294
|
-
if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode();
|
|
2295
|
-
return hash;
|
|
2296
|
-
}
|
|
2297
|
-
|
|
2298
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2299
|
-
public override string ToString() {
|
|
2300
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2303
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2304
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
2305
|
-
if (Name.Length != 0) {
|
|
2306
|
-
output.WriteRawTag(10);
|
|
2307
|
-
output.WriteString(Name);
|
|
2308
|
-
}
|
|
2309
|
-
if (type_ != null) {
|
|
2310
|
-
output.WriteRawTag(18);
|
|
2311
|
-
output.WriteMessage(Type);
|
|
2312
|
-
}
|
|
2313
|
-
if (DefaultValue.Length != 0) {
|
|
2314
|
-
output.WriteRawTag(26);
|
|
2315
|
-
output.WriteBytes(DefaultValue);
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
|
|
2319
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2320
|
-
public int CalculateSize() {
|
|
2321
|
-
int size = 0;
|
|
2322
|
-
if (Name.Length != 0) {
|
|
2323
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
2324
|
-
}
|
|
2325
|
-
if (type_ != null) {
|
|
2326
|
-
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type);
|
|
2327
|
-
}
|
|
2328
|
-
if (DefaultValue.Length != 0) {
|
|
2329
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DefaultValue);
|
|
2330
|
-
}
|
|
2331
|
-
return size;
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2335
|
-
public void MergeFrom(Parameter other) {
|
|
2336
|
-
if (other == null) {
|
|
2337
|
-
return;
|
|
2338
|
-
}
|
|
2339
|
-
if (other.Name.Length != 0) {
|
|
2340
|
-
Name = other.Name;
|
|
2341
|
-
}
|
|
2342
|
-
if (other.type_ != null) {
|
|
2343
|
-
if (type_ == null) {
|
|
2344
|
-
type_ = new global::KRPC.Schema.KRPC.Type();
|
|
2345
|
-
}
|
|
2346
|
-
Type.MergeFrom(other.Type);
|
|
2347
|
-
}
|
|
2348
|
-
if (other.DefaultValue.Length != 0) {
|
|
2349
|
-
DefaultValue = other.DefaultValue;
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2354
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
2355
|
-
uint tag;
|
|
2356
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
2357
|
-
switch(tag) {
|
|
2358
|
-
default:
|
|
2359
|
-
input.SkipLastField();
|
|
2360
|
-
break;
|
|
2361
|
-
case 10: {
|
|
2362
|
-
Name = input.ReadString();
|
|
2363
|
-
break;
|
|
2364
|
-
}
|
|
2365
|
-
case 18: {
|
|
2366
|
-
if (type_ == null) {
|
|
2367
|
-
type_ = new global::KRPC.Schema.KRPC.Type();
|
|
2368
|
-
}
|
|
2369
|
-
input.ReadMessage(type_);
|
|
2370
|
-
break;
|
|
2371
|
-
}
|
|
2372
|
-
case 26: {
|
|
2373
|
-
DefaultValue = input.ReadBytes();
|
|
2374
|
-
break;
|
|
2375
|
-
}
|
|
2376
|
-
}
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
|
-
}
|
|
2381
|
-
|
|
2382
|
-
public sealed partial class Class : pb::IMessage<Class> {
|
|
2383
|
-
private static readonly pb::MessageParser<Class> _parser = new pb::MessageParser<Class>(() => new Class());
|
|
2384
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2385
|
-
public static pb::MessageParser<Class> Parser { get { return _parser; } }
|
|
2386
|
-
|
|
2387
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2388
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
2389
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[14]; }
|
|
2390
|
-
}
|
|
2391
|
-
|
|
2392
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2393
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
2394
|
-
get { return Descriptor; }
|
|
2395
|
-
}
|
|
2396
|
-
|
|
2397
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2398
|
-
public Class() {
|
|
2399
|
-
OnConstruction();
|
|
2400
|
-
}
|
|
2401
|
-
|
|
2402
|
-
partial void OnConstruction();
|
|
2403
|
-
|
|
2404
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2405
|
-
public Class(Class other) : this() {
|
|
2406
|
-
name_ = other.name_;
|
|
2407
|
-
documentation_ = other.documentation_;
|
|
2408
|
-
}
|
|
2409
|
-
|
|
2410
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2411
|
-
public Class Clone() {
|
|
2412
|
-
return new Class(this);
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
2416
|
-
public const int NameFieldNumber = 1;
|
|
2417
|
-
private string name_ = "";
|
|
2418
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2419
|
-
public string Name {
|
|
2420
|
-
get { return name_; }
|
|
2421
|
-
set {
|
|
2422
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
|
|
2426
|
-
/// <summary>Field number for the "documentation" field.</summary>
|
|
2427
|
-
public const int DocumentationFieldNumber = 2;
|
|
2428
|
-
private string documentation_ = "";
|
|
2429
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2430
|
-
public string Documentation {
|
|
2431
|
-
get { return documentation_; }
|
|
2432
|
-
set {
|
|
2433
|
-
documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2434
|
-
}
|
|
2435
|
-
}
|
|
2436
|
-
|
|
2437
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2438
|
-
public override bool Equals(object other) {
|
|
2439
|
-
return Equals(other as Class);
|
|
2440
|
-
}
|
|
2441
|
-
|
|
2442
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2443
|
-
public bool Equals(Class other) {
|
|
2444
|
-
if (ReferenceEquals(other, null)) {
|
|
2445
|
-
return false;
|
|
2446
|
-
}
|
|
2447
|
-
if (ReferenceEquals(other, this)) {
|
|
2448
|
-
return true;
|
|
2449
|
-
}
|
|
2450
|
-
if (Name != other.Name) return false;
|
|
2451
|
-
if (Documentation != other.Documentation) return false;
|
|
2452
|
-
return true;
|
|
2453
|
-
}
|
|
2454
|
-
|
|
2455
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2456
|
-
public override int GetHashCode() {
|
|
2457
|
-
int hash = 1;
|
|
2458
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
2459
|
-
if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
|
|
2460
|
-
return hash;
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2464
|
-
public override string ToString() {
|
|
2465
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2469
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
2470
|
-
if (Name.Length != 0) {
|
|
2471
|
-
output.WriteRawTag(10);
|
|
2472
|
-
output.WriteString(Name);
|
|
2473
|
-
}
|
|
2474
|
-
if (Documentation.Length != 0) {
|
|
2475
|
-
output.WriteRawTag(18);
|
|
2476
|
-
output.WriteString(Documentation);
|
|
2477
|
-
}
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2481
|
-
public int CalculateSize() {
|
|
2482
|
-
int size = 0;
|
|
2483
|
-
if (Name.Length != 0) {
|
|
2484
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
2485
|
-
}
|
|
2486
|
-
if (Documentation.Length != 0) {
|
|
2487
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
|
|
2488
|
-
}
|
|
2489
|
-
return size;
|
|
2490
|
-
}
|
|
2491
|
-
|
|
2492
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2493
|
-
public void MergeFrom(Class other) {
|
|
2494
|
-
if (other == null) {
|
|
2495
|
-
return;
|
|
2496
|
-
}
|
|
2497
|
-
if (other.Name.Length != 0) {
|
|
2498
|
-
Name = other.Name;
|
|
2499
|
-
}
|
|
2500
|
-
if (other.Documentation.Length != 0) {
|
|
2501
|
-
Documentation = other.Documentation;
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2504
|
-
|
|
2505
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2506
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
2507
|
-
uint tag;
|
|
2508
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
2509
|
-
switch(tag) {
|
|
2510
|
-
default:
|
|
2511
|
-
input.SkipLastField();
|
|
2512
|
-
break;
|
|
2513
|
-
case 10: {
|
|
2514
|
-
Name = input.ReadString();
|
|
2515
|
-
break;
|
|
2516
|
-
}
|
|
2517
|
-
case 18: {
|
|
2518
|
-
Documentation = input.ReadString();
|
|
2519
|
-
break;
|
|
2520
|
-
}
|
|
2521
|
-
}
|
|
2522
|
-
}
|
|
2523
|
-
}
|
|
2524
|
-
|
|
2525
|
-
}
|
|
2526
|
-
|
|
2527
|
-
public sealed partial class Enumeration : pb::IMessage<Enumeration> {
|
|
2528
|
-
private static readonly pb::MessageParser<Enumeration> _parser = new pb::MessageParser<Enumeration>(() => new Enumeration());
|
|
2529
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2530
|
-
public static pb::MessageParser<Enumeration> Parser { get { return _parser; } }
|
|
2531
|
-
|
|
2532
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2533
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
2534
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[15]; }
|
|
2535
|
-
}
|
|
2536
|
-
|
|
2537
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2538
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
2539
|
-
get { return Descriptor; }
|
|
2540
|
-
}
|
|
2541
|
-
|
|
2542
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2543
|
-
public Enumeration() {
|
|
2544
|
-
OnConstruction();
|
|
2545
|
-
}
|
|
2546
|
-
|
|
2547
|
-
partial void OnConstruction();
|
|
2548
|
-
|
|
2549
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2550
|
-
public Enumeration(Enumeration other) : this() {
|
|
2551
|
-
name_ = other.name_;
|
|
2552
|
-
values_ = other.values_.Clone();
|
|
2553
|
-
documentation_ = other.documentation_;
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2557
|
-
public Enumeration Clone() {
|
|
2558
|
-
return new Enumeration(this);
|
|
2559
|
-
}
|
|
2560
|
-
|
|
2561
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
2562
|
-
public const int NameFieldNumber = 1;
|
|
2563
|
-
private string name_ = "";
|
|
2564
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2565
|
-
public string Name {
|
|
2566
|
-
get { return name_; }
|
|
2567
|
-
set {
|
|
2568
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2569
|
-
}
|
|
2570
|
-
}
|
|
2571
|
-
|
|
2572
|
-
/// <summary>Field number for the "values" field.</summary>
|
|
2573
|
-
public const int ValuesFieldNumber = 2;
|
|
2574
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.EnumerationValue> _repeated_values_codec
|
|
2575
|
-
= pb::FieldCodec.ForMessage(18, global::KRPC.Schema.KRPC.EnumerationValue.Parser);
|
|
2576
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.EnumerationValue> values_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.EnumerationValue>();
|
|
2577
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2578
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.EnumerationValue> Values {
|
|
2579
|
-
get { return values_; }
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
/// <summary>Field number for the "documentation" field.</summary>
|
|
2583
|
-
public const int DocumentationFieldNumber = 3;
|
|
2584
|
-
private string documentation_ = "";
|
|
2585
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2586
|
-
public string Documentation {
|
|
2587
|
-
get { return documentation_; }
|
|
2588
|
-
set {
|
|
2589
|
-
documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2590
|
-
}
|
|
2591
|
-
}
|
|
2592
|
-
|
|
2593
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2594
|
-
public override bool Equals(object other) {
|
|
2595
|
-
return Equals(other as Enumeration);
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2599
|
-
public bool Equals(Enumeration other) {
|
|
2600
|
-
if (ReferenceEquals(other, null)) {
|
|
2601
|
-
return false;
|
|
2602
|
-
}
|
|
2603
|
-
if (ReferenceEquals(other, this)) {
|
|
2604
|
-
return true;
|
|
2605
|
-
}
|
|
2606
|
-
if (Name != other.Name) return false;
|
|
2607
|
-
if(!values_.Equals(other.values_)) return false;
|
|
2608
|
-
if (Documentation != other.Documentation) return false;
|
|
2609
|
-
return true;
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2613
|
-
public override int GetHashCode() {
|
|
2614
|
-
int hash = 1;
|
|
2615
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
2616
|
-
hash ^= values_.GetHashCode();
|
|
2617
|
-
if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
|
|
2618
|
-
return hash;
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2622
|
-
public override string ToString() {
|
|
2623
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2627
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
2628
|
-
if (Name.Length != 0) {
|
|
2629
|
-
output.WriteRawTag(10);
|
|
2630
|
-
output.WriteString(Name);
|
|
2631
|
-
}
|
|
2632
|
-
values_.WriteTo(output, _repeated_values_codec);
|
|
2633
|
-
if (Documentation.Length != 0) {
|
|
2634
|
-
output.WriteRawTag(26);
|
|
2635
|
-
output.WriteString(Documentation);
|
|
2636
|
-
}
|
|
2637
|
-
}
|
|
2638
|
-
|
|
2639
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2640
|
-
public int CalculateSize() {
|
|
2641
|
-
int size = 0;
|
|
2642
|
-
if (Name.Length != 0) {
|
|
2643
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
2644
|
-
}
|
|
2645
|
-
size += values_.CalculateSize(_repeated_values_codec);
|
|
2646
|
-
if (Documentation.Length != 0) {
|
|
2647
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
|
|
2648
|
-
}
|
|
2649
|
-
return size;
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2653
|
-
public void MergeFrom(Enumeration other) {
|
|
2654
|
-
if (other == null) {
|
|
2655
|
-
return;
|
|
2656
|
-
}
|
|
2657
|
-
if (other.Name.Length != 0) {
|
|
2658
|
-
Name = other.Name;
|
|
2659
|
-
}
|
|
2660
|
-
values_.Add(other.values_);
|
|
2661
|
-
if (other.Documentation.Length != 0) {
|
|
2662
|
-
Documentation = other.Documentation;
|
|
2663
|
-
}
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2667
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
2668
|
-
uint tag;
|
|
2669
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
2670
|
-
switch(tag) {
|
|
2671
|
-
default:
|
|
2672
|
-
input.SkipLastField();
|
|
2673
|
-
break;
|
|
2674
|
-
case 10: {
|
|
2675
|
-
Name = input.ReadString();
|
|
2676
|
-
break;
|
|
2677
|
-
}
|
|
2678
|
-
case 18: {
|
|
2679
|
-
values_.AddEntriesFrom(input, _repeated_values_codec);
|
|
2680
|
-
break;
|
|
2681
|
-
}
|
|
2682
|
-
case 26: {
|
|
2683
|
-
Documentation = input.ReadString();
|
|
2684
|
-
break;
|
|
2685
|
-
}
|
|
2686
|
-
}
|
|
2687
|
-
}
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
public sealed partial class EnumerationValue : pb::IMessage<EnumerationValue> {
|
|
2693
|
-
private static readonly pb::MessageParser<EnumerationValue> _parser = new pb::MessageParser<EnumerationValue>(() => new EnumerationValue());
|
|
2694
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2695
|
-
public static pb::MessageParser<EnumerationValue> Parser { get { return _parser; } }
|
|
2696
|
-
|
|
2697
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2698
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
2699
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[16]; }
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2703
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
2704
|
-
get { return Descriptor; }
|
|
2705
|
-
}
|
|
2706
|
-
|
|
2707
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2708
|
-
public EnumerationValue() {
|
|
2709
|
-
OnConstruction();
|
|
2710
|
-
}
|
|
2711
|
-
|
|
2712
|
-
partial void OnConstruction();
|
|
2713
|
-
|
|
2714
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2715
|
-
public EnumerationValue(EnumerationValue other) : this() {
|
|
2716
|
-
name_ = other.name_;
|
|
2717
|
-
value_ = other.value_;
|
|
2718
|
-
documentation_ = other.documentation_;
|
|
2719
|
-
}
|
|
2720
|
-
|
|
2721
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2722
|
-
public EnumerationValue Clone() {
|
|
2723
|
-
return new EnumerationValue(this);
|
|
2724
|
-
}
|
|
2725
|
-
|
|
2726
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
2727
|
-
public const int NameFieldNumber = 1;
|
|
2728
|
-
private string name_ = "";
|
|
2729
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2730
|
-
public string Name {
|
|
2731
|
-
get { return name_; }
|
|
2732
|
-
set {
|
|
2733
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
|
-
/// <summary>Field number for the "value" field.</summary>
|
|
2738
|
-
public const int ValueFieldNumber = 2;
|
|
2739
|
-
private int value_;
|
|
2740
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2741
|
-
public int Value {
|
|
2742
|
-
get { return value_; }
|
|
2743
|
-
set {
|
|
2744
|
-
value_ = value;
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
/// <summary>Field number for the "documentation" field.</summary>
|
|
2749
|
-
public const int DocumentationFieldNumber = 3;
|
|
2750
|
-
private string documentation_ = "";
|
|
2751
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2752
|
-
public string Documentation {
|
|
2753
|
-
get { return documentation_; }
|
|
2754
|
-
set {
|
|
2755
|
-
documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2756
|
-
}
|
|
2757
|
-
}
|
|
2758
|
-
|
|
2759
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2760
|
-
public override bool Equals(object other) {
|
|
2761
|
-
return Equals(other as EnumerationValue);
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2765
|
-
public bool Equals(EnumerationValue other) {
|
|
2766
|
-
if (ReferenceEquals(other, null)) {
|
|
2767
|
-
return false;
|
|
2768
|
-
}
|
|
2769
|
-
if (ReferenceEquals(other, this)) {
|
|
2770
|
-
return true;
|
|
2771
|
-
}
|
|
2772
|
-
if (Name != other.Name) return false;
|
|
2773
|
-
if (Value != other.Value) return false;
|
|
2774
|
-
if (Documentation != other.Documentation) return false;
|
|
2775
|
-
return true;
|
|
2776
|
-
}
|
|
2777
|
-
|
|
2778
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2779
|
-
public override int GetHashCode() {
|
|
2780
|
-
int hash = 1;
|
|
2781
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
2782
|
-
if (Value != 0) hash ^= Value.GetHashCode();
|
|
2783
|
-
if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
|
|
2784
|
-
return hash;
|
|
2785
|
-
}
|
|
2786
|
-
|
|
2787
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2788
|
-
public override string ToString() {
|
|
2789
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
2790
|
-
}
|
|
2791
|
-
|
|
2792
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2793
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
2794
|
-
if (Name.Length != 0) {
|
|
2795
|
-
output.WriteRawTag(10);
|
|
2796
|
-
output.WriteString(Name);
|
|
2797
|
-
}
|
|
2798
|
-
if (Value != 0) {
|
|
2799
|
-
output.WriteRawTag(16);
|
|
2800
|
-
output.WriteInt32(Value);
|
|
2801
|
-
}
|
|
2802
|
-
if (Documentation.Length != 0) {
|
|
2803
|
-
output.WriteRawTag(26);
|
|
2804
|
-
output.WriteString(Documentation);
|
|
2805
|
-
}
|
|
2806
|
-
}
|
|
2807
|
-
|
|
2808
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2809
|
-
public int CalculateSize() {
|
|
2810
|
-
int size = 0;
|
|
2811
|
-
if (Name.Length != 0) {
|
|
2812
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
2813
|
-
}
|
|
2814
|
-
if (Value != 0) {
|
|
2815
|
-
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value);
|
|
2816
|
-
}
|
|
2817
|
-
if (Documentation.Length != 0) {
|
|
2818
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
|
|
2819
|
-
}
|
|
2820
|
-
return size;
|
|
2821
|
-
}
|
|
2822
|
-
|
|
2823
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2824
|
-
public void MergeFrom(EnumerationValue other) {
|
|
2825
|
-
if (other == null) {
|
|
2826
|
-
return;
|
|
2827
|
-
}
|
|
2828
|
-
if (other.Name.Length != 0) {
|
|
2829
|
-
Name = other.Name;
|
|
2830
|
-
}
|
|
2831
|
-
if (other.Value != 0) {
|
|
2832
|
-
Value = other.Value;
|
|
2833
|
-
}
|
|
2834
|
-
if (other.Documentation.Length != 0) {
|
|
2835
|
-
Documentation = other.Documentation;
|
|
2836
|
-
}
|
|
2837
|
-
}
|
|
2838
|
-
|
|
2839
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2840
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
2841
|
-
uint tag;
|
|
2842
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
2843
|
-
switch(tag) {
|
|
2844
|
-
default:
|
|
2845
|
-
input.SkipLastField();
|
|
2846
|
-
break;
|
|
2847
|
-
case 10: {
|
|
2848
|
-
Name = input.ReadString();
|
|
2849
|
-
break;
|
|
2850
|
-
}
|
|
2851
|
-
case 16: {
|
|
2852
|
-
Value = input.ReadInt32();
|
|
2853
|
-
break;
|
|
2854
|
-
}
|
|
2855
|
-
case 26: {
|
|
2856
|
-
Documentation = input.ReadString();
|
|
2857
|
-
break;
|
|
2858
|
-
}
|
|
2859
|
-
}
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
|
|
2863
|
-
}
|
|
2864
|
-
|
|
2865
|
-
public sealed partial class Exception : pb::IMessage<Exception> {
|
|
2866
|
-
private static readonly pb::MessageParser<Exception> _parser = new pb::MessageParser<Exception>(() => new Exception());
|
|
2867
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2868
|
-
public static pb::MessageParser<Exception> Parser { get { return _parser; } }
|
|
2869
|
-
|
|
2870
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2871
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
2872
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[17]; }
|
|
2873
|
-
}
|
|
2874
|
-
|
|
2875
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2876
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
2877
|
-
get { return Descriptor; }
|
|
2878
|
-
}
|
|
2879
|
-
|
|
2880
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2881
|
-
public Exception() {
|
|
2882
|
-
OnConstruction();
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
|
-
partial void OnConstruction();
|
|
2886
|
-
|
|
2887
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2888
|
-
public Exception(Exception other) : this() {
|
|
2889
|
-
name_ = other.name_;
|
|
2890
|
-
documentation_ = other.documentation_;
|
|
2891
|
-
}
|
|
2892
|
-
|
|
2893
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2894
|
-
public Exception Clone() {
|
|
2895
|
-
return new Exception(this);
|
|
2896
|
-
}
|
|
2897
|
-
|
|
2898
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
2899
|
-
public const int NameFieldNumber = 1;
|
|
2900
|
-
private string name_ = "";
|
|
2901
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2902
|
-
public string Name {
|
|
2903
|
-
get { return name_; }
|
|
2904
|
-
set {
|
|
2905
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2906
|
-
}
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
|
-
/// <summary>Field number for the "documentation" field.</summary>
|
|
2910
|
-
public const int DocumentationFieldNumber = 2;
|
|
2911
|
-
private string documentation_ = "";
|
|
2912
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2913
|
-
public string Documentation {
|
|
2914
|
-
get { return documentation_; }
|
|
2915
|
-
set {
|
|
2916
|
-
documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
2917
|
-
}
|
|
2918
|
-
}
|
|
2919
|
-
|
|
2920
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2921
|
-
public override bool Equals(object other) {
|
|
2922
|
-
return Equals(other as Exception);
|
|
2923
|
-
}
|
|
2924
|
-
|
|
2925
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2926
|
-
public bool Equals(Exception other) {
|
|
2927
|
-
if (ReferenceEquals(other, null)) {
|
|
2928
|
-
return false;
|
|
2929
|
-
}
|
|
2930
|
-
if (ReferenceEquals(other, this)) {
|
|
2931
|
-
return true;
|
|
2932
|
-
}
|
|
2933
|
-
if (Name != other.Name) return false;
|
|
2934
|
-
if (Documentation != other.Documentation) return false;
|
|
2935
|
-
return true;
|
|
2936
|
-
}
|
|
2937
|
-
|
|
2938
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2939
|
-
public override int GetHashCode() {
|
|
2940
|
-
int hash = 1;
|
|
2941
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
2942
|
-
if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
|
|
2943
|
-
return hash;
|
|
2944
|
-
}
|
|
2945
|
-
|
|
2946
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2947
|
-
public override string ToString() {
|
|
2948
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
2949
|
-
}
|
|
2950
|
-
|
|
2951
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2952
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
2953
|
-
if (Name.Length != 0) {
|
|
2954
|
-
output.WriteRawTag(10);
|
|
2955
|
-
output.WriteString(Name);
|
|
2956
|
-
}
|
|
2957
|
-
if (Documentation.Length != 0) {
|
|
2958
|
-
output.WriteRawTag(18);
|
|
2959
|
-
output.WriteString(Documentation);
|
|
2960
|
-
}
|
|
2961
|
-
}
|
|
2962
|
-
|
|
2963
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2964
|
-
public int CalculateSize() {
|
|
2965
|
-
int size = 0;
|
|
2966
|
-
if (Name.Length != 0) {
|
|
2967
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
2968
|
-
}
|
|
2969
|
-
if (Documentation.Length != 0) {
|
|
2970
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
|
|
2971
|
-
}
|
|
2972
|
-
return size;
|
|
2973
|
-
}
|
|
2974
|
-
|
|
2975
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2976
|
-
public void MergeFrom(Exception other) {
|
|
2977
|
-
if (other == null) {
|
|
2978
|
-
return;
|
|
2979
|
-
}
|
|
2980
|
-
if (other.Name.Length != 0) {
|
|
2981
|
-
Name = other.Name;
|
|
2982
|
-
}
|
|
2983
|
-
if (other.Documentation.Length != 0) {
|
|
2984
|
-
Documentation = other.Documentation;
|
|
2985
|
-
}
|
|
2986
|
-
}
|
|
2987
|
-
|
|
2988
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2989
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
2990
|
-
uint tag;
|
|
2991
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
2992
|
-
switch(tag) {
|
|
2993
|
-
default:
|
|
2994
|
-
input.SkipLastField();
|
|
2995
|
-
break;
|
|
2996
|
-
case 10: {
|
|
2997
|
-
Name = input.ReadString();
|
|
2998
|
-
break;
|
|
2999
|
-
}
|
|
3000
|
-
case 18: {
|
|
3001
|
-
Documentation = input.ReadString();
|
|
3002
|
-
break;
|
|
3003
|
-
}
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
3006
|
-
}
|
|
3007
|
-
|
|
3008
|
-
}
|
|
3009
|
-
|
|
3010
|
-
public sealed partial class Type : pb::IMessage<Type> {
|
|
3011
|
-
private static readonly pb::MessageParser<Type> _parser = new pb::MessageParser<Type>(() => new Type());
|
|
3012
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3013
|
-
public static pb::MessageParser<Type> Parser { get { return _parser; } }
|
|
3014
|
-
|
|
3015
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3016
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3017
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[18]; }
|
|
3018
|
-
}
|
|
3019
|
-
|
|
3020
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3021
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3022
|
-
get { return Descriptor; }
|
|
3023
|
-
}
|
|
3024
|
-
|
|
3025
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3026
|
-
public Type() {
|
|
3027
|
-
OnConstruction();
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
partial void OnConstruction();
|
|
3031
|
-
|
|
3032
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3033
|
-
public Type(Type other) : this() {
|
|
3034
|
-
code_ = other.code_;
|
|
3035
|
-
service_ = other.service_;
|
|
3036
|
-
name_ = other.name_;
|
|
3037
|
-
types_ = other.types_.Clone();
|
|
3038
|
-
nullable_ = other.nullable_;
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3042
|
-
public Type Clone() {
|
|
3043
|
-
return new Type(this);
|
|
3044
|
-
}
|
|
3045
|
-
|
|
3046
|
-
/// <summary>Field number for the "code" field.</summary>
|
|
3047
|
-
public const int CodeFieldNumber = 1;
|
|
3048
|
-
private global::KRPC.Schema.KRPC.Type.Types.TypeCode code_ = 0;
|
|
3049
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3050
|
-
public global::KRPC.Schema.KRPC.Type.Types.TypeCode Code {
|
|
3051
|
-
get { return code_; }
|
|
3052
|
-
set {
|
|
3053
|
-
code_ = value;
|
|
3054
|
-
}
|
|
3055
|
-
}
|
|
3056
|
-
|
|
3057
|
-
/// <summary>Field number for the "service" field.</summary>
|
|
3058
|
-
public const int ServiceFieldNumber = 2;
|
|
3059
|
-
private string service_ = "";
|
|
3060
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3061
|
-
public string Service {
|
|
3062
|
-
get { return service_; }
|
|
3063
|
-
set {
|
|
3064
|
-
service_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3065
|
-
}
|
|
3066
|
-
}
|
|
3067
|
-
|
|
3068
|
-
/// <summary>Field number for the "name" field.</summary>
|
|
3069
|
-
public const int NameFieldNumber = 3;
|
|
3070
|
-
private string name_ = "";
|
|
3071
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3072
|
-
public string Name {
|
|
3073
|
-
get { return name_; }
|
|
3074
|
-
set {
|
|
3075
|
-
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3076
|
-
}
|
|
3077
|
-
}
|
|
3078
|
-
|
|
3079
|
-
/// <summary>Field number for the "types" field.</summary>
|
|
3080
|
-
public const int Types_FieldNumber = 4;
|
|
3081
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.Type> _repeated_types_codec
|
|
3082
|
-
= pb::FieldCodec.ForMessage(34, global::KRPC.Schema.KRPC.Type.Parser);
|
|
3083
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.Type> types_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.Type>();
|
|
3084
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3085
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.Type> Types_ {
|
|
3086
|
-
get { return types_; }
|
|
3087
|
-
}
|
|
3088
|
-
|
|
3089
|
-
/// <summary>Field number for the "nullable" field.</summary>
|
|
3090
|
-
public const int NullableFieldNumber = 5;
|
|
3091
|
-
private bool nullable_;
|
|
3092
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3093
|
-
public bool Nullable {
|
|
3094
|
-
get { return nullable_; }
|
|
3095
|
-
set {
|
|
3096
|
-
nullable_ = value;
|
|
3097
|
-
}
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3101
|
-
public override bool Equals(object other) {
|
|
3102
|
-
return Equals(other as Type);
|
|
3103
|
-
}
|
|
3104
|
-
|
|
3105
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3106
|
-
public bool Equals(Type other) {
|
|
3107
|
-
if (ReferenceEquals(other, null)) {
|
|
3108
|
-
return false;
|
|
3109
|
-
}
|
|
3110
|
-
if (ReferenceEquals(other, this)) {
|
|
3111
|
-
return true;
|
|
3112
|
-
}
|
|
3113
|
-
if (Code != other.Code) return false;
|
|
3114
|
-
if (Service != other.Service) return false;
|
|
3115
|
-
if (Name != other.Name) return false;
|
|
3116
|
-
if(!types_.Equals(other.types_)) return false;
|
|
3117
|
-
if (Nullable != other.Nullable) return false;
|
|
3118
|
-
return true;
|
|
3119
|
-
}
|
|
3120
|
-
|
|
3121
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3122
|
-
public override int GetHashCode() {
|
|
3123
|
-
int hash = 1;
|
|
3124
|
-
if (Code != 0) hash ^= Code.GetHashCode();
|
|
3125
|
-
if (Service.Length != 0) hash ^= Service.GetHashCode();
|
|
3126
|
-
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
3127
|
-
hash ^= types_.GetHashCode();
|
|
3128
|
-
if (Nullable != false) hash ^= Nullable.GetHashCode();
|
|
3129
|
-
return hash;
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3132
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3133
|
-
public override string ToString() {
|
|
3134
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3135
|
-
}
|
|
3136
|
-
|
|
3137
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3138
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3139
|
-
if (Code != 0) {
|
|
3140
|
-
output.WriteRawTag(8);
|
|
3141
|
-
output.WriteEnum((int) Code);
|
|
3142
|
-
}
|
|
3143
|
-
if (Service.Length != 0) {
|
|
3144
|
-
output.WriteRawTag(18);
|
|
3145
|
-
output.WriteString(Service);
|
|
3146
|
-
}
|
|
3147
|
-
if (Name.Length != 0) {
|
|
3148
|
-
output.WriteRawTag(26);
|
|
3149
|
-
output.WriteString(Name);
|
|
3150
|
-
}
|
|
3151
|
-
types_.WriteTo(output, _repeated_types_codec);
|
|
3152
|
-
if (Nullable != false) {
|
|
3153
|
-
output.WriteRawTag(40);
|
|
3154
|
-
output.WriteBool(Nullable);
|
|
3155
|
-
}
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3159
|
-
public int CalculateSize() {
|
|
3160
|
-
int size = 0;
|
|
3161
|
-
if (Code != 0) {
|
|
3162
|
-
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Code);
|
|
3163
|
-
}
|
|
3164
|
-
if (Service.Length != 0) {
|
|
3165
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Service);
|
|
3166
|
-
}
|
|
3167
|
-
if (Name.Length != 0) {
|
|
3168
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
3169
|
-
}
|
|
3170
|
-
size += types_.CalculateSize(_repeated_types_codec);
|
|
3171
|
-
if (Nullable != false) {
|
|
3172
|
-
size += 1 + 1;
|
|
3173
|
-
}
|
|
3174
|
-
return size;
|
|
3175
|
-
}
|
|
3176
|
-
|
|
3177
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3178
|
-
public void MergeFrom(Type other) {
|
|
3179
|
-
if (other == null) {
|
|
3180
|
-
return;
|
|
3181
|
-
}
|
|
3182
|
-
if (other.Code != 0) {
|
|
3183
|
-
Code = other.Code;
|
|
3184
|
-
}
|
|
3185
|
-
if (other.Service.Length != 0) {
|
|
3186
|
-
Service = other.Service;
|
|
3187
|
-
}
|
|
3188
|
-
if (other.Name.Length != 0) {
|
|
3189
|
-
Name = other.Name;
|
|
3190
|
-
}
|
|
3191
|
-
types_.Add(other.types_);
|
|
3192
|
-
if (other.Nullable != false) {
|
|
3193
|
-
Nullable = other.Nullable;
|
|
3194
|
-
}
|
|
3195
|
-
}
|
|
3196
|
-
|
|
3197
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3198
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3199
|
-
uint tag;
|
|
3200
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3201
|
-
switch(tag) {
|
|
3202
|
-
default:
|
|
3203
|
-
input.SkipLastField();
|
|
3204
|
-
break;
|
|
3205
|
-
case 8: {
|
|
3206
|
-
code_ = (global::KRPC.Schema.KRPC.Type.Types.TypeCode) input.ReadEnum();
|
|
3207
|
-
break;
|
|
3208
|
-
}
|
|
3209
|
-
case 18: {
|
|
3210
|
-
Service = input.ReadString();
|
|
3211
|
-
break;
|
|
3212
|
-
}
|
|
3213
|
-
case 26: {
|
|
3214
|
-
Name = input.ReadString();
|
|
3215
|
-
break;
|
|
3216
|
-
}
|
|
3217
|
-
case 34: {
|
|
3218
|
-
types_.AddEntriesFrom(input, _repeated_types_codec);
|
|
3219
|
-
break;
|
|
3220
|
-
}
|
|
3221
|
-
case 40: {
|
|
3222
|
-
Nullable = input.ReadBool();
|
|
3223
|
-
break;
|
|
3224
|
-
}
|
|
3225
|
-
}
|
|
3226
|
-
}
|
|
3227
|
-
}
|
|
3228
|
-
|
|
3229
|
-
#region Nested types
|
|
3230
|
-
/// <summary>Container for nested types declared in the Type message type.</summary>
|
|
3231
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3232
|
-
public static partial class Types {
|
|
3233
|
-
public enum TypeCode {
|
|
3234
|
-
[pbr::OriginalName("NONE")] None = 0,
|
|
3235
|
-
/// <summary>
|
|
3236
|
-
/// Values
|
|
3237
|
-
/// </summary>
|
|
3238
|
-
[pbr::OriginalName("DOUBLE")] Double = 1,
|
|
3239
|
-
[pbr::OriginalName("FLOAT")] Float = 2,
|
|
3240
|
-
[pbr::OriginalName("SINT32")] Sint32 = 3,
|
|
3241
|
-
[pbr::OriginalName("SINT64")] Sint64 = 4,
|
|
3242
|
-
[pbr::OriginalName("UINT32")] Uint32 = 5,
|
|
3243
|
-
[pbr::OriginalName("UINT64")] Uint64 = 6,
|
|
3244
|
-
[pbr::OriginalName("BOOL")] Bool = 7,
|
|
3245
|
-
[pbr::OriginalName("STRING")] String = 8,
|
|
3246
|
-
[pbr::OriginalName("BYTES")] Bytes = 9,
|
|
3247
|
-
/// <summary>
|
|
3248
|
-
/// Objects
|
|
3249
|
-
/// </summary>
|
|
3250
|
-
[pbr::OriginalName("CLASS")] Class = 100,
|
|
3251
|
-
[pbr::OriginalName("ENUMERATION")] Enumeration = 101,
|
|
3252
|
-
/// <summary>
|
|
3253
|
-
/// Messages
|
|
3254
|
-
/// </summary>
|
|
3255
|
-
[pbr::OriginalName("PROCEDURE_CALL")] ProcedureCall = 200,
|
|
3256
|
-
[pbr::OriginalName("STREAM")] Stream = 201,
|
|
3257
|
-
[pbr::OriginalName("STATUS")] Status = 202,
|
|
3258
|
-
[pbr::OriginalName("SERVICES")] Services = 203,
|
|
3259
|
-
/// <summary>
|
|
3260
|
-
/// Collections
|
|
3261
|
-
/// </summary>
|
|
3262
|
-
[pbr::OriginalName("TUPLE")] Tuple = 300,
|
|
3263
|
-
[pbr::OriginalName("LIST")] List = 301,
|
|
3264
|
-
[pbr::OriginalName("SET")] Set = 302,
|
|
3265
|
-
[pbr::OriginalName("DICTIONARY")] Dictionary = 303,
|
|
3266
|
-
}
|
|
3267
|
-
|
|
3268
|
-
}
|
|
3269
|
-
#endregion
|
|
3270
|
-
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
|
-
public sealed partial class Tuple : pb::IMessage<Tuple> {
|
|
3274
|
-
private static readonly pb::MessageParser<Tuple> _parser = new pb::MessageParser<Tuple>(() => new Tuple());
|
|
3275
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3276
|
-
public static pb::MessageParser<Tuple> Parser { get { return _parser; } }
|
|
3277
|
-
|
|
3278
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3279
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3280
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[19]; }
|
|
3281
|
-
}
|
|
3282
|
-
|
|
3283
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3284
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3285
|
-
get { return Descriptor; }
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3289
|
-
public Tuple() {
|
|
3290
|
-
OnConstruction();
|
|
3291
|
-
}
|
|
3292
|
-
|
|
3293
|
-
partial void OnConstruction();
|
|
3294
|
-
|
|
3295
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3296
|
-
public Tuple(Tuple other) : this() {
|
|
3297
|
-
items_ = other.items_.Clone();
|
|
3298
|
-
}
|
|
3299
|
-
|
|
3300
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3301
|
-
public Tuple Clone() {
|
|
3302
|
-
return new Tuple(this);
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
|
-
/// <summary>Field number for the "items" field.</summary>
|
|
3306
|
-
public const int ItemsFieldNumber = 1;
|
|
3307
|
-
private static readonly pb::FieldCodec<pb::ByteString> _repeated_items_codec
|
|
3308
|
-
= pb::FieldCodec.ForBytes(10);
|
|
3309
|
-
private readonly pbc::RepeatedField<pb::ByteString> items_ = new pbc::RepeatedField<pb::ByteString>();
|
|
3310
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3311
|
-
public pbc::RepeatedField<pb::ByteString> Items {
|
|
3312
|
-
get { return items_; }
|
|
3313
|
-
}
|
|
3314
|
-
|
|
3315
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3316
|
-
public override bool Equals(object other) {
|
|
3317
|
-
return Equals(other as Tuple);
|
|
3318
|
-
}
|
|
3319
|
-
|
|
3320
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3321
|
-
public bool Equals(Tuple other) {
|
|
3322
|
-
if (ReferenceEquals(other, null)) {
|
|
3323
|
-
return false;
|
|
3324
|
-
}
|
|
3325
|
-
if (ReferenceEquals(other, this)) {
|
|
3326
|
-
return true;
|
|
3327
|
-
}
|
|
3328
|
-
if(!items_.Equals(other.items_)) return false;
|
|
3329
|
-
return true;
|
|
3330
|
-
}
|
|
3331
|
-
|
|
3332
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3333
|
-
public override int GetHashCode() {
|
|
3334
|
-
int hash = 1;
|
|
3335
|
-
hash ^= items_.GetHashCode();
|
|
3336
|
-
return hash;
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3340
|
-
public override string ToString() {
|
|
3341
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3345
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3346
|
-
items_.WriteTo(output, _repeated_items_codec);
|
|
3347
|
-
}
|
|
3348
|
-
|
|
3349
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3350
|
-
public int CalculateSize() {
|
|
3351
|
-
int size = 0;
|
|
3352
|
-
size += items_.CalculateSize(_repeated_items_codec);
|
|
3353
|
-
return size;
|
|
3354
|
-
}
|
|
3355
|
-
|
|
3356
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3357
|
-
public void MergeFrom(Tuple other) {
|
|
3358
|
-
if (other == null) {
|
|
3359
|
-
return;
|
|
3360
|
-
}
|
|
3361
|
-
items_.Add(other.items_);
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3365
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3366
|
-
uint tag;
|
|
3367
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3368
|
-
switch(tag) {
|
|
3369
|
-
default:
|
|
3370
|
-
input.SkipLastField();
|
|
3371
|
-
break;
|
|
3372
|
-
case 10: {
|
|
3373
|
-
items_.AddEntriesFrom(input, _repeated_items_codec);
|
|
3374
|
-
break;
|
|
3375
|
-
}
|
|
3376
|
-
}
|
|
3377
|
-
}
|
|
3378
|
-
}
|
|
3379
|
-
|
|
3380
|
-
}
|
|
3381
|
-
|
|
3382
|
-
public sealed partial class List : pb::IMessage<List> {
|
|
3383
|
-
private static readonly pb::MessageParser<List> _parser = new pb::MessageParser<List>(() => new List());
|
|
3384
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3385
|
-
public static pb::MessageParser<List> Parser { get { return _parser; } }
|
|
3386
|
-
|
|
3387
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3388
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3389
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[20]; }
|
|
3390
|
-
}
|
|
3391
|
-
|
|
3392
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3393
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3394
|
-
get { return Descriptor; }
|
|
3395
|
-
}
|
|
3396
|
-
|
|
3397
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3398
|
-
public List() {
|
|
3399
|
-
OnConstruction();
|
|
3400
|
-
}
|
|
3401
|
-
|
|
3402
|
-
partial void OnConstruction();
|
|
3403
|
-
|
|
3404
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3405
|
-
public List(List other) : this() {
|
|
3406
|
-
items_ = other.items_.Clone();
|
|
3407
|
-
}
|
|
3408
|
-
|
|
3409
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3410
|
-
public List Clone() {
|
|
3411
|
-
return new List(this);
|
|
3412
|
-
}
|
|
3413
|
-
|
|
3414
|
-
/// <summary>Field number for the "items" field.</summary>
|
|
3415
|
-
public const int ItemsFieldNumber = 1;
|
|
3416
|
-
private static readonly pb::FieldCodec<pb::ByteString> _repeated_items_codec
|
|
3417
|
-
= pb::FieldCodec.ForBytes(10);
|
|
3418
|
-
private readonly pbc::RepeatedField<pb::ByteString> items_ = new pbc::RepeatedField<pb::ByteString>();
|
|
3419
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3420
|
-
public pbc::RepeatedField<pb::ByteString> Items {
|
|
3421
|
-
get { return items_; }
|
|
3422
|
-
}
|
|
3423
|
-
|
|
3424
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3425
|
-
public override bool Equals(object other) {
|
|
3426
|
-
return Equals(other as List);
|
|
3427
|
-
}
|
|
3428
|
-
|
|
3429
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3430
|
-
public bool Equals(List other) {
|
|
3431
|
-
if (ReferenceEquals(other, null)) {
|
|
3432
|
-
return false;
|
|
3433
|
-
}
|
|
3434
|
-
if (ReferenceEquals(other, this)) {
|
|
3435
|
-
return true;
|
|
3436
|
-
}
|
|
3437
|
-
if(!items_.Equals(other.items_)) return false;
|
|
3438
|
-
return true;
|
|
3439
|
-
}
|
|
3440
|
-
|
|
3441
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3442
|
-
public override int GetHashCode() {
|
|
3443
|
-
int hash = 1;
|
|
3444
|
-
hash ^= items_.GetHashCode();
|
|
3445
|
-
return hash;
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3449
|
-
public override string ToString() {
|
|
3450
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3454
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3455
|
-
items_.WriteTo(output, _repeated_items_codec);
|
|
3456
|
-
}
|
|
3457
|
-
|
|
3458
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3459
|
-
public int CalculateSize() {
|
|
3460
|
-
int size = 0;
|
|
3461
|
-
size += items_.CalculateSize(_repeated_items_codec);
|
|
3462
|
-
return size;
|
|
3463
|
-
}
|
|
3464
|
-
|
|
3465
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3466
|
-
public void MergeFrom(List other) {
|
|
3467
|
-
if (other == null) {
|
|
3468
|
-
return;
|
|
3469
|
-
}
|
|
3470
|
-
items_.Add(other.items_);
|
|
3471
|
-
}
|
|
3472
|
-
|
|
3473
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3474
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3475
|
-
uint tag;
|
|
3476
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3477
|
-
switch(tag) {
|
|
3478
|
-
default:
|
|
3479
|
-
input.SkipLastField();
|
|
3480
|
-
break;
|
|
3481
|
-
case 10: {
|
|
3482
|
-
items_.AddEntriesFrom(input, _repeated_items_codec);
|
|
3483
|
-
break;
|
|
3484
|
-
}
|
|
3485
|
-
}
|
|
3486
|
-
}
|
|
3487
|
-
}
|
|
3488
|
-
|
|
3489
|
-
}
|
|
3490
|
-
|
|
3491
|
-
public sealed partial class Set : pb::IMessage<Set> {
|
|
3492
|
-
private static readonly pb::MessageParser<Set> _parser = new pb::MessageParser<Set>(() => new Set());
|
|
3493
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3494
|
-
public static pb::MessageParser<Set> Parser { get { return _parser; } }
|
|
3495
|
-
|
|
3496
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3497
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3498
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[21]; }
|
|
3499
|
-
}
|
|
3500
|
-
|
|
3501
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3502
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3503
|
-
get { return Descriptor; }
|
|
3504
|
-
}
|
|
3505
|
-
|
|
3506
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3507
|
-
public Set() {
|
|
3508
|
-
OnConstruction();
|
|
3509
|
-
}
|
|
3510
|
-
|
|
3511
|
-
partial void OnConstruction();
|
|
3512
|
-
|
|
3513
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3514
|
-
public Set(Set other) : this() {
|
|
3515
|
-
items_ = other.items_.Clone();
|
|
3516
|
-
}
|
|
3517
|
-
|
|
3518
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3519
|
-
public Set Clone() {
|
|
3520
|
-
return new Set(this);
|
|
3521
|
-
}
|
|
3522
|
-
|
|
3523
|
-
/// <summary>Field number for the "items" field.</summary>
|
|
3524
|
-
public const int ItemsFieldNumber = 1;
|
|
3525
|
-
private static readonly pb::FieldCodec<pb::ByteString> _repeated_items_codec
|
|
3526
|
-
= pb::FieldCodec.ForBytes(10);
|
|
3527
|
-
private readonly pbc::RepeatedField<pb::ByteString> items_ = new pbc::RepeatedField<pb::ByteString>();
|
|
3528
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3529
|
-
public pbc::RepeatedField<pb::ByteString> Items {
|
|
3530
|
-
get { return items_; }
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3534
|
-
public override bool Equals(object other) {
|
|
3535
|
-
return Equals(other as Set);
|
|
3536
|
-
}
|
|
3537
|
-
|
|
3538
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3539
|
-
public bool Equals(Set other) {
|
|
3540
|
-
if (ReferenceEquals(other, null)) {
|
|
3541
|
-
return false;
|
|
3542
|
-
}
|
|
3543
|
-
if (ReferenceEquals(other, this)) {
|
|
3544
|
-
return true;
|
|
3545
|
-
}
|
|
3546
|
-
if(!items_.Equals(other.items_)) return false;
|
|
3547
|
-
return true;
|
|
3548
|
-
}
|
|
3549
|
-
|
|
3550
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3551
|
-
public override int GetHashCode() {
|
|
3552
|
-
int hash = 1;
|
|
3553
|
-
hash ^= items_.GetHashCode();
|
|
3554
|
-
return hash;
|
|
3555
|
-
}
|
|
3556
|
-
|
|
3557
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3558
|
-
public override string ToString() {
|
|
3559
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3563
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3564
|
-
items_.WriteTo(output, _repeated_items_codec);
|
|
3565
|
-
}
|
|
3566
|
-
|
|
3567
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3568
|
-
public int CalculateSize() {
|
|
3569
|
-
int size = 0;
|
|
3570
|
-
size += items_.CalculateSize(_repeated_items_codec);
|
|
3571
|
-
return size;
|
|
3572
|
-
}
|
|
3573
|
-
|
|
3574
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3575
|
-
public void MergeFrom(Set other) {
|
|
3576
|
-
if (other == null) {
|
|
3577
|
-
return;
|
|
3578
|
-
}
|
|
3579
|
-
items_.Add(other.items_);
|
|
3580
|
-
}
|
|
3581
|
-
|
|
3582
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3583
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3584
|
-
uint tag;
|
|
3585
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3586
|
-
switch(tag) {
|
|
3587
|
-
default:
|
|
3588
|
-
input.SkipLastField();
|
|
3589
|
-
break;
|
|
3590
|
-
case 10: {
|
|
3591
|
-
items_.AddEntriesFrom(input, _repeated_items_codec);
|
|
3592
|
-
break;
|
|
3593
|
-
}
|
|
3594
|
-
}
|
|
3595
|
-
}
|
|
3596
|
-
}
|
|
3597
|
-
|
|
3598
|
-
}
|
|
3599
|
-
|
|
3600
|
-
public sealed partial class Dictionary : pb::IMessage<Dictionary> {
|
|
3601
|
-
private static readonly pb::MessageParser<Dictionary> _parser = new pb::MessageParser<Dictionary>(() => new Dictionary());
|
|
3602
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3603
|
-
public static pb::MessageParser<Dictionary> Parser { get { return _parser; } }
|
|
3604
|
-
|
|
3605
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3606
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3607
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[22]; }
|
|
3608
|
-
}
|
|
3609
|
-
|
|
3610
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3611
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3612
|
-
get { return Descriptor; }
|
|
3613
|
-
}
|
|
3614
|
-
|
|
3615
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3616
|
-
public Dictionary() {
|
|
3617
|
-
OnConstruction();
|
|
3618
|
-
}
|
|
3619
|
-
|
|
3620
|
-
partial void OnConstruction();
|
|
3621
|
-
|
|
3622
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3623
|
-
public Dictionary(Dictionary other) : this() {
|
|
3624
|
-
entries_ = other.entries_.Clone();
|
|
3625
|
-
}
|
|
3626
|
-
|
|
3627
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3628
|
-
public Dictionary Clone() {
|
|
3629
|
-
return new Dictionary(this);
|
|
3630
|
-
}
|
|
3631
|
-
|
|
3632
|
-
/// <summary>Field number for the "entries" field.</summary>
|
|
3633
|
-
public const int EntriesFieldNumber = 1;
|
|
3634
|
-
private static readonly pb::FieldCodec<global::KRPC.Schema.KRPC.DictionaryEntry> _repeated_entries_codec
|
|
3635
|
-
= pb::FieldCodec.ForMessage(10, global::KRPC.Schema.KRPC.DictionaryEntry.Parser);
|
|
3636
|
-
private readonly pbc::RepeatedField<global::KRPC.Schema.KRPC.DictionaryEntry> entries_ = new pbc::RepeatedField<global::KRPC.Schema.KRPC.DictionaryEntry>();
|
|
3637
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3638
|
-
public pbc::RepeatedField<global::KRPC.Schema.KRPC.DictionaryEntry> Entries {
|
|
3639
|
-
get { return entries_; }
|
|
3640
|
-
}
|
|
3641
|
-
|
|
3642
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3643
|
-
public override bool Equals(object other) {
|
|
3644
|
-
return Equals(other as Dictionary);
|
|
3645
|
-
}
|
|
3646
|
-
|
|
3647
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3648
|
-
public bool Equals(Dictionary other) {
|
|
3649
|
-
if (ReferenceEquals(other, null)) {
|
|
3650
|
-
return false;
|
|
3651
|
-
}
|
|
3652
|
-
if (ReferenceEquals(other, this)) {
|
|
3653
|
-
return true;
|
|
3654
|
-
}
|
|
3655
|
-
if(!entries_.Equals(other.entries_)) return false;
|
|
3656
|
-
return true;
|
|
3657
|
-
}
|
|
3658
|
-
|
|
3659
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3660
|
-
public override int GetHashCode() {
|
|
3661
|
-
int hash = 1;
|
|
3662
|
-
hash ^= entries_.GetHashCode();
|
|
3663
|
-
return hash;
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3667
|
-
public override string ToString() {
|
|
3668
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3669
|
-
}
|
|
3670
|
-
|
|
3671
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3672
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3673
|
-
entries_.WriteTo(output, _repeated_entries_codec);
|
|
3674
|
-
}
|
|
3675
|
-
|
|
3676
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3677
|
-
public int CalculateSize() {
|
|
3678
|
-
int size = 0;
|
|
3679
|
-
size += entries_.CalculateSize(_repeated_entries_codec);
|
|
3680
|
-
return size;
|
|
3681
|
-
}
|
|
3682
|
-
|
|
3683
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3684
|
-
public void MergeFrom(Dictionary other) {
|
|
3685
|
-
if (other == null) {
|
|
3686
|
-
return;
|
|
3687
|
-
}
|
|
3688
|
-
entries_.Add(other.entries_);
|
|
3689
|
-
}
|
|
3690
|
-
|
|
3691
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3692
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3693
|
-
uint tag;
|
|
3694
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3695
|
-
switch(tag) {
|
|
3696
|
-
default:
|
|
3697
|
-
input.SkipLastField();
|
|
3698
|
-
break;
|
|
3699
|
-
case 10: {
|
|
3700
|
-
entries_.AddEntriesFrom(input, _repeated_entries_codec);
|
|
3701
|
-
break;
|
|
3702
|
-
}
|
|
3703
|
-
}
|
|
3704
|
-
}
|
|
3705
|
-
}
|
|
3706
|
-
|
|
3707
|
-
}
|
|
3708
|
-
|
|
3709
|
-
public sealed partial class DictionaryEntry : pb::IMessage<DictionaryEntry> {
|
|
3710
|
-
private static readonly pb::MessageParser<DictionaryEntry> _parser = new pb::MessageParser<DictionaryEntry>(() => new DictionaryEntry());
|
|
3711
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3712
|
-
public static pb::MessageParser<DictionaryEntry> Parser { get { return _parser; } }
|
|
3713
|
-
|
|
3714
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3715
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3716
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[23]; }
|
|
3717
|
-
}
|
|
3718
|
-
|
|
3719
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3720
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3721
|
-
get { return Descriptor; }
|
|
3722
|
-
}
|
|
3723
|
-
|
|
3724
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3725
|
-
public DictionaryEntry() {
|
|
3726
|
-
OnConstruction();
|
|
3727
|
-
}
|
|
3728
|
-
|
|
3729
|
-
partial void OnConstruction();
|
|
3730
|
-
|
|
3731
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3732
|
-
public DictionaryEntry(DictionaryEntry other) : this() {
|
|
3733
|
-
key_ = other.key_;
|
|
3734
|
-
value_ = other.value_;
|
|
3735
|
-
}
|
|
3736
|
-
|
|
3737
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3738
|
-
public DictionaryEntry Clone() {
|
|
3739
|
-
return new DictionaryEntry(this);
|
|
3740
|
-
}
|
|
3741
|
-
|
|
3742
|
-
/// <summary>Field number for the "key" field.</summary>
|
|
3743
|
-
public const int KeyFieldNumber = 1;
|
|
3744
|
-
private pb::ByteString key_ = pb::ByteString.Empty;
|
|
3745
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3746
|
-
public pb::ByteString Key {
|
|
3747
|
-
get { return key_; }
|
|
3748
|
-
set {
|
|
3749
|
-
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3750
|
-
}
|
|
3751
|
-
}
|
|
3752
|
-
|
|
3753
|
-
/// <summary>Field number for the "value" field.</summary>
|
|
3754
|
-
public const int ValueFieldNumber = 2;
|
|
3755
|
-
private pb::ByteString value_ = pb::ByteString.Empty;
|
|
3756
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3757
|
-
public pb::ByteString Value {
|
|
3758
|
-
get { return value_; }
|
|
3759
|
-
set {
|
|
3760
|
-
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3761
|
-
}
|
|
3762
|
-
}
|
|
3763
|
-
|
|
3764
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3765
|
-
public override bool Equals(object other) {
|
|
3766
|
-
return Equals(other as DictionaryEntry);
|
|
3767
|
-
}
|
|
3768
|
-
|
|
3769
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3770
|
-
public bool Equals(DictionaryEntry other) {
|
|
3771
|
-
if (ReferenceEquals(other, null)) {
|
|
3772
|
-
return false;
|
|
3773
|
-
}
|
|
3774
|
-
if (ReferenceEquals(other, this)) {
|
|
3775
|
-
return true;
|
|
3776
|
-
}
|
|
3777
|
-
if (Key != other.Key) return false;
|
|
3778
|
-
if (Value != other.Value) return false;
|
|
3779
|
-
return true;
|
|
3780
|
-
}
|
|
3781
|
-
|
|
3782
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3783
|
-
public override int GetHashCode() {
|
|
3784
|
-
int hash = 1;
|
|
3785
|
-
if (Key.Length != 0) hash ^= Key.GetHashCode();
|
|
3786
|
-
if (Value.Length != 0) hash ^= Value.GetHashCode();
|
|
3787
|
-
return hash;
|
|
3788
|
-
}
|
|
3789
|
-
|
|
3790
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3791
|
-
public override string ToString() {
|
|
3792
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3793
|
-
}
|
|
3794
|
-
|
|
3795
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3796
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3797
|
-
if (Key.Length != 0) {
|
|
3798
|
-
output.WriteRawTag(10);
|
|
3799
|
-
output.WriteBytes(Key);
|
|
3800
|
-
}
|
|
3801
|
-
if (Value.Length != 0) {
|
|
3802
|
-
output.WriteRawTag(18);
|
|
3803
|
-
output.WriteBytes(Value);
|
|
3804
|
-
}
|
|
3805
|
-
}
|
|
3806
|
-
|
|
3807
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3808
|
-
public int CalculateSize() {
|
|
3809
|
-
int size = 0;
|
|
3810
|
-
if (Key.Length != 0) {
|
|
3811
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Key);
|
|
3812
|
-
}
|
|
3813
|
-
if (Value.Length != 0) {
|
|
3814
|
-
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value);
|
|
3815
|
-
}
|
|
3816
|
-
return size;
|
|
3817
|
-
}
|
|
3818
|
-
|
|
3819
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3820
|
-
public void MergeFrom(DictionaryEntry other) {
|
|
3821
|
-
if (other == null) {
|
|
3822
|
-
return;
|
|
3823
|
-
}
|
|
3824
|
-
if (other.Key.Length != 0) {
|
|
3825
|
-
Key = other.Key;
|
|
3826
|
-
}
|
|
3827
|
-
if (other.Value.Length != 0) {
|
|
3828
|
-
Value = other.Value;
|
|
3829
|
-
}
|
|
3830
|
-
}
|
|
3831
|
-
|
|
3832
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3833
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3834
|
-
uint tag;
|
|
3835
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3836
|
-
switch(tag) {
|
|
3837
|
-
default:
|
|
3838
|
-
input.SkipLastField();
|
|
3839
|
-
break;
|
|
3840
|
-
case 10: {
|
|
3841
|
-
Key = input.ReadBytes();
|
|
3842
|
-
break;
|
|
3843
|
-
}
|
|
3844
|
-
case 18: {
|
|
3845
|
-
Value = input.ReadBytes();
|
|
3846
|
-
break;
|
|
3847
|
-
}
|
|
3848
|
-
}
|
|
3849
|
-
}
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3852
|
-
}
|
|
3853
|
-
|
|
3854
|
-
public sealed partial class Stream : pb::IMessage<Stream> {
|
|
3855
|
-
private static readonly pb::MessageParser<Stream> _parser = new pb::MessageParser<Stream>(() => new Stream());
|
|
3856
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3857
|
-
public static pb::MessageParser<Stream> Parser { get { return _parser; } }
|
|
3858
|
-
|
|
3859
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3860
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3861
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[24]; }
|
|
3862
|
-
}
|
|
3863
|
-
|
|
3864
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3865
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3866
|
-
get { return Descriptor; }
|
|
3867
|
-
}
|
|
3868
|
-
|
|
3869
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3870
|
-
public Stream() {
|
|
3871
|
-
OnConstruction();
|
|
3872
|
-
}
|
|
3873
|
-
|
|
3874
|
-
partial void OnConstruction();
|
|
3875
|
-
|
|
3876
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3877
|
-
public Stream(Stream other) : this() {
|
|
3878
|
-
id_ = other.id_;
|
|
3879
|
-
}
|
|
3880
|
-
|
|
3881
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3882
|
-
public Stream Clone() {
|
|
3883
|
-
return new Stream(this);
|
|
3884
|
-
}
|
|
3885
|
-
|
|
3886
|
-
/// <summary>Field number for the "id" field.</summary>
|
|
3887
|
-
public const int IdFieldNumber = 1;
|
|
3888
|
-
private ulong id_;
|
|
3889
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3890
|
-
public ulong Id {
|
|
3891
|
-
get { return id_; }
|
|
3892
|
-
set {
|
|
3893
|
-
id_ = value;
|
|
3894
|
-
}
|
|
3895
|
-
}
|
|
3896
|
-
|
|
3897
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3898
|
-
public override bool Equals(object other) {
|
|
3899
|
-
return Equals(other as Stream);
|
|
3900
|
-
}
|
|
3901
|
-
|
|
3902
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3903
|
-
public bool Equals(Stream other) {
|
|
3904
|
-
if (ReferenceEquals(other, null)) {
|
|
3905
|
-
return false;
|
|
3906
|
-
}
|
|
3907
|
-
if (ReferenceEquals(other, this)) {
|
|
3908
|
-
return true;
|
|
3909
|
-
}
|
|
3910
|
-
if (Id != other.Id) return false;
|
|
3911
|
-
return true;
|
|
3912
|
-
}
|
|
3913
|
-
|
|
3914
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3915
|
-
public override int GetHashCode() {
|
|
3916
|
-
int hash = 1;
|
|
3917
|
-
if (Id != 0UL) hash ^= Id.GetHashCode();
|
|
3918
|
-
return hash;
|
|
3919
|
-
}
|
|
3920
|
-
|
|
3921
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3922
|
-
public override string ToString() {
|
|
3923
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3924
|
-
}
|
|
3925
|
-
|
|
3926
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3927
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
3928
|
-
if (Id != 0UL) {
|
|
3929
|
-
output.WriteRawTag(8);
|
|
3930
|
-
output.WriteUInt64(Id);
|
|
3931
|
-
}
|
|
3932
|
-
}
|
|
3933
|
-
|
|
3934
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3935
|
-
public int CalculateSize() {
|
|
3936
|
-
int size = 0;
|
|
3937
|
-
if (Id != 0UL) {
|
|
3938
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id);
|
|
3939
|
-
}
|
|
3940
|
-
return size;
|
|
3941
|
-
}
|
|
3942
|
-
|
|
3943
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3944
|
-
public void MergeFrom(Stream other) {
|
|
3945
|
-
if (other == null) {
|
|
3946
|
-
return;
|
|
3947
|
-
}
|
|
3948
|
-
if (other.Id != 0UL) {
|
|
3949
|
-
Id = other.Id;
|
|
3950
|
-
}
|
|
3951
|
-
}
|
|
3952
|
-
|
|
3953
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3954
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
3955
|
-
uint tag;
|
|
3956
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
3957
|
-
switch(tag) {
|
|
3958
|
-
default:
|
|
3959
|
-
input.SkipLastField();
|
|
3960
|
-
break;
|
|
3961
|
-
case 8: {
|
|
3962
|
-
Id = input.ReadUInt64();
|
|
3963
|
-
break;
|
|
3964
|
-
}
|
|
3965
|
-
}
|
|
3966
|
-
}
|
|
3967
|
-
}
|
|
3968
|
-
|
|
3969
|
-
}
|
|
3970
|
-
|
|
3971
|
-
public sealed partial class Status : pb::IMessage<Status> {
|
|
3972
|
-
private static readonly pb::MessageParser<Status> _parser = new pb::MessageParser<Status>(() => new Status());
|
|
3973
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3974
|
-
public static pb::MessageParser<Status> Parser { get { return _parser; } }
|
|
3975
|
-
|
|
3976
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3977
|
-
public static pbr::MessageDescriptor Descriptor {
|
|
3978
|
-
get { return global::KRPC.Schema.KRPC.KrpcReflection.Descriptor.MessageTypes[25]; }
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3982
|
-
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3983
|
-
get { return Descriptor; }
|
|
3984
|
-
}
|
|
3985
|
-
|
|
3986
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3987
|
-
public Status() {
|
|
3988
|
-
OnConstruction();
|
|
3989
|
-
}
|
|
3990
|
-
|
|
3991
|
-
partial void OnConstruction();
|
|
3992
|
-
|
|
3993
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3994
|
-
public Status(Status other) : this() {
|
|
3995
|
-
version_ = other.version_;
|
|
3996
|
-
bytesRead_ = other.bytesRead_;
|
|
3997
|
-
bytesWritten_ = other.bytesWritten_;
|
|
3998
|
-
bytesReadRate_ = other.bytesReadRate_;
|
|
3999
|
-
bytesWrittenRate_ = other.bytesWrittenRate_;
|
|
4000
|
-
rpcsExecuted_ = other.rpcsExecuted_;
|
|
4001
|
-
rpcRate_ = other.rpcRate_;
|
|
4002
|
-
oneRpcPerUpdate_ = other.oneRpcPerUpdate_;
|
|
4003
|
-
maxTimePerUpdate_ = other.maxTimePerUpdate_;
|
|
4004
|
-
adaptiveRateControl_ = other.adaptiveRateControl_;
|
|
4005
|
-
blockingRecv_ = other.blockingRecv_;
|
|
4006
|
-
recvTimeout_ = other.recvTimeout_;
|
|
4007
|
-
timePerRpcUpdate_ = other.timePerRpcUpdate_;
|
|
4008
|
-
pollTimePerRpcUpdate_ = other.pollTimePerRpcUpdate_;
|
|
4009
|
-
execTimePerRpcUpdate_ = other.execTimePerRpcUpdate_;
|
|
4010
|
-
streamRpcs_ = other.streamRpcs_;
|
|
4011
|
-
streamRpcsExecuted_ = other.streamRpcsExecuted_;
|
|
4012
|
-
streamRpcRate_ = other.streamRpcRate_;
|
|
4013
|
-
timePerStreamUpdate_ = other.timePerStreamUpdate_;
|
|
4014
|
-
}
|
|
4015
|
-
|
|
4016
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4017
|
-
public Status Clone() {
|
|
4018
|
-
return new Status(this);
|
|
4019
|
-
}
|
|
4020
|
-
|
|
4021
|
-
/// <summary>Field number for the "version" field.</summary>
|
|
4022
|
-
public const int VersionFieldNumber = 1;
|
|
4023
|
-
private string version_ = "";
|
|
4024
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4025
|
-
public string Version {
|
|
4026
|
-
get { return version_; }
|
|
4027
|
-
set {
|
|
4028
|
-
version_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
4029
|
-
}
|
|
4030
|
-
}
|
|
4031
|
-
|
|
4032
|
-
/// <summary>Field number for the "bytes_read" field.</summary>
|
|
4033
|
-
public const int BytesReadFieldNumber = 2;
|
|
4034
|
-
private ulong bytesRead_;
|
|
4035
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4036
|
-
public ulong BytesRead {
|
|
4037
|
-
get { return bytesRead_; }
|
|
4038
|
-
set {
|
|
4039
|
-
bytesRead_ = value;
|
|
4040
|
-
}
|
|
4041
|
-
}
|
|
4042
|
-
|
|
4043
|
-
/// <summary>Field number for the "bytes_written" field.</summary>
|
|
4044
|
-
public const int BytesWrittenFieldNumber = 3;
|
|
4045
|
-
private ulong bytesWritten_;
|
|
4046
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4047
|
-
public ulong BytesWritten {
|
|
4048
|
-
get { return bytesWritten_; }
|
|
4049
|
-
set {
|
|
4050
|
-
bytesWritten_ = value;
|
|
4051
|
-
}
|
|
4052
|
-
}
|
|
4053
|
-
|
|
4054
|
-
/// <summary>Field number for the "bytes_read_rate" field.</summary>
|
|
4055
|
-
public const int BytesReadRateFieldNumber = 4;
|
|
4056
|
-
private float bytesReadRate_;
|
|
4057
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4058
|
-
public float BytesReadRate {
|
|
4059
|
-
get { return bytesReadRate_; }
|
|
4060
|
-
set {
|
|
4061
|
-
bytesReadRate_ = value;
|
|
4062
|
-
}
|
|
4063
|
-
}
|
|
4064
|
-
|
|
4065
|
-
/// <summary>Field number for the "bytes_written_rate" field.</summary>
|
|
4066
|
-
public const int BytesWrittenRateFieldNumber = 5;
|
|
4067
|
-
private float bytesWrittenRate_;
|
|
4068
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4069
|
-
public float BytesWrittenRate {
|
|
4070
|
-
get { return bytesWrittenRate_; }
|
|
4071
|
-
set {
|
|
4072
|
-
bytesWrittenRate_ = value;
|
|
4073
|
-
}
|
|
4074
|
-
}
|
|
4075
|
-
|
|
4076
|
-
/// <summary>Field number for the "rpcs_executed" field.</summary>
|
|
4077
|
-
public const int RpcsExecutedFieldNumber = 6;
|
|
4078
|
-
private ulong rpcsExecuted_;
|
|
4079
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4080
|
-
public ulong RpcsExecuted {
|
|
4081
|
-
get { return rpcsExecuted_; }
|
|
4082
|
-
set {
|
|
4083
|
-
rpcsExecuted_ = value;
|
|
4084
|
-
}
|
|
4085
|
-
}
|
|
4086
|
-
|
|
4087
|
-
/// <summary>Field number for the "rpc_rate" field.</summary>
|
|
4088
|
-
public const int RpcRateFieldNumber = 7;
|
|
4089
|
-
private float rpcRate_;
|
|
4090
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4091
|
-
public float RpcRate {
|
|
4092
|
-
get { return rpcRate_; }
|
|
4093
|
-
set {
|
|
4094
|
-
rpcRate_ = value;
|
|
4095
|
-
}
|
|
4096
|
-
}
|
|
4097
|
-
|
|
4098
|
-
/// <summary>Field number for the "one_rpc_per_update" field.</summary>
|
|
4099
|
-
public const int OneRpcPerUpdateFieldNumber = 8;
|
|
4100
|
-
private bool oneRpcPerUpdate_;
|
|
4101
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4102
|
-
public bool OneRpcPerUpdate {
|
|
4103
|
-
get { return oneRpcPerUpdate_; }
|
|
4104
|
-
set {
|
|
4105
|
-
oneRpcPerUpdate_ = value;
|
|
4106
|
-
}
|
|
4107
|
-
}
|
|
4108
|
-
|
|
4109
|
-
/// <summary>Field number for the "max_time_per_update" field.</summary>
|
|
4110
|
-
public const int MaxTimePerUpdateFieldNumber = 9;
|
|
4111
|
-
private uint maxTimePerUpdate_;
|
|
4112
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4113
|
-
public uint MaxTimePerUpdate {
|
|
4114
|
-
get { return maxTimePerUpdate_; }
|
|
4115
|
-
set {
|
|
4116
|
-
maxTimePerUpdate_ = value;
|
|
4117
|
-
}
|
|
4118
|
-
}
|
|
4119
|
-
|
|
4120
|
-
/// <summary>Field number for the "adaptive_rate_control" field.</summary>
|
|
4121
|
-
public const int AdaptiveRateControlFieldNumber = 10;
|
|
4122
|
-
private bool adaptiveRateControl_;
|
|
4123
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4124
|
-
public bool AdaptiveRateControl {
|
|
4125
|
-
get { return adaptiveRateControl_; }
|
|
4126
|
-
set {
|
|
4127
|
-
adaptiveRateControl_ = value;
|
|
4128
|
-
}
|
|
4129
|
-
}
|
|
4130
|
-
|
|
4131
|
-
/// <summary>Field number for the "blocking_recv" field.</summary>
|
|
4132
|
-
public const int BlockingRecvFieldNumber = 11;
|
|
4133
|
-
private bool blockingRecv_;
|
|
4134
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4135
|
-
public bool BlockingRecv {
|
|
4136
|
-
get { return blockingRecv_; }
|
|
4137
|
-
set {
|
|
4138
|
-
blockingRecv_ = value;
|
|
4139
|
-
}
|
|
4140
|
-
}
|
|
4141
|
-
|
|
4142
|
-
/// <summary>Field number for the "recv_timeout" field.</summary>
|
|
4143
|
-
public const int RecvTimeoutFieldNumber = 12;
|
|
4144
|
-
private uint recvTimeout_;
|
|
4145
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4146
|
-
public uint RecvTimeout {
|
|
4147
|
-
get { return recvTimeout_; }
|
|
4148
|
-
set {
|
|
4149
|
-
recvTimeout_ = value;
|
|
4150
|
-
}
|
|
4151
|
-
}
|
|
4152
|
-
|
|
4153
|
-
/// <summary>Field number for the "time_per_rpc_update" field.</summary>
|
|
4154
|
-
public const int TimePerRpcUpdateFieldNumber = 13;
|
|
4155
|
-
private float timePerRpcUpdate_;
|
|
4156
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4157
|
-
public float TimePerRpcUpdate {
|
|
4158
|
-
get { return timePerRpcUpdate_; }
|
|
4159
|
-
set {
|
|
4160
|
-
timePerRpcUpdate_ = value;
|
|
4161
|
-
}
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
/// <summary>Field number for the "poll_time_per_rpc_update" field.</summary>
|
|
4165
|
-
public const int PollTimePerRpcUpdateFieldNumber = 14;
|
|
4166
|
-
private float pollTimePerRpcUpdate_;
|
|
4167
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4168
|
-
public float PollTimePerRpcUpdate {
|
|
4169
|
-
get { return pollTimePerRpcUpdate_; }
|
|
4170
|
-
set {
|
|
4171
|
-
pollTimePerRpcUpdate_ = value;
|
|
4172
|
-
}
|
|
4173
|
-
}
|
|
4174
|
-
|
|
4175
|
-
/// <summary>Field number for the "exec_time_per_rpc_update" field.</summary>
|
|
4176
|
-
public const int ExecTimePerRpcUpdateFieldNumber = 15;
|
|
4177
|
-
private float execTimePerRpcUpdate_;
|
|
4178
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4179
|
-
public float ExecTimePerRpcUpdate {
|
|
4180
|
-
get { return execTimePerRpcUpdate_; }
|
|
4181
|
-
set {
|
|
4182
|
-
execTimePerRpcUpdate_ = value;
|
|
4183
|
-
}
|
|
4184
|
-
}
|
|
4185
|
-
|
|
4186
|
-
/// <summary>Field number for the "stream_rpcs" field.</summary>
|
|
4187
|
-
public const int StreamRpcsFieldNumber = 16;
|
|
4188
|
-
private uint streamRpcs_;
|
|
4189
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4190
|
-
public uint StreamRpcs {
|
|
4191
|
-
get { return streamRpcs_; }
|
|
4192
|
-
set {
|
|
4193
|
-
streamRpcs_ = value;
|
|
4194
|
-
}
|
|
4195
|
-
}
|
|
4196
|
-
|
|
4197
|
-
/// <summary>Field number for the "stream_rpcs_executed" field.</summary>
|
|
4198
|
-
public const int StreamRpcsExecutedFieldNumber = 17;
|
|
4199
|
-
private ulong streamRpcsExecuted_;
|
|
4200
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4201
|
-
public ulong StreamRpcsExecuted {
|
|
4202
|
-
get { return streamRpcsExecuted_; }
|
|
4203
|
-
set {
|
|
4204
|
-
streamRpcsExecuted_ = value;
|
|
4205
|
-
}
|
|
4206
|
-
}
|
|
4207
|
-
|
|
4208
|
-
/// <summary>Field number for the "stream_rpc_rate" field.</summary>
|
|
4209
|
-
public const int StreamRpcRateFieldNumber = 18;
|
|
4210
|
-
private float streamRpcRate_;
|
|
4211
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4212
|
-
public float StreamRpcRate {
|
|
4213
|
-
get { return streamRpcRate_; }
|
|
4214
|
-
set {
|
|
4215
|
-
streamRpcRate_ = value;
|
|
4216
|
-
}
|
|
4217
|
-
}
|
|
4218
|
-
|
|
4219
|
-
/// <summary>Field number for the "time_per_stream_update" field.</summary>
|
|
4220
|
-
public const int TimePerStreamUpdateFieldNumber = 19;
|
|
4221
|
-
private float timePerStreamUpdate_;
|
|
4222
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4223
|
-
public float TimePerStreamUpdate {
|
|
4224
|
-
get { return timePerStreamUpdate_; }
|
|
4225
|
-
set {
|
|
4226
|
-
timePerStreamUpdate_ = value;
|
|
4227
|
-
}
|
|
4228
|
-
}
|
|
4229
|
-
|
|
4230
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4231
|
-
public override bool Equals(object other) {
|
|
4232
|
-
return Equals(other as Status);
|
|
4233
|
-
}
|
|
4234
|
-
|
|
4235
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4236
|
-
public bool Equals(Status other) {
|
|
4237
|
-
if (ReferenceEquals(other, null)) {
|
|
4238
|
-
return false;
|
|
4239
|
-
}
|
|
4240
|
-
if (ReferenceEquals(other, this)) {
|
|
4241
|
-
return true;
|
|
4242
|
-
}
|
|
4243
|
-
if (Version != other.Version) return false;
|
|
4244
|
-
if (BytesRead != other.BytesRead) return false;
|
|
4245
|
-
if (BytesWritten != other.BytesWritten) return false;
|
|
4246
|
-
if (BytesReadRate != other.BytesReadRate) return false;
|
|
4247
|
-
if (BytesWrittenRate != other.BytesWrittenRate) return false;
|
|
4248
|
-
if (RpcsExecuted != other.RpcsExecuted) return false;
|
|
4249
|
-
if (RpcRate != other.RpcRate) return false;
|
|
4250
|
-
if (OneRpcPerUpdate != other.OneRpcPerUpdate) return false;
|
|
4251
|
-
if (MaxTimePerUpdate != other.MaxTimePerUpdate) return false;
|
|
4252
|
-
if (AdaptiveRateControl != other.AdaptiveRateControl) return false;
|
|
4253
|
-
if (BlockingRecv != other.BlockingRecv) return false;
|
|
4254
|
-
if (RecvTimeout != other.RecvTimeout) return false;
|
|
4255
|
-
if (TimePerRpcUpdate != other.TimePerRpcUpdate) return false;
|
|
4256
|
-
if (PollTimePerRpcUpdate != other.PollTimePerRpcUpdate) return false;
|
|
4257
|
-
if (ExecTimePerRpcUpdate != other.ExecTimePerRpcUpdate) return false;
|
|
4258
|
-
if (StreamRpcs != other.StreamRpcs) return false;
|
|
4259
|
-
if (StreamRpcsExecuted != other.StreamRpcsExecuted) return false;
|
|
4260
|
-
if (StreamRpcRate != other.StreamRpcRate) return false;
|
|
4261
|
-
if (TimePerStreamUpdate != other.TimePerStreamUpdate) return false;
|
|
4262
|
-
return true;
|
|
4263
|
-
}
|
|
4264
|
-
|
|
4265
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4266
|
-
public override int GetHashCode() {
|
|
4267
|
-
int hash = 1;
|
|
4268
|
-
if (Version.Length != 0) hash ^= Version.GetHashCode();
|
|
4269
|
-
if (BytesRead != 0UL) hash ^= BytesRead.GetHashCode();
|
|
4270
|
-
if (BytesWritten != 0UL) hash ^= BytesWritten.GetHashCode();
|
|
4271
|
-
if (BytesReadRate != 0F) hash ^= BytesReadRate.GetHashCode();
|
|
4272
|
-
if (BytesWrittenRate != 0F) hash ^= BytesWrittenRate.GetHashCode();
|
|
4273
|
-
if (RpcsExecuted != 0UL) hash ^= RpcsExecuted.GetHashCode();
|
|
4274
|
-
if (RpcRate != 0F) hash ^= RpcRate.GetHashCode();
|
|
4275
|
-
if (OneRpcPerUpdate != false) hash ^= OneRpcPerUpdate.GetHashCode();
|
|
4276
|
-
if (MaxTimePerUpdate != 0) hash ^= MaxTimePerUpdate.GetHashCode();
|
|
4277
|
-
if (AdaptiveRateControl != false) hash ^= AdaptiveRateControl.GetHashCode();
|
|
4278
|
-
if (BlockingRecv != false) hash ^= BlockingRecv.GetHashCode();
|
|
4279
|
-
if (RecvTimeout != 0) hash ^= RecvTimeout.GetHashCode();
|
|
4280
|
-
if (TimePerRpcUpdate != 0F) hash ^= TimePerRpcUpdate.GetHashCode();
|
|
4281
|
-
if (PollTimePerRpcUpdate != 0F) hash ^= PollTimePerRpcUpdate.GetHashCode();
|
|
4282
|
-
if (ExecTimePerRpcUpdate != 0F) hash ^= ExecTimePerRpcUpdate.GetHashCode();
|
|
4283
|
-
if (StreamRpcs != 0) hash ^= StreamRpcs.GetHashCode();
|
|
4284
|
-
if (StreamRpcsExecuted != 0UL) hash ^= StreamRpcsExecuted.GetHashCode();
|
|
4285
|
-
if (StreamRpcRate != 0F) hash ^= StreamRpcRate.GetHashCode();
|
|
4286
|
-
if (TimePerStreamUpdate != 0F) hash ^= TimePerStreamUpdate.GetHashCode();
|
|
4287
|
-
return hash;
|
|
4288
|
-
}
|
|
4289
|
-
|
|
4290
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4291
|
-
public override string ToString() {
|
|
4292
|
-
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
4293
|
-
}
|
|
4294
|
-
|
|
4295
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4296
|
-
public void WriteTo(pb::CodedOutputStream output) {
|
|
4297
|
-
if (Version.Length != 0) {
|
|
4298
|
-
output.WriteRawTag(10);
|
|
4299
|
-
output.WriteString(Version);
|
|
4300
|
-
}
|
|
4301
|
-
if (BytesRead != 0UL) {
|
|
4302
|
-
output.WriteRawTag(16);
|
|
4303
|
-
output.WriteUInt64(BytesRead);
|
|
4304
|
-
}
|
|
4305
|
-
if (BytesWritten != 0UL) {
|
|
4306
|
-
output.WriteRawTag(24);
|
|
4307
|
-
output.WriteUInt64(BytesWritten);
|
|
4308
|
-
}
|
|
4309
|
-
if (BytesReadRate != 0F) {
|
|
4310
|
-
output.WriteRawTag(37);
|
|
4311
|
-
output.WriteFloat(BytesReadRate);
|
|
4312
|
-
}
|
|
4313
|
-
if (BytesWrittenRate != 0F) {
|
|
4314
|
-
output.WriteRawTag(45);
|
|
4315
|
-
output.WriteFloat(BytesWrittenRate);
|
|
4316
|
-
}
|
|
4317
|
-
if (RpcsExecuted != 0UL) {
|
|
4318
|
-
output.WriteRawTag(48);
|
|
4319
|
-
output.WriteUInt64(RpcsExecuted);
|
|
4320
|
-
}
|
|
4321
|
-
if (RpcRate != 0F) {
|
|
4322
|
-
output.WriteRawTag(61);
|
|
4323
|
-
output.WriteFloat(RpcRate);
|
|
4324
|
-
}
|
|
4325
|
-
if (OneRpcPerUpdate != false) {
|
|
4326
|
-
output.WriteRawTag(64);
|
|
4327
|
-
output.WriteBool(OneRpcPerUpdate);
|
|
4328
|
-
}
|
|
4329
|
-
if (MaxTimePerUpdate != 0) {
|
|
4330
|
-
output.WriteRawTag(72);
|
|
4331
|
-
output.WriteUInt32(MaxTimePerUpdate);
|
|
4332
|
-
}
|
|
4333
|
-
if (AdaptiveRateControl != false) {
|
|
4334
|
-
output.WriteRawTag(80);
|
|
4335
|
-
output.WriteBool(AdaptiveRateControl);
|
|
4336
|
-
}
|
|
4337
|
-
if (BlockingRecv != false) {
|
|
4338
|
-
output.WriteRawTag(88);
|
|
4339
|
-
output.WriteBool(BlockingRecv);
|
|
4340
|
-
}
|
|
4341
|
-
if (RecvTimeout != 0) {
|
|
4342
|
-
output.WriteRawTag(96);
|
|
4343
|
-
output.WriteUInt32(RecvTimeout);
|
|
4344
|
-
}
|
|
4345
|
-
if (TimePerRpcUpdate != 0F) {
|
|
4346
|
-
output.WriteRawTag(109);
|
|
4347
|
-
output.WriteFloat(TimePerRpcUpdate);
|
|
4348
|
-
}
|
|
4349
|
-
if (PollTimePerRpcUpdate != 0F) {
|
|
4350
|
-
output.WriteRawTag(117);
|
|
4351
|
-
output.WriteFloat(PollTimePerRpcUpdate);
|
|
4352
|
-
}
|
|
4353
|
-
if (ExecTimePerRpcUpdate != 0F) {
|
|
4354
|
-
output.WriteRawTag(125);
|
|
4355
|
-
output.WriteFloat(ExecTimePerRpcUpdate);
|
|
4356
|
-
}
|
|
4357
|
-
if (StreamRpcs != 0) {
|
|
4358
|
-
output.WriteRawTag(128, 1);
|
|
4359
|
-
output.WriteUInt32(StreamRpcs);
|
|
4360
|
-
}
|
|
4361
|
-
if (StreamRpcsExecuted != 0UL) {
|
|
4362
|
-
output.WriteRawTag(136, 1);
|
|
4363
|
-
output.WriteUInt64(StreamRpcsExecuted);
|
|
4364
|
-
}
|
|
4365
|
-
if (StreamRpcRate != 0F) {
|
|
4366
|
-
output.WriteRawTag(149, 1);
|
|
4367
|
-
output.WriteFloat(StreamRpcRate);
|
|
4368
|
-
}
|
|
4369
|
-
if (TimePerStreamUpdate != 0F) {
|
|
4370
|
-
output.WriteRawTag(157, 1);
|
|
4371
|
-
output.WriteFloat(TimePerStreamUpdate);
|
|
4372
|
-
}
|
|
4373
|
-
}
|
|
4374
|
-
|
|
4375
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4376
|
-
public int CalculateSize() {
|
|
4377
|
-
int size = 0;
|
|
4378
|
-
if (Version.Length != 0) {
|
|
4379
|
-
size += 1 + pb::CodedOutputStream.ComputeStringSize(Version);
|
|
4380
|
-
}
|
|
4381
|
-
if (BytesRead != 0UL) {
|
|
4382
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BytesRead);
|
|
4383
|
-
}
|
|
4384
|
-
if (BytesWritten != 0UL) {
|
|
4385
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BytesWritten);
|
|
4386
|
-
}
|
|
4387
|
-
if (BytesReadRate != 0F) {
|
|
4388
|
-
size += 1 + 4;
|
|
4389
|
-
}
|
|
4390
|
-
if (BytesWrittenRate != 0F) {
|
|
4391
|
-
size += 1 + 4;
|
|
4392
|
-
}
|
|
4393
|
-
if (RpcsExecuted != 0UL) {
|
|
4394
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RpcsExecuted);
|
|
4395
|
-
}
|
|
4396
|
-
if (RpcRate != 0F) {
|
|
4397
|
-
size += 1 + 4;
|
|
4398
|
-
}
|
|
4399
|
-
if (OneRpcPerUpdate != false) {
|
|
4400
|
-
size += 1 + 1;
|
|
4401
|
-
}
|
|
4402
|
-
if (MaxTimePerUpdate != 0) {
|
|
4403
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTimePerUpdate);
|
|
4404
|
-
}
|
|
4405
|
-
if (AdaptiveRateControl != false) {
|
|
4406
|
-
size += 1 + 1;
|
|
4407
|
-
}
|
|
4408
|
-
if (BlockingRecv != false) {
|
|
4409
|
-
size += 1 + 1;
|
|
4410
|
-
}
|
|
4411
|
-
if (RecvTimeout != 0) {
|
|
4412
|
-
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecvTimeout);
|
|
4413
|
-
}
|
|
4414
|
-
if (TimePerRpcUpdate != 0F) {
|
|
4415
|
-
size += 1 + 4;
|
|
4416
|
-
}
|
|
4417
|
-
if (PollTimePerRpcUpdate != 0F) {
|
|
4418
|
-
size += 1 + 4;
|
|
4419
|
-
}
|
|
4420
|
-
if (ExecTimePerRpcUpdate != 0F) {
|
|
4421
|
-
size += 1 + 4;
|
|
4422
|
-
}
|
|
4423
|
-
if (StreamRpcs != 0) {
|
|
4424
|
-
size += 2 + pb::CodedOutputStream.ComputeUInt32Size(StreamRpcs);
|
|
4425
|
-
}
|
|
4426
|
-
if (StreamRpcsExecuted != 0UL) {
|
|
4427
|
-
size += 2 + pb::CodedOutputStream.ComputeUInt64Size(StreamRpcsExecuted);
|
|
4428
|
-
}
|
|
4429
|
-
if (StreamRpcRate != 0F) {
|
|
4430
|
-
size += 2 + 4;
|
|
4431
|
-
}
|
|
4432
|
-
if (TimePerStreamUpdate != 0F) {
|
|
4433
|
-
size += 2 + 4;
|
|
4434
|
-
}
|
|
4435
|
-
return size;
|
|
4436
|
-
}
|
|
4437
|
-
|
|
4438
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4439
|
-
public void MergeFrom(Status other) {
|
|
4440
|
-
if (other == null) {
|
|
4441
|
-
return;
|
|
4442
|
-
}
|
|
4443
|
-
if (other.Version.Length != 0) {
|
|
4444
|
-
Version = other.Version;
|
|
4445
|
-
}
|
|
4446
|
-
if (other.BytesRead != 0UL) {
|
|
4447
|
-
BytesRead = other.BytesRead;
|
|
4448
|
-
}
|
|
4449
|
-
if (other.BytesWritten != 0UL) {
|
|
4450
|
-
BytesWritten = other.BytesWritten;
|
|
4451
|
-
}
|
|
4452
|
-
if (other.BytesReadRate != 0F) {
|
|
4453
|
-
BytesReadRate = other.BytesReadRate;
|
|
4454
|
-
}
|
|
4455
|
-
if (other.BytesWrittenRate != 0F) {
|
|
4456
|
-
BytesWrittenRate = other.BytesWrittenRate;
|
|
4457
|
-
}
|
|
4458
|
-
if (other.RpcsExecuted != 0UL) {
|
|
4459
|
-
RpcsExecuted = other.RpcsExecuted;
|
|
4460
|
-
}
|
|
4461
|
-
if (other.RpcRate != 0F) {
|
|
4462
|
-
RpcRate = other.RpcRate;
|
|
4463
|
-
}
|
|
4464
|
-
if (other.OneRpcPerUpdate != false) {
|
|
4465
|
-
OneRpcPerUpdate = other.OneRpcPerUpdate;
|
|
4466
|
-
}
|
|
4467
|
-
if (other.MaxTimePerUpdate != 0) {
|
|
4468
|
-
MaxTimePerUpdate = other.MaxTimePerUpdate;
|
|
4469
|
-
}
|
|
4470
|
-
if (other.AdaptiveRateControl != false) {
|
|
4471
|
-
AdaptiveRateControl = other.AdaptiveRateControl;
|
|
4472
|
-
}
|
|
4473
|
-
if (other.BlockingRecv != false) {
|
|
4474
|
-
BlockingRecv = other.BlockingRecv;
|
|
4475
|
-
}
|
|
4476
|
-
if (other.RecvTimeout != 0) {
|
|
4477
|
-
RecvTimeout = other.RecvTimeout;
|
|
4478
|
-
}
|
|
4479
|
-
if (other.TimePerRpcUpdate != 0F) {
|
|
4480
|
-
TimePerRpcUpdate = other.TimePerRpcUpdate;
|
|
4481
|
-
}
|
|
4482
|
-
if (other.PollTimePerRpcUpdate != 0F) {
|
|
4483
|
-
PollTimePerRpcUpdate = other.PollTimePerRpcUpdate;
|
|
4484
|
-
}
|
|
4485
|
-
if (other.ExecTimePerRpcUpdate != 0F) {
|
|
4486
|
-
ExecTimePerRpcUpdate = other.ExecTimePerRpcUpdate;
|
|
4487
|
-
}
|
|
4488
|
-
if (other.StreamRpcs != 0) {
|
|
4489
|
-
StreamRpcs = other.StreamRpcs;
|
|
4490
|
-
}
|
|
4491
|
-
if (other.StreamRpcsExecuted != 0UL) {
|
|
4492
|
-
StreamRpcsExecuted = other.StreamRpcsExecuted;
|
|
4493
|
-
}
|
|
4494
|
-
if (other.StreamRpcRate != 0F) {
|
|
4495
|
-
StreamRpcRate = other.StreamRpcRate;
|
|
4496
|
-
}
|
|
4497
|
-
if (other.TimePerStreamUpdate != 0F) {
|
|
4498
|
-
TimePerStreamUpdate = other.TimePerStreamUpdate;
|
|
4499
|
-
}
|
|
4500
|
-
}
|
|
4501
|
-
|
|
4502
|
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4503
|
-
public void MergeFrom(pb::CodedInputStream input) {
|
|
4504
|
-
uint tag;
|
|
4505
|
-
while ((tag = input.ReadTag()) != 0) {
|
|
4506
|
-
switch(tag) {
|
|
4507
|
-
default:
|
|
4508
|
-
input.SkipLastField();
|
|
4509
|
-
break;
|
|
4510
|
-
case 10: {
|
|
4511
|
-
Version = input.ReadString();
|
|
4512
|
-
break;
|
|
4513
|
-
}
|
|
4514
|
-
case 16: {
|
|
4515
|
-
BytesRead = input.ReadUInt64();
|
|
4516
|
-
break;
|
|
4517
|
-
}
|
|
4518
|
-
case 24: {
|
|
4519
|
-
BytesWritten = input.ReadUInt64();
|
|
4520
|
-
break;
|
|
4521
|
-
}
|
|
4522
|
-
case 37: {
|
|
4523
|
-
BytesReadRate = input.ReadFloat();
|
|
4524
|
-
break;
|
|
4525
|
-
}
|
|
4526
|
-
case 45: {
|
|
4527
|
-
BytesWrittenRate = input.ReadFloat();
|
|
4528
|
-
break;
|
|
4529
|
-
}
|
|
4530
|
-
case 48: {
|
|
4531
|
-
RpcsExecuted = input.ReadUInt64();
|
|
4532
|
-
break;
|
|
4533
|
-
}
|
|
4534
|
-
case 61: {
|
|
4535
|
-
RpcRate = input.ReadFloat();
|
|
4536
|
-
break;
|
|
4537
|
-
}
|
|
4538
|
-
case 64: {
|
|
4539
|
-
OneRpcPerUpdate = input.ReadBool();
|
|
4540
|
-
break;
|
|
4541
|
-
}
|
|
4542
|
-
case 72: {
|
|
4543
|
-
MaxTimePerUpdate = input.ReadUInt32();
|
|
4544
|
-
break;
|
|
4545
|
-
}
|
|
4546
|
-
case 80: {
|
|
4547
|
-
AdaptiveRateControl = input.ReadBool();
|
|
4548
|
-
break;
|
|
4549
|
-
}
|
|
4550
|
-
case 88: {
|
|
4551
|
-
BlockingRecv = input.ReadBool();
|
|
4552
|
-
break;
|
|
4553
|
-
}
|
|
4554
|
-
case 96: {
|
|
4555
|
-
RecvTimeout = input.ReadUInt32();
|
|
4556
|
-
break;
|
|
4557
|
-
}
|
|
4558
|
-
case 109: {
|
|
4559
|
-
TimePerRpcUpdate = input.ReadFloat();
|
|
4560
|
-
break;
|
|
4561
|
-
}
|
|
4562
|
-
case 117: {
|
|
4563
|
-
PollTimePerRpcUpdate = input.ReadFloat();
|
|
4564
|
-
break;
|
|
4565
|
-
}
|
|
4566
|
-
case 125: {
|
|
4567
|
-
ExecTimePerRpcUpdate = input.ReadFloat();
|
|
4568
|
-
break;
|
|
4569
|
-
}
|
|
4570
|
-
case 128: {
|
|
4571
|
-
StreamRpcs = input.ReadUInt32();
|
|
4572
|
-
break;
|
|
4573
|
-
}
|
|
4574
|
-
case 136: {
|
|
4575
|
-
StreamRpcsExecuted = input.ReadUInt64();
|
|
4576
|
-
break;
|
|
4577
|
-
}
|
|
4578
|
-
case 149: {
|
|
4579
|
-
StreamRpcRate = input.ReadFloat();
|
|
4580
|
-
break;
|
|
4581
|
-
}
|
|
4582
|
-
case 157: {
|
|
4583
|
-
TimePerStreamUpdate = input.ReadFloat();
|
|
4584
|
-
break;
|
|
4585
|
-
}
|
|
4586
|
-
}
|
|
4587
|
-
}
|
|
4588
|
-
}
|
|
4589
|
-
|
|
4590
|
-
}
|
|
4591
|
-
|
|
4592
|
-
#endregion
|
|
4593
|
-
|
|
4594
|
-
}
|
|
4595
|
-
|
|
4596
|
-
#endregion Designer generated code
|