| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: ecs/components/GltfContainer.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from ecs/components/GltfContainer.proto</summary> |
| | 15 | | public static partial class GltfContainerReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for ecs/components/GltfContainer.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static GltfContainerReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CiJlY3MvY29tcG9uZW50cy9HbHRmQ29udGFpbmVyLnByb3RvEhBkZWNlbnRy", |
| | 28 | | "YWxhbmQuZWNzIh4KD1BCR2x0ZkNvbnRhaW5lchILCgNzcmMYASABKAlCFKoC", |
| | 29 | | "EURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| | 30 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 31 | | new pbr::FileDescriptor[] { }, |
| | 32 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 33 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBGltfContainer), global::DCL.ECSComponents.P |
| | 34 | | })); |
| | 35 | | } |
| | 36 | | #endregion |
| | 37 | |
|
| | 38 | | } |
| | 39 | | #region Messages |
| | 40 | | public sealed partial class PBGltfContainer : pb::IMessage<PBGltfContainer> |
| | 41 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 42 | | , pb::IBufferMessage |
| | 43 | | #endif |
| | 44 | | { |
| 1 | 45 | | private static readonly pb::MessageParser<PBGltfContainer> _parser = new pb::MessageParser<PBGltfContainer>(() => ne |
| | 46 | | private pb::UnknownFieldSet _unknownFields; |
| | 47 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 48 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 49 | | public static pb::MessageParser<PBGltfContainer> Parser { get { return _parser; } } |
| | 50 | |
|
| | 51 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 52 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 53 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 54 | | get { return global::DCL.ECSComponents.GltfContainerReflection.Descriptor.MessageTypes[0]; } |
| | 55 | | } |
| | 56 | |
|
| | 57 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 58 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 59 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 60 | | get { return Descriptor; } |
| | 61 | | } |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 64 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 65 | | public PBGltfContainer() { |
| | 66 | | OnConstruction(); |
| 1 | 67 | | } |
| | 68 | |
|
| | 69 | | partial void OnConstruction(); |
| | 70 | |
|
| | 71 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 72 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 73 | | public PBGltfContainer(PBGltfContainer other) : this() { |
| 0 | 74 | | src_ = other.src_; |
| 0 | 75 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 76 | | } |
| | 77 | |
|
| | 78 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 79 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 80 | | public PBGltfContainer Clone() { |
| 0 | 81 | | return new PBGltfContainer(this); |
| | 82 | | } |
| | 83 | |
|
| | 84 | | /// <summary>Field number for the "src" field.</summary> |
| | 85 | | public const int SrcFieldNumber = 1; |
| 1 | 86 | | private string src_ = ""; |
| | 87 | | /// <summary> |
| | 88 | | /// which file to load |
| | 89 | | /// </summary> |
| | 90 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 91 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 92 | | public string Src { |
| 0 | 93 | | get { return src_; } |
| | 94 | | set { |
| 1 | 95 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 1 | 96 | | } |
| | 97 | | } |
| | 98 | |
|
| | 99 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 101 | | public override bool Equals(object other) { |
| 0 | 102 | | return Equals(other as PBGltfContainer); |
| | 103 | | } |
| | 104 | |
|
| | 105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 107 | | public bool Equals(PBGltfContainer other) { |
| 0 | 108 | | if (ReferenceEquals(other, null)) { |
| 0 | 109 | | return false; |
| | 110 | | } |
| 0 | 111 | | if (ReferenceEquals(other, this)) { |
| 0 | 112 | | return true; |
| | 113 | | } |
| 0 | 114 | | if (Src != other.Src) return false; |
| 0 | 115 | | return Equals(_unknownFields, other._unknownFields); |
| | 116 | | } |
| | 117 | |
|
| | 118 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 119 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 120 | | public override int GetHashCode() { |
| 0 | 121 | | int hash = 1; |
| 0 | 122 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| 0 | 123 | | if (_unknownFields != null) { |
| 0 | 124 | | hash ^= _unknownFields.GetHashCode(); |
| | 125 | | } |
| 0 | 126 | | return hash; |
| | 127 | | } |
| | 128 | |
|
| | 129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 131 | | public override string ToString() { |
| 0 | 132 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 133 | | } |
| | 134 | |
|
| | 135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 137 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 138 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 139 | | output.WriteRawMessage(this); |
| | 140 | | #else |
| 0 | 141 | | if (Src.Length != 0) { |
| 0 | 142 | | output.WriteRawTag(10); |
| 0 | 143 | | output.WriteString(Src); |
| | 144 | | } |
| 0 | 145 | | if (_unknownFields != null) { |
| 0 | 146 | | _unknownFields.WriteTo(output); |
| | 147 | | } |
| | 148 | | #endif |
| 0 | 149 | | } |
| | 150 | |
|
| | 151 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 152 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 153 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 154 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 155 | | if (Src.Length != 0) { |
| | 156 | | output.WriteRawTag(10); |
| | 157 | | output.WriteString(Src); |
| | 158 | | } |
| | 159 | | if (_unknownFields != null) { |
| | 160 | | _unknownFields.WriteTo(ref output); |
| | 161 | | } |
| | 162 | | } |
| | 163 | | #endif |
| | 164 | |
|
| | 165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 167 | | public int CalculateSize() { |
| 0 | 168 | | int size = 0; |
| 0 | 169 | | if (Src.Length != 0) { |
| 0 | 170 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 171 | | } |
| 0 | 172 | | if (_unknownFields != null) { |
| 0 | 173 | | size += _unknownFields.CalculateSize(); |
| | 174 | | } |
| 0 | 175 | | return size; |
| | 176 | | } |
| | 177 | |
|
| | 178 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 179 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 180 | | public void MergeFrom(PBGltfContainer other) { |
| 0 | 181 | | if (other == null) { |
| 0 | 182 | | return; |
| | 183 | | } |
| 0 | 184 | | if (other.Src.Length != 0) { |
| 0 | 185 | | Src = other.Src; |
| | 186 | | } |
| 0 | 187 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 188 | | } |
| | 189 | |
|
| | 190 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 191 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 192 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 193 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 194 | | input.ReadRawMessage(this); |
| | 195 | | #else |
| | 196 | | uint tag; |
| 0 | 197 | | while ((tag = input.ReadTag()) != 0) { |
| | 198 | | switch(tag) { |
| | 199 | | default: |
| 0 | 200 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 201 | | break; |
| | 202 | | case 10: { |
| 0 | 203 | | Src = input.ReadString(); |
| | 204 | | break; |
| | 205 | | } |
| | 206 | | } |
| | 207 | | } |
| | 208 | | #endif |
| 0 | 209 | | } |
| | 210 | |
|
| | 211 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 214 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 215 | | uint tag; |
| | 216 | | while ((tag = input.ReadTag()) != 0) { |
| | 217 | | switch(tag) { |
| | 218 | | default: |
| | 219 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 220 | | break; |
| | 221 | | case 10: { |
| | 222 | | Src = input.ReadString(); |
| | 223 | | break; |
| | 224 | | } |
| | 225 | | } |
| | 226 | | } |
| | 227 | | } |
| | 228 | | #endif |
| | 229 | |
|
| | 230 | | } |
| | 231 | |
|
| | 232 | | #endregion |
| | 233 | |
|
| | 234 | | } |
| | 235 | |
|
| | 236 | | #endregion Designer generated code |