You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
650 lines
21 KiB
650 lines
21 KiB
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: UltraCombos.Kinect2MotionTransmit.proto
|
|
#pragma warning disable 1591, 0612, 3021
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace UltraCombos.Kinect2MotionTransmit {
|
|
|
|
/// <summary>Holder for reflection information generated from UltraCombos.Kinect2MotionTransmit.proto</summary>
|
|
public static partial class UltraCombosKinect2MotionTransmitReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for UltraCombos.Kinect2MotionTransmit.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static UltraCombosKinect2MotionTransmitReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CidVbHRyYUNvbWJvcy5LaW5lY3QyTW90aW9uVHJhbnNtaXQucHJvdG8SIVVs",
|
|
"dHJhQ29tYm9zLktpbmVjdDJNb3Rpb25UcmFuc21pdCKeAgoLRGF0YVJlcXVl",
|
|
"c3QSDAoEbmFtZRgBIAEoCRIVCg1kZXB0aEhpZ2hEYXRhGAIgASgMEhQKDGRl",
|
|
"cHRoTG93RGF0YRgDIAEoDBIUCgx2ZWxvY2l0eURhdGEYBCABKAwSEQoJcG9z",
|
|
"aXRpb25YGAUgASgCEhEKCXBvc2l0aW9uWRgGIAEoAhIRCglwb3NpdGlvbloY",
|
|
"ByABKAISEQoJcm90YXRpb25YGAggASgCEhEKCXJvdGF0aW9uWRgJIAEoAhIR",
|
|
"Cglyb3RhdGlvbloYCiABKAISEQoJY2xpcFNpemVYGAsgASgCEhEKCWNsaXBT",
|
|
"aXplWRgMIAEoAhIRCgljbGlwU2l6ZVoYDSABKAISEwoLaW5mb3JtYXRpb24Y",
|
|
"DiABKAkiGwoJRGF0YVJlcGx5Eg4KBnJlc3VsdBgBIAEoCTJ2CghSZXNvdXJj",
|
|
"ZRJqCghTZW5kRGF0YRIuLlVsdHJhQ29tYm9zLktpbmVjdDJNb3Rpb25UcmFu",
|
|
"c21pdC5EYXRhUmVxdWVzdBosLlVsdHJhQ29tYm9zLktpbmVjdDJNb3Rpb25U",
|
|
"cmFuc21pdC5EYXRhUmVwbHkiAGIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Kinect2MotionTransmit.DataRequest), global::UltraCombos.Kinect2MotionTransmit.DataRequest.Parser, new[]{ "Name", "DepthHighData", "DepthLowData", "VelocityData", "PositionX", "PositionY", "PositionZ", "RotationX", "RotationY", "RotationZ", "ClipSizeX", "ClipSizeY", "ClipSizeZ", "Information" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Kinect2MotionTransmit.DataReply), global::UltraCombos.Kinect2MotionTransmit.DataReply.Parser, new[]{ "Result" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
public sealed partial class DataRequest : pb::IMessage<DataRequest> {
|
|
private static readonly pb::MessageParser<DataRequest> _parser = new pb::MessageParser<DataRequest>(() => new DataRequest());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<DataRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::UltraCombos.Kinect2MotionTransmit.UltraCombosKinect2MotionTransmitReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public DataRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public DataRequest(DataRequest other) : this() {
|
|
name_ = other.name_;
|
|
depthHighData_ = other.depthHighData_;
|
|
depthLowData_ = other.depthLowData_;
|
|
velocityData_ = other.velocityData_;
|
|
positionX_ = other.positionX_;
|
|
positionY_ = other.positionY_;
|
|
positionZ_ = other.positionZ_;
|
|
rotationX_ = other.rotationX_;
|
|
rotationY_ = other.rotationY_;
|
|
rotationZ_ = other.rotationZ_;
|
|
clipSizeX_ = other.clipSizeX_;
|
|
clipSizeY_ = other.clipSizeY_;
|
|
clipSizeZ_ = other.clipSizeZ_;
|
|
information_ = other.information_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public DataRequest Clone() {
|
|
return new DataRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 1;
|
|
private string name_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Name {
|
|
get { return name_; }
|
|
set {
|
|
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "depthHighData" field.</summary>
|
|
public const int DepthHighDataFieldNumber = 2;
|
|
private pb::ByteString depthHighData_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pb::ByteString DepthHighData {
|
|
get { return depthHighData_; }
|
|
set {
|
|
depthHighData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "depthLowData" field.</summary>
|
|
public const int DepthLowDataFieldNumber = 3;
|
|
private pb::ByteString depthLowData_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pb::ByteString DepthLowData {
|
|
get { return depthLowData_; }
|
|
set {
|
|
depthLowData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "velocityData" field.</summary>
|
|
public const int VelocityDataFieldNumber = 4;
|
|
private pb::ByteString velocityData_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pb::ByteString VelocityData {
|
|
get { return velocityData_; }
|
|
set {
|
|
velocityData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "positionX" field.</summary>
|
|
public const int PositionXFieldNumber = 5;
|
|
private float positionX_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float PositionX {
|
|
get { return positionX_; }
|
|
set {
|
|
positionX_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "positionY" field.</summary>
|
|
public const int PositionYFieldNumber = 6;
|
|
private float positionY_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float PositionY {
|
|
get { return positionY_; }
|
|
set {
|
|
positionY_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "positionZ" field.</summary>
|
|
public const int PositionZFieldNumber = 7;
|
|
private float positionZ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float PositionZ {
|
|
get { return positionZ_; }
|
|
set {
|
|
positionZ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rotationX" field.</summary>
|
|
public const int RotationXFieldNumber = 8;
|
|
private float rotationX_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float RotationX {
|
|
get { return rotationX_; }
|
|
set {
|
|
rotationX_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rotationY" field.</summary>
|
|
public const int RotationYFieldNumber = 9;
|
|
private float rotationY_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float RotationY {
|
|
get { return rotationY_; }
|
|
set {
|
|
rotationY_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rotationZ" field.</summary>
|
|
public const int RotationZFieldNumber = 10;
|
|
private float rotationZ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float RotationZ {
|
|
get { return rotationZ_; }
|
|
set {
|
|
rotationZ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "clipSizeX" field.</summary>
|
|
public const int ClipSizeXFieldNumber = 11;
|
|
private float clipSizeX_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float ClipSizeX {
|
|
get { return clipSizeX_; }
|
|
set {
|
|
clipSizeX_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "clipSizeY" field.</summary>
|
|
public const int ClipSizeYFieldNumber = 12;
|
|
private float clipSizeY_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float ClipSizeY {
|
|
get { return clipSizeY_; }
|
|
set {
|
|
clipSizeY_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "clipSizeZ" field.</summary>
|
|
public const int ClipSizeZFieldNumber = 13;
|
|
private float clipSizeZ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public float ClipSizeZ {
|
|
get { return clipSizeZ_; }
|
|
set {
|
|
clipSizeZ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "information" field.</summary>
|
|
public const int InformationFieldNumber = 14;
|
|
private string information_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Information {
|
|
get { return information_; }
|
|
set {
|
|
information_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DataRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(DataRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Name != other.Name) return false;
|
|
if (DepthHighData != other.DepthHighData) return false;
|
|
if (DepthLowData != other.DepthLowData) return false;
|
|
if (VelocityData != other.VelocityData) return false;
|
|
if (PositionX != other.PositionX) return false;
|
|
if (PositionY != other.PositionY) return false;
|
|
if (PositionZ != other.PositionZ) return false;
|
|
if (RotationX != other.RotationX) return false;
|
|
if (RotationY != other.RotationY) return false;
|
|
if (RotationZ != other.RotationZ) return false;
|
|
if (ClipSizeX != other.ClipSizeX) return false;
|
|
if (ClipSizeY != other.ClipSizeY) return false;
|
|
if (ClipSizeZ != other.ClipSizeZ) return false;
|
|
if (Information != other.Information) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
if (DepthHighData.Length != 0) hash ^= DepthHighData.GetHashCode();
|
|
if (DepthLowData.Length != 0) hash ^= DepthLowData.GetHashCode();
|
|
if (VelocityData.Length != 0) hash ^= VelocityData.GetHashCode();
|
|
if (PositionX != 0F) hash ^= PositionX.GetHashCode();
|
|
if (PositionY != 0F) hash ^= PositionY.GetHashCode();
|
|
if (PositionZ != 0F) hash ^= PositionZ.GetHashCode();
|
|
if (RotationX != 0F) hash ^= RotationX.GetHashCode();
|
|
if (RotationY != 0F) hash ^= RotationY.GetHashCode();
|
|
if (RotationZ != 0F) hash ^= RotationZ.GetHashCode();
|
|
if (ClipSizeX != 0F) hash ^= ClipSizeX.GetHashCode();
|
|
if (ClipSizeY != 0F) hash ^= ClipSizeY.GetHashCode();
|
|
if (ClipSizeZ != 0F) hash ^= ClipSizeZ.GetHashCode();
|
|
if (Information.Length != 0) hash ^= Information.GetHashCode();
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Name);
|
|
}
|
|
if (DepthHighData.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteBytes(DepthHighData);
|
|
}
|
|
if (DepthLowData.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteBytes(DepthLowData);
|
|
}
|
|
if (VelocityData.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteBytes(VelocityData);
|
|
}
|
|
if (PositionX != 0F) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFloat(PositionX);
|
|
}
|
|
if (PositionY != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(PositionY);
|
|
}
|
|
if (PositionZ != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(PositionZ);
|
|
}
|
|
if (RotationX != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(RotationX);
|
|
}
|
|
if (RotationY != 0F) {
|
|
output.WriteRawTag(77);
|
|
output.WriteFloat(RotationY);
|
|
}
|
|
if (RotationZ != 0F) {
|
|
output.WriteRawTag(85);
|
|
output.WriteFloat(RotationZ);
|
|
}
|
|
if (ClipSizeX != 0F) {
|
|
output.WriteRawTag(93);
|
|
output.WriteFloat(ClipSizeX);
|
|
}
|
|
if (ClipSizeY != 0F) {
|
|
output.WriteRawTag(101);
|
|
output.WriteFloat(ClipSizeY);
|
|
}
|
|
if (ClipSizeZ != 0F) {
|
|
output.WriteRawTag(109);
|
|
output.WriteFloat(ClipSizeZ);
|
|
}
|
|
if (Information.Length != 0) {
|
|
output.WriteRawTag(114);
|
|
output.WriteString(Information);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (DepthHighData.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DepthHighData);
|
|
}
|
|
if (DepthLowData.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DepthLowData);
|
|
}
|
|
if (VelocityData.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(VelocityData);
|
|
}
|
|
if (PositionX != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (PositionY != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (PositionZ != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (RotationX != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (RotationY != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (RotationZ != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ClipSizeX != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ClipSizeY != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ClipSizeZ != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (Information.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Information);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(DataRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
if (other.DepthHighData.Length != 0) {
|
|
DepthHighData = other.DepthHighData;
|
|
}
|
|
if (other.DepthLowData.Length != 0) {
|
|
DepthLowData = other.DepthLowData;
|
|
}
|
|
if (other.VelocityData.Length != 0) {
|
|
VelocityData = other.VelocityData;
|
|
}
|
|
if (other.PositionX != 0F) {
|
|
PositionX = other.PositionX;
|
|
}
|
|
if (other.PositionY != 0F) {
|
|
PositionY = other.PositionY;
|
|
}
|
|
if (other.PositionZ != 0F) {
|
|
PositionZ = other.PositionZ;
|
|
}
|
|
if (other.RotationX != 0F) {
|
|
RotationX = other.RotationX;
|
|
}
|
|
if (other.RotationY != 0F) {
|
|
RotationY = other.RotationY;
|
|
}
|
|
if (other.RotationZ != 0F) {
|
|
RotationZ = other.RotationZ;
|
|
}
|
|
if (other.ClipSizeX != 0F) {
|
|
ClipSizeX = other.ClipSizeX;
|
|
}
|
|
if (other.ClipSizeY != 0F) {
|
|
ClipSizeY = other.ClipSizeY;
|
|
}
|
|
if (other.ClipSizeZ != 0F) {
|
|
ClipSizeZ = other.ClipSizeZ;
|
|
}
|
|
if (other.Information.Length != 0) {
|
|
Information = other.Information;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DepthHighData = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 26: {
|
|
DepthLowData = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 34: {
|
|
VelocityData = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 45: {
|
|
PositionX = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 53: {
|
|
PositionY = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
PositionZ = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
RotationX = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 77: {
|
|
RotationY = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 85: {
|
|
RotationZ = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 93: {
|
|
ClipSizeX = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 101: {
|
|
ClipSizeY = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 109: {
|
|
ClipSizeZ = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 114: {
|
|
Information = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class DataReply : pb::IMessage<DataReply> {
|
|
private static readonly pb::MessageParser<DataReply> _parser = new pb::MessageParser<DataReply>(() => new DataReply());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<DataReply> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::UltraCombos.Kinect2MotionTransmit.UltraCombosKinect2MotionTransmitReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public DataReply() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public DataReply(DataReply other) : this() {
|
|
result_ = other.result_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public DataReply Clone() {
|
|
return new DataReply(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "result" field.</summary>
|
|
public const int ResultFieldNumber = 1;
|
|
private string result_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Result {
|
|
get { return result_; }
|
|
set {
|
|
result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DataReply);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(DataReply other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Result != other.Result) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Result.Length != 0) hash ^= Result.GetHashCode();
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (Result.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Result);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Result.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Result);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(DataReply other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Result.Length != 0) {
|
|
Result = other.Result;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
Result = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|
|
|