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

package com.fca.uconnect.global;

public final class GlobalUconnectExtConnectedPages {
  private GlobalUconnectExtConnectedPages() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

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

    /**
     * <pre>
     *&#47;Same as ID used for the Personal Login, used for routing only
     * </pre>
     *
     * <code>string userID = 1;</code>
     */
    java.lang.String getUserID();
    /**
     * <pre>
     *&#47;Same as ID used for the Personal Login, used for routing only
     * </pre>
     *
     * <code>string userID = 1;</code>
     */
    com.google.protobuf.ByteString
        getUserIDBytes();

    /**
     * <pre>
     *&#47;Targeted Web Address
     * </pre>
     *
     * <code>string webSite = 2;</code>
     */
    java.lang.String getWebSite();
    /**
     * <pre>
     *&#47;Targeted Web Address
     * </pre>
     *
     * <code>string webSite = 2;</code>
     */
    com.google.protobuf.ByteString
        getWebSiteBytes();

    /**
     * <pre>
     *&#47; Trip ID for ECO or Off Road Trip data
     * </pre>
     *
     * <code>string tripID = 5;</code>
     */
    java.lang.String getTripID();
    /**
     * <pre>
     *&#47; Trip ID for ECO or Off Road Trip data
     * </pre>
     *
     * <code>string tripID = 5;</code>
     */
    com.google.protobuf.ByteString
        getTripIDBytes();

    /**
     * <pre>
     *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
     * </pre>
     *
     * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
     */
    int getDataTypedValue();
    /**
     * <pre>
     *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
     * </pre>
     *
     * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
     */
    com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum getDataTyped();

    /**
     * <pre>
     *&#47; Data being uploaded
     * </pre>
     *
     * <code>bytes tripData = 4;</code>
     */
    com.google.protobuf.ByteString getTripData();

    /**
     * <pre>
     *&#47; Token obtained for Eco Coaching Profile
     * </pre>
     *
     * <code>bytes profileToken = 6;</code>
     */
    com.google.protobuf.ByteString getProfileToken();
  }
  /**
   * Protobuf type {@code com.fca.uconnect.global.UploadPagesData}
   */
  public  static final class UploadPagesData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.fca.uconnect.global.UploadPagesData)
      UploadPagesDataOrBuilder {
    // Use UploadPagesData.newBuilder() to construct.
    private UploadPagesData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private UploadPagesData() {
      userID_ = "";
      webSite_ = "";
      tripID_ = "";
      dataTyped_ = 0;
      tripData_ = com.google.protobuf.ByteString.EMPTY;
      profileToken_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private UploadPagesData(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              userID_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              webSite_ = s;
              break;
            }
            case 24: {
              int rawValue = input.readEnum();

              dataTyped_ = rawValue;
              break;
            }
            case 34: {

              tripData_ = input.readBytes();
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              tripID_ = s;
              break;
            }
            case 50: {

              profileToken_ = input.readBytes();
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.fca.uconnect.global.GlobalUconnectExtConnectedPages.internal_static_com_fca_uconnect_global_UploadPagesData_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.fca.uconnect.global.GlobalUconnectExtConnectedPages.internal_static_com_fca_uconnect_global_UploadPagesData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.class, com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.Builder.class);
    }

    /**
     * Protobuf enum {@code com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum}
     */
    public enum dataUploadTypeEnum
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <pre>
       *&#47; Required Default value
       * </pre>
       *
       * <code>BASE = 0;</code>
       */
      BASE(0),
      /**
       * <pre>
       * ECOTRIP =1; /// Trip Data for Eco
       * </pre>
       *
       * <code>BRANDTRIP = 2;</code>
       */
      BRANDTRIP(2),
      /**
       * <pre>
       *&#47; Performance Data for Trails Upload
       * </pre>
       *
       * <code>TRAIL = 3;</code>
       */
      TRAIL(3),
      /**
       * <pre>
       *&#47; Status Data to be uploaded
       * </pre>
       *
       * <code>STATUS = 4;</code>
       */
      STATUS(4),
      /**
       * <pre>
       *&#47; Event based data upload [i.e. Ingition Off/On]
       * </pre>
       *
       * <code>EVENT = 5;</code>
       */
      EVENT(5),
      UNRECOGNIZED(-1),
      ;

      /**
       * <pre>
       *&#47; Required Default value
       * </pre>
       *
       * <code>BASE = 0;</code>
       */
      public static final int BASE_VALUE = 0;
      /**
       * <pre>
       * ECOTRIP =1; /// Trip Data for Eco
       * </pre>
       *
       * <code>BRANDTRIP = 2;</code>
       */
      public static final int BRANDTRIP_VALUE = 2;
      /**
       * <pre>
       *&#47; Performance Data for Trails Upload
       * </pre>
       *
       * <code>TRAIL = 3;</code>
       */
      public static final int TRAIL_VALUE = 3;
      /**
       * <pre>
       *&#47; Status Data to be uploaded
       * </pre>
       *
       * <code>STATUS = 4;</code>
       */
      public static final int STATUS_VALUE = 4;
      /**
       * <pre>
       *&#47; Event based data upload [i.e. Ingition Off/On]
       * </pre>
       *
       * <code>EVENT = 5;</code>
       */
      public static final int EVENT_VALUE = 5;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

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

      public static dataUploadTypeEnum forNumber(int value) {
        switch (value) {
          case 0: return BASE;
          case 2: return BRANDTRIP;
          case 3: return TRAIL;
          case 4: return STATUS;
          case 5: return EVENT;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<dataUploadTypeEnum>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          dataUploadTypeEnum> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<dataUploadTypeEnum>() {
              public dataUploadTypeEnum findValueByNumber(int number) {
                return dataUploadTypeEnum.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.GlobalUconnectExtConnectedPages.UploadPagesData.getDescriptor().getEnumTypes().get(0);
      }

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

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

      private final int value;

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

      // @@protoc_insertion_point(enum_scope:com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum)
    }

    public static final int USERID_FIELD_NUMBER = 1;
    private volatile java.lang.Object userID_;
    /**
     * <pre>
     *&#47;Same as ID used for the Personal Login, used for routing only
     * </pre>
     *
     * <code>string userID = 1;</code>
     */
    public java.lang.String getUserID() {
      java.lang.Object ref = userID_;
      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();
        userID_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *&#47;Same as ID used for the Personal Login, used for routing only
     * </pre>
     *
     * <code>string userID = 1;</code>
     */
    public com.google.protobuf.ByteString
        getUserIDBytes() {
      java.lang.Object ref = userID_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        userID_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int WEBSITE_FIELD_NUMBER = 2;
    private volatile java.lang.Object webSite_;
    /**
     * <pre>
     *&#47;Targeted Web Address
     * </pre>
     *
     * <code>string webSite = 2;</code>
     */
    public java.lang.String getWebSite() {
      java.lang.Object ref = webSite_;
      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();
        webSite_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *&#47;Targeted Web Address
     * </pre>
     *
     * <code>string webSite = 2;</code>
     */
    public com.google.protobuf.ByteString
        getWebSiteBytes() {
      java.lang.Object ref = webSite_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        webSite_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TRIPID_FIELD_NUMBER = 5;
    private volatile java.lang.Object tripID_;
    /**
     * <pre>
     *&#47; Trip ID for ECO or Off Road Trip data
     * </pre>
     *
     * <code>string tripID = 5;</code>
     */
    public java.lang.String getTripID() {
      java.lang.Object ref = tripID_;
      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();
        tripID_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *&#47; Trip ID for ECO or Off Road Trip data
     * </pre>
     *
     * <code>string tripID = 5;</code>
     */
    public com.google.protobuf.ByteString
        getTripIDBytes() {
      java.lang.Object ref = tripID_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        tripID_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DATATYPED_FIELD_NUMBER = 3;
    private int dataTyped_;
    /**
     * <pre>
     *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
     * </pre>
     *
     * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
     */
    public int getDataTypedValue() {
      return dataTyped_;
    }
    /**
     * <pre>
     *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
     * </pre>
     *
     * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
     */
    public com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum getDataTyped() {
      com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum result = com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum.valueOf(dataTyped_);
      return result == null ? com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum.UNRECOGNIZED : result;
    }

    public static final int TRIPDATA_FIELD_NUMBER = 4;
    private com.google.protobuf.ByteString tripData_;
    /**
     * <pre>
     *&#47; Data being uploaded
     * </pre>
     *
     * <code>bytes tripData = 4;</code>
     */
    public com.google.protobuf.ByteString getTripData() {
      return tripData_;
    }

    public static final int PROFILETOKEN_FIELD_NUMBER = 6;
    private com.google.protobuf.ByteString profileToken_;
    /**
     * <pre>
     *&#47; Token obtained for Eco Coaching Profile
     * </pre>
     *
     * <code>bytes profileToken = 6;</code>
     */
    public com.google.protobuf.ByteString getProfileToken() {
      return profileToken_;
    }

    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 (!getUserIDBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userID_);
      }
      if (!getWebSiteBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, webSite_);
      }
      if (dataTyped_ != com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum.BASE.getNumber()) {
        output.writeEnum(3, dataTyped_);
      }
      if (!tripData_.isEmpty()) {
        output.writeBytes(4, tripData_);
      }
      if (!getTripIDBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tripID_);
      }
      if (!profileToken_.isEmpty()) {
        output.writeBytes(6, profileToken_);
      }
    }

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

      size = 0;
      if (!getUserIDBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userID_);
      }
      if (!getWebSiteBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, webSite_);
      }
      if (dataTyped_ != com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum.BASE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, dataTyped_);
      }
      if (!tripData_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(4, tripData_);
      }
      if (!getTripIDBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tripID_);
      }
      if (!profileToken_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(6, profileToken_);
      }
      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.GlobalUconnectExtConnectedPages.UploadPagesData)) {
        return super.equals(obj);
      }
      com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData other = (com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData) obj;

      boolean result = true;
      result = result && getUserID()
          .equals(other.getUserID());
      result = result && getWebSite()
          .equals(other.getWebSite());
      result = result && getTripID()
          .equals(other.getTripID());
      result = result && dataTyped_ == other.dataTyped_;
      result = result && getTripData()
          .equals(other.getTripData());
      result = result && getProfileToken()
          .equals(other.getProfileToken());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + USERID_FIELD_NUMBER;
      hash = (53 * hash) + getUserID().hashCode();
      hash = (37 * hash) + WEBSITE_FIELD_NUMBER;
      hash = (53 * hash) + getWebSite().hashCode();
      hash = (37 * hash) + TRIPID_FIELD_NUMBER;
      hash = (53 * hash) + getTripID().hashCode();
      hash = (37 * hash) + DATATYPED_FIELD_NUMBER;
      hash = (53 * hash) + dataTyped_;
      hash = (37 * hash) + TRIPDATA_FIELD_NUMBER;
      hash = (53 * hash) + getTripData().hashCode();
      hash = (37 * hash) + PROFILETOKEN_FIELD_NUMBER;
      hash = (53 * hash) + getProfileToken().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData 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.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData 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.GlobalUconnectExtConnectedPages.UploadPagesData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData 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.GlobalUconnectExtConnectedPages.UploadPagesData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData 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.GlobalUconnectExtConnectedPages.UploadPagesData 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;
    }
    /**
     * Protobuf type {@code com.fca.uconnect.global.UploadPagesData}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.fca.uconnect.global.UploadPagesData)
        com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalUconnectExtConnectedPages.internal_static_com_fca_uconnect_global_UploadPagesData_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.fca.uconnect.global.GlobalUconnectExtConnectedPages.internal_static_com_fca_uconnect_global_UploadPagesData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.class, com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.Builder.class);
      }

      // Construct using com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.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();
        userID_ = "";

        webSite_ = "";

        tripID_ = "";

        dataTyped_ = 0;

        tripData_ = com.google.protobuf.ByteString.EMPTY;

        profileToken_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

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

      public com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData getDefaultInstanceForType() {
        return com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.getDefaultInstance();
      }

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

      public com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData buildPartial() {
        com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData result = new com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData(this);
        result.userID_ = userID_;
        result.webSite_ = webSite_;
        result.tripID_ = tripID_;
        result.dataTyped_ = dataTyped_;
        result.tripData_ = tripData_;
        result.profileToken_ = profileToken_;
        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.GlobalUconnectExtConnectedPages.UploadPagesData) {
          return mergeFrom((com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData other) {
        if (other == com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.getDefaultInstance()) return this;
        if (!other.getUserID().isEmpty()) {
          userID_ = other.userID_;
          onChanged();
        }
        if (!other.getWebSite().isEmpty()) {
          webSite_ = other.webSite_;
          onChanged();
        }
        if (!other.getTripID().isEmpty()) {
          tripID_ = other.tripID_;
          onChanged();
        }
        if (other.dataTyped_ != 0) {
          setDataTypedValue(other.getDataTypedValue());
        }
        if (other.getTripData() != com.google.protobuf.ByteString.EMPTY) {
          setTripData(other.getTripData());
        }
        if (other.getProfileToken() != com.google.protobuf.ByteString.EMPTY) {
          setProfileToken(other.getProfileToken());
        }
        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.GlobalUconnectExtConnectedPages.UploadPagesData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object userID_ = "";
      /**
       * <pre>
       *&#47;Same as ID used for the Personal Login, used for routing only
       * </pre>
       *
       * <code>string userID = 1;</code>
       */
      public java.lang.String getUserID() {
        java.lang.Object ref = userID_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          userID_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *&#47;Same as ID used for the Personal Login, used for routing only
       * </pre>
       *
       * <code>string userID = 1;</code>
       */
      public com.google.protobuf.ByteString
          getUserIDBytes() {
        java.lang.Object ref = userID_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          userID_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *&#47;Same as ID used for the Personal Login, used for routing only
       * </pre>
       *
       * <code>string userID = 1;</code>
       */
      public Builder setUserID(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        userID_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47;Same as ID used for the Personal Login, used for routing only
       * </pre>
       *
       * <code>string userID = 1;</code>
       */
      public Builder clearUserID() {
        
        userID_ = getDefaultInstance().getUserID();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47;Same as ID used for the Personal Login, used for routing only
       * </pre>
       *
       * <code>string userID = 1;</code>
       */
      public Builder setUserIDBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        userID_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object webSite_ = "";
      /**
       * <pre>
       *&#47;Targeted Web Address
       * </pre>
       *
       * <code>string webSite = 2;</code>
       */
      public java.lang.String getWebSite() {
        java.lang.Object ref = webSite_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          webSite_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *&#47;Targeted Web Address
       * </pre>
       *
       * <code>string webSite = 2;</code>
       */
      public com.google.protobuf.ByteString
          getWebSiteBytes() {
        java.lang.Object ref = webSite_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          webSite_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *&#47;Targeted Web Address
       * </pre>
       *
       * <code>string webSite = 2;</code>
       */
      public Builder setWebSite(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        webSite_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47;Targeted Web Address
       * </pre>
       *
       * <code>string webSite = 2;</code>
       */
      public Builder clearWebSite() {
        
        webSite_ = getDefaultInstance().getWebSite();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47;Targeted Web Address
       * </pre>
       *
       * <code>string webSite = 2;</code>
       */
      public Builder setWebSiteBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        webSite_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object tripID_ = "";
      /**
       * <pre>
       *&#47; Trip ID for ECO or Off Road Trip data
       * </pre>
       *
       * <code>string tripID = 5;</code>
       */
      public java.lang.String getTripID() {
        java.lang.Object ref = tripID_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          tripID_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *&#47; Trip ID for ECO or Off Road Trip data
       * </pre>
       *
       * <code>string tripID = 5;</code>
       */
      public com.google.protobuf.ByteString
          getTripIDBytes() {
        java.lang.Object ref = tripID_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          tripID_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *&#47; Trip ID for ECO or Off Road Trip data
       * </pre>
       *
       * <code>string tripID = 5;</code>
       */
      public Builder setTripID(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        tripID_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Trip ID for ECO or Off Road Trip data
       * </pre>
       *
       * <code>string tripID = 5;</code>
       */
      public Builder clearTripID() {
        
        tripID_ = getDefaultInstance().getTripID();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Trip ID for ECO or Off Road Trip data
       * </pre>
       *
       * <code>string tripID = 5;</code>
       */
      public Builder setTripIDBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        tripID_ = value;
        onChanged();
        return this;
      }

      private int dataTyped_ = 0;
      /**
       * <pre>
       *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
       * </pre>
       *
       * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
       */
      public int getDataTypedValue() {
        return dataTyped_;
      }
      /**
       * <pre>
       *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
       * </pre>
       *
       * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
       */
      public Builder setDataTypedValue(int value) {
        dataTyped_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
       * </pre>
       *
       * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
       */
      public com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum getDataTyped() {
        com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum result = com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum.valueOf(dataTyped_);
        return result == null ? com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum.UNRECOGNIZED : result;
      }
      /**
       * <pre>
       *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
       * </pre>
       *
       * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
       */
      public Builder setDataTyped(com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData.dataUploadTypeEnum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        dataTyped_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Data Type EcoTrip, BrandTrip, Trail, Status, Event
       * </pre>
       *
       * <code>.com.fca.uconnect.global.UploadPagesData.dataUploadTypeEnum dataTyped = 3;</code>
       */
      public Builder clearDataTyped() {
        
        dataTyped_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString tripData_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       *&#47; Data being uploaded
       * </pre>
       *
       * <code>bytes tripData = 4;</code>
       */
      public com.google.protobuf.ByteString getTripData() {
        return tripData_;
      }
      /**
       * <pre>
       *&#47; Data being uploaded
       * </pre>
       *
       * <code>bytes tripData = 4;</code>
       */
      public Builder setTripData(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        tripData_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Data being uploaded
       * </pre>
       *
       * <code>bytes tripData = 4;</code>
       */
      public Builder clearTripData() {
        
        tripData_ = getDefaultInstance().getTripData();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString profileToken_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       *&#47; Token obtained for Eco Coaching Profile
       * </pre>
       *
       * <code>bytes profileToken = 6;</code>
       */
      public com.google.protobuf.ByteString getProfileToken() {
        return profileToken_;
      }
      /**
       * <pre>
       *&#47; Token obtained for Eco Coaching Profile
       * </pre>
       *
       * <code>bytes profileToken = 6;</code>
       */
      public Builder setProfileToken(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        profileToken_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; Token obtained for Eco Coaching Profile
       * </pre>
       *
       * <code>bytes profileToken = 6;</code>
       */
      public Builder clearProfileToken() {
        
        profileToken_ = getDefaultInstance().getProfileToken();
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


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

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

    public static com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.fca.uconnect.global.GlobalUconnectExtConnectedPages.UploadPagesData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_fca_uconnect_global_UploadPagesData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_fca_uconnect_global_UploadPagesData_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_Uconnect_Ext_ConnectedPages.pro" +
      "to\022\027com.fca.uconnect.global\032\036Global_Ucon" +
      "nect_Ext_Auth.proto\"\213\002\n\017UploadPagesData\022" +
      "\016\n\006userID\030\001 \001(\t\022\017\n\007webSite\030\002 \001(\t\022\016\n\006trip" +
      "ID\030\005 \001(\t\022N\n\tdataTyped\030\003 \001(\0162;.com.fca.uc" +
      "onnect.global.UploadPagesData.dataUpload" +
      "TypeEnum\022\020\n\010tripData\030\004 \001(\014\022\024\n\014profileTok" +
      "en\030\006 \001(\014\"O\n\022dataUploadTypeEnum\022\010\n\004BASE\020\000" +
      "\022\r\n\tBRANDTRIP\020\002\022\t\n\005TRAIL\020\003\022\n\n\006STATUS\020\004\022\t" +
      "\n\005EVENT\020\005b\006proto3"
    };
    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.GlobalUconnectExtAuth.getDescriptor(),
        }, assigner);
    internal_static_com_fca_uconnect_global_UploadPagesData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_fca_uconnect_global_UploadPagesData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_fca_uconnect_global_UploadPagesData_descriptor,
        new java.lang.String[] { "UserID", "WebSite", "TripID", "DataTyped", "TripData", "ProfileToken", });
    com.fca.uconnect.global.GlobalUconnectExtAuth.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
