// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StubFPGAReadVersionResponse.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 {
/// Holder for reflection information generated from StubFPGAReadVersionResponse.proto
public static partial class StubFPGAReadVersionResponseReflection {
#region Descriptor
/// File descriptor for StubFPGAReadVersionResponse.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StubFPGAReadVersionResponseReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFTdHViRlBHQVJlYWRWZXJzaW9uUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBN",
"Ui5TdHVicyKMAQobU3R1YkZQR0FSZWFkVmVyc2lvblJlc3BvbnNlEg4KBkZQ",
"R0FJZBgBIAEoDRILCgNEYXkYAiABKA0SDQoFTW9udGgYAyABKA0SDAoEWWVh",
"chgEIAEoDRIPCgdWZXJfbnVtGAUgASgNEg4KBlN0YXR1cxgGIAEoCRISCgpT",
"dGF0dXNXb3JkGAcgASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNi",
"BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubFPGAReadVersionResponse), global::Tango.PMR.Stubs.StubFPGAReadVersionResponse.Parser, new[]{ "FPGAId", "Day", "Month", "Year", "VerNum", "Status", "StatusWord" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class StubFPGAReadVersionResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubFPGAReadVersionResponse());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Tango.PMR.Stubs.StubFPGAReadVersionResponseReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubFPGAReadVersionResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubFPGAReadVersionResponse(StubFPGAReadVersionResponse other) : this() {
fPGAId_ = other.fPGAId_;
day_ = other.day_;
month_ = other.month_;
year_ = other.year_;
verNum_ = other.verNum_;
status_ = other.status_;
statusWord_ = other.statusWord_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubFPGAReadVersionResponse Clone() {
return new StubFPGAReadVersionResponse(this);
}
/// Field number for the "FPGAId" field.
public const int FPGAIdFieldNumber = 1;
private uint fPGAId_;
///
/// 0..2
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint FPGAId {
get { return fPGAId_; }
set {
fPGAId_ = value;
}
}
/// Field number for the "Day" field.
public const int DayFieldNumber = 2;
private uint day_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Day {
get { return day_; }
set {
day_ = value;
}
}
/// Field number for the "Month" field.
public const int MonthFieldNumber = 3;
private uint month_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Month {
get { return month_; }
set {
month_ = value;
}
}
/// Field number for the "Year" field.
public const int YearFieldNumber = 4;
private uint year_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Year {
get { return year_; }
set {
year_ = value;
}
}
/// Field number for the "Ver_num" field.
public const int VerNumFieldNumber = 5;
private uint verNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint VerNum {
get { return verNum_; }
set {
verNum_ = value;
}
}
/// Field number for the "Status" field.
public const int StatusFieldNumber = 6;
private string status_ = "";
///
/// Passed/Failed
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Status {
get { return status_; }
set {
status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "StatusWord" field.
public const int StatusWordFieldNumber = 7;
private uint statusWord_;
///
/// Error number/bit when the status is Failed
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint StatusWord {
get { return statusWord_; }
set {
statusWord_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StubFPGAReadVersionResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StubFPGAReadVersionResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FPGAId != other.FPGAId) return false;
if (Day != other.Day) return false;
if (Month != other.Month) return false;
if (Year != other.Year) return false;
if (VerNum != other.VerNum) return false;
if (Status != other.Status) return false;
if (StatusWord != other.StatusWord) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (FPGAId != 0) hash ^= FPGAId.GetHashCode();
if (Day != 0) hash ^= Day.GetHashCode();
if (Month != 0) hash ^= Month.GetHashCode();
if (Year != 0) hash ^= Year.GetHashCode();
if (VerNum != 0) hash ^= VerNum.GetHashCode();
if (Status.Length != 0) hash ^= Status.GetHashCode();
if (StatusWord != 0) hash ^= StatusWord.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 (FPGAId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(FPGAId);
}
if (Day != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Day);
}
if (Month != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Month);
}
if (Year != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Year);
}
if (VerNum != 0) {
output.WriteRawTag(40);
output.WriteUInt32(VerNum);
}
if (Status.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Status);
}
if (StatusWord != 0) {
output.WriteRawTag(56);
output.WriteUInt32(StatusWord);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (FPGAId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FPGAId);
}
if (Day != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Day);
}
if (Month != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Month);
}
if (Year != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Year);
}
if (VerNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VerNum);
}
if (Status.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Status);
}
if (StatusWord != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StubFPGAReadVersionResponse other) {
if (other == null) {
return;
}
if (other.FPGAId != 0) {
FPGAId = other.FPGAId;
}
if (other.Day != 0) {
Day = other.Day;
}
if (other.Month != 0) {
Month = other.Month;
}
if (other.Year != 0) {
Year = other.Year;
}
if (other.VerNum != 0) {
VerNum = other.VerNum;
}
if (other.Status.Length != 0) {
Status = other.Status;
}
if (other.StatusWord != 0) {
StatusWord = other.StatusWord;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
FPGAId = input.ReadUInt32();
break;
}
case 16: {
Day = input.ReadUInt32();
break;
}
case 24: {
Month = input.ReadUInt32();
break;
}
case 32: {
Year = input.ReadUInt32();
break;
}
case 40: {
VerNum = input.ReadUInt32();
break;
}
case 50: {
Status = input.ReadString();
break;
}
case 56: {
StatusWord = input.ReadUInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code