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

package com.fca.uconnect.global;

public final class GlobalUconnectExtPHEV {
  private GlobalUconnectExtPHEV() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(com.fca.uconnect.global.GlobalUconnectExtPHEV.phevData);
    registry.add(com.fca.uconnect.global.GlobalUconnectExtPHEV.phevAckMessage);
  }

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

    /**
     * <pre>
     *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
     * </pre>
     *
     * <code>optional bytes data = 1;</code>
     */
    boolean hasData();
    /**
     * <pre>
     *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
     * </pre>
     *
     * <code>optional bytes data = 1;</code>
     */
    com.google.protobuf.ByteString getData();

    /**
     * <pre>
     *&#47;This contain unique identifier of the initiator.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
     */
    boolean hasCommandMark();
    /**
     * <pre>
     *&#47;This contain unique identifier of the initiator.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
     */
    com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum getCommandMark();

    /**
     * <pre>
     *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
     * </pre>
     *
     * <code>optional int64 dataCollectionTimestamp = 3;</code>
     */
    boolean hasDataCollectionTimestamp();
    /**
     * <pre>
     *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
     * </pre>
     *
     * <code>optional int64 dataCollectionTimestamp = 3;</code>
     */
    long getDataCollectionTimestamp();
  }
  /**
   * <pre>
   **
   * &lt;div class=exmsg-main&gt;
   * &lt;h4&gt;PHEVData Example Message:&lt;/h4&gt;
   * &lt;div class=ex-msg&gt;
   *	&lt;code&gt;
   * 		timestamp: 1497889690516
   * 		messageId: 1
   * 		messages {
   * 		[com.fca.uconnect.global.phevData]
   * 		{
   * 		 data: "&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000"
   * 		 commandMark: VEHICLE_LOGIN
   * 		 dataCollectionTimestamp: 1497889690516
   * 		}
   * 	  }
   *  &lt;/code&gt;
   * &lt;/div&gt;
   *&lt;/div&gt;
   * </pre>
   *
   * Protobuf type {@code com.fca.uconnect.global.PHEVData}
   */
  public  static final class PHEVData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.fca.uconnect.global.PHEVData)
      PHEVDataOrBuilder {
    // Use PHEVData.newBuilder() to construct.
    private PHEVData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PHEVData() {
      data_ = com.google.protobuf.ByteString.EMPTY;
      commandMark_ = 0;
      dataCollectionTimestamp_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PHEVData(
        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: {
              bitField0_ |= 0x00000001;
              data_ = input.readBytes();
              break;
            }
            case 16: {
              int rawValue = input.readEnum();
              com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum value = com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(2, rawValue);
              } else {
                bitField0_ |= 0x00000002;
                commandMark_ = rawValue;
              }
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              dataCollectionTimestamp_ = input.readInt64();
              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.GlobalUconnectExtPHEV.internal_static_com_fca_uconnect_global_PHEVData_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.fca.uconnect.global.GlobalUconnectExtPHEV.internal_static_com_fca_uconnect_global_PHEVData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.class, com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.Builder.class);
    }

    /**
     * Protobuf enum {@code com.fca.uconnect.global.PHEVData.CommandMarkEnum}
     */
    public enum CommandMarkEnum
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>NOT_AVAILABLE = 0;</code>
       */
      NOT_AVAILABLE(0),
      /**
       * <code>VEHICLE_LOGIN = 1;</code>
       */
      VEHICLE_LOGIN(1),
      /**
       * <code>REAL_TIME_REPORT = 2;</code>
       */
      REAL_TIME_REPORT(2),
      /**
       * <code>REPLACEMENT_REPORT = 3;</code>
       */
      REPLACEMENT_REPORT(3),
      /**
       * <code>VEHICLE_LOGOUT = 4;</code>
       */
      VEHICLE_LOGOUT(4),
      ;

      /**
       * <code>NOT_AVAILABLE = 0;</code>
       */
      public static final int NOT_AVAILABLE_VALUE = 0;
      /**
       * <code>VEHICLE_LOGIN = 1;</code>
       */
      public static final int VEHICLE_LOGIN_VALUE = 1;
      /**
       * <code>REAL_TIME_REPORT = 2;</code>
       */
      public static final int REAL_TIME_REPORT_VALUE = 2;
      /**
       * <code>REPLACEMENT_REPORT = 3;</code>
       */
      public static final int REPLACEMENT_REPORT_VALUE = 3;
      /**
       * <code>VEHICLE_LOGOUT = 4;</code>
       */
      public static final int VEHICLE_LOGOUT_VALUE = 4;


      public final int getNumber() {
        return value;
      }

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

      public static CommandMarkEnum forNumber(int value) {
        switch (value) {
          case 0: return NOT_AVAILABLE;
          case 1: return VEHICLE_LOGIN;
          case 2: return REAL_TIME_REPORT;
          case 3: return REPLACEMENT_REPORT;
          case 4: return VEHICLE_LOGOUT;
          default: return null;
        }
      }

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

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

      public static CommandMarkEnum 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 CommandMarkEnum(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:com.fca.uconnect.global.PHEVData.CommandMarkEnum)
    }

    private int bitField0_;
    public static final int DATA_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString data_;
    /**
     * <pre>
     *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
     * </pre>
     *
     * <code>optional bytes data = 1;</code>
     */
    public boolean hasData() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <pre>
     *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
     * </pre>
     *
     * <code>optional bytes data = 1;</code>
     */
    public com.google.protobuf.ByteString getData() {
      return data_;
    }

    public static final int COMMANDMARK_FIELD_NUMBER = 2;
    private int commandMark_;
    /**
     * <pre>
     *&#47;This contain unique identifier of the initiator.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
     */
    public boolean hasCommandMark() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <pre>
     *&#47;This contain unique identifier of the initiator.
     * </pre>
     *
     * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
     */
    public com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum getCommandMark() {
      com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum result = com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum.valueOf(commandMark_);
      return result == null ? com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum.NOT_AVAILABLE : result;
    }

    public static final int DATACOLLECTIONTIMESTAMP_FIELD_NUMBER = 3;
    private long dataCollectionTimestamp_;
    /**
     * <pre>
     *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
     * </pre>
     *
     * <code>optional int64 dataCollectionTimestamp = 3;</code>
     */
    public boolean hasDataCollectionTimestamp() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <pre>
     *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
     * </pre>
     *
     * <code>optional int64 dataCollectionTimestamp = 3;</code>
     */
    public long getDataCollectionTimestamp() {
      return dataCollectionTimestamp_;
    }

    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.writeBytes(1, data_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeEnum(2, commandMark_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt64(3, dataCollectionTimestamp_);
      }
      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
          .computeBytesSize(1, data_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, commandMark_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, dataCollectionTimestamp_);
      }
      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.GlobalUconnectExtPHEV.PHEVData)) {
        return super.equals(obj);
      }
      com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData other = (com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData) obj;

      boolean result = true;
      result = result && (hasData() == other.hasData());
      if (hasData()) {
        result = result && getData()
            .equals(other.getData());
      }
      result = result && (hasCommandMark() == other.hasCommandMark());
      if (hasCommandMark()) {
        result = result && commandMark_ == other.commandMark_;
      }
      result = result && (hasDataCollectionTimestamp() == other.hasDataCollectionTimestamp());
      if (hasDataCollectionTimestamp()) {
        result = result && (getDataCollectionTimestamp()
            == other.getDataCollectionTimestamp());
      }
      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 (hasData()) {
        hash = (37 * hash) + DATA_FIELD_NUMBER;
        hash = (53 * hash) + getData().hashCode();
      }
      if (hasCommandMark()) {
        hash = (37 * hash) + COMMANDMARK_FIELD_NUMBER;
        hash = (53 * hash) + commandMark_;
      }
      if (hasDataCollectionTimestamp()) {
        hash = (37 * hash) + DATACOLLECTIONTIMESTAMP_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getDataCollectionTimestamp());
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData 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.GlobalUconnectExtPHEV.PHEVData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData 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.GlobalUconnectExtPHEV.PHEVData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData 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.GlobalUconnectExtPHEV.PHEVData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData 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.GlobalUconnectExtPHEV.PHEVData 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>
     **
     * &lt;div class=exmsg-main&gt;
     * &lt;h4&gt;PHEVData Example Message:&lt;/h4&gt;
     * &lt;div class=ex-msg&gt;
     *	&lt;code&gt;
     * 		timestamp: 1497889690516
     * 		messageId: 1
     * 		messages {
     * 		[com.fca.uconnect.global.phevData]
     * 		{
     * 		 data: "&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000&#92;000"
     * 		 commandMark: VEHICLE_LOGIN
     * 		 dataCollectionTimestamp: 1497889690516
     * 		}
     * 	  }
     *  &lt;/code&gt;
     * &lt;/div&gt;
     *&lt;/div&gt;
     * </pre>
     *
     * Protobuf type {@code com.fca.uconnect.global.PHEVData}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.fca.uconnect.global.PHEVData)
        com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.fca.uconnect.global.GlobalUconnectExtPHEV.internal_static_com_fca_uconnect_global_PHEVData_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.fca.uconnect.global.GlobalUconnectExtPHEV.internal_static_com_fca_uconnect_global_PHEVData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.class, com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.Builder.class);
      }

      // Construct using com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.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();
        data_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        commandMark_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        dataCollectionTimestamp_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

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

      public com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData getDefaultInstanceForType() {
        return com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.getDefaultInstance();
      }

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

      public com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData buildPartial() {
        com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData result = new com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.data_ = data_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.commandMark_ = commandMark_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.dataCollectionTimestamp_ = dataCollectionTimestamp_;
        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.GlobalUconnectExtPHEV.PHEVData) {
          return mergeFrom((com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData other) {
        if (other == com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.getDefaultInstance()) return this;
        if (other.hasData()) {
          setData(other.getData());
        }
        if (other.hasCommandMark()) {
          setCommandMark(other.getCommandMark());
        }
        if (other.hasDataCollectionTimestamp()) {
          setDataCollectionTimestamp(other.getDataCollectionTimestamp());
        }
        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.GlobalUconnectExtPHEV.PHEVData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
       * </pre>
       *
       * <code>optional bytes data = 1;</code>
       */
      public boolean hasData() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <pre>
       *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
       * </pre>
       *
       * <code>optional bytes data = 1;</code>
       */
      public com.google.protobuf.ByteString getData() {
        return data_;
      }
      /**
       * <pre>
       *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
       * </pre>
       *
       * <code>optional bytes data = 1;</code>
       */
      public Builder setData(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        data_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47; may contain any arbitrary sequence of bytes. Intended for implementations where PHEV Data needs to be sent to SDP.
       * </pre>
       *
       * <code>optional bytes data = 1;</code>
       */
      public Builder clearData() {
        bitField0_ = (bitField0_ & ~0x00000001);
        data_ = getDefaultInstance().getData();
        onChanged();
        return this;
      }

      private int commandMark_ = 0;
      /**
       * <pre>
       *&#47;This contain unique identifier of the initiator.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
       */
      public boolean hasCommandMark() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <pre>
       *&#47;This contain unique identifier of the initiator.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
       */
      public com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum getCommandMark() {
        com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum result = com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum.valueOf(commandMark_);
        return result == null ? com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum.NOT_AVAILABLE : result;
      }
      /**
       * <pre>
       *&#47;This contain unique identifier of the initiator.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
       */
      public Builder setCommandMark(com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.CommandMarkEnum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000002;
        commandMark_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47;This contain unique identifier of the initiator.
       * </pre>
       *
       * <code>optional .com.fca.uconnect.global.PHEVData.CommandMarkEnum commandMark = 2;</code>
       */
      public Builder clearCommandMark() {
        bitField0_ = (bitField0_ & ~0x00000002);
        commandMark_ = 0;
        onChanged();
        return this;
      }

      private long dataCollectionTimestamp_ ;
      /**
       * <pre>
       *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
       * </pre>
       *
       * <code>optional int64 dataCollectionTimestamp = 3;</code>
       */
      public boolean hasDataCollectionTimestamp() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <pre>
       *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
       * </pre>
       *
       * <code>optional int64 dataCollectionTimestamp = 3;</code>
       */
      public long getDataCollectionTimestamp() {
        return dataCollectionTimestamp_;
      }
      /**
       * <pre>
       *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
       * </pre>
       *
       * <code>optional int64 dataCollectionTimestamp = 3;</code>
       */
      public Builder setDataCollectionTimestamp(long value) {
        bitField0_ |= 0x00000004;
        dataCollectionTimestamp_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *&#47;Time when the data is collected in milliseconds since (Jan 1, 1970 00:00:00 UTC) when the message is created. Should come from the system clock of the sender.
       * </pre>
       *
       * <code>optional int64 dataCollectionTimestamp = 3;</code>
       */
      public Builder clearDataCollectionTimestamp() {
        bitField0_ = (bitField0_ & ~0x00000004);
        dataCollectionTimestamp_ = 0L;
        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.PHEVData)
    }

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

    public static com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public static final int PHEVDATA_FIELD_NUMBER = 2010;
  /**
   * <code>extend .com.fca.uconnect.global.UconnectAny { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.fca.uconnect.global.GlobalUconnectControl.UconnectAny,
      com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData> phevData = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.class,
        com.fca.uconnect.global.GlobalUconnectExtPHEV.PHEVData.getDefaultInstance());
  public static final int PHEVACKMESSAGE_FIELD_NUMBER = 2011;
  /**
   * <code>extend .com.fca.uconnect.global.UconnectAny { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.fca.uconnect.global.GlobalUconnectControl.UconnectAny,
      com.fca.uconnect.global.GlobalUconnectControl.AckMessage> phevAckMessage = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.fca.uconnect.global.GlobalUconnectControl.AckMessage.class,
        com.fca.uconnect.global.GlobalUconnectControl.AckMessage.getDefaultInstance());
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_fca_uconnect_global_PHEVData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_fca_uconnect_global_PHEVData_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\036Global_Uconnect_Ext_PHEV.proto\022\027com.fc" +
      "a.uconnect.global\032\035Global_Uconnect_Contr" +
      "ol.proto\"\374\001\n\010PHEVData\022\014\n\004data\030\001 \001(\014\022F\n\013c" +
      "ommandMark\030\002 \001(\01621.com.fca.uconnect.glob" +
      "al.PHEVData.CommandMarkEnum\022\037\n\027dataColle" +
      "ctionTimestamp\030\003 \001(\003\"y\n\017CommandMarkEnum\022" +
      "\021\n\rNOT_AVAILABLE\020\000\022\021\n\rVEHICLE_LOGIN\020\001\022\024\n" +
      "\020REAL_TIME_REPORT\020\002\022\026\n\022REPLACEMENT_REPOR" +
      "T\020\003\022\022\n\016VEHICLE_LOGOUT\020\004:Z\n\010phevData\022$.co" +
      "m.fca.uconnect.global.UconnectAny\030\332\017 \001(\013",
      "2!.com.fca.uconnect.global.PHEVData:b\n\016p" +
      "hevAckMessage\022$.com.fca.uconnect.global." +
      "UconnectAny\030\333\017 \001(\0132#.com.fca.uconnect.gl" +
      "obal.AckMessageP\000"
    };
    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.GlobalUconnectControl.getDescriptor(),
        }, assigner);
    internal_static_com_fca_uconnect_global_PHEVData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_fca_uconnect_global_PHEVData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_fca_uconnect_global_PHEVData_descriptor,
        new java.lang.String[] { "Data", "CommandMark", "DataCollectionTimestamp", });
    phevData.internalInit(descriptor.getExtensions().get(0));
    phevAckMessage.internalInit(descriptor.getExtensions().get(1));
    com.fca.uconnect.global.GlobalUconnectControl.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
