diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Embroidery/ConvertFileInput.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Embroidery/ConvertFileInput.cs | 188 |
1 files changed, 188 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Embroidery/ConvertFileInput.cs b/Software/Visual_Studio/Tango.PMR/Embroidery/ConvertFileInput.cs new file mode 100644 index 000000000..3b07dea67 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Embroidery/ConvertFileInput.cs @@ -0,0 +1,188 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ConvertFileInput.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.Embroidery { + + /// <summary>Holder for reflection information generated from ConvertFileInput.proto</summary> + public static partial class ConvertFileInputReflection { + + #region Descriptor + /// <summary>File descriptor for ConvertFileInput.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ConvertFileInputReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZDb252ZXJ0RmlsZUlucHV0LnByb3RvEhRUYW5nby5QTVIuRW1icm9pZGVy", + "eSI6ChBDb252ZXJ0RmlsZUlucHV0EhIKClNvdXJjZUZpbGUYASABKAkSEgoK", + "VGFyZ2V0RmlsZRgCIAEoCUIgCh5jb20udHdpbmUudGFuZ28ucG1yLmVtYnJv", + "aWRlcnliBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Embroidery.ConvertFileInput), global::Tango.PMR.Embroidery.ConvertFileInput.Parser, new[]{ "SourceFile", "TargetFile" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class ConvertFileInput : pb::IMessage<ConvertFileInput> { + private static readonly pb::MessageParser<ConvertFileInput> _parser = new pb::MessageParser<ConvertFileInput>(() => new ConvertFileInput()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<ConvertFileInput> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Embroidery.ConvertFileInputReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public ConvertFileInput() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public ConvertFileInput(ConvertFileInput other) : this() { + sourceFile_ = other.sourceFile_; + targetFile_ = other.targetFile_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public ConvertFileInput Clone() { + return new ConvertFileInput(this); + } + + /// <summary>Field number for the "SourceFile" field.</summary> + public const int SourceFileFieldNumber = 1; + private string sourceFile_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string SourceFile { + get { return sourceFile_; } + set { + sourceFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TargetFile" field.</summary> + public const int TargetFileFieldNumber = 2; + private string targetFile_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string TargetFile { + get { return targetFile_; } + set { + targetFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as ConvertFileInput); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(ConvertFileInput other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SourceFile != other.SourceFile) return false; + if (TargetFile != other.TargetFile) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (SourceFile.Length != 0) hash ^= SourceFile.GetHashCode(); + if (TargetFile.Length != 0) hash ^= TargetFile.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 (SourceFile.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SourceFile); + } + if (TargetFile.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TargetFile); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (SourceFile.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceFile); + } + if (TargetFile.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetFile); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(ConvertFileInput other) { + if (other == null) { + return; + } + if (other.SourceFile.Length != 0) { + SourceFile = other.SourceFile; + } + if (other.TargetFile.Length != 0) { + TargetFile = other.TargetFile; + } + } + + [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: { + SourceFile = input.ReadString(); + break; + } + case 18: { + TargetFile = input.ReadString(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code |
