< Summary

Class:Plugin.StatusReflection
Assembly:bamlab.micromissiles
File(s):/github/workspace/Assets/Scripts/Generated/Proto/Status.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:323
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
StatusReflection()0%2100%

File(s)

/github/workspace/Assets/Scripts/Generated/Proto/Status.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: Plugin/status.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021, 8981
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace Plugin {
 13
 14  /// <summary>Holder for reflection information generated from Plugin/status.proto</summary>
 15  public static partial class StatusReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for Plugin/status.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 024    static StatusReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "ChNQbHVnaW4vc3RhdHVzLnByb3RvEgZwbHVnaW4iOwoGU3RhdHVzEiAKBGNv",
 28            "ZGUYASABKA4yEi5wbHVnaW4uU3RhdHVzQ29kZRIPCgdtZXNzYWdlGAIgASgJ",
 29            "KrQDCgpTdGF0dXNDb2RlEg0KCVNUQVRVU19PSxAAEhQKEFNUQVRVU19DQU5D",
 30            "RUxMRUQQARISCg5TVEFUVVNfVU5LTk9XThACEhsKF1NUQVRVU19JTlZBTElE",
 31            "X0FSR1VNRU5UEAMSHAoYU1RBVFVTX0RFQURMSU5FX0VYQ0VFREVEEAQSFAoQ",
 32            "U1RBVFVTX05PVF9GT1VORBAFEhkKFVNUQVRVU19BTFJFQURZX0VYSVNUUxAG",
 33            "EhwKGFNUQVRVU19QRVJNSVNTSU9OX0RFTklFRBAHEhoKFlNUQVRVU19VTkFV",
 34            "VEhFTlRJQ0FURUQQCBIdChlTVEFUVVNfUkVTT1VSQ0VfRVhIQVVTVEVEEAkS",
 35            "HgoaU1RBVFVTX0ZBSUxFRF9QUkVDT05ESVRJT04QChISCg5TVEFUVVNfQUJP",
 36            "UlRFRBALEhcKE1NUQVRVU19PVVRfT0ZfUkFOR0UQDBIYChRTVEFUVVNfVU5J",
 37            "TVBMRU1FTlRFRBANEhMKD1NUQVRVU19JTlRFUk5BTBAOEhYKElNUQVRVU19V",
 38            "TkFWQUlMQUJMRRAPEhQKEFNUQVRVU19EQVRBX0xPU1MQEGIGcHJvdG8z"));
 039      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 40          new pbr::FileDescriptor[] { },
 41          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Plugin.StatusCode), }, null, new pbr::GeneratedClrTypeInfo
 42            new pbr::GeneratedClrTypeInfo(typeof(global::Plugin.Status), global::Plugin.Status.Parser, new[]{ "Code", "M
 43          }));
 044    }
 45    #endregion
 46
 47  }
 48  #region Enums
 49  /// <summary>
 50  /// Status enumeration.
 51  /// </summary>
 52  public enum StatusCode {
 53    [pbr::OriginalName("STATUS_OK")] StatusOk = 0,
 54    [pbr::OriginalName("STATUS_CANCELLED")] StatusCancelled = 1,
 55    [pbr::OriginalName("STATUS_UNKNOWN")] StatusUnknown = 2,
 56    [pbr::OriginalName("STATUS_INVALID_ARGUMENT")] StatusInvalidArgument = 3,
 57    [pbr::OriginalName("STATUS_DEADLINE_EXCEEDED")] StatusDeadlineExceeded = 4,
 58    [pbr::OriginalName("STATUS_NOT_FOUND")] StatusNotFound = 5,
 59    [pbr::OriginalName("STATUS_ALREADY_EXISTS")] StatusAlreadyExists = 6,
 60    [pbr::OriginalName("STATUS_PERMISSION_DENIED")] StatusPermissionDenied = 7,
 61    [pbr::OriginalName("STATUS_UNAUTHENTICATED")] StatusUnauthenticated = 8,
 62    [pbr::OriginalName("STATUS_RESOURCE_EXHAUSTED")] StatusResourceExhausted = 9,
 63    [pbr::OriginalName("STATUS_FAILED_PRECONDITION")] StatusFailedPrecondition = 10,
 64    [pbr::OriginalName("STATUS_ABORTED")] StatusAborted = 11,
 65    [pbr::OriginalName("STATUS_OUT_OF_RANGE")] StatusOutOfRange = 12,
 66    [pbr::OriginalName("STATUS_UNIMPLEMENTED")] StatusUnimplemented = 13,
 67    [pbr::OriginalName("STATUS_INTERNAL")] StatusInternal = 14,
 68    [pbr::OriginalName("STATUS_UNAVAILABLE")] StatusUnavailable = 15,
 69    [pbr::OriginalName("STATUS_DATA_LOSS")] StatusDataLoss = 16,
 70  }
 71
 72  #endregion
 73
 74  #region Messages
 75  /// <summary>
 76  /// Status.
 77  /// </summary>
 78  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
 79  public sealed partial class Status : pb::IMessage<Status>
 80  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 81      , pb::IBufferMessage
 82  #endif
 83  {
 84    private static readonly pb::MessageParser<Status> _parser = new pb::MessageParser<Status>(() => new Status());
 85    private pb::UnknownFieldSet _unknownFields;
 86    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 88    public static pb::MessageParser<Status> Parser { get { return _parser; } }
 89
 90    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 91    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 92    public static pbr::MessageDescriptor Descriptor {
 93      get { return global::Plugin.StatusReflection.Descriptor.MessageTypes[0]; }
 94    }
 95
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 98    pbr::MessageDescriptor pb::IMessage.Descriptor {
 99      get { return Descriptor; }
 100    }
 101
 102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 104    public Status() {
 105      OnConstruction();
 106    }
 107
 108    partial void OnConstruction();
 109
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public Status(Status other) : this() {
 113      code_ = other.code_;
 114      message_ = other.message_;
 115      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 116    }
 117
 118    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 119    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 120    public Status Clone() {
 121      return new Status(this);
 122    }
 123
 124    /// <summary>Field number for the "code" field.</summary>
 125    public const int CodeFieldNumber = 1;
 126    private global::Plugin.StatusCode code_ = global::Plugin.StatusCode.StatusOk;
 127    /// <summary>
 128    /// Status code.
 129    /// </summary>
 130    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 131    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 132    public global::Plugin.StatusCode Code {
 133      get { return code_; }
 134      set {
 135        code_ = value;
 136      }
 137    }
 138
 139    /// <summary>Field number for the "message" field.</summary>
 140    public const int MessageFieldNumber = 2;
 141    private string message_ = "";
 142    /// <summary>
 143    /// Status message.
 144    /// </summary>
 145    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 146    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 147    public string Message {
 148      get { return message_; }
 149      set {
 150        message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 151      }
 152    }
 153
 154    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 155    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 156    public override bool Equals(object other) {
 157      return Equals(other as Status);
 158    }
 159
 160    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 161    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 162    public bool Equals(Status other) {
 163      if (ReferenceEquals(other, null)) {
 164        return false;
 165      }
 166      if (ReferenceEquals(other, this)) {
 167        return true;
 168      }
 169      if (Code != other.Code) return false;
 170      if (Message != other.Message) return false;
 171      return Equals(_unknownFields, other._unknownFields);
 172    }
 173
 174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176    public override int GetHashCode() {
 177      int hash = 1;
 178      if (Code != global::Plugin.StatusCode.StatusOk) hash ^= Code.GetHashCode();
 179      if (Message.Length != 0) hash ^= Message.GetHashCode();
 180      if (_unknownFields != null) {
 181        hash ^= _unknownFields.GetHashCode();
 182      }
 183      return hash;
 184    }
 185
 186    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 187    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188    public override string ToString() {
 189      return pb::JsonFormatter.ToDiagnosticString(this);
 190    }
 191
 192    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 193    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 194    public void WriteTo(pb::CodedOutputStream output) {
 195    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 196      output.WriteRawMessage(this);
 197    #else
 198      if (Code != global::Plugin.StatusCode.StatusOk) {
 199        output.WriteRawTag(8);
 200        output.WriteEnum((int) Code);
 201      }
 202      if (Message.Length != 0) {
 203        output.WriteRawTag(18);
 204        output.WriteString(Message);
 205      }
 206      if (_unknownFields != null) {
 207        _unknownFields.WriteTo(output);
 208      }
 209    #endif
 210    }
 211
 212    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 213    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 214    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 215    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 216      if (Code != global::Plugin.StatusCode.StatusOk) {
 217        output.WriteRawTag(8);
 218        output.WriteEnum((int) Code);
 219      }
 220      if (Message.Length != 0) {
 221        output.WriteRawTag(18);
 222        output.WriteString(Message);
 223      }
 224      if (_unknownFields != null) {
 225        _unknownFields.WriteTo(ref output);
 226      }
 227    }
 228    #endif
 229
 230    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 231    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 232    public int CalculateSize() {
 233      int size = 0;
 234      if (Code != global::Plugin.StatusCode.StatusOk) {
 235        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Code);
 236      }
 237      if (Message.Length != 0) {
 238        size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
 239      }
 240      if (_unknownFields != null) {
 241        size += _unknownFields.CalculateSize();
 242      }
 243      return size;
 244    }
 245
 246    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 247    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 248    public void MergeFrom(Status other) {
 249      if (other == null) {
 250        return;
 251      }
 252      if (other.Code != global::Plugin.StatusCode.StatusOk) {
 253        Code = other.Code;
 254      }
 255      if (other.Message.Length != 0) {
 256        Message = other.Message;
 257      }
 258      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 259    }
 260
 261    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 262    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 263    public void MergeFrom(pb::CodedInputStream input) {
 264    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 265      input.ReadRawMessage(this);
 266    #else
 267      uint tag;
 268      while ((tag = input.ReadTag()) != 0) {
 269      if ((tag & 7) == 4) {
 270        // Abort on any end group tag.
 271        return;
 272      }
 273      switch(tag) {
 274          default:
 275            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 276            break;
 277          case 8: {
 278            Code = (global::Plugin.StatusCode) input.ReadEnum();
 279            break;
 280          }
 281          case 18: {
 282            Message = input.ReadString();
 283            break;
 284          }
 285        }
 286      }
 287    #endif
 288    }
 289
 290    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 291    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 292    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 293    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 294      uint tag;
 295      while ((tag = input.ReadTag()) != 0) {
 296      if ((tag & 7) == 4) {
 297        // Abort on any end group tag.
 298        return;
 299      }
 300      switch(tag) {
 301          default:
 302            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 303            break;
 304          case 8: {
 305            Code = (global::Plugin.StatusCode) input.ReadEnum();
 306            break;
 307          }
 308          case 18: {
 309            Message = input.ReadString();
 310            break;
 311          }
 312        }
 313      }
 314    }
 315    #endif
 316
 317  }
 318
 319  #endregion
 320
 321}
 322
 323#endregion Designer generated code

Methods/Properties

Descriptor()
StatusReflection()