// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Global_Uconnect_Ext_RemoteInhibits.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 Com.Fca.Uconnect.Global {

  /// <summary>Holder for reflection information generated from Global_Uconnect_Ext_RemoteInhibits.proto</summary>
  public static partial class GlobalUconnectExtRemoteInhibitsReflection {

    #region Descriptor
    /// <summary>File descriptor for Global_Uconnect_Ext_RemoteInhibits.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static GlobalUconnectExtRemoteInhibitsReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CihHbG9iYWxfVWNvbm5lY3RfRXh0X1JlbW90ZUluaGliaXRzLnByb3RvEhdj",
            "b20uZmNhLnVjb25uZWN0Lmdsb2JhbBohR2xvYmFsX1Vjb25uZWN0X1ZlaGlj",
            "bGVJbmZvLnByb3RvIrUCChRSZW1vdGVJbmhpYml0UmVxdWVzdBIYChBzZXJ2",
            "aWNlUmVxdWVzdElkGAEgASgMElQKDGNyYW5rSW5oaWJpdBgCIAEoDjI+LmNv",
            "bS5mY2EudWNvbm5lY3QuZ2xvYmFsLlJlbW90ZUluaGliaXRSZXF1ZXN0LkNy",
            "YW5rSW5oaWJpdEVudW0SUAoKZW5naW5lU2xvdxgDIAEoDjI8LmNvbS5mY2Eu",
            "dWNvbm5lY3QuZ2xvYmFsLlJlbW90ZUluaGliaXRSZXF1ZXN0LkVuZ2luZVNs",
            "b3dFbnVtIjAKEENyYW5rSW5oaWJpdEVudW0SDwoLRU5EX0lOSElCSVQQABIL",
            "CgdJTkhJQklUEAEiKQoORW5naW5lU2xvd0VudW0SDQoJRVhJVF9TTE9XEAAS",
            "CAoEU0xPVxABItkBChVSZW1vdGVJbmhpYml0UmVzcG9uc2USTQoIcmVzcG9u",
            "c2UYASABKA4yOy5jb20uZmNhLnVjb25uZWN0Lmdsb2JhbC5SZW1vdGVJbmhp",
            "Yml0UmVzcG9uc2UuUmVzcG9uc2VFbnVtEhgKEHNlcnZpY2VSZXF1ZXN0SWQY",
            "AiABKAwSEwoLaXNUcmFuc2llbnQYAyABKAgSGQoRZmFpbHVyZVJlYXNvbkNv",
            "ZGUYBCABKAUiJwoMUmVzcG9uc2VFbnVtEgsKB1NVQ0NFU1MQABIKCgZGQUlM",
            "RUQQASJrChpDcmFua0F0dGVtcHRlZE5vdGlmaWNhdGlvbhIYChBpc0NyYW5r",
            "QXR0ZW1wdGVkGAEgASgIEjMKCGxvY2F0aW9uGAIgASgLMiEuY29tLmZjYS51",
            "Y29ubmVjdC5nbG9iYWwuTG9jYXRpb25QAGIGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Com.Fca.Uconnect.Global.GlobalUconnectVehicleInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.RemoteInhibitRequest), global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Parser, new[]{ "ServiceRequestId", "CrankInhibit", "EngineSlow" }, null, new[]{ typeof(global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.CrankInhibitEnum), typeof(global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.EngineSlowEnum) }, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.RemoteInhibitResponse), global::Com.Fca.Uconnect.Global.RemoteInhibitResponse.Parser, new[]{ "Response", "ServiceRequestId", "IsTransient", "FailureReasonCode" }, null, new[]{ typeof(global::Com.Fca.Uconnect.Global.RemoteInhibitResponse.Types.ResponseEnum) }, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.CrankAttemptedNotification), global::Com.Fca.Uconnect.Global.CrankAttemptedNotification.Parser, new[]{ "IsCrankAttempted", "Location" }, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  /// <summary>
  ///*
  /// This message represents  RemoteOperationRequest of vehicle for Remote Operations.
  /// &lt;div class=exmsg-main>
  /// &lt;h4>RemoteOperationRequest Example Message:&lt;/h4>
  /// &lt;div class=ex-msg>
  ///	&lt;code>
  /// 		timestamp: 1489632211020
  /// 		messageId: 1
  /// 		messages
  /// 		{
  /// 		 [com.fca.uconnect.global.remoteInhibitRequest]
  /// 		 {
  /// 		  action: SUBSCRIBE
  /// 		  serviceRequestId:"-\0274\302]\325\324 \354K"
  /// 		  remoteInhibitRequest
  /// 		  {
  /// 			command: CRANK_INHIBIT
  /// 			
  /// 		  }
  /// 		 }
  /// 		}
  ///	&lt;/code>
  ///   &lt;/div>
  /// &lt;/div>
  /// </summary>
  public sealed partial class RemoteInhibitRequest : pb::IMessage<RemoteInhibitRequest> {
    private static readonly pb::MessageParser<RemoteInhibitRequest> _parser = new pb::MessageParser<RemoteInhibitRequest>(() => new RemoteInhibitRequest());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<RemoteInhibitRequest> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Com.Fca.Uconnect.Global.GlobalUconnectExtRemoteInhibitsReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public RemoteInhibitRequest() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public RemoteInhibitRequest(RemoteInhibitRequest other) : this() {
      serviceRequestId_ = other.serviceRequestId_;
      crankInhibit_ = other.crankInhibit_;
      engineSlow_ = other.engineSlow_;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public RemoteInhibitRequest Clone() {
      return new RemoteInhibitRequest(this);
    }

    /// <summary>Field number for the "serviceRequestId" field.</summary>
    public const int ServiceRequestIdFieldNumber = 1;
    private pb::ByteString serviceRequestId_ = pb::ByteString.Empty;
    /// <summary>
    //// ServiceRequestId assigned by the SDP
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public pb::ByteString ServiceRequestId {
      get { return serviceRequestId_; }
      set {
        serviceRequestId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "crankInhibit" field.</summary>
    public const int CrankInhibitFieldNumber = 2;
    private global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.CrankInhibitEnum crankInhibit_ = 0;
    /// <summary>
    //// Turn on or off the inhibit of the vehicle start
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.CrankInhibitEnum CrankInhibit {
      get { return crankInhibit_; }
      set {
        crankInhibit_ = value;
      }
    }

    /// <summary>Field number for the "engineSlow" field.</summary>
    public const int EngineSlowFieldNumber = 3;
    private global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.EngineSlowEnum engineSlow_ = 0;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.EngineSlowEnum EngineSlow {
      get { return engineSlow_; }
      set {
        engineSlow_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as RemoteInhibitRequest);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(RemoteInhibitRequest other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (ServiceRequestId != other.ServiceRequestId) return false;
      if (CrankInhibit != other.CrankInhibit) return false;
      if (EngineSlow != other.EngineSlow) return false;
      return true;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (ServiceRequestId.Length != 0) hash ^= ServiceRequestId.GetHashCode();
      if (CrankInhibit != 0) hash ^= CrankInhibit.GetHashCode();
      if (EngineSlow != 0) hash ^= EngineSlow.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 (ServiceRequestId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteBytes(ServiceRequestId);
      }
      if (CrankInhibit != 0) {
        output.WriteRawTag(16);
        output.WriteEnum((int) CrankInhibit);
      }
      if (EngineSlow != 0) {
        output.WriteRawTag(24);
        output.WriteEnum((int) EngineSlow);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (ServiceRequestId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(ServiceRequestId);
      }
      if (CrankInhibit != 0) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CrankInhibit);
      }
      if (EngineSlow != 0) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EngineSlow);
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(RemoteInhibitRequest other) {
      if (other == null) {
        return;
      }
      if (other.ServiceRequestId.Length != 0) {
        ServiceRequestId = other.ServiceRequestId;
      }
      if (other.CrankInhibit != 0) {
        CrankInhibit = other.CrankInhibit;
      }
      if (other.EngineSlow != 0) {
        EngineSlow = other.EngineSlow;
      }
    }

    [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: {
            ServiceRequestId = input.ReadBytes();
            break;
          }
          case 16: {
            crankInhibit_ = (global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.CrankInhibitEnum) input.ReadEnum();
            break;
          }
          case 24: {
            engineSlow_ = (global::Com.Fca.Uconnect.Global.RemoteInhibitRequest.Types.EngineSlowEnum) input.ReadEnum();
            break;
          }
        }
      }
    }

    #region Nested types
    /// <summary>Container for nested types declared in the RemoteInhibitRequest message type.</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static partial class Types {
      public enum CrankInhibitEnum {
        [pbr::OriginalName("END_INHIBIT")] EndInhibit = 0,
        [pbr::OriginalName("INHIBIT")] Inhibit = 1,
      }

      public enum EngineSlowEnum {
        [pbr::OriginalName("EXIT_SLOW")] ExitSlow = 0,
        [pbr::OriginalName("SLOW")] Slow = 1,
      }

    }
    #endregion

  }

  public sealed partial class RemoteInhibitResponse : pb::IMessage<RemoteInhibitResponse> {
    private static readonly pb::MessageParser<RemoteInhibitResponse> _parser = new pb::MessageParser<RemoteInhibitResponse>(() => new RemoteInhibitResponse());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<RemoteInhibitResponse> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Com.Fca.Uconnect.Global.GlobalUconnectExtRemoteInhibitsReflection.Descriptor.MessageTypes[1]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public RemoteInhibitResponse() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public RemoteInhibitResponse(RemoteInhibitResponse other) : this() {
      response_ = other.response_;
      serviceRequestId_ = other.serviceRequestId_;
      isTransient_ = other.isTransient_;
      failureReasonCode_ = other.failureReasonCode_;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public RemoteInhibitResponse Clone() {
      return new RemoteInhibitResponse(this);
    }

    /// <summary>Field number for the "response" field.</summary>
    public const int ResponseFieldNumber = 1;
    private global::Com.Fca.Uconnect.Global.RemoteInhibitResponse.Types.ResponseEnum response_ = 0;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.RemoteInhibitResponse.Types.ResponseEnum Response {
      get { return response_; }
      set {
        response_ = value;
      }
    }

    /// <summary>Field number for the "serviceRequestId" field.</summary>
    public const int ServiceRequestIdFieldNumber = 2;
    private pb::ByteString serviceRequestId_ = pb::ByteString.Empty;
    /// <summary>
    //// service request id assigned by SDP
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public pb::ByteString ServiceRequestId {
      get { return serviceRequestId_; }
      set {
        serviceRequestId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "isTransient" field.</summary>
    public const int IsTransientFieldNumber = 3;
    private bool isTransient_;
    /// <summary>
    //// Indicates a transient error and a retry can be attempted.
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool IsTransient {
      get { return isTransient_; }
      set {
        isTransient_ = value;
      }
    }

    /// <summary>Field number for the "failureReasonCode" field.</summary>
    public const int FailureReasonCodeFieldNumber = 4;
    private int failureReasonCode_;
    /// <summary>
    //// Specific error code.
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int FailureReasonCode {
      get { return failureReasonCode_; }
      set {
        failureReasonCode_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as RemoteInhibitResponse);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(RemoteInhibitResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Response != other.Response) return false;
      if (ServiceRequestId != other.ServiceRequestId) return false;
      if (IsTransient != other.IsTransient) return false;
      if (FailureReasonCode != other.FailureReasonCode) return false;
      return true;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (Response != 0) hash ^= Response.GetHashCode();
      if (ServiceRequestId.Length != 0) hash ^= ServiceRequestId.GetHashCode();
      if (IsTransient != false) hash ^= IsTransient.GetHashCode();
      if (FailureReasonCode != 0) hash ^= FailureReasonCode.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 (Response != 0) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Response);
      }
      if (ServiceRequestId.Length != 0) {
        output.WriteRawTag(18);
        output.WriteBytes(ServiceRequestId);
      }
      if (IsTransient != false) {
        output.WriteRawTag(24);
        output.WriteBool(IsTransient);
      }
      if (FailureReasonCode != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(FailureReasonCode);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (Response != 0) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Response);
      }
      if (ServiceRequestId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(ServiceRequestId);
      }
      if (IsTransient != false) {
        size += 1 + 1;
      }
      if (FailureReasonCode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(FailureReasonCode);
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(RemoteInhibitResponse other) {
      if (other == null) {
        return;
      }
      if (other.Response != 0) {
        Response = other.Response;
      }
      if (other.ServiceRequestId.Length != 0) {
        ServiceRequestId = other.ServiceRequestId;
      }
      if (other.IsTransient != false) {
        IsTransient = other.IsTransient;
      }
      if (other.FailureReasonCode != 0) {
        FailureReasonCode = other.FailureReasonCode;
      }
    }

    [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: {
            response_ = (global::Com.Fca.Uconnect.Global.RemoteInhibitResponse.Types.ResponseEnum) input.ReadEnum();
            break;
          }
          case 18: {
            ServiceRequestId = input.ReadBytes();
            break;
          }
          case 24: {
            IsTransient = input.ReadBool();
            break;
          }
          case 32: {
            FailureReasonCode = input.ReadInt32();
            break;
          }
        }
      }
    }

    #region Nested types
    /// <summary>Container for nested types declared in the RemoteInhibitResponse message type.</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static partial class Types {
      public enum ResponseEnum {
        /// <summary>
        //// Success
        /// </summary>
        [pbr::OriginalName("SUCCESS")] Success = 0,
        /// <summary>
        //// FAILED
        /// </summary>
        [pbr::OriginalName("FAILED")] Failed = 1,
      }

    }
    #endregion

  }

  public sealed partial class CrankAttemptedNotification : pb::IMessage<CrankAttemptedNotification> {
    private static readonly pb::MessageParser<CrankAttemptedNotification> _parser = new pb::MessageParser<CrankAttemptedNotification>(() => new CrankAttemptedNotification());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<CrankAttemptedNotification> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Com.Fca.Uconnect.Global.GlobalUconnectExtRemoteInhibitsReflection.Descriptor.MessageTypes[2]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public CrankAttemptedNotification() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public CrankAttemptedNotification(CrankAttemptedNotification other) : this() {
      isCrankAttempted_ = other.isCrankAttempted_;
      Location = other.location_ != null ? other.Location.Clone() : null;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public CrankAttemptedNotification Clone() {
      return new CrankAttemptedNotification(this);
    }

    /// <summary>Field number for the "isCrankAttempted" field.</summary>
    public const int IsCrankAttemptedFieldNumber = 1;
    private bool isCrankAttempted_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool IsCrankAttempted {
      get { return isCrankAttempted_; }
      set {
        isCrankAttempted_ = value;
      }
    }

    /// <summary>Field number for the "location" field.</summary>
    public const int LocationFieldNumber = 2;
    private global::Com.Fca.Uconnect.Global.Location location_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.Location Location {
      get { return location_; }
      set {
        location_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as CrankAttemptedNotification);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(CrankAttemptedNotification other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (IsCrankAttempted != other.IsCrankAttempted) return false;
      if (!object.Equals(Location, other.Location)) return false;
      return true;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (IsCrankAttempted != false) hash ^= IsCrankAttempted.GetHashCode();
      if (location_ != null) hash ^= Location.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 (IsCrankAttempted != false) {
        output.WriteRawTag(8);
        output.WriteBool(IsCrankAttempted);
      }
      if (location_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(Location);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (IsCrankAttempted != false) {
        size += 1 + 1;
      }
      if (location_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Location);
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(CrankAttemptedNotification other) {
      if (other == null) {
        return;
      }
      if (other.IsCrankAttempted != false) {
        IsCrankAttempted = other.IsCrankAttempted;
      }
      if (other.location_ != null) {
        if (location_ == null) {
          location_ = new global::Com.Fca.Uconnect.Global.Location();
        }
        Location.MergeFrom(other.Location);
      }
    }

    [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: {
            IsCrankAttempted = input.ReadBool();
            break;
          }
          case 18: {
            if (location_ == null) {
              location_ = new global::Com.Fca.Uconnect.Global.Location();
            }
            input.ReadMessage(location_);
            break;
          }
        }
      }
    }

  }

  #endregion

}

#endregion Designer generated code
