// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Global_V2M_Uconnect_CommAndCont.proto

package com.fca.uconnect.global;

public final class GlobalV2MUconnectCommAndCont {
  private GlobalV2MUconnectCommAndCont() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.establishRemoteConnection);
    registry.add(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.endRemoteConnection);
    registry.add(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.establishAck);
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface EstablishRemoteConnectionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.fca.uconnect.global.EstablishRemoteConnection)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *&#47; The target host URL to establish a connection for tcp/ip forwarding.
     * </pre>
     *
     * <code>optional string remoteHostURL = 1;</code>
     */
    boolean hasRemoteHostURL();
    /**
     * <pre>
     *&#47; The target host URL to establish a connection for tcp/ip forwarding.
     * </pre>
     *
     * <code>optional string remoteHostURL = 1;</code>
     */
    java.lang.String getRemoteHostURL();
    /**
     * <pre>
     *&#47; The target host URL to establish a connection for tcp/ip forwarding.
     * </pre>
     *
     * <code>optional string remoteHostURL = 1;</code>
     */
    com.google.protobuf.ByteString
        getRemoteHostURLBytes();

    /**
     * <pre>
     *&#47; The port of the service running on the remote host. 
     * </pre>
     *
     * <code>optional int32 remotePort = 2;</code>
     */
    boolean hasRemotePort();
    /**
     * <pre>
     *&#47; The port of the service running on the remote host. 
     * </pre>
     *
     * <code>optional int32 remotePort = 2;</code>
     */
    int getRemotePort();

    /**
     * <pre>
     *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
     * </pre>
     *
     * <code>optional int32 localPort = 3;</code>
     */
    boolean hasLocalPort();
    /**
     * <pre>
     *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
     * </pre>
     *
     * <code>optional int32 localPort = 3;</code>
     */
    int getLocalPort();

    /**
     * <pre>
     *&#47; Placeholder for future capability to prioritize channels.
     * </pre>
     *
     * <code>optional int32 priority = 4;</code>
     */
    boolean hasPriority();
    /**
     * <pre>
     *&#47; Placeholder for future capability to prioritize channels.
     * </pre>
     *
     * <code>optional int32 priority = 4;</code>
     */
    int getPriority();

    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */
    int getParametersCount();
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */
    boolean containsParameters(
        java.lang.String key);
    /**
     * Use {@link #getParametersMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.String, java.lang.String>
    getParameters();
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */
    java.util.Map<java.lang.String, java.lang.String>
    getParametersMap();
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */

    java.lang.String getParametersOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */

    java.lang.String getParametersOrThrow(
        java.lang.String key);
  }
  /**
   * <pre>
   **
   * This message is to establish Tunnel Connection from V2M.
   * &lt;div class=exmsg-main&gt;
   * &lt;h4&gt;EstablishRemoteConnection Example Message:&lt;/h4&gt;
   * &lt;div class=ex-msg&gt;
   *	&lt;code&gt;
   * 		timestamp: 1488574019636
   * 		messageId: 1
   * 		messages
   * 	    {
   * 		 [com.fca.uconnect.global.establishRemoteConnection]
   * 		 {
   * 			remoteHostURL: "host"
   * 			remotePort: 8080
   *  			localPort: 80
   * 			priority: 1
   * 		 }
   * 		}
   *	&lt;/code&gt;
   *   &lt;/div&gt;
   * &lt;/div&gt;
   * </pre>
   *
   * Protobuf type {@code com.fca.uconnect.global.EstablishRemoteConnection}
   */
  public  static final class EstablishRemoteConnection extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.fca.uconnect.global.EstablishRemoteConnection)
      EstablishRemoteConnectionOrBuilder {
    // Use EstablishRemoteConnection.newBuilder() to construct.
    private EstablishRemoteConnection(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private EstablishRemoteConnection() {
      remoteHostURL_ = "";
      remotePort_ = 0;
      localPort_ = 0;
      priority_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private EstablishRemoteConnection(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000001;
              remoteHostURL_ = bs;
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              remotePort_ = input.readInt32();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              localPort_ = input.readInt32();
              break;
            }
            case 32: {
              bitField0_ |= 0x00000008;
              priority_ = input.readInt32();
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                parameters_ = com.google.protobuf.MapField.newMapField(
                    ParametersDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000010;
              }
              com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
              parameters = input.readMessage(
                  ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              parameters_.getMutableMap().put(parameters.getKey(), parameters.getValue());
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 5:
          return internalGetParameters();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishRemoteConnection_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.class, com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.Builder.class);
    }

    private int bitField0_;
    public static final int REMOTEHOSTURL_FIELD_NUMBER = 1;
    private volatile java.lang.Object remoteHostURL_;
    /**
     * <pre>
     *&#47; The target host URL to establish a connection for tcp/ip forwarding.
     * </pre>
     *
     * <code>optional string remoteHostURL = 1;</code>
     */
    public boolean hasRemoteHostURL() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <pre>
     *&#47; The target host URL to establish a connection for tcp/ip forwarding.
     * </pre>
     *
     * <code>optional string remoteHostURL = 1;</code>
     */
    public java.lang.String getRemoteHostURL() {
      java.lang.Object ref = remoteHostURL_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          remoteHostURL_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     *&#47; The target host URL to establish a connection for tcp/ip forwarding.
     * </pre>
     *
     * <code>optional string remoteHostURL = 1;</code>
     */
    public com.google.protobuf.ByteString
        getRemoteHostURLBytes() {
      java.lang.Object ref = remoteHostURL_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        remoteHostURL_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int REMOTEPORT_FIELD_NUMBER = 2;
    private int remotePort_;
    /**
     * <pre>
     *&#47; The port of the service running on the remote host. 
     * </pre>
     *
     * <code>optional int32 remotePort = 2;</code>
     */
    public boolean hasRemotePort() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <pre>
     *&#47; The port of the service running on the remote host. 
     * </pre>
     *
     * <code>optional int32 remotePort = 2;</code>
     */
    public int getRemotePort() {
      return remotePort_;
    }

    public static final int LOCALPORT_FIELD_NUMBER = 3;
    private int localPort_;
    /**
     * <pre>
     *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
     * </pre>
     *
     * <code>optional int32 localPort = 3;</code>
     */
    public boolean hasLocalPort() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <pre>
     *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
     * </pre>
     *
     * <code>optional int32 localPort = 3;</code>
     */
    public int getLocalPort() {
      return localPort_;
    }

    public static final int PRIORITY_FIELD_NUMBER = 4;
    private int priority_;
    /**
     * <pre>
     *&#47; Placeholder for future capability to prioritize channels.
     * </pre>
     *
     * <code>optional int32 priority = 4;</code>
     */
    public boolean hasPriority() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <pre>
     *&#47; Placeholder for future capability to prioritize channels.
     * </pre>
     *
     * <code>optional int32 priority = 4;</code>
     */
    public int getPriority() {
      return priority_;
    }

    public static final int PARAMETERS_FIELD_NUMBER = 5;
    private static final class ParametersDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.String, java.lang.String>newDefaultInstance(
                  com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishRemoteConnection_ParametersEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> parameters_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetParameters() {
      if (parameters_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            ParametersDefaultEntryHolder.defaultEntry);
      }
      return parameters_;
    }

    public int getParametersCount() {
      return internalGetParameters().getMap().size();
    }
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */

    public boolean containsParameters(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetParameters().getMap().containsKey(key);
    }
    /**
     * Use {@link #getParametersMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getParameters() {
      return getParametersMap();
    }
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */

    public java.util.Map<java.lang.String, java.lang.String> getParametersMap() {
      return internalGetParameters().getMap();
    }
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */

    public java.lang.String getParametersOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetParameters().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <pre>
     *&#47; Placeholder for future requirements for additional parameters.
     * </pre>
     *
     * <code>map&lt;string, string&gt; parameters = 5;</code>
     */

    public java.lang.String getParametersOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetParameters().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, remoteHostURL_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, remotePort_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt32(3, localPort_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeInt32(4, priority_);
      }
      for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
           : internalGetParameters().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
        parameters = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        output.writeMessage(5, parameters);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, remoteHostURL_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, remotePort_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, localPort_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, priority_);
      }
      for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
           : internalGetParameters().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
        parameters = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(5, parameters);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection)) {
        return super.equals(obj);
      }
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection other = (com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection) obj;

      boolean result = true;
      result = result && (hasRemoteHostURL() == other.hasRemoteHostURL());
      if (hasRemoteHostURL()) {
        result = result && getRemoteHostURL()
            .equals(other.getRemoteHostURL());
      }
      result = result && (hasRemotePort() == other.hasRemotePort());
      if (hasRemotePort()) {
        result = result && (getRemotePort()
            == other.getRemotePort());
      }
      result = result && (hasLocalPort() == other.hasLocalPort());
      if (hasLocalPort()) {
        result = result && (getLocalPort()
            == other.getLocalPort());
      }
      result = result && (hasPriority() == other.hasPriority());
      if (hasPriority()) {
        result = result && (getPriority()
            == other.getPriority());
      }
      result = result && internalGetParameters().equals(
          other.internalGetParameters());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasRemoteHostURL()) {
        hash = (37 * hash) + REMOTEHOSTURL_FIELD_NUMBER;
        hash = (53 * hash) + getRemoteHostURL().hashCode();
      }
      if (hasRemotePort()) {
        hash = (37 * hash) + REMOTEPORT_FIELD_NUMBER;
        hash = (53 * hash) + getRemotePort();
      }
      if (hasLocalPort()) {
        hash = (37 * hash) + LOCALPORT_FIELD_NUMBER;
        hash = (53 * hash) + getLocalPort();
      }
      if (hasPriority()) {
        hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
        hash = (53 * hash) + getPriority();
      }
      if (!internalGetParameters().getMap().isEmpty()) {
        hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
        hash = (53 * hash) + internalGetParameters().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     **
     * This message is to establish Tunnel Connection from V2M.
     * &lt;div class=exmsg-main&gt;
     * &lt;h4&gt;EstablishRemoteConnection Example Message:&lt;/h4&gt;
     * &lt;div class=ex-msg&gt;
     *	&lt;code&gt;
     * 		timestamp: 1488574019636
     * 		messageId: 1
     * 		messages
     * 	    {
     * 		 [com.fca.uconnect.global.establishRemoteConnection]
     * 		 {
     * 			remoteHostURL: "host"
     * 			remotePort: 8080
     *  			localPort: 80
     * 			priority: 1
     * 		 }
     * 		}
     *	&lt;/code&gt;
     *   &lt;/div&gt;
     * &lt;/div&gt;
     * </pre>
     *
     * Protobuf type {@code com.fca.uconnect.global.EstablishRemoteConnection}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.fca.uconnect.global.EstablishRemoteConnection)
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnectionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 5:
            return internalGetParameters();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 5:
            return internalGetMutableParameters();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishRemoteConnection_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.class, com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.Builder.class);
      }

      // Construct using com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        remoteHostURL_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        remotePort_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        localPort_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        priority_ = 0;
        bitField0_ = (bitField0_ & ~0x00000008);
        internalGetMutableParameters().clear();
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor;
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection getDefaultInstanceForType() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.getDefaultInstance();
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection build() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection buildPartial() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection result = new com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.remoteHostURL_ = remoteHostURL_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.remotePort_ = remotePort_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.localPort_ = localPort_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.priority_ = priority_;
        result.parameters_ = internalGetParameters();
        result.parameters_.makeImmutable();
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection) {
          return mergeFrom((com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection other) {
        if (other == com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.getDefaultInstance()) return this;
        if (other.hasRemoteHostURL()) {
          bitField0_ |= 0x00000001;
          remoteHostURL_ = other.remoteHostURL_;
          onChanged();
        }
        if (other.hasRemotePort()) {
          setRemotePort(other.getRemotePort());
        }
        if (other.hasLocalPort()) {
          setLocalPort(other.getLocalPort());
        }
        if (other.hasPriority()) {
          setPriority(other.getPriority());
        }
        internalGetMutableParameters().mergeFrom(
            other.internalGetParameters());
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object remoteHostURL_ = "";
      /**
       * <pre>
       *&#47; The target host URL to establish a connection for tcp/ip forwarding.
       * </pre>
       *
       * <code>optional string remoteHostURL = 1;</code>
       */
      public boolean hasRemoteHostURL() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <pre>
       *&#47; The target host URL to establish a connection for tcp/ip forwarding.
       * </pre>
       *
       * <code>optional string remoteHostURL = 1;</code>
       */
      public java.lang.String getRemoteHostURL() {
        java.lang.Object ref = remoteHostURL_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            remoteHostURL_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *&#47; The target host URL to establish a connection for tcp/ip forwarding.
       * </pre>
       *
       * <code>optional string remoteHostURL = 1;</code>
       */
      public com.google.protobuf.ByteString
          getRemoteHostURLBytes() {
        java.lang.Object ref = remoteHostURL_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          remoteHostURL_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *&#47; The target host URL to establish a connection for tcp/ip forwarding.
       * </pre>
       *
       * <code>optional string remoteHostURL = 1;</code>
       */
      public Builder setRemoteHostURL(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        remoteHostURL_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; The target host URL to establish a connection for tcp/ip forwarding.
       * </pre>
       *
       * <code>optional string remoteHostURL = 1;</code>
       */
      public Builder clearRemoteHostURL() {
        bitField0_ = (bitField0_ & ~0x00000001);
        remoteHostURL_ = getDefaultInstance().getRemoteHostURL();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; The target host URL to establish a connection for tcp/ip forwarding.
       * </pre>
       *
       * <code>optional string remoteHostURL = 1;</code>
       */
      public Builder setRemoteHostURLBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        remoteHostURL_ = value;
        onChanged();
        return this;
      }

      private int remotePort_ ;
      /**
       * <pre>
       *&#47; The port of the service running on the remote host. 
       * </pre>
       *
       * <code>optional int32 remotePort = 2;</code>
       */
      public boolean hasRemotePort() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <pre>
       *&#47; The port of the service running on the remote host. 
       * </pre>
       *
       * <code>optional int32 remotePort = 2;</code>
       */
      public int getRemotePort() {
        return remotePort_;
      }
      /**
       * <pre>
       *&#47; The port of the service running on the remote host. 
       * </pre>
       *
       * <code>optional int32 remotePort = 2;</code>
       */
      public Builder setRemotePort(int value) {
        bitField0_ |= 0x00000002;
        remotePort_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; The port of the service running on the remote host. 
       * </pre>
       *
       * <code>optional int32 remotePort = 2;</code>
       */
      public Builder clearRemotePort() {
        bitField0_ = (bitField0_ & ~0x00000002);
        remotePort_ = 0;
        onChanged();
        return this;
      }

      private int localPort_ ;
      /**
       * <pre>
       *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
       * </pre>
       *
       * <code>optional int32 localPort = 3;</code>
       */
      public boolean hasLocalPort() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <pre>
       *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
       * </pre>
       *
       * <code>optional int32 localPort = 3;</code>
       */
      public int getLocalPort() {
        return localPort_;
      }
      /**
       * <pre>
       *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
       * </pre>
       *
       * <code>optional int32 localPort = 3;</code>
       */
      public Builder setLocalPort(int value) {
        bitField0_ |= 0x00000004;
        localPort_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; The desired local port which will be used forward to the remote host.  The acknowledgement will provide the actual port.
       * </pre>
       *
       * <code>optional int32 localPort = 3;</code>
       */
      public Builder clearLocalPort() {
        bitField0_ = (bitField0_ & ~0x00000004);
        localPort_ = 0;
        onChanged();
        return this;
      }

      private int priority_ ;
      /**
       * <pre>
       *&#47; Placeholder for future capability to prioritize channels.
       * </pre>
       *
       * <code>optional int32 priority = 4;</code>
       */
      public boolean hasPriority() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <pre>
       *&#47; Placeholder for future capability to prioritize channels.
       * </pre>
       *
       * <code>optional int32 priority = 4;</code>
       */
      public int getPriority() {
        return priority_;
      }
      /**
       * <pre>
       *&#47; Placeholder for future capability to prioritize channels.
       * </pre>
       *
       * <code>optional int32 priority = 4;</code>
       */
      public Builder setPriority(int value) {
        bitField0_ |= 0x00000008;
        priority_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Placeholder for future capability to prioritize channels.
       * </pre>
       *
       * <code>optional int32 priority = 4;</code>
       */
      public Builder clearPriority() {
        bitField0_ = (bitField0_ & ~0x00000008);
        priority_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> parameters_;
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetParameters() {
        if (parameters_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              ParametersDefaultEntryHolder.defaultEntry);
        }
        return parameters_;
      }
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetMutableParameters() {
        onChanged();;
        if (parameters_ == null) {
          parameters_ = com.google.protobuf.MapField.newMapField(
              ParametersDefaultEntryHolder.defaultEntry);
        }
        if (!parameters_.isMutable()) {
          parameters_ = parameters_.copy();
        }
        return parameters_;
      }

      public int getParametersCount() {
        return internalGetParameters().getMap().size();
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */

      public boolean containsParameters(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetParameters().getMap().containsKey(key);
      }
      /**
       * Use {@link #getParametersMap()} instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String> getParameters() {
        return getParametersMap();
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */

      public java.util.Map<java.lang.String, java.lang.String> getParametersMap() {
        return internalGetParameters().getMap();
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */

      public java.lang.String getParametersOrDefault(
          java.lang.String key,
          java.lang.String defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetParameters().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */

      public java.lang.String getParametersOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetParameters().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearParameters() {
        getMutableParameters().clear();
        return this;
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */

      public Builder removeParameters(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        getMutableParameters().remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String>
      getMutableParameters() {
        return internalGetMutableParameters().getMutableMap();
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */
      public Builder putParameters(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        if (value == null) { throw new java.lang.NullPointerException(); }
        getMutableParameters().put(key, value);
        return this;
      }
      /**
       * <pre>
       *&#47; Placeholder for future requirements for additional parameters.
       * </pre>
       *
       * <code>map&lt;string, string&gt; parameters = 5;</code>
       */

      public Builder putAllParameters(
          java.util.Map<java.lang.String, java.lang.String> values) {
        getMutableParameters().putAll(values);
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.fca.uconnect.global.EstablishRemoteConnection)
    }

    // @@protoc_insertion_point(class_scope:com.fca.uconnect.global.EstablishRemoteConnection)
    private static final com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection();
    }

    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser<EstablishRemoteConnection>
        PARSER = new com.google.protobuf.AbstractParser<EstablishRemoteConnection>() {
      public EstablishRemoteConnection parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new EstablishRemoteConnection(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<EstablishRemoteConnection> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<EstablishRemoteConnection> getParserForType() {
      return PARSER;
    }

    public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface EstablishAcknowledgementOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.fca.uconnect.global.EstablishAcknowledgement)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *&#47; Status indicating success or failure.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
     */
    boolean hasStatus();
    /**
     * <pre>
     *&#47; Status indicating success or failure.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
     */
    com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum getStatus();

    /**
     * <pre>
     *&#47; Status failure reason code.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
     */
    boolean hasReason();
    /**
     * <pre>
     *&#47; Status failure reason code.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
     */
    com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum getReason();

    /**
     * <pre>
     *&#47; A generated id to reference the connection.
     * </pre>
     *
     * <code>optional int32 connectionId = 3;</code>
     */
    boolean hasConnectionId();
    /**
     * <pre>
     *&#47; A generated id to reference the connection.
     * </pre>
     *
     * <code>optional int32 connectionId = 3;</code>
     */
    int getConnectionId();

    /**
     * <pre>
     *&#47; The actual local port which will be used forward to the remote host.  
     * </pre>
     *
     * <code>optional int32 localPort = 4;</code>
     */
    boolean hasLocalPort();
    /**
     * <pre>
     *&#47; The actual local port which will be used forward to the remote host.  
     * </pre>
     *
     * <code>optional int32 localPort = 4;</code>
     */
    int getLocalPort();
  }
  /**
   * <pre>
   **
   * This message is to Acknowledge the Connection Establishment.
   * &lt;div class=exmsg-main&gt;
   * &lt;h4&gt;EstablishAcknowledgement Example Message:&lt;/h4&gt;
   * &lt;div class=ex-msg&gt;
   *	&lt;code&gt;
   * 		timestamp: 1488574019636
   * 		messageId: 2
   *      correlationId: 1
   * 		messages
   * 	    {
   * 		 [com.fca.uconnect.global.establishAcknowledgement]
   * 		 {
   * 			status: SUCCESS
   *			connectionId: 123233414
   *			localPort: 3334
   * 		 }
   * 		}
   *	&lt;/code&gt;
   *   &lt;/div&gt;
   * &lt;/div&gt;
   * </pre>
   *
   * Protobuf type {@code com.fca.uconnect.global.EstablishAcknowledgement}
   */
  public  static final class EstablishAcknowledgement extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.fca.uconnect.global.EstablishAcknowledgement)
      EstablishAcknowledgementOrBuilder {
    // Use EstablishAcknowledgement.newBuilder() to construct.
    private EstablishAcknowledgement(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private EstablishAcknowledgement() {
      status_ = 0;
      reason_ = 0;
      connectionId_ = 0;
      localPort_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private EstablishAcknowledgement(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum value = com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                status_ = rawValue;
              }
              break;
            }
            case 16: {
              int rawValue = input.readEnum();
              com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum value = com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(2, rawValue);
              } else {
                bitField0_ |= 0x00000002;
                reason_ = rawValue;
              }
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              connectionId_ = input.readInt32();
              break;
            }
            case 32: {
              bitField0_ |= 0x00000008;
              localPort_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishAcknowledgement_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishAcknowledgement_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.class, com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.Builder.class);
    }

    /**
     * Protobuf enum {@code com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum}
     */
    public enum StatusEnum
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>SUCCESS = 0;</code>
       */
      SUCCESS(0),
      /**
       * <code>FAILURE = 1;</code>
       */
      FAILURE(1),
      ;

      /**
       * <code>SUCCESS = 0;</code>
       */
      public static final int SUCCESS_VALUE = 0;
      /**
       * <code>FAILURE = 1;</code>
       */
      public static final int FAILURE_VALUE = 1;


      public final int getNumber() {
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static StatusEnum valueOf(int value) {
        return forNumber(value);
      }

      public static StatusEnum forNumber(int value) {
        switch (value) {
          case 0: return SUCCESS;
          case 1: return FAILURE;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<StatusEnum>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          StatusEnum> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<StatusEnum>() {
              public StatusEnum findValueByNumber(int number) {
                return StatusEnum.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.getDescriptor().getEnumTypes().get(0);
      }

      private static final StatusEnum[] VALUES = values();

      public static StatusEnum valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private StatusEnum(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum)
    }

    /**
     * Protobuf enum {@code com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum}
     */
    public enum ReasonEnum
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>FAILED = 0;</code>
       */
      FAILED(0),
      /**
       * <code>INVALID_PORT = 1;</code>
       */
      INVALID_PORT(1),
      /**
       * <code>PORT_ALREADY_IN_USE = 2;</code>
       */
      PORT_ALREADY_IN_USE(2),
      /**
       * <code>INVALID_HOST = 3;</code>
       */
      INVALID_HOST(3),
      /**
       * <code>INVALID_PRIORITY = 4;</code>
       */
      INVALID_PRIORITY(4),
      ;

      /**
       * <code>FAILED = 0;</code>
       */
      public static final int FAILED_VALUE = 0;
      /**
       * <code>INVALID_PORT = 1;</code>
       */
      public static final int INVALID_PORT_VALUE = 1;
      /**
       * <code>PORT_ALREADY_IN_USE = 2;</code>
       */
      public static final int PORT_ALREADY_IN_USE_VALUE = 2;
      /**
       * <code>INVALID_HOST = 3;</code>
       */
      public static final int INVALID_HOST_VALUE = 3;
      /**
       * <code>INVALID_PRIORITY = 4;</code>
       */
      public static final int INVALID_PRIORITY_VALUE = 4;


      public final int getNumber() {
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ReasonEnum valueOf(int value) {
        return forNumber(value);
      }

      public static ReasonEnum forNumber(int value) {
        switch (value) {
          case 0: return FAILED;
          case 1: return INVALID_PORT;
          case 2: return PORT_ALREADY_IN_USE;
          case 3: return INVALID_HOST;
          case 4: return INVALID_PRIORITY;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<ReasonEnum>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          ReasonEnum> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<ReasonEnum>() {
              public ReasonEnum findValueByNumber(int number) {
                return ReasonEnum.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.getDescriptor().getEnumTypes().get(1);
      }

      private static final ReasonEnum[] VALUES = values();

      public static ReasonEnum valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private ReasonEnum(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum)
    }

    private int bitField0_;
    public static final int STATUS_FIELD_NUMBER = 1;
    private int status_;
    /**
     * <pre>
     *&#47; Status indicating success or failure.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
     */
    public boolean hasStatus() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <pre>
     *&#47; Status indicating success or failure.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
     */
    public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum getStatus() {
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum result = com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum.valueOf(status_);
      return result == null ? com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum.SUCCESS : result;
    }

    public static final int REASON_FIELD_NUMBER = 2;
    private int reason_;
    /**
     * <pre>
     *&#47; Status failure reason code.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
     */
    public boolean hasReason() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <pre>
     *&#47; Status failure reason code.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
     */
    public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum getReason() {
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum result = com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum.valueOf(reason_);
      return result == null ? com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum.FAILED : result;
    }

    public static final int CONNECTIONID_FIELD_NUMBER = 3;
    private int connectionId_;
    /**
     * <pre>
     *&#47; A generated id to reference the connection.
     * </pre>
     *
     * <code>optional int32 connectionId = 3;</code>
     */
    public boolean hasConnectionId() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <pre>
     *&#47; A generated id to reference the connection.
     * </pre>
     *
     * <code>optional int32 connectionId = 3;</code>
     */
    public int getConnectionId() {
      return connectionId_;
    }

    public static final int LOCALPORT_FIELD_NUMBER = 4;
    private int localPort_;
    /**
     * <pre>
     *&#47; The actual local port which will be used forward to the remote host.  
     * </pre>
     *
     * <code>optional int32 localPort = 4;</code>
     */
    public boolean hasLocalPort() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <pre>
     *&#47; The actual local port which will be used forward to the remote host.  
     * </pre>
     *
     * <code>optional int32 localPort = 4;</code>
     */
    public int getLocalPort() {
      return localPort_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, status_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeEnum(2, reason_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt32(3, connectionId_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeInt32(4, localPort_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, status_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, reason_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, connectionId_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, localPort_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement)) {
        return super.equals(obj);
      }
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement other = (com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement) obj;

      boolean result = true;
      result = result && (hasStatus() == other.hasStatus());
      if (hasStatus()) {
        result = result && status_ == other.status_;
      }
      result = result && (hasReason() == other.hasReason());
      if (hasReason()) {
        result = result && reason_ == other.reason_;
      }
      result = result && (hasConnectionId() == other.hasConnectionId());
      if (hasConnectionId()) {
        result = result && (getConnectionId()
            == other.getConnectionId());
      }
      result = result && (hasLocalPort() == other.hasLocalPort());
      if (hasLocalPort()) {
        result = result && (getLocalPort()
            == other.getLocalPort());
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasStatus()) {
        hash = (37 * hash) + STATUS_FIELD_NUMBER;
        hash = (53 * hash) + status_;
      }
      if (hasReason()) {
        hash = (37 * hash) + REASON_FIELD_NUMBER;
        hash = (53 * hash) + reason_;
      }
      if (hasConnectionId()) {
        hash = (37 * hash) + CONNECTIONID_FIELD_NUMBER;
        hash = (53 * hash) + getConnectionId();
      }
      if (hasLocalPort()) {
        hash = (37 * hash) + LOCALPORT_FIELD_NUMBER;
        hash = (53 * hash) + getLocalPort();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     **
     * This message is to Acknowledge the Connection Establishment.
     * &lt;div class=exmsg-main&gt;
     * &lt;h4&gt;EstablishAcknowledgement Example Message:&lt;/h4&gt;
     * &lt;div class=ex-msg&gt;
     *	&lt;code&gt;
     * 		timestamp: 1488574019636
     * 		messageId: 2
     *      correlationId: 1
     * 		messages
     * 	    {
     * 		 [com.fca.uconnect.global.establishAcknowledgement]
     * 		 {
     * 			status: SUCCESS
     *			connectionId: 123233414
     *			localPort: 3334
     * 		 }
     * 		}
     *	&lt;/code&gt;
     *   &lt;/div&gt;
     * &lt;/div&gt;
     * </pre>
     *
     * Protobuf type {@code com.fca.uconnect.global.EstablishAcknowledgement}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.fca.uconnect.global.EstablishAcknowledgement)
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgementOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishAcknowledgement_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishAcknowledgement_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.class, com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.Builder.class);
      }

      // Construct using com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        status_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        reason_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        connectionId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        localPort_ = 0;
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EstablishAcknowledgement_descriptor;
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement getDefaultInstanceForType() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.getDefaultInstance();
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement build() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement buildPartial() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement result = new com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.status_ = status_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.reason_ = reason_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.connectionId_ = connectionId_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.localPort_ = localPort_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement) {
          return mergeFrom((com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement other) {
        if (other == com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.getDefaultInstance()) return this;
        if (other.hasStatus()) {
          setStatus(other.getStatus());
        }
        if (other.hasReason()) {
          setReason(other.getReason());
        }
        if (other.hasConnectionId()) {
          setConnectionId(other.getConnectionId());
        }
        if (other.hasLocalPort()) {
          setLocalPort(other.getLocalPort());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int status_ = 0;
      /**
       * <pre>
       *&#47; Status indicating success or failure.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
       */
      public boolean hasStatus() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <pre>
       *&#47; Status indicating success or failure.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
       */
      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum getStatus() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum result = com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum.valueOf(status_);
        return result == null ? com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum.SUCCESS : result;
      }
      /**
       * <pre>
       *&#47; Status indicating success or failure.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
       */
      public Builder setStatus(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.StatusEnum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Status indicating success or failure.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.StatusEnum status = 1;</code>
       */
      public Builder clearStatus() {
        bitField0_ = (bitField0_ & ~0x00000001);
        status_ = 0;
        onChanged();
        return this;
      }

      private int reason_ = 0;
      /**
       * <pre>
       *&#47; Status failure reason code.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
       */
      public boolean hasReason() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <pre>
       *&#47; Status failure reason code.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
       */
      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum getReason() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum result = com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum.valueOf(reason_);
        return result == null ? com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum.FAILED : result;
      }
      /**
       * <pre>
       *&#47; Status failure reason code.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
       */
      public Builder setReason(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.ReasonEnum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000002;
        reason_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Status failure reason code.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.EstablishAcknowledgement.ReasonEnum reason = 2;</code>
       */
      public Builder clearReason() {
        bitField0_ = (bitField0_ & ~0x00000002);
        reason_ = 0;
        onChanged();
        return this;
      }

      private int connectionId_ ;
      /**
       * <pre>
       *&#47; A generated id to reference the connection.
       * </pre>
       *
       * <code>optional int32 connectionId = 3;</code>
       */
      public boolean hasConnectionId() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <pre>
       *&#47; A generated id to reference the connection.
       * </pre>
       *
       * <code>optional int32 connectionId = 3;</code>
       */
      public int getConnectionId() {
        return connectionId_;
      }
      /**
       * <pre>
       *&#47; A generated id to reference the connection.
       * </pre>
       *
       * <code>optional int32 connectionId = 3;</code>
       */
      public Builder setConnectionId(int value) {
        bitField0_ |= 0x00000004;
        connectionId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; A generated id to reference the connection.
       * </pre>
       *
       * <code>optional int32 connectionId = 3;</code>
       */
      public Builder clearConnectionId() {
        bitField0_ = (bitField0_ & ~0x00000004);
        connectionId_ = 0;
        onChanged();
        return this;
      }

      private int localPort_ ;
      /**
       * <pre>
       *&#47; The actual local port which will be used forward to the remote host.  
       * </pre>
       *
       * <code>optional int32 localPort = 4;</code>
       */
      public boolean hasLocalPort() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <pre>
       *&#47; The actual local port which will be used forward to the remote host.  
       * </pre>
       *
       * <code>optional int32 localPort = 4;</code>
       */
      public int getLocalPort() {
        return localPort_;
      }
      /**
       * <pre>
       *&#47; The actual local port which will be used forward to the remote host.  
       * </pre>
       *
       * <code>optional int32 localPort = 4;</code>
       */
      public Builder setLocalPort(int value) {
        bitField0_ |= 0x00000008;
        localPort_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; The actual local port which will be used forward to the remote host.  
       * </pre>
       *
       * <code>optional int32 localPort = 4;</code>
       */
      public Builder clearLocalPort() {
        bitField0_ = (bitField0_ & ~0x00000008);
        localPort_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.fca.uconnect.global.EstablishAcknowledgement)
    }

    // @@protoc_insertion_point(class_scope:com.fca.uconnect.global.EstablishAcknowledgement)
    private static final com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement();
    }

    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser<EstablishAcknowledgement>
        PARSER = new com.google.protobuf.AbstractParser<EstablishAcknowledgement>() {
      public EstablishAcknowledgement parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new EstablishAcknowledgement(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<EstablishAcknowledgement> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<EstablishAcknowledgement> getParserForType() {
      return PARSER;
    }

    public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface EndConnectionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.fca.uconnect.global.EndConnection)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional int32 connectionId = 1;</code>
     */
    boolean hasConnectionId();
    /**
     * <code>optional int32 connectionId = 1;</code>
     */
    int getConnectionId();
  }
  /**
   * <pre>
   **
   * This message is to end the Tunnel Connection.
   * &lt;div class=exmsg-main&gt;
   * &lt;h4&gt;EndConnection Example Message:&lt;/h4&gt;
   * &lt;div class=ex-msg&gt;
   *	&lt;code&gt;
   * 		timestamp: 1488574019636
   * 		messageId: 1
   * 		messages
   * 	    {
   * 		 [com.fca.uconnect.global.endConnection]
   * 		 {
   * 			connectionId: 123456
   * 		 }
   * 		}
   *	&lt;/code&gt;
   *   &lt;/div&gt;
   * &lt;/div&gt;
   * </pre>
   *
   * Protobuf type {@code com.fca.uconnect.global.EndConnection}
   */
  public  static final class EndConnection extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.fca.uconnect.global.EndConnection)
      EndConnectionOrBuilder {
    // Use EndConnection.newBuilder() to construct.
    private EndConnection(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private EndConnection() {
      connectionId_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private EndConnection(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              connectionId_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EndConnection_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EndConnection_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.class, com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.Builder.class);
    }

    private int bitField0_;
    public static final int CONNECTIONID_FIELD_NUMBER = 1;
    private int connectionId_;
    /**
     * <code>optional int32 connectionId = 1;</code>
     */
    public boolean hasConnectionId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>optional int32 connectionId = 1;</code>
     */
    public int getConnectionId() {
      return connectionId_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, connectionId_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, connectionId_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection)) {
        return super.equals(obj);
      }
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection other = (com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection) obj;

      boolean result = true;
      result = result && (hasConnectionId() == other.hasConnectionId());
      if (hasConnectionId()) {
        result = result && (getConnectionId()
            == other.getConnectionId());
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasConnectionId()) {
        hash = (37 * hash) + CONNECTIONID_FIELD_NUMBER;
        hash = (53 * hash) + getConnectionId();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     **
     * This message is to end the Tunnel Connection.
     * &lt;div class=exmsg-main&gt;
     * &lt;h4&gt;EndConnection Example Message:&lt;/h4&gt;
     * &lt;div class=ex-msg&gt;
     *	&lt;code&gt;
     * 		timestamp: 1488574019636
     * 		messageId: 1
     * 		messages
     * 	    {
     * 		 [com.fca.uconnect.global.endConnection]
     * 		 {
     * 			connectionId: 123456
     * 		 }
     * 		}
     *	&lt;/code&gt;
     *   &lt;/div&gt;
     * &lt;/div&gt;
     * </pre>
     *
     * Protobuf type {@code com.fca.uconnect.global.EndConnection}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.fca.uconnect.global.EndConnection)
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnectionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EndConnection_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EndConnection_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.class, com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.Builder.class);
      }

      // Construct using com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        connectionId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.internal_static_com_fca_uconnect_global_EndConnection_descriptor;
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection getDefaultInstanceForType() {
        return com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.getDefaultInstance();
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection build() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection buildPartial() {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection result = new com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.connectionId_ = connectionId_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection) {
          return mergeFrom((com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection other) {
        if (other == com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.getDefaultInstance()) return this;
        if (other.hasConnectionId()) {
          setConnectionId(other.getConnectionId());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int connectionId_ ;
      /**
       * <code>optional int32 connectionId = 1;</code>
       */
      public boolean hasConnectionId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>optional int32 connectionId = 1;</code>
       */
      public int getConnectionId() {
        return connectionId_;
      }
      /**
       * <code>optional int32 connectionId = 1;</code>
       */
      public Builder setConnectionId(int value) {
        bitField0_ |= 0x00000001;
        connectionId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 connectionId = 1;</code>
       */
      public Builder clearConnectionId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        connectionId_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.fca.uconnect.global.EndConnection)
    }

    // @@protoc_insertion_point(class_scope:com.fca.uconnect.global.EndConnection)
    private static final com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection();
    }

    public static com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser<EndConnection>
        PARSER = new com.google.protobuf.AbstractParser<EndConnection>() {
      public EndConnection parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new EndConnection(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<EndConnection> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<EndConnection> getParserForType() {
      return PARSER;
    }

    public com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public static final int ESTABLISHREMOTECONNECTION_FIELD_NUMBER = 2000;
  /**
   * <code>extend .com.fca.uconnect.global.UconnectAnyV2M { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.fca.uconnect.global.GlobalV2MUconnectControl.UconnectAnyV2M,
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection> establishRemoteConnection = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.class,
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishRemoteConnection.getDefaultInstance());
  public static final int ENDREMOTECONNECTION_FIELD_NUMBER = 2010;
  /**
   * <code>extend .com.fca.uconnect.global.UconnectAnyV2M { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.fca.uconnect.global.GlobalV2MUconnectControl.UconnectAnyV2M,
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection> endRemoteConnection = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.class,
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EndConnection.getDefaultInstance());
  public static final int ESTABLISHACK_FIELD_NUMBER = 2020;
  /**
   * <code>extend .com.fca.uconnect.global.UconnectAnyV2M { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.fca.uconnect.global.GlobalV2MUconnectControl.UconnectAnyV2M,
      com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement> establishAck = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.class,
        com.fca.uconnect.global.GlobalV2MUconnectCommAndCont.EstablishAcknowledgement.getDefaultInstance());
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_fca_uconnect_global_EstablishRemoteConnection_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_fca_uconnect_global_EstablishRemoteConnection_ParametersEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_fca_uconnect_global_EstablishRemoteConnection_ParametersEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_fca_uconnect_global_EstablishAcknowledgement_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_fca_uconnect_global_EstablishAcknowledgement_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_fca_uconnect_global_EndConnection_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_fca_uconnect_global_EndConnection_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n%Global_V2M_Uconnect_CommAndCont.proto\022" +
      "\027com.fca.uconnect.global\032 Global_V2M_Uco" +
      "nnect_Common.proto\"\366\001\n\031EstablishRemoteCo" +
      "nnection\022\025\n\rremoteHostURL\030\001 \001(\t\022\022\n\nremot" +
      "ePort\030\002 \001(\005\022\021\n\tlocalPort\030\003 \001(\005\022\020\n\010priori" +
      "ty\030\004 \001(\005\022V\n\nparameters\030\005 \003(\0132B.com.fca.u" +
      "connect.global.EstablishRemoteConnection" +
      ".ParametersEntry\0321\n\017ParametersEntry\022\013\n\003k" +
      "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\364\002\n\030Establis" +
      "hAcknowledgement\022L\n\006status\030\001 \001(\0162<.com.f",
      "ca.uconnect.global.EstablishAcknowledgem" +
      "ent.StatusEnum\022L\n\006reason\030\002 \001(\0162<.com.fca" +
      ".uconnect.global.EstablishAcknowledgemen" +
      "t.ReasonEnum\022\024\n\014connectionId\030\003 \001(\005\022\021\n\tlo" +
      "calPort\030\004 \001(\005\"&\n\nStatusEnum\022\013\n\007SUCCESS\020\000" +
      "\022\013\n\007FAILURE\020\001\"k\n\nReasonEnum\022\n\n\006FAILED\020\000\022" +
      "\020\n\014INVALID_PORT\020\001\022\027\n\023PORT_ALREADY_IN_USE" +
      "\020\002\022\020\n\014INVALID_HOST\020\003\022\024\n\020INVALID_PRIORITY" +
      "\020\004\"%\n\rEndConnection\022\024\n\014connectionId\030\001 \001(" +
      "\005:\177\n\031establishRemoteConnection\022\'.com.fca",
      ".uconnect.global.UconnectAnyV2M\030\320\017 \001(\01322" +
      ".com.fca.uconnect.global.EstablishRemote" +
      "Connection:m\n\023endRemoteConnection\022\'.com." +
      "fca.uconnect.global.UconnectAnyV2M\030\332\017 \001(" +
      "\0132&.com.fca.uconnect.global.EndConnectio" +
      "n:q\n\014establishAck\022\'.com.fca.uconnect.glo" +
      "bal.UconnectAnyV2M\030\344\017 \001(\01321.com.fca.ucon" +
      "nect.global.EstablishAcknowledgement"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.fca.uconnect.global.GlobalV2MUconnectControl.getDescriptor(),
        }, assigner);
    internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_fca_uconnect_global_EstablishRemoteConnection_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor,
        new java.lang.String[] { "RemoteHostURL", "RemotePort", "LocalPort", "Priority", "Parameters", });
    internal_static_com_fca_uconnect_global_EstablishRemoteConnection_ParametersEntry_descriptor =
      internal_static_com_fca_uconnect_global_EstablishRemoteConnection_descriptor.getNestedTypes().get(0);
    internal_static_com_fca_uconnect_global_EstablishRemoteConnection_ParametersEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_fca_uconnect_global_EstablishRemoteConnection_ParametersEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_com_fca_uconnect_global_EstablishAcknowledgement_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_com_fca_uconnect_global_EstablishAcknowledgement_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_fca_uconnect_global_EstablishAcknowledgement_descriptor,
        new java.lang.String[] { "Status", "Reason", "ConnectionId", "LocalPort", });
    internal_static_com_fca_uconnect_global_EndConnection_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_com_fca_uconnect_global_EndConnection_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_fca_uconnect_global_EndConnection_descriptor,
        new java.lang.String[] { "ConnectionId", });
    establishRemoteConnection.internalInit(descriptor.getExtensions().get(0));
    endRemoteConnection.internalInit(descriptor.getExtensions().get(1));
    establishAck.internalInit(descriptor.getExtensions().get(2));
    com.fca.uconnect.global.GlobalV2MUconnectControl.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
