// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Global_Uconnect_Ext_POISearch.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_POISearch.proto</summary>
  public static partial class GlobalUconnectExtPOISearchReflection {

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

    static GlobalUconnectExtPOISearchReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiNHbG9iYWxfVWNvbm5lY3RfRXh0X1BPSVNlYXJjaC5wcm90bxIXY29tLmZj",
            "YS51Y29ubmVjdC5nbG9iYWwaGkdsb2JhbF9VY29ubmVjdF9HTlNTLnByb3Rv",
            "IkkKEFBPSVNlYXJjaFJlcXVlc3QSNQoDcG9pGAEgASgLMiguY29tLmZjYS51",
            "Y29ubmVjdC5nbG9iYWwuUG9pbnRPZkludGVyZXN0Ik4KEVBPSVNlYXJjaFJl",
            "c3BvbnNlEjkKB3BvaUxpc3QYASADKAsyKC5jb20uZmNhLnVjb25uZWN0Lmds",
            "b2JhbC5Qb2ludE9mSW50ZXJlc3QiXwobUE9JU2VhcmNoRGVzdGluYXRpb25S",
            "ZXF1ZXN0EkAKDmRlc3RpbmF0aW9uUE9JGAEgASgLMiguY29tLmZjYS51Y29u",
            "bmVjdC5nbG9iYWwuUG9pbnRPZkludGVyZXN0IlkKHFBPSVNlYXJjaERlc3Rp",
            "bmF0aW9uUmVzcG9uc2USOQoLZGVzdGluYXRpb24YASABKAsyJC5jb20uZmNh",
            "LnVjb25uZWN0Lmdsb2JhbC5EZXN0aW5hdGlvblAAYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Com.Fca.Uconnect.Global.GlobalUconnectGNSSReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.POISearchRequest), global::Com.Fca.Uconnect.Global.POISearchRequest.Parser, new[]{ "Poi" }, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.POISearchResponse), global::Com.Fca.Uconnect.Global.POISearchResponse.Parser, new[]{ "PoiList" }, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.POISearchDestinationRequest), global::Com.Fca.Uconnect.Global.POISearchDestinationRequest.Parser, new[]{ "DestinationPOI" }, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Com.Fca.Uconnect.Global.POISearchDestinationResponse), global::Com.Fca.Uconnect.Global.POISearchDestinationResponse.Parser, new[]{ "Destination" }, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  /// <summary>
  ///*
  /// This message represents  POISearchRequest.
  /// &lt;div class=exmsg-main>
  /// &lt;h4>POISearchRequest Example Message:&lt;/h4>
  /// &lt;div class=ex-msg>
  ///	&lt;code>
  /// 		timestamp: 1488574019636
  /// 		messageId: 1
  /// 		messages
  /// 	    {
  /// 		 [com.fca.uconnect.global.POISearchRequest]
  /// 		 {
  /// 		  poi
  /// 		  {
  /// 			name: "2.0"
  /// 			category: ""
  /// 			id: 1
  /// 			phoneNumber: "12345"
  /// 			description: "DESC"
  /// 			url: "https://abc.com"
  ///  	  }
  /// 		 }
  /// 		}
  ///	&lt;/code>
  ///   &lt;/div>
  /// &lt;/div>
  /// </summary>
  public sealed partial class POISearchRequest : pb::IMessage<POISearchRequest> {
    private static readonly pb::MessageParser<POISearchRequest> _parser = new pb::MessageParser<POISearchRequest>(() => new POISearchRequest());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<POISearchRequest> Parser { get { return _parser; } }

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

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

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public POISearchRequest(POISearchRequest other) : this() {
      Poi = other.poi_ != null ? other.Poi.Clone() : null;
    }

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

    /// <summary>Field number for the "poi" field.</summary>
    public const int PoiFieldNumber = 1;
    private global::Com.Fca.Uconnect.Global.PointOfInterest poi_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.PointOfInterest Poi {
      get { return poi_; }
      set {
        poi_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (poi_ != null) hash ^= Poi.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 (poi_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Poi);
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(POISearchRequest other) {
      if (other == null) {
        return;
      }
      if (other.poi_ != null) {
        if (poi_ == null) {
          poi_ = new global::Com.Fca.Uconnect.Global.PointOfInterest();
        }
        Poi.MergeFrom(other.Poi);
      }
    }

    [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: {
            if (poi_ == null) {
              poi_ = new global::Com.Fca.Uconnect.Global.PointOfInterest();
            }
            input.ReadMessage(poi_);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///*
  /// This message is in response to  POISearchRequest.
  ///&lt;div class=exmsg-main>
  /// &lt;h4>POISearchResponse Example Message:&lt;/h4>
  /// &lt;div class=ex-msg>
  ///	&lt;code>
  /// 		timestamp: 1488740988983
  /// 		messageId: 2
  /// 		correlationId: 1
  /// 		messages
  /// 		{
  /// 		 [com.fca.uconnect.global.poiSearchResponse]
  /// 		 {
  /// 			[ poiList{
  /// 			name: "2.0"
  /// 			category: ""
  /// 			id: 1
  /// 			phoneNumber: "12345"
  /// 			description: "DESC"
  /// 			url: "https://abc.com"
  ///
  /// 			}]
  /// 		 }
  /// 		}
  ///	&lt;/code>
  ///   &lt;/div>&lt;/div>
  /// </summary>
  public sealed partial class POISearchResponse : pb::IMessage<POISearchResponse> {
    private static readonly pb::MessageParser<POISearchResponse> _parser = new pb::MessageParser<POISearchResponse>(() => new POISearchResponse());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<POISearchResponse> Parser { get { return _parser; } }

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

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

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public POISearchResponse(POISearchResponse other) : this() {
      poiList_ = other.poiList_.Clone();
    }

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

    /// <summary>Field number for the "poiList" field.</summary>
    public const int PoiListFieldNumber = 1;
    private static readonly pb::FieldCodec<global::Com.Fca.Uconnect.Global.PointOfInterest> _repeated_poiList_codec
        = pb::FieldCodec.ForMessage(10, global::Com.Fca.Uconnect.Global.PointOfInterest.Parser);
    private readonly pbc::RepeatedField<global::Com.Fca.Uconnect.Global.PointOfInterest> poiList_ = new pbc::RepeatedField<global::Com.Fca.Uconnect.Global.PointOfInterest>();
    /// <summary>
    //// list of points of interest
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public pbc::RepeatedField<global::Com.Fca.Uconnect.Global.PointOfInterest> PoiList {
      get { return poiList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(POISearchResponse other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!poiList_.Equals(other.poiList_)) return false;
      return true;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      hash ^= poiList_.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) {
      poiList_.WriteTo(output, _repeated_poiList_codec);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      size += poiList_.CalculateSize(_repeated_poiList_codec);
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(POISearchResponse other) {
      if (other == null) {
        return;
      }
      poiList_.Add(other.poiList_);
    }

    [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: {
            poiList_.AddEntriesFrom(input, _repeated_poiList_codec);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///*
  /// This message represents  POISearchDestinationRequest.
  /// &lt;div class=exmsg-main>
  /// &lt;h4>POISearchDestinationRequest Example Message:&lt;/h4>
  /// &lt;div class=ex-msg>
  ///	&lt;code>
  /// 		timestamp: 1488574019636
  /// 		messageId: 1
  /// 		messages
  /// 	    {
  /// 		 [com.fca.uconnect.global.poiSearchDestinationRequest]
  /// 		 {
  /// 		  destinationPOI
  /// 		  {
  /// 			name: "2.0"
  /// 			category: ""
  /// 			id: 1
  /// 			phoneNumber: "12345"
  /// 			description: "DESC"
  /// 			url: "https://abc.com"
  ///  	  }
  /// 		 }
  /// 		}
  ///	&lt;/code>
  ///   &lt;/div>
  /// &lt;/div>
  /// </summary>
  public sealed partial class POISearchDestinationRequest : pb::IMessage<POISearchDestinationRequest> {
    private static readonly pb::MessageParser<POISearchDestinationRequest> _parser = new pb::MessageParser<POISearchDestinationRequest>(() => new POISearchDestinationRequest());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<POISearchDestinationRequest> Parser { get { return _parser; } }

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

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

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public POISearchDestinationRequest(POISearchDestinationRequest other) : this() {
      DestinationPOI = other.destinationPOI_ != null ? other.DestinationPOI.Clone() : null;
    }

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

    /// <summary>Field number for the "destinationPOI" field.</summary>
    public const int DestinationPOIFieldNumber = 1;
    private global::Com.Fca.Uconnect.Global.PointOfInterest destinationPOI_;
    /// <summary>
    //// Point of Interest request data
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.PointOfInterest DestinationPOI {
      get { return destinationPOI_; }
      set {
        destinationPOI_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (destinationPOI_ != null) hash ^= DestinationPOI.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 (destinationPOI_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(DestinationPOI);
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(POISearchDestinationRequest other) {
      if (other == null) {
        return;
      }
      if (other.destinationPOI_ != null) {
        if (destinationPOI_ == null) {
          destinationPOI_ = new global::Com.Fca.Uconnect.Global.PointOfInterest();
        }
        DestinationPOI.MergeFrom(other.DestinationPOI);
      }
    }

    [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: {
            if (destinationPOI_ == null) {
              destinationPOI_ = new global::Com.Fca.Uconnect.Global.PointOfInterest();
            }
            input.ReadMessage(destinationPOI_);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///*
  /// This message is in response to  POISearchDestinationRequest.
  ///&lt;div class=exmsg-main>
  /// &lt;h4>POISearchDestinationResponse Example Message:&lt;/h4>
  /// &lt;div class=ex-msg>
  ///	&lt;code>
  /// 		timestamp: 1488740988983
  /// 		messageId: 2
  /// 		correlationId: 1
  /// 		messages
  /// 		{
  /// 		 [com.fca.uconnect.global.poiSearchDestinationResponse]
  /// 		 {
  /// 			destination
  /// 		  {
  /// 			routePreference: Fast
  /// 			destinationPOI
  /// 		    {
  /// 			name: "2.0"
  /// 			category: ""
  /// 			id: 1
  /// 			phoneNumber: "12345"
  /// 			description: "DESC"
  /// 			url: "https://abc.com"
  ///  	  }
  ///  	  }
  /// 		 }
  /// 		}
  ///	&lt;/code>
  ///   &lt;/div>&lt;/div>
  /// </summary>
  public sealed partial class POISearchDestinationResponse : pb::IMessage<POISearchDestinationResponse> {
    private static readonly pb::MessageParser<POISearchDestinationResponse> _parser = new pb::MessageParser<POISearchDestinationResponse>(() => new POISearchDestinationResponse());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<POISearchDestinationResponse> Parser { get { return _parser; } }

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

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

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public POISearchDestinationResponse(POISearchDestinationResponse other) : this() {
      Destination = other.destination_ != null ? other.Destination.Clone() : null;
    }

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

    /// <summary>Field number for the "destination" field.</summary>
    public const int DestinationFieldNumber = 1;
    private global::Com.Fca.Uconnect.Global.Destination destination_;
    /// <summary>
    //// destination message element
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Com.Fca.Uconnect.Global.Destination Destination {
      get { return destination_; }
      set {
        destination_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (destination_ != null) hash ^= Destination.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 (destination_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Destination);
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(POISearchDestinationResponse other) {
      if (other == null) {
        return;
      }
      if (other.destination_ != null) {
        if (destination_ == null) {
          destination_ = new global::Com.Fca.Uconnect.Global.Destination();
        }
        Destination.MergeFrom(other.Destination);
      }
    }

    [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: {
            if (destination_ == null) {
              destination_ = new global::Com.Fca.Uconnect.Global.Destination();
            }
            input.ReadMessage(destination_);
            break;
          }
        }
      }
    }

  }

  #endregion

}

#endregion Designer generated code
