aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Stubs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-10-28 11:29:42 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-10-28 11:29:42 +0200
commit40a06a448d838e62d75694a3a6227c67a1ce5fdf (patch)
treeb60c28416a34ec39191e47c95ead9d5b6a40f4b9 /Software/Visual_Studio/Tango.PMR/Stubs
parentf681b137c727f7dcdb7d3f5765af8b5b3048c2d9 (diff)
downloadTango-40a06a448d838e62d75694a3a6227c67a1ce5fdf.tar.gz
Tango-40a06a448d838e62d75694a3a6227c67a1ce5fdf.zip
Added job request stubs.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Stubs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobRequest.cs131
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobResponse.cs131
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubJobRequest.cs166
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubJobResponse.cs194
4 files changed, 622 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobRequest.cs
new file mode 100644
index 000000000..61d524112
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobRequest.cs
@@ -0,0 +1,131 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubAbortJobRequest.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 Tango.PMR.Stubs {
+
+ /// <summary>Holder for reflection information generated from StubAbortJobRequest.proto</summary>
+ public static partial class StubAbortJobRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubAbortJobRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubAbortJobRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChlTdHViQWJvcnRKb2JSZXF1ZXN0LnByb3RvEg9UYW5nby5QTVIuU3R1YnMi",
+ "FQoTU3R1YkFib3J0Sm9iUmVxdWVzdEIbChljb20udHdpbmUudGFuZ28ucG1y",
+ "LnN0dWJzYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubAbortJobRequest), global::Tango.PMR.Stubs.StubAbortJobRequest.Parser, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubAbortJobRequest : pb::IMessage<StubAbortJobRequest> {
+ private static readonly pb::MessageParser<StubAbortJobRequest> _parser = new pb::MessageParser<StubAbortJobRequest>(() => new StubAbortJobRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubAbortJobRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubAbortJobRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubAbortJobRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubAbortJobRequest(StubAbortJobRequest other) : this() {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubAbortJobRequest Clone() {
+ return new StubAbortJobRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubAbortJobRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubAbortJobRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ 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) {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubAbortJobRequest other) {
+ if (other == null) {
+ return;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobResponse.cs
new file mode 100644
index 000000000..a715f48d2
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubAbortJobResponse.cs
@@ -0,0 +1,131 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubAbortJobResponse.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 Tango.PMR.Stubs {
+
+ /// <summary>Holder for reflection information generated from StubAbortJobResponse.proto</summary>
+ public static partial class StubAbortJobResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubAbortJobResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubAbortJobResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChpTdHViQWJvcnRKb2JSZXNwb25zZS5wcm90bxIPVGFuZ28uUE1SLlN0dWJz",
+ "IhYKFFN0dWJBYm9ydEpvYlJlc3BvbnNlQhsKGWNvbS50d2luZS50YW5nby5w",
+ "bXIuc3R1YnNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubAbortJobResponse), global::Tango.PMR.Stubs.StubAbortJobResponse.Parser, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubAbortJobResponse : pb::IMessage<StubAbortJobResponse> {
+ private static readonly pb::MessageParser<StubAbortJobResponse> _parser = new pb::MessageParser<StubAbortJobResponse>(() => new StubAbortJobResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubAbortJobResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubAbortJobResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubAbortJobResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubAbortJobResponse(StubAbortJobResponse other) : this() {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubAbortJobResponse Clone() {
+ return new StubAbortJobResponse(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubAbortJobResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubAbortJobResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ 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) {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubAbortJobResponse other) {
+ if (other == null) {
+ return;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubJobRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubJobRequest.cs
new file mode 100644
index 000000000..9973cfbe5
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubJobRequest.cs
@@ -0,0 +1,166 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubJobRequest.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 Tango.PMR.Stubs {
+
+ /// <summary>Holder for reflection information generated from StubJobRequest.proto</summary>
+ public static partial class StubJobRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubJobRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubJobRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChRTdHViSm9iUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0dWJzGg9Kb2JU",
+ "aWNrZXQucHJvdG8iQgoOU3R1YkpvYlJlcXVlc3QSMAoJSm9iVGlja2V0GAEg",
+ "ASgLMh0uVGFuZ28uUE1SLlByaW50aW5nLkpvYlRpY2tldEIbChljb20udHdp",
+ "bmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobTicketReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubJobRequest), global::Tango.PMR.Stubs.StubJobRequest.Parser, new[]{ "JobTicket" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubJobRequest : pb::IMessage<StubJobRequest> {
+ private static readonly pb::MessageParser<StubJobRequest> _parser = new pb::MessageParser<StubJobRequest>(() => new StubJobRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubJobRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubJobRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubJobRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubJobRequest(StubJobRequest other) : this() {
+ JobTicket = other.jobTicket_ != null ? other.JobTicket.Clone() : null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubJobRequest Clone() {
+ return new StubJobRequest(this);
+ }
+
+ /// <summary>Field number for the "JobTicket" field.</summary>
+ public const int JobTicketFieldNumber = 1;
+ private global::Tango.PMR.Printing.JobTicket jobTicket_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Printing.JobTicket JobTicket {
+ get { return jobTicket_; }
+ set {
+ jobTicket_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubJobRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubJobRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(JobTicket, other.JobTicket)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (jobTicket_ != null) hash ^= JobTicket.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 (jobTicket_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(JobTicket);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (jobTicket_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(JobTicket);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubJobRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.jobTicket_ != null) {
+ if (jobTicket_ == null) {
+ jobTicket_ = new global::Tango.PMR.Printing.JobTicket();
+ }
+ JobTicket.MergeFrom(other.JobTicket);
+ }
+ }
+
+ [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: {
+ if (jobTicket_ == null) {
+ jobTicket_ = new global::Tango.PMR.Printing.JobTicket();
+ }
+ input.ReadMessage(jobTicket_);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubJobResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubJobResponse.cs
new file mode 100644
index 000000000..be8617c92
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubJobResponse.cs
@@ -0,0 +1,194 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubJobResponse.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 Tango.PMR.Stubs {
+
+ /// <summary>Holder for reflection information generated from StubJobResponse.proto</summary>
+ public static partial class StubJobResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubJobResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubJobResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChVTdHViSm9iUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5TdHVicxoPSm9i",
+ "U3RhdHVzLnByb3RvIlIKD1N0dWJKb2JSZXNwb25zZRItCgZTdGF0dXMYASAB",
+ "KAsyHS5UYW5nby5QTVIuUHJpbnRpbmcuSm9iU3RhdHVzEhAKCENhbmNlbGVk",
+ "GAIgASgIQhsKGWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobStatusReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubJobResponse), global::Tango.PMR.Stubs.StubJobResponse.Parser, new[]{ "Status", "Canceled" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubJobResponse : pb::IMessage<StubJobResponse> {
+ private static readonly pb::MessageParser<StubJobResponse> _parser = new pb::MessageParser<StubJobResponse>(() => new StubJobResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubJobResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubJobResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubJobResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubJobResponse(StubJobResponse other) : this() {
+ Status = other.status_ != null ? other.Status.Clone() : null;
+ canceled_ = other.canceled_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubJobResponse Clone() {
+ return new StubJobResponse(this);
+ }
+
+ /// <summary>Field number for the "Status" field.</summary>
+ public const int StatusFieldNumber = 1;
+ private global::Tango.PMR.Printing.JobStatus status_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Printing.JobStatus Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Canceled" field.</summary>
+ public const int CanceledFieldNumber = 2;
+ private bool canceled_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Canceled {
+ get { return canceled_; }
+ set {
+ canceled_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubJobResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubJobResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Status, other.Status)) return false;
+ if (Canceled != other.Canceled) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (status_ != null) hash ^= Status.GetHashCode();
+ if (Canceled != false) hash ^= Canceled.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 (status_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Status);
+ }
+ if (Canceled != false) {
+ output.WriteRawTag(16);
+ output.WriteBool(Canceled);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (status_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
+ }
+ if (Canceled != false) {
+ size += 1 + 1;
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubJobResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.status_ != null) {
+ if (status_ == null) {
+ status_ = new global::Tango.PMR.Printing.JobStatus();
+ }
+ Status.MergeFrom(other.Status);
+ }
+ if (other.Canceled != false) {
+ Canceled = other.Canceled;
+ }
+ }
+
+ [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: {
+ if (status_ == null) {
+ status_ = new global::Tango.PMR.Printing.JobStatus();
+ }
+ input.ReadMessage(status_);
+ break;
+ }
+ case 16: {
+ Canceled = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code