1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: vehicle-events.proto
3 // Protobuf Java Version: 4.26.1
5 package com.daimler.mbcarkit.proto;
7 public final class VehicleEvents {
8 private VehicleEvents() {}
10 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
11 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
16 VehicleEvents.class.getName());
18 public static void registerAllExtensions(
19 com.google.protobuf.ExtensionRegistryLite registry) {
22 public static void registerAllExtensions(
23 com.google.protobuf.ExtensionRegistry registry) {
24 registerAllExtensions(
25 (com.google.protobuf.ExtensionRegistryLite) registry);
28 * Protobuf enum {@code proto.ChargeProgram}
30 public enum ChargeProgram
31 implements com.google.protobuf.ProtocolMessageEnum {
33 * <code>DEFAULT_CHARGE_PROGRAM = 0;</code>
35 DEFAULT_CHARGE_PROGRAM(0),
37 * <code>INSTANT_CHARGE_PROGRAM = 1;</code>
39 INSTANT_CHARGE_PROGRAM(1),
41 * <code>HOME_CHARGE_PROGRAM = 2;</code>
43 HOME_CHARGE_PROGRAM(2),
45 * <code>WORK_CHARGE_PROGRAM = 3;</code>
47 WORK_CHARGE_PROGRAM(3),
52 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
53 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
58 ChargeProgram.class.getName());
61 * <code>DEFAULT_CHARGE_PROGRAM = 0;</code>
63 public static final int DEFAULT_CHARGE_PROGRAM_VALUE = 0;
65 * <code>INSTANT_CHARGE_PROGRAM = 1;</code>
67 public static final int INSTANT_CHARGE_PROGRAM_VALUE = 1;
69 * <code>HOME_CHARGE_PROGRAM = 2;</code>
71 public static final int HOME_CHARGE_PROGRAM_VALUE = 2;
73 * <code>WORK_CHARGE_PROGRAM = 3;</code>
75 public static final int WORK_CHARGE_PROGRAM_VALUE = 3;
78 public final int getNumber() {
79 if (this == UNRECOGNIZED) {
80 throw new java.lang.IllegalArgumentException(
81 "Can't get the number of an unknown enum value.");
87 * @param value The numeric wire value of the corresponding enum entry.
88 * @return The enum associated with the given numeric wire value.
89 * @deprecated Use {@link #forNumber(int)} instead.
92 public static ChargeProgram valueOf(int value) {
93 return forNumber(value);
97 * @param value The numeric wire value of the corresponding enum entry.
98 * @return The enum associated with the given numeric wire value.
100 public static ChargeProgram forNumber(int value) {
102 case 0: return DEFAULT_CHARGE_PROGRAM;
103 case 1: return INSTANT_CHARGE_PROGRAM;
104 case 2: return HOME_CHARGE_PROGRAM;
105 case 3: return WORK_CHARGE_PROGRAM;
106 default: return null;
110 public static com.google.protobuf.Internal.EnumLiteMap<ChargeProgram>
111 internalGetValueMap() {
112 return internalValueMap;
114 private static final com.google.protobuf.Internal.EnumLiteMap<
115 ChargeProgram> internalValueMap =
116 new com.google.protobuf.Internal.EnumLiteMap<ChargeProgram>() {
117 public ChargeProgram findValueByNumber(int number) {
118 return ChargeProgram.forNumber(number);
122 public final com.google.protobuf.Descriptors.EnumValueDescriptor
123 getValueDescriptor() {
124 if (this == UNRECOGNIZED) {
125 throw new java.lang.IllegalStateException(
126 "Can't get the descriptor of an unrecognized enum value.");
128 return getDescriptor().getValues().get(ordinal());
130 public final com.google.protobuf.Descriptors.EnumDescriptor
131 getDescriptorForType() {
132 return getDescriptor();
134 public static final com.google.protobuf.Descriptors.EnumDescriptor
136 return com.daimler.mbcarkit.proto.VehicleEvents.getDescriptor().getEnumTypes().get(0);
139 private static final ChargeProgram[] VALUES = values();
141 public static ChargeProgram valueOf(
142 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
143 if (desc.getType() != getDescriptor()) {
144 throw new java.lang.IllegalArgumentException(
145 "EnumValueDescriptor is not for this type.");
147 if (desc.getIndex() == -1) {
150 return VALUES[desc.getIndex()];
153 private final int value;
155 private ChargeProgram(int value) {
159 // @@protoc_insertion_point(enum_scope:proto.ChargeProgram)
164 * Same as VehicleAPI.AttributeStatus but with slightly different names. The VehicleAPI.AttributeStatus enum values
165 * can't be changed because they are used to automatically parse the vehicleAPI responses. Adding type aliases would
166 * confuse the contributions developers, so we added another attribute status enum
169 * Protobuf enum {@code proto.AttributeStatus}
171 public enum AttributeStatus
172 implements com.google.protobuf.ProtocolMessageEnum {
175 * Value is set and valid
178 * <code>VALUE_VALID = 0;</code>
183 * Value has not yet been received from the vehicle (but sensor etc. should be available)
186 * <code>VALUE_NOT_RECEIVED = 1;</code>
188 VALUE_NOT_RECEIVED(1),
191 * Value has been retrieved from vehicle but is invalid (marked as invalid by DaiVB backend)
194 * <code>VALUE_INVALID = 3;</code>
199 * Vehicle does not support this attribute (e.g. does not have the sensor etc.)
202 * <code>VALUE_NOT_AVAILABLE = 4;</code>
204 VALUE_NOT_AVAILABLE(4),
209 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
210 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
215 AttributeStatus.class.getName());
219 * Value is set and valid
222 * <code>VALUE_VALID = 0;</code>
224 public static final int VALUE_VALID_VALUE = 0;
227 * Value has not yet been received from the vehicle (but sensor etc. should be available)
230 * <code>VALUE_NOT_RECEIVED = 1;</code>
232 public static final int VALUE_NOT_RECEIVED_VALUE = 1;
235 * Value has been retrieved from vehicle but is invalid (marked as invalid by DaiVB backend)
238 * <code>VALUE_INVALID = 3;</code>
240 public static final int VALUE_INVALID_VALUE = 3;
243 * Vehicle does not support this attribute (e.g. does not have the sensor etc.)
246 * <code>VALUE_NOT_AVAILABLE = 4;</code>
248 public static final int VALUE_NOT_AVAILABLE_VALUE = 4;
251 public final int getNumber() {
252 if (this == UNRECOGNIZED) {
253 throw new java.lang.IllegalArgumentException(
254 "Can't get the number of an unknown enum value.");
260 * @param value The numeric wire value of the corresponding enum entry.
261 * @return The enum associated with the given numeric wire value.
262 * @deprecated Use {@link #forNumber(int)} instead.
264 @java.lang.Deprecated
265 public static AttributeStatus valueOf(int value) {
266 return forNumber(value);
270 * @param value The numeric wire value of the corresponding enum entry.
271 * @return The enum associated with the given numeric wire value.
273 public static AttributeStatus forNumber(int value) {
275 case 0: return VALUE_VALID;
276 case 1: return VALUE_NOT_RECEIVED;
277 case 3: return VALUE_INVALID;
278 case 4: return VALUE_NOT_AVAILABLE;
279 default: return null;
283 public static com.google.protobuf.Internal.EnumLiteMap<AttributeStatus>
284 internalGetValueMap() {
285 return internalValueMap;
287 private static final com.google.protobuf.Internal.EnumLiteMap<
288 AttributeStatus> internalValueMap =
289 new com.google.protobuf.Internal.EnumLiteMap<AttributeStatus>() {
290 public AttributeStatus findValueByNumber(int number) {
291 return AttributeStatus.forNumber(number);
295 public final com.google.protobuf.Descriptors.EnumValueDescriptor
296 getValueDescriptor() {
297 if (this == UNRECOGNIZED) {
298 throw new java.lang.IllegalStateException(
299 "Can't get the descriptor of an unrecognized enum value.");
301 return getDescriptor().getValues().get(ordinal());
303 public final com.google.protobuf.Descriptors.EnumDescriptor
304 getDescriptorForType() {
305 return getDescriptor();
307 public static final com.google.protobuf.Descriptors.EnumDescriptor
309 return com.daimler.mbcarkit.proto.VehicleEvents.getDescriptor().getEnumTypes().get(1);
312 private static final AttributeStatus[] VALUES = values();
314 public static AttributeStatus valueOf(
315 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
316 if (desc.getType() != getDescriptor()) {
317 throw new java.lang.IllegalArgumentException(
318 "EnumValueDescriptor is not for this type.");
320 if (desc.getIndex() == -1) {
323 return VALUES[desc.getIndex()];
326 private final int value;
328 private AttributeStatus(int value) {
332 // @@protoc_insertion_point(enum_scope:proto.AttributeStatus)
335 public interface VEPUpdateOrBuilder extends
336 // @@protoc_insertion_point(interface_extends:proto.VEPUpdate)
337 com.google.protobuf.MessageOrBuilder {
340 * <code>int32 sequence_number = 1;</code>
341 * @return The sequenceNumber.
343 int getSequenceNumber();
346 * <code>string vin = 2;</code>
349 java.lang.String getVin();
351 * <code>string vin = 2;</code>
352 * @return The bytes for vin.
354 com.google.protobuf.ByteString
359 * indicates whether this is a full update of VEP-attributes.
360 * All attributes cached in the FE should be erased and completely
361 * replaced by this push.
364 * <code>bool full_update = 15;</code>
365 * @return The fullUpdate.
367 boolean getFullUpdate();
371 * when was the event emitted? This is the time of the update (unix timestamp in seconds), (deprecated)
372 * not when the attributes where changed. To compare attribute changes, you need to look into each attribute timestamp
375 * <code>int64 emit_timestamp = 10;</code>
376 * @return The emitTimestamp.
378 long getEmitTimestamp();
382 * when was the event emitted? This is the time of the update (unix timestamp in milliseconds),
385 * <code>int64 emit_timestamp_in_ms = 14;</code>
386 * @return The emitTimestampInMs.
388 long getEmitTimestampInMs();
392 * the attribute changes are a list of changed attributes
395 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
397 int getAttributesCount();
400 * the attribute changes are a list of changed attributes
403 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
405 boolean containsAttributes(
406 java.lang.String key);
408 * Use {@link #getAttributesMap()} instead.
410 @java.lang.Deprecated
411 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
415 * the attribute changes are a list of changed attributes
418 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
420 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
424 * the attribute changes are a list of changed attributes
427 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
430 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrDefault(
431 java.lang.String key,
433 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus defaultValue);
436 * the attribute changes are a list of changed attributes
439 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
441 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrThrow(
442 java.lang.String key);
446 * Sending direction: App <- BFF <- AppTwin
449 * Protobuf type {@code proto.VEPUpdate}
451 public static final class VEPUpdate extends
452 com.google.protobuf.GeneratedMessage implements
453 // @@protoc_insertion_point(message_implements:proto.VEPUpdate)
455 private static final long serialVersionUID = 0L;
457 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
458 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
463 VEPUpdate.class.getName());
465 // Use VEPUpdate.newBuilder() to construct.
466 private VEPUpdate(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
469 private VEPUpdate() {
473 public static final com.google.protobuf.Descriptors.Descriptor
475 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdate_descriptor;
478 @SuppressWarnings({"rawtypes"})
480 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
484 return internalGetAttributes();
486 throw new RuntimeException(
487 "Invalid map field number: " + number);
491 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
492 internalGetFieldAccessorTable() {
493 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdate_fieldAccessorTable
494 .ensureFieldAccessorsInitialized(
495 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.class, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder.class);
498 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
499 private int sequenceNumber_ = 0;
501 * <code>int32 sequence_number = 1;</code>
502 * @return The sequenceNumber.
505 public int getSequenceNumber() {
506 return sequenceNumber_;
509 public static final int VIN_FIELD_NUMBER = 2;
510 @SuppressWarnings("serial")
511 private volatile java.lang.Object vin_ = "";
513 * <code>string vin = 2;</code>
517 public java.lang.String getVin() {
518 java.lang.Object ref = vin_;
519 if (ref instanceof java.lang.String) {
520 return (java.lang.String) ref;
522 com.google.protobuf.ByteString bs =
523 (com.google.protobuf.ByteString) ref;
524 java.lang.String s = bs.toStringUtf8();
530 * <code>string vin = 2;</code>
531 * @return The bytes for vin.
534 public com.google.protobuf.ByteString
536 java.lang.Object ref = vin_;
537 if (ref instanceof java.lang.String) {
538 com.google.protobuf.ByteString b =
539 com.google.protobuf.ByteString.copyFromUtf8(
540 (java.lang.String) ref);
544 return (com.google.protobuf.ByteString) ref;
548 public static final int FULL_UPDATE_FIELD_NUMBER = 15;
549 private boolean fullUpdate_ = false;
552 * indicates whether this is a full update of VEP-attributes.
553 * All attributes cached in the FE should be erased and completely
554 * replaced by this push.
557 * <code>bool full_update = 15;</code>
558 * @return The fullUpdate.
561 public boolean getFullUpdate() {
565 public static final int EMIT_TIMESTAMP_FIELD_NUMBER = 10;
566 private long emitTimestamp_ = 0L;
569 * when was the event emitted? This is the time of the update (unix timestamp in seconds), (deprecated)
570 * not when the attributes where changed. To compare attribute changes, you need to look into each attribute timestamp
573 * <code>int64 emit_timestamp = 10;</code>
574 * @return The emitTimestamp.
577 public long getEmitTimestamp() {
578 return emitTimestamp_;
581 public static final int EMIT_TIMESTAMP_IN_MS_FIELD_NUMBER = 14;
582 private long emitTimestampInMs_ = 0L;
585 * when was the event emitted? This is the time of the update (unix timestamp in milliseconds),
588 * <code>int64 emit_timestamp_in_ms = 14;</code>
589 * @return The emitTimestampInMs.
592 public long getEmitTimestampInMs() {
593 return emitTimestampInMs_;
596 public static final int ATTRIBUTES_FIELD_NUMBER = 11;
597 private static final class AttributesDefaultEntryHolder {
598 static final com.google.protobuf.MapEntry<
599 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> defaultEntry =
600 com.google.protobuf.MapEntry
601 .<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>newDefaultInstance(
602 com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdate_AttributesEntry_descriptor,
603 com.google.protobuf.WireFormat.FieldType.STRING,
605 com.google.protobuf.WireFormat.FieldType.MESSAGE,
606 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDefaultInstance());
608 @SuppressWarnings("serial")
609 private com.google.protobuf.MapField<
610 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> attributes_;
611 private com.google.protobuf.MapField<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
612 internalGetAttributes() {
613 if (attributes_ == null) {
614 return com.google.protobuf.MapField.emptyMapField(
615 AttributesDefaultEntryHolder.defaultEntry);
619 public int getAttributesCount() {
620 return internalGetAttributes().getMap().size();
624 * the attribute changes are a list of changed attributes
627 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
630 public boolean containsAttributes(
631 java.lang.String key) {
632 if (key == null) { throw new NullPointerException("map key"); }
633 return internalGetAttributes().getMap().containsKey(key);
636 * Use {@link #getAttributesMap()} instead.
639 @java.lang.Deprecated
640 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributes() {
641 return getAttributesMap();
645 * the attribute changes are a list of changed attributes
648 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
651 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributesMap() {
652 return internalGetAttributes().getMap();
656 * the attribute changes are a list of changed attributes
659 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
662 public /* nullable */
663 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrDefault(
664 java.lang.String key,
666 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus defaultValue) {
667 if (key == null) { throw new NullPointerException("map key"); }
668 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> map =
669 internalGetAttributes().getMap();
670 return map.containsKey(key) ? map.get(key) : defaultValue;
674 * the attribute changes are a list of changed attributes
677 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
680 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrThrow(
681 java.lang.String key) {
682 if (key == null) { throw new NullPointerException("map key"); }
683 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> map =
684 internalGetAttributes().getMap();
685 if (!map.containsKey(key)) {
686 throw new java.lang.IllegalArgumentException();
691 private byte memoizedIsInitialized = -1;
693 public final boolean isInitialized() {
694 byte isInitialized = memoizedIsInitialized;
695 if (isInitialized == 1) return true;
696 if (isInitialized == 0) return false;
698 memoizedIsInitialized = 1;
703 public void writeTo(com.google.protobuf.CodedOutputStream output)
704 throws java.io.IOException {
705 if (sequenceNumber_ != 0) {
706 output.writeInt32(1, sequenceNumber_);
708 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
709 com.google.protobuf.GeneratedMessage.writeString(output, 2, vin_);
711 if (emitTimestamp_ != 0L) {
712 output.writeInt64(10, emitTimestamp_);
714 com.google.protobuf.GeneratedMessage
715 .serializeStringMapTo(
717 internalGetAttributes(),
718 AttributesDefaultEntryHolder.defaultEntry,
720 if (emitTimestampInMs_ != 0L) {
721 output.writeInt64(14, emitTimestampInMs_);
723 if (fullUpdate_ != false) {
724 output.writeBool(15, fullUpdate_);
726 getUnknownFields().writeTo(output);
730 public int getSerializedSize() {
731 int size = memoizedSize;
732 if (size != -1) return size;
735 if (sequenceNumber_ != 0) {
736 size += com.google.protobuf.CodedOutputStream
737 .computeInt32Size(1, sequenceNumber_);
739 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
740 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, vin_);
742 if (emitTimestamp_ != 0L) {
743 size += com.google.protobuf.CodedOutputStream
744 .computeInt64Size(10, emitTimestamp_);
746 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> entry
747 : internalGetAttributes().getMap().entrySet()) {
748 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
749 attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType()
750 .setKey(entry.getKey())
751 .setValue(entry.getValue())
753 size += com.google.protobuf.CodedOutputStream
754 .computeMessageSize(11, attributes__);
756 if (emitTimestampInMs_ != 0L) {
757 size += com.google.protobuf.CodedOutputStream
758 .computeInt64Size(14, emitTimestampInMs_);
760 if (fullUpdate_ != false) {
761 size += com.google.protobuf.CodedOutputStream
762 .computeBoolSize(15, fullUpdate_);
764 size += getUnknownFields().getSerializedSize();
770 public boolean equals(final java.lang.Object obj) {
774 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate)) {
775 return super.equals(obj);
777 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate other = (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) obj;
779 if (getSequenceNumber()
780 != other.getSequenceNumber()) return false;
782 .equals(other.getVin())) return false;
784 != other.getFullUpdate()) return false;
785 if (getEmitTimestamp()
786 != other.getEmitTimestamp()) return false;
787 if (getEmitTimestampInMs()
788 != other.getEmitTimestampInMs()) return false;
789 if (!internalGetAttributes().equals(
790 other.internalGetAttributes())) return false;
791 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
796 public int hashCode() {
797 if (memoizedHashCode != 0) {
798 return memoizedHashCode;
801 hash = (19 * hash) + getDescriptor().hashCode();
802 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
803 hash = (53 * hash) + getSequenceNumber();
804 hash = (37 * hash) + VIN_FIELD_NUMBER;
805 hash = (53 * hash) + getVin().hashCode();
806 hash = (37 * hash) + FULL_UPDATE_FIELD_NUMBER;
807 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
809 hash = (37 * hash) + EMIT_TIMESTAMP_FIELD_NUMBER;
810 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
812 hash = (37 * hash) + EMIT_TIMESTAMP_IN_MS_FIELD_NUMBER;
813 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
814 getEmitTimestampInMs());
815 if (!internalGetAttributes().getMap().isEmpty()) {
816 hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER;
817 hash = (53 * hash) + internalGetAttributes().hashCode();
819 hash = (29 * hash) + getUnknownFields().hashCode();
820 memoizedHashCode = hash;
824 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
825 java.nio.ByteBuffer data)
826 throws com.google.protobuf.InvalidProtocolBufferException {
827 return PARSER.parseFrom(data);
829 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
830 java.nio.ByteBuffer data,
831 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
832 throws com.google.protobuf.InvalidProtocolBufferException {
833 return PARSER.parseFrom(data, extensionRegistry);
835 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
836 com.google.protobuf.ByteString data)
837 throws com.google.protobuf.InvalidProtocolBufferException {
838 return PARSER.parseFrom(data);
840 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
841 com.google.protobuf.ByteString data,
842 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
843 throws com.google.protobuf.InvalidProtocolBufferException {
844 return PARSER.parseFrom(data, extensionRegistry);
846 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(byte[] data)
847 throws com.google.protobuf.InvalidProtocolBufferException {
848 return PARSER.parseFrom(data);
850 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
852 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
853 throws com.google.protobuf.InvalidProtocolBufferException {
854 return PARSER.parseFrom(data, extensionRegistry);
856 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(java.io.InputStream input)
857 throws java.io.IOException {
858 return com.google.protobuf.GeneratedMessage
859 .parseWithIOException(PARSER, input);
861 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
862 java.io.InputStream input,
863 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
864 throws java.io.IOException {
865 return com.google.protobuf.GeneratedMessage
866 .parseWithIOException(PARSER, input, extensionRegistry);
869 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseDelimitedFrom(java.io.InputStream input)
870 throws java.io.IOException {
871 return com.google.protobuf.GeneratedMessage
872 .parseDelimitedWithIOException(PARSER, input);
875 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseDelimitedFrom(
876 java.io.InputStream input,
877 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
878 throws java.io.IOException {
879 return com.google.protobuf.GeneratedMessage
880 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
882 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
883 com.google.protobuf.CodedInputStream input)
884 throws java.io.IOException {
885 return com.google.protobuf.GeneratedMessage
886 .parseWithIOException(PARSER, input);
888 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate parseFrom(
889 com.google.protobuf.CodedInputStream input,
890 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
891 throws java.io.IOException {
892 return com.google.protobuf.GeneratedMessage
893 .parseWithIOException(PARSER, input, extensionRegistry);
897 public Builder newBuilderForType() { return newBuilder(); }
898 public static Builder newBuilder() {
899 return DEFAULT_INSTANCE.toBuilder();
901 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate prototype) {
902 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
905 public Builder toBuilder() {
906 return this == DEFAULT_INSTANCE
907 ? new Builder() : new Builder().mergeFrom(this);
911 protected Builder newBuilderForType(
912 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
913 Builder builder = new Builder(parent);
918 * Sending direction: App <- BFF <- AppTwin
921 * Protobuf type {@code proto.VEPUpdate}
923 public static final class Builder extends
924 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
925 // @@protoc_insertion_point(builder_implements:proto.VEPUpdate)
926 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder {
927 public static final com.google.protobuf.Descriptors.Descriptor
929 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdate_descriptor;
932 @SuppressWarnings({"rawtypes"})
933 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
937 return internalGetAttributes();
939 throw new RuntimeException(
940 "Invalid map field number: " + number);
943 @SuppressWarnings({"rawtypes"})
944 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
948 return internalGetMutableAttributes();
950 throw new RuntimeException(
951 "Invalid map field number: " + number);
955 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
956 internalGetFieldAccessorTable() {
957 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdate_fieldAccessorTable
958 .ensureFieldAccessorsInitialized(
959 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.class, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder.class);
962 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.newBuilder()
968 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
973 public Builder clear() {
980 emitTimestampInMs_ = 0L;
981 internalGetMutableAttributes().clear();
986 public com.google.protobuf.Descriptors.Descriptor
987 getDescriptorForType() {
988 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdate_descriptor;
992 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getDefaultInstanceForType() {
993 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
997 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate build() {
998 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate result = buildPartial();
999 if (!result.isInitialized()) {
1000 throw newUninitializedMessageException(result);
1006 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate buildPartial() {
1007 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate result = new com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate(this);
1008 if (bitField0_ != 0) { buildPartial0(result); }
1013 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate result) {
1014 int from_bitField0_ = bitField0_;
1015 if (((from_bitField0_ & 0x00000001) != 0)) {
1016 result.sequenceNumber_ = sequenceNumber_;
1018 if (((from_bitField0_ & 0x00000002) != 0)) {
1021 if (((from_bitField0_ & 0x00000004) != 0)) {
1022 result.fullUpdate_ = fullUpdate_;
1024 if (((from_bitField0_ & 0x00000008) != 0)) {
1025 result.emitTimestamp_ = emitTimestamp_;
1027 if (((from_bitField0_ & 0x00000010) != 0)) {
1028 result.emitTimestampInMs_ = emitTimestampInMs_;
1030 if (((from_bitField0_ & 0x00000020) != 0)) {
1031 result.attributes_ = internalGetAttributes().build(AttributesDefaultEntryHolder.defaultEntry);
1036 public Builder mergeFrom(com.google.protobuf.Message other) {
1037 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) {
1038 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate)other);
1040 super.mergeFrom(other);
1045 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate other) {
1046 if (other == com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance()) return this;
1047 if (other.getSequenceNumber() != 0) {
1048 setSequenceNumber(other.getSequenceNumber());
1050 if (!other.getVin().isEmpty()) {
1052 bitField0_ |= 0x00000002;
1055 if (other.getFullUpdate() != false) {
1056 setFullUpdate(other.getFullUpdate());
1058 if (other.getEmitTimestamp() != 0L) {
1059 setEmitTimestamp(other.getEmitTimestamp());
1061 if (other.getEmitTimestampInMs() != 0L) {
1062 setEmitTimestampInMs(other.getEmitTimestampInMs());
1064 internalGetMutableAttributes().mergeFrom(
1065 other.internalGetAttributes());
1066 bitField0_ |= 0x00000020;
1067 this.mergeUnknownFields(other.getUnknownFields());
1073 public final boolean isInitialized() {
1078 public Builder mergeFrom(
1079 com.google.protobuf.CodedInputStream input,
1080 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1081 throws java.io.IOException {
1082 if (extensionRegistry == null) {
1083 throw new java.lang.NullPointerException();
1086 boolean done = false;
1088 int tag = input.readTag();
1094 sequenceNumber_ = input.readInt32();
1095 bitField0_ |= 0x00000001;
1099 vin_ = input.readStringRequireUtf8();
1100 bitField0_ |= 0x00000002;
1104 emitTimestamp_ = input.readInt64();
1105 bitField0_ |= 0x00000008;
1109 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
1110 attributes__ = input.readMessage(
1111 AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
1112 internalGetMutableAttributes().ensureBuilderMap().put(
1113 attributes__.getKey(), attributes__.getValue());
1114 bitField0_ |= 0x00000020;
1118 emitTimestampInMs_ = input.readInt64();
1119 bitField0_ |= 0x00000010;
1123 fullUpdate_ = input.readBool();
1124 bitField0_ |= 0x00000004;
1128 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1129 done = true; // was an endgroup tag
1135 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1136 throw e.unwrapIOException();
1142 private int bitField0_;
1144 private int sequenceNumber_ ;
1146 * <code>int32 sequence_number = 1;</code>
1147 * @return The sequenceNumber.
1150 public int getSequenceNumber() {
1151 return sequenceNumber_;
1154 * <code>int32 sequence_number = 1;</code>
1155 * @param value The sequenceNumber to set.
1156 * @return This builder for chaining.
1158 public Builder setSequenceNumber(int value) {
1160 sequenceNumber_ = value;
1161 bitField0_ |= 0x00000001;
1166 * <code>int32 sequence_number = 1;</code>
1167 * @return This builder for chaining.
1169 public Builder clearSequenceNumber() {
1170 bitField0_ = (bitField0_ & ~0x00000001);
1171 sequenceNumber_ = 0;
1176 private java.lang.Object vin_ = "";
1178 * <code>string vin = 2;</code>
1181 public java.lang.String getVin() {
1182 java.lang.Object ref = vin_;
1183 if (!(ref instanceof java.lang.String)) {
1184 com.google.protobuf.ByteString bs =
1185 (com.google.protobuf.ByteString) ref;
1186 java.lang.String s = bs.toStringUtf8();
1190 return (java.lang.String) ref;
1194 * <code>string vin = 2;</code>
1195 * @return The bytes for vin.
1197 public com.google.protobuf.ByteString
1199 java.lang.Object ref = vin_;
1200 if (ref instanceof String) {
1201 com.google.protobuf.ByteString b =
1202 com.google.protobuf.ByteString.copyFromUtf8(
1203 (java.lang.String) ref);
1207 return (com.google.protobuf.ByteString) ref;
1211 * <code>string vin = 2;</code>
1212 * @param value The vin to set.
1213 * @return This builder for chaining.
1215 public Builder setVin(
1216 java.lang.String value) {
1217 if (value == null) { throw new NullPointerException(); }
1219 bitField0_ |= 0x00000002;
1224 * <code>string vin = 2;</code>
1225 * @return This builder for chaining.
1227 public Builder clearVin() {
1228 vin_ = getDefaultInstance().getVin();
1229 bitField0_ = (bitField0_ & ~0x00000002);
1234 * <code>string vin = 2;</code>
1235 * @param value The bytes for vin to set.
1236 * @return This builder for chaining.
1238 public Builder setVinBytes(
1239 com.google.protobuf.ByteString value) {
1240 if (value == null) { throw new NullPointerException(); }
1241 checkByteStringIsUtf8(value);
1243 bitField0_ |= 0x00000002;
1248 private boolean fullUpdate_ ;
1251 * indicates whether this is a full update of VEP-attributes.
1252 * All attributes cached in the FE should be erased and completely
1253 * replaced by this push.
1256 * <code>bool full_update = 15;</code>
1257 * @return The fullUpdate.
1260 public boolean getFullUpdate() {
1265 * indicates whether this is a full update of VEP-attributes.
1266 * All attributes cached in the FE should be erased and completely
1267 * replaced by this push.
1270 * <code>bool full_update = 15;</code>
1271 * @param value The fullUpdate to set.
1272 * @return This builder for chaining.
1274 public Builder setFullUpdate(boolean value) {
1276 fullUpdate_ = value;
1277 bitField0_ |= 0x00000004;
1283 * indicates whether this is a full update of VEP-attributes.
1284 * All attributes cached in the FE should be erased and completely
1285 * replaced by this push.
1288 * <code>bool full_update = 15;</code>
1289 * @return This builder for chaining.
1291 public Builder clearFullUpdate() {
1292 bitField0_ = (bitField0_ & ~0x00000004);
1293 fullUpdate_ = false;
1298 private long emitTimestamp_ ;
1301 * when was the event emitted? This is the time of the update (unix timestamp in seconds), (deprecated)
1302 * not when the attributes where changed. To compare attribute changes, you need to look into each attribute timestamp
1305 * <code>int64 emit_timestamp = 10;</code>
1306 * @return The emitTimestamp.
1309 public long getEmitTimestamp() {
1310 return emitTimestamp_;
1314 * when was the event emitted? This is the time of the update (unix timestamp in seconds), (deprecated)
1315 * not when the attributes where changed. To compare attribute changes, you need to look into each attribute timestamp
1318 * <code>int64 emit_timestamp = 10;</code>
1319 * @param value The emitTimestamp to set.
1320 * @return This builder for chaining.
1322 public Builder setEmitTimestamp(long value) {
1324 emitTimestamp_ = value;
1325 bitField0_ |= 0x00000008;
1331 * when was the event emitted? This is the time of the update (unix timestamp in seconds), (deprecated)
1332 * not when the attributes where changed. To compare attribute changes, you need to look into each attribute timestamp
1335 * <code>int64 emit_timestamp = 10;</code>
1336 * @return This builder for chaining.
1338 public Builder clearEmitTimestamp() {
1339 bitField0_ = (bitField0_ & ~0x00000008);
1340 emitTimestamp_ = 0L;
1345 private long emitTimestampInMs_ ;
1348 * when was the event emitted? This is the time of the update (unix timestamp in milliseconds),
1351 * <code>int64 emit_timestamp_in_ms = 14;</code>
1352 * @return The emitTimestampInMs.
1355 public long getEmitTimestampInMs() {
1356 return emitTimestampInMs_;
1360 * when was the event emitted? This is the time of the update (unix timestamp in milliseconds),
1363 * <code>int64 emit_timestamp_in_ms = 14;</code>
1364 * @param value The emitTimestampInMs to set.
1365 * @return This builder for chaining.
1367 public Builder setEmitTimestampInMs(long value) {
1369 emitTimestampInMs_ = value;
1370 bitField0_ |= 0x00000010;
1376 * when was the event emitted? This is the time of the update (unix timestamp in milliseconds),
1379 * <code>int64 emit_timestamp_in_ms = 14;</code>
1380 * @return This builder for chaining.
1382 public Builder clearEmitTimestampInMs() {
1383 bitField0_ = (bitField0_ & ~0x00000010);
1384 emitTimestampInMs_ = 0L;
1389 private static final class AttributesConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> {
1391 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus build(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder val) {
1392 if (val instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) { return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) val; }
1393 return ((com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder) val).build();
1397 public com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> defaultEntry() {
1398 return AttributesDefaultEntryHolder.defaultEntry;
1401 private static final AttributesConverter attributesConverter = new AttributesConverter();
1403 private com.google.protobuf.MapFieldBuilder<
1404 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder> attributes_;
1405 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder>
1406 internalGetAttributes() {
1407 if (attributes_ == null) {
1408 return new com.google.protobuf.MapFieldBuilder<>(attributesConverter);
1412 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder>
1413 internalGetMutableAttributes() {
1414 if (attributes_ == null) {
1415 attributes_ = new com.google.protobuf.MapFieldBuilder<>(attributesConverter);
1417 bitField0_ |= 0x00000020;
1421 public int getAttributesCount() {
1422 return internalGetAttributes().ensureBuilderMap().size();
1426 * the attribute changes are a list of changed attributes
1429 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1432 public boolean containsAttributes(
1433 java.lang.String key) {
1434 if (key == null) { throw new NullPointerException("map key"); }
1435 return internalGetAttributes().ensureBuilderMap().containsKey(key);
1438 * Use {@link #getAttributesMap()} instead.
1441 @java.lang.Deprecated
1442 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributes() {
1443 return getAttributesMap();
1447 * the attribute changes are a list of changed attributes
1450 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1453 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributesMap() {
1454 return internalGetAttributes().getImmutableMap();
1458 * the attribute changes are a list of changed attributes
1461 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1464 public /* nullable */
1465 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrDefault(
1466 java.lang.String key,
1468 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus defaultValue) {
1469 if (key == null) { throw new NullPointerException("map key"); }
1470 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder> map = internalGetMutableAttributes().ensureBuilderMap();
1471 return map.containsKey(key) ? attributesConverter.build(map.get(key)) : defaultValue;
1475 * the attribute changes are a list of changed attributes
1478 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1481 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrThrow(
1482 java.lang.String key) {
1483 if (key == null) { throw new NullPointerException("map key"); }
1484 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder> map = internalGetMutableAttributes().ensureBuilderMap();
1485 if (!map.containsKey(key)) {
1486 throw new java.lang.IllegalArgumentException();
1488 return attributesConverter.build(map.get(key));
1490 public Builder clearAttributes() {
1491 bitField0_ = (bitField0_ & ~0x00000020);
1492 internalGetMutableAttributes().clear();
1497 * the attribute changes are a list of changed attributes
1500 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1502 public Builder removeAttributes(
1503 java.lang.String key) {
1504 if (key == null) { throw new NullPointerException("map key"); }
1505 internalGetMutableAttributes().ensureBuilderMap()
1510 * Use alternate mutation accessors instead.
1512 @java.lang.Deprecated
1513 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
1514 getMutableAttributes() {
1515 bitField0_ |= 0x00000020;
1516 return internalGetMutableAttributes().ensureMessageMap();
1520 * the attribute changes are a list of changed attributes
1523 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1525 public Builder putAttributes(
1526 java.lang.String key,
1527 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus value) {
1528 if (key == null) { throw new NullPointerException("map key"); }
1529 if (value == null) { throw new NullPointerException("map value"); }
1530 internalGetMutableAttributes().ensureBuilderMap()
1532 bitField0_ |= 0x00000020;
1537 * the attribute changes are a list of changed attributes
1540 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1542 public Builder putAllAttributes(
1543 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> values) {
1544 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> e : values.entrySet()) {
1545 if (e.getKey() == null || e.getValue() == null) {
1546 throw new NullPointerException();
1549 internalGetMutableAttributes().ensureBuilderMap()
1551 bitField0_ |= 0x00000020;
1556 * the attribute changes are a list of changed attributes
1559 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 11;</code>
1561 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder putAttributesBuilderIfAbsent(
1562 java.lang.String key) {
1563 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder> builderMap = internalGetMutableAttributes().ensureBuilderMap();
1564 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder entry = builderMap.get(key);
1565 if (entry == null) {
1566 entry = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.newBuilder();
1567 builderMap.put(key, entry);
1569 if (entry instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) {
1570 entry = ((com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) entry).toBuilder();
1571 builderMap.put(key, entry);
1573 return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder) entry;
1576 // @@protoc_insertion_point(builder_scope:proto.VEPUpdate)
1579 // @@protoc_insertion_point(class_scope:proto.VEPUpdate)
1580 private static final com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate DEFAULT_INSTANCE;
1582 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate();
1585 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getDefaultInstance() {
1586 return DEFAULT_INSTANCE;
1589 private static final com.google.protobuf.Parser<VEPUpdate>
1590 PARSER = new com.google.protobuf.AbstractParser<VEPUpdate>() {
1592 public VEPUpdate parsePartialFrom(
1593 com.google.protobuf.CodedInputStream input,
1594 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1595 throws com.google.protobuf.InvalidProtocolBufferException {
1596 Builder builder = newBuilder();
1598 builder.mergeFrom(input, extensionRegistry);
1599 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1600 throw e.setUnfinishedMessage(builder.buildPartial());
1601 } catch (com.google.protobuf.UninitializedMessageException e) {
1602 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1603 } catch (java.io.IOException e) {
1604 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1605 .setUnfinishedMessage(builder.buildPartial());
1607 return builder.buildPartial();
1611 public static com.google.protobuf.Parser<VEPUpdate> parser() {
1616 public com.google.protobuf.Parser<VEPUpdate> getParserForType() {
1621 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getDefaultInstanceForType() {
1622 return DEFAULT_INSTANCE;
1627 public interface VehicleAttributeStatusOrBuilder extends
1628 // @@protoc_insertion_point(interface_extends:proto.VehicleAttributeStatus)
1629 com.google.protobuf.MessageOrBuilder {
1633 * time of the attribute change in the car as unix timestamp in seconds with UTC timezone (deprecated)
1636 * <code>int64 timestamp = 1 [deprecated = true];</code>
1637 * @deprecated proto.VehicleAttributeStatus.timestamp is deprecated.
1638 * See vehicle-events.proto;l=38
1639 * @return The timestamp.
1641 @java.lang.Deprecated long getTimestamp();
1645 * time of the attribute change in the car as unix timestamp in milliseconds with UTC timezone
1648 * <code>int64 timestamp_in_ms = 10;</code>
1649 * @return The timestampInMs.
1651 long getTimestampInMs();
1654 * <code>bool changed = 2;</code>
1655 * @return The changed.
1657 boolean getChanged();
1660 * <code>int32 status = 3;</code>
1661 * @return The status.
1667 * A list of service ids for which this attribute was sent
1668 * this field ist just used backend internally and will always
1669 * be empty when sent out to the client.
1672 * <code>repeated int32 service_ids = 30;</code>
1673 * @return A list containing the serviceIds.
1675 java.util.List<java.lang.Integer> getServiceIdsList();
1678 * A list of service ids for which this attribute was sent
1679 * this field ist just used backend internally and will always
1680 * be empty when sent out to the client.
1683 * <code>repeated int32 service_ids = 30;</code>
1684 * @return The count of serviceIds.
1686 int getServiceIdsCount();
1689 * A list of service ids for which this attribute was sent
1690 * this field ist just used backend internally and will always
1691 * be empty when sent out to the client.
1694 * <code>repeated int32 service_ids = 30;</code>
1695 * @param index The index of the element to return.
1696 * @return The serviceIds at the given index.
1698 int getServiceIds(int index);
1701 * <code>string display_value = 11;</code>
1702 * @return The displayValue.
1704 java.lang.String getDisplayValue();
1706 * <code>string display_value = 11;</code>
1707 * @return The bytes for displayValue.
1709 com.google.protobuf.ByteString
1710 getDisplayValueBytes();
1713 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
1714 * @return Whether the combustionConsumptionUnit field is set.
1716 boolean hasCombustionConsumptionUnit();
1718 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
1719 * @return The enum numeric value on the wire for combustionConsumptionUnit.
1721 int getCombustionConsumptionUnitValue();
1723 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
1724 * @return The combustionConsumptionUnit.
1726 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit getCombustionConsumptionUnit();
1729 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
1730 * @return Whether the gasConsumptionUnit field is set.
1732 boolean hasGasConsumptionUnit();
1734 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
1735 * @return The enum numeric value on the wire for gasConsumptionUnit.
1737 int getGasConsumptionUnitValue();
1739 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
1740 * @return The gasConsumptionUnit.
1742 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit getGasConsumptionUnit();
1745 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
1746 * @return Whether the electricityConsumptionUnit field is set.
1748 boolean hasElectricityConsumptionUnit();
1750 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
1751 * @return The enum numeric value on the wire for electricityConsumptionUnit.
1753 int getElectricityConsumptionUnitValue();
1755 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
1756 * @return The electricityConsumptionUnit.
1758 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit getElectricityConsumptionUnit();
1762 * use speed unit / length unit instead
1765 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
1766 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
1767 * See vehicle-events.proto;l=141
1768 * @return Whether the speedDistanceUnit field is set.
1770 @java.lang.Deprecated boolean hasSpeedDistanceUnit();
1773 * use speed unit / length unit instead
1776 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
1777 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
1778 * See vehicle-events.proto;l=141
1779 * @return The enum numeric value on the wire for speedDistanceUnit.
1781 @java.lang.Deprecated int getSpeedDistanceUnitValue();
1784 * use speed unit / length unit instead
1787 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
1788 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
1789 * See vehicle-events.proto;l=141
1790 * @return The speedDistanceUnit.
1792 @java.lang.Deprecated com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit getSpeedDistanceUnit();
1795 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
1796 * @return Whether the speedUnit field is set.
1798 boolean hasSpeedUnit();
1800 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
1801 * @return The enum numeric value on the wire for speedUnit.
1803 int getSpeedUnitValue();
1805 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
1806 * @return The speedUnit.
1808 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit getSpeedUnit();
1811 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
1812 * @return Whether the distanceUnit field is set.
1814 boolean hasDistanceUnit();
1816 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
1817 * @return The enum numeric value on the wire for distanceUnit.
1819 int getDistanceUnitValue();
1821 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
1822 * @return The distanceUnit.
1824 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit getDistanceUnit();
1827 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
1828 * @return Whether the temperatureUnit field is set.
1830 boolean hasTemperatureUnit();
1832 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
1833 * @return The enum numeric value on the wire for temperatureUnit.
1835 int getTemperatureUnitValue();
1837 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
1838 * @return The temperatureUnit.
1840 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit getTemperatureUnit();
1843 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
1844 * @return Whether the pressureUnit field is set.
1846 boolean hasPressureUnit();
1848 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
1849 * @return The enum numeric value on the wire for pressureUnit.
1851 int getPressureUnitValue();
1853 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
1854 * @return The pressureUnit.
1856 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit getPressureUnit();
1859 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
1860 * @return Whether the ratioUnit field is set.
1862 boolean hasRatioUnit();
1864 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
1865 * @return The enum numeric value on the wire for ratioUnit.
1867 int getRatioUnitValue();
1869 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
1870 * @return The ratioUnit.
1872 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit getRatioUnit();
1875 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
1876 * @return Whether the clockHourUnit field is set.
1878 boolean hasClockHourUnit();
1880 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
1881 * @return The enum numeric value on the wire for clockHourUnit.
1883 int getClockHourUnitValue();
1885 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
1886 * @return The clockHourUnit.
1888 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit getClockHourUnit();
1891 * <code>int64 int_value = 4;</code>
1892 * @return Whether the intValue field is set.
1894 boolean hasIntValue();
1896 * <code>int64 int_value = 4;</code>
1897 * @return The intValue.
1902 * <code>bool bool_value = 5;</code>
1903 * @return Whether the boolValue field is set.
1905 boolean hasBoolValue();
1907 * <code>bool bool_value = 5;</code>
1908 * @return The boolValue.
1910 boolean getBoolValue();
1913 * <code>string string_value = 6;</code>
1914 * @return Whether the stringValue field is set.
1916 boolean hasStringValue();
1918 * <code>string string_value = 6;</code>
1919 * @return The stringValue.
1921 java.lang.String getStringValue();
1923 * <code>string string_value = 6;</code>
1924 * @return The bytes for stringValue.
1926 com.google.protobuf.ByteString
1927 getStringValueBytes();
1930 * <code>double double_value = 7;</code>
1931 * @return Whether the doubleValue field is set.
1933 boolean hasDoubleValue();
1935 * <code>double double_value = 7;</code>
1936 * @return The doubleValue.
1938 double getDoubleValue();
1941 * <code>bool nil_value = 8;</code>
1942 * @return Whether the nilValue field is set.
1944 boolean hasNilValue();
1946 * <code>bool nil_value = 8;</code>
1947 * @return The nilValue.
1949 boolean getNilValue();
1952 * <code>string unsupported_value = 9;</code>
1953 * @return Whether the unsupportedValue field is set.
1955 boolean hasUnsupportedValue();
1957 * <code>string unsupported_value = 9;</code>
1958 * @return The unsupportedValue.
1960 java.lang.String getUnsupportedValue();
1962 * <code>string unsupported_value = 9;</code>
1963 * @return The bytes for unsupportedValue.
1965 com.google.protobuf.ByteString
1966 getUnsupportedValueBytes();
1969 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
1970 * @return Whether the temperaturePointsValue field is set.
1972 boolean hasTemperaturePointsValue();
1974 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
1975 * @return The temperaturePointsValue.
1977 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue getTemperaturePointsValue();
1979 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
1981 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder getTemperaturePointsValueOrBuilder();
1984 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
1985 * @return Whether the weekdayTariffValue field is set.
1987 boolean hasWeekdayTariffValue();
1989 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
1990 * @return The weekdayTariffValue.
1992 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue getWeekdayTariffValue();
1994 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
1996 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder getWeekdayTariffValueOrBuilder();
1999 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
2000 * @return Whether the weekendTariffValue field is set.
2002 boolean hasWeekendTariffValue();
2004 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
2005 * @return The weekendTariffValue.
2007 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue getWeekendTariffValue();
2009 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
2011 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder getWeekendTariffValueOrBuilder();
2014 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
2015 * @return Whether the stateOfChargeProfileValue field is set.
2017 boolean hasStateOfChargeProfileValue();
2019 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
2020 * @return The stateOfChargeProfileValue.
2022 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue getStateOfChargeProfileValue();
2024 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
2026 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder getStateOfChargeProfileValueOrBuilder();
2029 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
2030 * @return Whether the weeklySettingsHeadUnitValue field is set.
2032 boolean hasWeeklySettingsHeadUnitValue();
2034 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
2035 * @return The weeklySettingsHeadUnitValue.
2037 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue getWeeklySettingsHeadUnitValue();
2039 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
2041 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder getWeeklySettingsHeadUnitValueOrBuilder();
2044 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
2045 * @return Whether the speedAlertConfigurationValue field is set.
2047 boolean hasSpeedAlertConfigurationValue();
2049 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
2050 * @return The speedAlertConfigurationValue.
2052 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue getSpeedAlertConfigurationValue();
2054 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
2056 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder getSpeedAlertConfigurationValueOrBuilder();
2059 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
2060 * @return Whether the ecoHistogramValue field is set.
2062 boolean hasEcoHistogramValue();
2064 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
2065 * @return The ecoHistogramValue.
2067 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue getEcoHistogramValue();
2069 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
2071 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder getEcoHistogramValueOrBuilder();
2074 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
2075 * @return Whether the weeklyProfileValue field is set.
2077 boolean hasWeeklyProfileValue();
2079 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
2080 * @return The weeklyProfileValue.
2082 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue getWeeklyProfileValue();
2084 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
2086 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder getWeeklyProfileValueOrBuilder();
2089 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
2090 * @return Whether the chargeProgramsValue field is set.
2092 boolean hasChargeProgramsValue();
2094 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
2095 * @return The chargeProgramsValue.
2097 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue getChargeProgramsValue();
2099 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
2101 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder getChargeProgramsValueOrBuilder();
2103 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DisplayUnitCase getDisplayUnitCase();
2105 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.AttributeTypeCase getAttributeTypeCase();
2109 * Part of a VEPUpdate
2110 * Sending direction: App <- BFF <- AppTwin
2113 * Protobuf type {@code proto.VehicleAttributeStatus}
2115 public static final class VehicleAttributeStatus extends
2116 com.google.protobuf.GeneratedMessage implements
2117 // @@protoc_insertion_point(message_implements:proto.VehicleAttributeStatus)
2118 VehicleAttributeStatusOrBuilder {
2119 private static final long serialVersionUID = 0L;
2121 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2122 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2127 VehicleAttributeStatus.class.getName());
2129 // Use VehicleAttributeStatus.newBuilder() to construct.
2130 private VehicleAttributeStatus(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2133 private VehicleAttributeStatus() {
2134 serviceIds_ = emptyIntList();
2138 public static final com.google.protobuf.Descriptors.Descriptor
2140 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleAttributeStatus_descriptor;
2144 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2145 internalGetFieldAccessorTable() {
2146 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleAttributeStatus_fieldAccessorTable
2147 .ensureFieldAccessorsInitialized(
2148 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.class, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder.class);
2152 * Protobuf enum {@code proto.VehicleAttributeStatus.CombustionConsumptionUnit}
2154 public enum CombustionConsumptionUnit
2155 implements com.google.protobuf.ProtocolMessageEnum {
2157 * <code>UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT = 0;</code>
2159 UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT(0),
2165 * <code>LITER_PER_100KM = 1;</code>
2170 * Kilometers per liter
2173 * <code>KM_PER_LITER = 2;</code>
2178 * Miles Per imperial gallon
2181 * <code>MPG_UK = 3;</code>
2186 * Miles Per US gallon
2189 * <code>MPG_US = 4;</code>
2196 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2197 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2202 CombustionConsumptionUnit.class.getName());
2205 * <code>UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT = 0;</code>
2207 public static final int UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT_VALUE = 0;
2213 * <code>LITER_PER_100KM = 1;</code>
2215 public static final int LITER_PER_100KM_VALUE = 1;
2218 * Kilometers per liter
2221 * <code>KM_PER_LITER = 2;</code>
2223 public static final int KM_PER_LITER_VALUE = 2;
2226 * Miles Per imperial gallon
2229 * <code>MPG_UK = 3;</code>
2231 public static final int MPG_UK_VALUE = 3;
2234 * Miles Per US gallon
2237 * <code>MPG_US = 4;</code>
2239 public static final int MPG_US_VALUE = 4;
2242 public final int getNumber() {
2243 if (this == UNRECOGNIZED) {
2244 throw new java.lang.IllegalArgumentException(
2245 "Can't get the number of an unknown enum value.");
2251 * @param value The numeric wire value of the corresponding enum entry.
2252 * @return The enum associated with the given numeric wire value.
2253 * @deprecated Use {@link #forNumber(int)} instead.
2255 @java.lang.Deprecated
2256 public static CombustionConsumptionUnit valueOf(int value) {
2257 return forNumber(value);
2261 * @param value The numeric wire value of the corresponding enum entry.
2262 * @return The enum associated with the given numeric wire value.
2264 public static CombustionConsumptionUnit forNumber(int value) {
2266 case 0: return UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT;
2267 case 1: return LITER_PER_100KM;
2268 case 2: return KM_PER_LITER;
2269 case 3: return MPG_UK;
2270 case 4: return MPG_US;
2271 default: return null;
2275 public static com.google.protobuf.Internal.EnumLiteMap<CombustionConsumptionUnit>
2276 internalGetValueMap() {
2277 return internalValueMap;
2279 private static final com.google.protobuf.Internal.EnumLiteMap<
2280 CombustionConsumptionUnit> internalValueMap =
2281 new com.google.protobuf.Internal.EnumLiteMap<CombustionConsumptionUnit>() {
2282 public CombustionConsumptionUnit findValueByNumber(int number) {
2283 return CombustionConsumptionUnit.forNumber(number);
2287 public final com.google.protobuf.Descriptors.EnumValueDescriptor
2288 getValueDescriptor() {
2289 if (this == UNRECOGNIZED) {
2290 throw new java.lang.IllegalStateException(
2291 "Can't get the descriptor of an unrecognized enum value.");
2293 return getDescriptor().getValues().get(ordinal());
2295 public final com.google.protobuf.Descriptors.EnumDescriptor
2296 getDescriptorForType() {
2297 return getDescriptor();
2299 public static final com.google.protobuf.Descriptors.EnumDescriptor
2301 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(0);
2304 private static final CombustionConsumptionUnit[] VALUES = values();
2306 public static CombustionConsumptionUnit valueOf(
2307 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
2308 if (desc.getType() != getDescriptor()) {
2309 throw new java.lang.IllegalArgumentException(
2310 "EnumValueDescriptor is not for this type.");
2312 if (desc.getIndex() == -1) {
2313 return UNRECOGNIZED;
2315 return VALUES[desc.getIndex()];
2318 private final int value;
2320 private CombustionConsumptionUnit(int value) {
2324 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.CombustionConsumptionUnit)
2328 * Protobuf enum {@code proto.VehicleAttributeStatus.ElectricityConsumptionUnit}
2330 public enum ElectricityConsumptionUnit
2331 implements com.google.protobuf.ProtocolMessageEnum {
2333 * <code>UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT = 0;</code>
2335 UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT(0),
2341 * <code>KWH_PER_100KM = 1;</code>
2346 * Kilometers per kWh
2349 * <code>KM_PER_KWH = 2;</code>
2357 * <code>KWH_PER_100MI = 3;</code>
2365 * <code>M_PER_KWH = 4;</code>
2370 * Miles per gallon gasoline equivalent
2373 * <code>MPGE = 5;</code>
2380 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2381 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2386 ElectricityConsumptionUnit.class.getName());
2389 * <code>UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT = 0;</code>
2391 public static final int UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT_VALUE = 0;
2397 * <code>KWH_PER_100KM = 1;</code>
2399 public static final int KWH_PER_100KM_VALUE = 1;
2402 * Kilometers per kWh
2405 * <code>KM_PER_KWH = 2;</code>
2407 public static final int KM_PER_KWH_VALUE = 2;
2413 * <code>KWH_PER_100MI = 3;</code>
2415 public static final int KWH_PER_100MI_VALUE = 3;
2421 * <code>M_PER_KWH = 4;</code>
2423 public static final int M_PER_KWH_VALUE = 4;
2426 * Miles per gallon gasoline equivalent
2429 * <code>MPGE = 5;</code>
2431 public static final int MPGE_VALUE = 5;
2434 public final int getNumber() {
2435 if (this == UNRECOGNIZED) {
2436 throw new java.lang.IllegalArgumentException(
2437 "Can't get the number of an unknown enum value.");
2443 * @param value The numeric wire value of the corresponding enum entry.
2444 * @return The enum associated with the given numeric wire value.
2445 * @deprecated Use {@link #forNumber(int)} instead.
2447 @java.lang.Deprecated
2448 public static ElectricityConsumptionUnit valueOf(int value) {
2449 return forNumber(value);
2453 * @param value The numeric wire value of the corresponding enum entry.
2454 * @return The enum associated with the given numeric wire value.
2456 public static ElectricityConsumptionUnit forNumber(int value) {
2458 case 0: return UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT;
2459 case 1: return KWH_PER_100KM;
2460 case 2: return KM_PER_KWH;
2461 case 3: return KWH_PER_100MI;
2462 case 4: return M_PER_KWH;
2463 case 5: return MPGE;
2464 default: return null;
2468 public static com.google.protobuf.Internal.EnumLiteMap<ElectricityConsumptionUnit>
2469 internalGetValueMap() {
2470 return internalValueMap;
2472 private static final com.google.protobuf.Internal.EnumLiteMap<
2473 ElectricityConsumptionUnit> internalValueMap =
2474 new com.google.protobuf.Internal.EnumLiteMap<ElectricityConsumptionUnit>() {
2475 public ElectricityConsumptionUnit findValueByNumber(int number) {
2476 return ElectricityConsumptionUnit.forNumber(number);
2480 public final com.google.protobuf.Descriptors.EnumValueDescriptor
2481 getValueDescriptor() {
2482 if (this == UNRECOGNIZED) {
2483 throw new java.lang.IllegalStateException(
2484 "Can't get the descriptor of an unrecognized enum value.");
2486 return getDescriptor().getValues().get(ordinal());
2488 public final com.google.protobuf.Descriptors.EnumDescriptor
2489 getDescriptorForType() {
2490 return getDescriptor();
2492 public static final com.google.protobuf.Descriptors.EnumDescriptor
2494 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(1);
2497 private static final ElectricityConsumptionUnit[] VALUES = values();
2499 public static ElectricityConsumptionUnit valueOf(
2500 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
2501 if (desc.getType() != getDescriptor()) {
2502 throw new java.lang.IllegalArgumentException(
2503 "EnumValueDescriptor is not for this type.");
2505 if (desc.getIndex() == -1) {
2506 return UNRECOGNIZED;
2508 return VALUES[desc.getIndex()];
2511 private final int value;
2513 private ElectricityConsumptionUnit(int value) {
2517 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.ElectricityConsumptionUnit)
2521 * Protobuf enum {@code proto.VehicleAttributeStatus.GasConsumptionUnit}
2523 public enum GasConsumptionUnit
2524 implements com.google.protobuf.ProtocolMessageEnum {
2526 * <code>UNSPECIFIED_GAS_CONSUMPTION_UNIT = 0;</code>
2528 UNSPECIFIED_GAS_CONSUMPTION_UNIT(0),
2534 * <code>KG_PER_100KM = 1;</code>
2542 * <code>KM_PER_KG = 2;</code>
2550 * <code>M_PER_KG = 3;</code>
2557 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2558 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2563 GasConsumptionUnit.class.getName());
2566 * <code>UNSPECIFIED_GAS_CONSUMPTION_UNIT = 0;</code>
2568 public static final int UNSPECIFIED_GAS_CONSUMPTION_UNIT_VALUE = 0;
2574 * <code>KG_PER_100KM = 1;</code>
2576 public static final int KG_PER_100KM_VALUE = 1;
2582 * <code>KM_PER_KG = 2;</code>
2584 public static final int KM_PER_KG_VALUE = 2;
2590 * <code>M_PER_KG = 3;</code>
2592 public static final int M_PER_KG_VALUE = 3;
2595 public final int getNumber() {
2596 if (this == UNRECOGNIZED) {
2597 throw new java.lang.IllegalArgumentException(
2598 "Can't get the number of an unknown enum value.");
2604 * @param value The numeric wire value of the corresponding enum entry.
2605 * @return The enum associated with the given numeric wire value.
2606 * @deprecated Use {@link #forNumber(int)} instead.
2608 @java.lang.Deprecated
2609 public static GasConsumptionUnit valueOf(int value) {
2610 return forNumber(value);
2614 * @param value The numeric wire value of the corresponding enum entry.
2615 * @return The enum associated with the given numeric wire value.
2617 public static GasConsumptionUnit forNumber(int value) {
2619 case 0: return UNSPECIFIED_GAS_CONSUMPTION_UNIT;
2620 case 1: return KG_PER_100KM;
2621 case 2: return KM_PER_KG;
2622 case 3: return M_PER_KG;
2623 default: return null;
2627 public static com.google.protobuf.Internal.EnumLiteMap<GasConsumptionUnit>
2628 internalGetValueMap() {
2629 return internalValueMap;
2631 private static final com.google.protobuf.Internal.EnumLiteMap<
2632 GasConsumptionUnit> internalValueMap =
2633 new com.google.protobuf.Internal.EnumLiteMap<GasConsumptionUnit>() {
2634 public GasConsumptionUnit findValueByNumber(int number) {
2635 return GasConsumptionUnit.forNumber(number);
2639 public final com.google.protobuf.Descriptors.EnumValueDescriptor
2640 getValueDescriptor() {
2641 if (this == UNRECOGNIZED) {
2642 throw new java.lang.IllegalStateException(
2643 "Can't get the descriptor of an unrecognized enum value.");
2645 return getDescriptor().getValues().get(ordinal());
2647 public final com.google.protobuf.Descriptors.EnumDescriptor
2648 getDescriptorForType() {
2649 return getDescriptor();
2651 public static final com.google.protobuf.Descriptors.EnumDescriptor
2653 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(2);
2656 private static final GasConsumptionUnit[] VALUES = values();
2658 public static GasConsumptionUnit valueOf(
2659 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
2660 if (desc.getType() != getDescriptor()) {
2661 throw new java.lang.IllegalArgumentException(
2662 "EnumValueDescriptor is not for this type.");
2664 if (desc.getIndex() == -1) {
2665 return UNRECOGNIZED;
2667 return VALUES[desc.getIndex()];
2670 private final int value;
2672 private GasConsumptionUnit(int value) {
2676 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.GasConsumptionUnit)
2680 * Protobuf enum {@code proto.VehicleAttributeStatus.SpeedDistanceUnit}
2682 @java.lang.Deprecated public enum SpeedDistanceUnit
2683 implements com.google.protobuf.ProtocolMessageEnum {
2685 * <code>UNSPECIFIED_SPEED_DISTANCE_UNIT = 0;</code>
2687 UNSPECIFIED_SPEED_DISTANCE_UNIT(0),
2690 * km/h, distance unit: km
2693 * <code>KM_PER_H = 1;</code>
2698 * mph, distance unit: miles
2701 * <code>M_PER_H = 2;</code>
2708 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2709 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2714 SpeedDistanceUnit.class.getName());
2717 * <code>UNSPECIFIED_SPEED_DISTANCE_UNIT = 0;</code>
2719 public static final int UNSPECIFIED_SPEED_DISTANCE_UNIT_VALUE = 0;
2722 * km/h, distance unit: km
2725 * <code>KM_PER_H = 1;</code>
2727 public static final int KM_PER_H_VALUE = 1;
2730 * mph, distance unit: miles
2733 * <code>M_PER_H = 2;</code>
2735 public static final int M_PER_H_VALUE = 2;
2738 public final int getNumber() {
2739 if (this == UNRECOGNIZED) {
2740 throw new java.lang.IllegalArgumentException(
2741 "Can't get the number of an unknown enum value.");
2747 * @param value The numeric wire value of the corresponding enum entry.
2748 * @return The enum associated with the given numeric wire value.
2749 * @deprecated Use {@link #forNumber(int)} instead.
2751 @java.lang.Deprecated
2752 public static SpeedDistanceUnit valueOf(int value) {
2753 return forNumber(value);
2757 * @param value The numeric wire value of the corresponding enum entry.
2758 * @return The enum associated with the given numeric wire value.
2760 public static SpeedDistanceUnit forNumber(int value) {
2762 case 0: return UNSPECIFIED_SPEED_DISTANCE_UNIT;
2763 case 1: return KM_PER_H;
2764 case 2: return M_PER_H;
2765 default: return null;
2769 public static com.google.protobuf.Internal.EnumLiteMap<SpeedDistanceUnit>
2770 internalGetValueMap() {
2771 return internalValueMap;
2773 private static final com.google.protobuf.Internal.EnumLiteMap<
2774 SpeedDistanceUnit> internalValueMap =
2775 new com.google.protobuf.Internal.EnumLiteMap<SpeedDistanceUnit>() {
2776 public SpeedDistanceUnit findValueByNumber(int number) {
2777 return SpeedDistanceUnit.forNumber(number);
2781 public final com.google.protobuf.Descriptors.EnumValueDescriptor
2782 getValueDescriptor() {
2783 if (this == UNRECOGNIZED) {
2784 throw new java.lang.IllegalStateException(
2785 "Can't get the descriptor of an unrecognized enum value.");
2787 return getDescriptor().getValues().get(ordinal());
2789 public final com.google.protobuf.Descriptors.EnumDescriptor
2790 getDescriptorForType() {
2791 return getDescriptor();
2793 public static final com.google.protobuf.Descriptors.EnumDescriptor
2795 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(3);
2798 private static final SpeedDistanceUnit[] VALUES = values();
2800 public static SpeedDistanceUnit valueOf(
2801 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
2802 if (desc.getType() != getDescriptor()) {
2803 throw new java.lang.IllegalArgumentException(
2804 "EnumValueDescriptor is not for this type.");
2806 if (desc.getIndex() == -1) {
2807 return UNRECOGNIZED;
2809 return VALUES[desc.getIndex()];
2812 private final int value;
2814 private SpeedDistanceUnit(int value) {
2818 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.SpeedDistanceUnit)
2822 * Protobuf enum {@code proto.VehicleAttributeStatus.SpeedUnit}
2824 public enum SpeedUnit
2825 implements com.google.protobuf.ProtocolMessageEnum {
2827 * <code>UNSPECIFIED_SPEED_UNIT = 0;</code>
2829 UNSPECIFIED_SPEED_UNIT(0),
2832 * kilometers per hour
2835 * <code>KM_PER_HOUR = 1;</code>
2843 * <code>M_PER_HOUR = 2;</code>
2850 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2851 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2856 SpeedUnit.class.getName());
2859 * <code>UNSPECIFIED_SPEED_UNIT = 0;</code>
2861 public static final int UNSPECIFIED_SPEED_UNIT_VALUE = 0;
2864 * kilometers per hour
2867 * <code>KM_PER_HOUR = 1;</code>
2869 public static final int KM_PER_HOUR_VALUE = 1;
2875 * <code>M_PER_HOUR = 2;</code>
2877 public static final int M_PER_HOUR_VALUE = 2;
2880 public final int getNumber() {
2881 if (this == UNRECOGNIZED) {
2882 throw new java.lang.IllegalArgumentException(
2883 "Can't get the number of an unknown enum value.");
2889 * @param value The numeric wire value of the corresponding enum entry.
2890 * @return The enum associated with the given numeric wire value.
2891 * @deprecated Use {@link #forNumber(int)} instead.
2893 @java.lang.Deprecated
2894 public static SpeedUnit valueOf(int value) {
2895 return forNumber(value);
2899 * @param value The numeric wire value of the corresponding enum entry.
2900 * @return The enum associated with the given numeric wire value.
2902 public static SpeedUnit forNumber(int value) {
2904 case 0: return UNSPECIFIED_SPEED_UNIT;
2905 case 1: return KM_PER_HOUR;
2906 case 2: return M_PER_HOUR;
2907 default: return null;
2911 public static com.google.protobuf.Internal.EnumLiteMap<SpeedUnit>
2912 internalGetValueMap() {
2913 return internalValueMap;
2915 private static final com.google.protobuf.Internal.EnumLiteMap<
2916 SpeedUnit> internalValueMap =
2917 new com.google.protobuf.Internal.EnumLiteMap<SpeedUnit>() {
2918 public SpeedUnit findValueByNumber(int number) {
2919 return SpeedUnit.forNumber(number);
2923 public final com.google.protobuf.Descriptors.EnumValueDescriptor
2924 getValueDescriptor() {
2925 if (this == UNRECOGNIZED) {
2926 throw new java.lang.IllegalStateException(
2927 "Can't get the descriptor of an unrecognized enum value.");
2929 return getDescriptor().getValues().get(ordinal());
2931 public final com.google.protobuf.Descriptors.EnumDescriptor
2932 getDescriptorForType() {
2933 return getDescriptor();
2935 public static final com.google.protobuf.Descriptors.EnumDescriptor
2937 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(4);
2940 private static final SpeedUnit[] VALUES = values();
2942 public static SpeedUnit valueOf(
2943 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
2944 if (desc.getType() != getDescriptor()) {
2945 throw new java.lang.IllegalArgumentException(
2946 "EnumValueDescriptor is not for this type.");
2948 if (desc.getIndex() == -1) {
2949 return UNRECOGNIZED;
2951 return VALUES[desc.getIndex()];
2954 private final int value;
2956 private SpeedUnit(int value) {
2960 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.SpeedUnit)
2964 * Protobuf enum {@code proto.VehicleAttributeStatus.DistanceUnit}
2966 public enum DistanceUnit
2967 implements com.google.protobuf.ProtocolMessageEnum {
2969 * <code>UNSPECIFIED_DISTANCE_UNIT = 0;</code>
2971 UNSPECIFIED_DISTANCE_UNIT(0),
2973 * <code>KILOMETERS = 1;</code>
2977 * <code>MILES = 2;</code>
2984 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2985 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2990 DistanceUnit.class.getName());
2993 * <code>UNSPECIFIED_DISTANCE_UNIT = 0;</code>
2995 public static final int UNSPECIFIED_DISTANCE_UNIT_VALUE = 0;
2997 * <code>KILOMETERS = 1;</code>
2999 public static final int KILOMETERS_VALUE = 1;
3001 * <code>MILES = 2;</code>
3003 public static final int MILES_VALUE = 2;
3006 public final int getNumber() {
3007 if (this == UNRECOGNIZED) {
3008 throw new java.lang.IllegalArgumentException(
3009 "Can't get the number of an unknown enum value.");
3015 * @param value The numeric wire value of the corresponding enum entry.
3016 * @return The enum associated with the given numeric wire value.
3017 * @deprecated Use {@link #forNumber(int)} instead.
3019 @java.lang.Deprecated
3020 public static DistanceUnit valueOf(int value) {
3021 return forNumber(value);
3025 * @param value The numeric wire value of the corresponding enum entry.
3026 * @return The enum associated with the given numeric wire value.
3028 public static DistanceUnit forNumber(int value) {
3030 case 0: return UNSPECIFIED_DISTANCE_UNIT;
3031 case 1: return KILOMETERS;
3032 case 2: return MILES;
3033 default: return null;
3037 public static com.google.protobuf.Internal.EnumLiteMap<DistanceUnit>
3038 internalGetValueMap() {
3039 return internalValueMap;
3041 private static final com.google.protobuf.Internal.EnumLiteMap<
3042 DistanceUnit> internalValueMap =
3043 new com.google.protobuf.Internal.EnumLiteMap<DistanceUnit>() {
3044 public DistanceUnit findValueByNumber(int number) {
3045 return DistanceUnit.forNumber(number);
3049 public final com.google.protobuf.Descriptors.EnumValueDescriptor
3050 getValueDescriptor() {
3051 if (this == UNRECOGNIZED) {
3052 throw new java.lang.IllegalStateException(
3053 "Can't get the descriptor of an unrecognized enum value.");
3055 return getDescriptor().getValues().get(ordinal());
3057 public final com.google.protobuf.Descriptors.EnumDescriptor
3058 getDescriptorForType() {
3059 return getDescriptor();
3061 public static final com.google.protobuf.Descriptors.EnumDescriptor
3063 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(5);
3066 private static final DistanceUnit[] VALUES = values();
3068 public static DistanceUnit valueOf(
3069 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
3070 if (desc.getType() != getDescriptor()) {
3071 throw new java.lang.IllegalArgumentException(
3072 "EnumValueDescriptor is not for this type.");
3074 if (desc.getIndex() == -1) {
3075 return UNRECOGNIZED;
3077 return VALUES[desc.getIndex()];
3080 private final int value;
3082 private DistanceUnit(int value) {
3086 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.DistanceUnit)
3090 * Protobuf enum {@code proto.VehicleAttributeStatus.TemperatureUnit}
3092 public enum TemperatureUnit
3093 implements com.google.protobuf.ProtocolMessageEnum {
3095 * <code>UNSPECIFIED_TEMPERATURE_UNIT = 0;</code>
3097 UNSPECIFIED_TEMPERATURE_UNIT(0),
3099 * <code>CELSIUS = 1;</code>
3103 * <code>FAHRENHEIT = 2;</code>
3110 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
3111 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
3116 TemperatureUnit.class.getName());
3119 * <code>UNSPECIFIED_TEMPERATURE_UNIT = 0;</code>
3121 public static final int UNSPECIFIED_TEMPERATURE_UNIT_VALUE = 0;
3123 * <code>CELSIUS = 1;</code>
3125 public static final int CELSIUS_VALUE = 1;
3127 * <code>FAHRENHEIT = 2;</code>
3129 public static final int FAHRENHEIT_VALUE = 2;
3132 public final int getNumber() {
3133 if (this == UNRECOGNIZED) {
3134 throw new java.lang.IllegalArgumentException(
3135 "Can't get the number of an unknown enum value.");
3141 * @param value The numeric wire value of the corresponding enum entry.
3142 * @return The enum associated with the given numeric wire value.
3143 * @deprecated Use {@link #forNumber(int)} instead.
3145 @java.lang.Deprecated
3146 public static TemperatureUnit valueOf(int value) {
3147 return forNumber(value);
3151 * @param value The numeric wire value of the corresponding enum entry.
3152 * @return The enum associated with the given numeric wire value.
3154 public static TemperatureUnit forNumber(int value) {
3156 case 0: return UNSPECIFIED_TEMPERATURE_UNIT;
3157 case 1: return CELSIUS;
3158 case 2: return FAHRENHEIT;
3159 default: return null;
3163 public static com.google.protobuf.Internal.EnumLiteMap<TemperatureUnit>
3164 internalGetValueMap() {
3165 return internalValueMap;
3167 private static final com.google.protobuf.Internal.EnumLiteMap<
3168 TemperatureUnit> internalValueMap =
3169 new com.google.protobuf.Internal.EnumLiteMap<TemperatureUnit>() {
3170 public TemperatureUnit findValueByNumber(int number) {
3171 return TemperatureUnit.forNumber(number);
3175 public final com.google.protobuf.Descriptors.EnumValueDescriptor
3176 getValueDescriptor() {
3177 if (this == UNRECOGNIZED) {
3178 throw new java.lang.IllegalStateException(
3179 "Can't get the descriptor of an unrecognized enum value.");
3181 return getDescriptor().getValues().get(ordinal());
3183 public final com.google.protobuf.Descriptors.EnumDescriptor
3184 getDescriptorForType() {
3185 return getDescriptor();
3187 public static final com.google.protobuf.Descriptors.EnumDescriptor
3189 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(6);
3192 private static final TemperatureUnit[] VALUES = values();
3194 public static TemperatureUnit valueOf(
3195 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
3196 if (desc.getType() != getDescriptor()) {
3197 throw new java.lang.IllegalArgumentException(
3198 "EnumValueDescriptor is not for this type.");
3200 if (desc.getIndex() == -1) {
3201 return UNRECOGNIZED;
3203 return VALUES[desc.getIndex()];
3206 private final int value;
3208 private TemperatureUnit(int value) {
3212 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.TemperatureUnit)
3216 * Protobuf enum {@code proto.VehicleAttributeStatus.PressureUnit}
3218 public enum PressureUnit
3219 implements com.google.protobuf.ProtocolMessageEnum {
3221 * <code>UNSPECIFIED_PRESSURE_UNIT = 0;</code>
3223 UNSPECIFIED_PRESSURE_UNIT(0),
3225 * <code>KPA = 1;</code>
3229 * <code>BAR = 2;</code>
3234 * Pounds per square inch
3237 * <code>PSI = 3;</code>
3244 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
3245 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
3250 PressureUnit.class.getName());
3253 * <code>UNSPECIFIED_PRESSURE_UNIT = 0;</code>
3255 public static final int UNSPECIFIED_PRESSURE_UNIT_VALUE = 0;
3257 * <code>KPA = 1;</code>
3259 public static final int KPA_VALUE = 1;
3261 * <code>BAR = 2;</code>
3263 public static final int BAR_VALUE = 2;
3266 * Pounds per square inch
3269 * <code>PSI = 3;</code>
3271 public static final int PSI_VALUE = 3;
3274 public final int getNumber() {
3275 if (this == UNRECOGNIZED) {
3276 throw new java.lang.IllegalArgumentException(
3277 "Can't get the number of an unknown enum value.");
3283 * @param value The numeric wire value of the corresponding enum entry.
3284 * @return The enum associated with the given numeric wire value.
3285 * @deprecated Use {@link #forNumber(int)} instead.
3287 @java.lang.Deprecated
3288 public static PressureUnit valueOf(int value) {
3289 return forNumber(value);
3293 * @param value The numeric wire value of the corresponding enum entry.
3294 * @return The enum associated with the given numeric wire value.
3296 public static PressureUnit forNumber(int value) {
3298 case 0: return UNSPECIFIED_PRESSURE_UNIT;
3302 default: return null;
3306 public static com.google.protobuf.Internal.EnumLiteMap<PressureUnit>
3307 internalGetValueMap() {
3308 return internalValueMap;
3310 private static final com.google.protobuf.Internal.EnumLiteMap<
3311 PressureUnit> internalValueMap =
3312 new com.google.protobuf.Internal.EnumLiteMap<PressureUnit>() {
3313 public PressureUnit findValueByNumber(int number) {
3314 return PressureUnit.forNumber(number);
3318 public final com.google.protobuf.Descriptors.EnumValueDescriptor
3319 getValueDescriptor() {
3320 if (this == UNRECOGNIZED) {
3321 throw new java.lang.IllegalStateException(
3322 "Can't get the descriptor of an unrecognized enum value.");
3324 return getDescriptor().getValues().get(ordinal());
3326 public final com.google.protobuf.Descriptors.EnumDescriptor
3327 getDescriptorForType() {
3328 return getDescriptor();
3330 public static final com.google.protobuf.Descriptors.EnumDescriptor
3332 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(7);
3335 private static final PressureUnit[] VALUES = values();
3337 public static PressureUnit valueOf(
3338 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
3339 if (desc.getType() != getDescriptor()) {
3340 throw new java.lang.IllegalArgumentException(
3341 "EnumValueDescriptor is not for this type.");
3343 if (desc.getIndex() == -1) {
3344 return UNRECOGNIZED;
3346 return VALUES[desc.getIndex()];
3349 private final int value;
3351 private PressureUnit(int value) {
3355 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.PressureUnit)
3359 * Protobuf enum {@code proto.VehicleAttributeStatus.RatioUnit}
3361 public enum RatioUnit
3362 implements com.google.protobuf.ProtocolMessageEnum {
3364 * <code>UNSPECIFIED_RATIO_UNIT = 0;</code>
3366 UNSPECIFIED_RATIO_UNIT(0),
3368 * <code>PERCENT = 1;</code>
3375 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
3376 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
3381 RatioUnit.class.getName());
3384 * <code>UNSPECIFIED_RATIO_UNIT = 0;</code>
3386 public static final int UNSPECIFIED_RATIO_UNIT_VALUE = 0;
3388 * <code>PERCENT = 1;</code>
3390 public static final int PERCENT_VALUE = 1;
3393 public final int getNumber() {
3394 if (this == UNRECOGNIZED) {
3395 throw new java.lang.IllegalArgumentException(
3396 "Can't get the number of an unknown enum value.");
3402 * @param value The numeric wire value of the corresponding enum entry.
3403 * @return The enum associated with the given numeric wire value.
3404 * @deprecated Use {@link #forNumber(int)} instead.
3406 @java.lang.Deprecated
3407 public static RatioUnit valueOf(int value) {
3408 return forNumber(value);
3412 * @param value The numeric wire value of the corresponding enum entry.
3413 * @return The enum associated with the given numeric wire value.
3415 public static RatioUnit forNumber(int value) {
3417 case 0: return UNSPECIFIED_RATIO_UNIT;
3418 case 1: return PERCENT;
3419 default: return null;
3423 public static com.google.protobuf.Internal.EnumLiteMap<RatioUnit>
3424 internalGetValueMap() {
3425 return internalValueMap;
3427 private static final com.google.protobuf.Internal.EnumLiteMap<
3428 RatioUnit> internalValueMap =
3429 new com.google.protobuf.Internal.EnumLiteMap<RatioUnit>() {
3430 public RatioUnit findValueByNumber(int number) {
3431 return RatioUnit.forNumber(number);
3435 public final com.google.protobuf.Descriptors.EnumValueDescriptor
3436 getValueDescriptor() {
3437 if (this == UNRECOGNIZED) {
3438 throw new java.lang.IllegalStateException(
3439 "Can't get the descriptor of an unrecognized enum value.");
3441 return getDescriptor().getValues().get(ordinal());
3443 public final com.google.protobuf.Descriptors.EnumDescriptor
3444 getDescriptorForType() {
3445 return getDescriptor();
3447 public static final com.google.protobuf.Descriptors.EnumDescriptor
3449 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(8);
3452 private static final RatioUnit[] VALUES = values();
3454 public static RatioUnit valueOf(
3455 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
3456 if (desc.getType() != getDescriptor()) {
3457 throw new java.lang.IllegalArgumentException(
3458 "EnumValueDescriptor is not for this type.");
3460 if (desc.getIndex() == -1) {
3461 return UNRECOGNIZED;
3463 return VALUES[desc.getIndex()];
3466 private final int value;
3468 private RatioUnit(int value) {
3472 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.RatioUnit)
3476 * Protobuf enum {@code proto.VehicleAttributeStatus.ClockHourUnit}
3478 public enum ClockHourUnit
3479 implements com.google.protobuf.ProtocolMessageEnum {
3481 * <code>UNSPECIFIED_CLOCK_HOUR_UNIT = 0;</code>
3483 UNSPECIFIED_CLOCK_HOUR_UNIT(0),
3489 * <code>T12H = 1;</code>
3497 * <code>T24H = 2;</code>
3504 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
3505 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
3510 ClockHourUnit.class.getName());
3513 * <code>UNSPECIFIED_CLOCK_HOUR_UNIT = 0;</code>
3515 public static final int UNSPECIFIED_CLOCK_HOUR_UNIT_VALUE = 0;
3521 * <code>T12H = 1;</code>
3523 public static final int T12H_VALUE = 1;
3529 * <code>T24H = 2;</code>
3531 public static final int T24H_VALUE = 2;
3534 public final int getNumber() {
3535 if (this == UNRECOGNIZED) {
3536 throw new java.lang.IllegalArgumentException(
3537 "Can't get the number of an unknown enum value.");
3543 * @param value The numeric wire value of the corresponding enum entry.
3544 * @return The enum associated with the given numeric wire value.
3545 * @deprecated Use {@link #forNumber(int)} instead.
3547 @java.lang.Deprecated
3548 public static ClockHourUnit valueOf(int value) {
3549 return forNumber(value);
3553 * @param value The numeric wire value of the corresponding enum entry.
3554 * @return The enum associated with the given numeric wire value.
3556 public static ClockHourUnit forNumber(int value) {
3558 case 0: return UNSPECIFIED_CLOCK_HOUR_UNIT;
3559 case 1: return T12H;
3560 case 2: return T24H;
3561 default: return null;
3565 public static com.google.protobuf.Internal.EnumLiteMap<ClockHourUnit>
3566 internalGetValueMap() {
3567 return internalValueMap;
3569 private static final com.google.protobuf.Internal.EnumLiteMap<
3570 ClockHourUnit> internalValueMap =
3571 new com.google.protobuf.Internal.EnumLiteMap<ClockHourUnit>() {
3572 public ClockHourUnit findValueByNumber(int number) {
3573 return ClockHourUnit.forNumber(number);
3577 public final com.google.protobuf.Descriptors.EnumValueDescriptor
3578 getValueDescriptor() {
3579 if (this == UNRECOGNIZED) {
3580 throw new java.lang.IllegalStateException(
3581 "Can't get the descriptor of an unrecognized enum value.");
3583 return getDescriptor().getValues().get(ordinal());
3585 public final com.google.protobuf.Descriptors.EnumDescriptor
3586 getDescriptorForType() {
3587 return getDescriptor();
3589 public static final com.google.protobuf.Descriptors.EnumDescriptor
3591 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDescriptor().getEnumTypes().get(9);
3594 private static final ClockHourUnit[] VALUES = values();
3596 public static ClockHourUnit valueOf(
3597 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
3598 if (desc.getType() != getDescriptor()) {
3599 throw new java.lang.IllegalArgumentException(
3600 "EnumValueDescriptor is not for this type.");
3602 if (desc.getIndex() == -1) {
3603 return UNRECOGNIZED;
3605 return VALUES[desc.getIndex()];
3608 private final int value;
3610 private ClockHourUnit(int value) {
3614 // @@protoc_insertion_point(enum_scope:proto.VehicleAttributeStatus.ClockHourUnit)
3617 private int displayUnitCase_ = 0;
3618 @SuppressWarnings("serial")
3619 private java.lang.Object displayUnit_;
3620 public enum DisplayUnitCase
3621 implements com.google.protobuf.Internal.EnumLite,
3622 com.google.protobuf.AbstractMessage.InternalOneOfEnum {
3623 COMBUSTION_CONSUMPTION_UNIT(12),
3624 GAS_CONSUMPTION_UNIT(13),
3625 ELECTRICITY_CONSUMPTION_UNIT(14),
3626 @java.lang.Deprecated SPEED_DISTANCE_UNIT(15),
3629 TEMPERATURE_UNIT(16),
3632 CLOCK_HOUR_UNIT(19),
3633 DISPLAYUNIT_NOT_SET(0);
3634 private final int value;
3635 private DisplayUnitCase(int value) {
3639 * @param value The number of the enum to look for.
3640 * @return The enum associated with the given number.
3641 * @deprecated Use {@link #forNumber(int)} instead.
3643 @java.lang.Deprecated
3644 public static DisplayUnitCase valueOf(int value) {
3645 return forNumber(value);
3648 public static DisplayUnitCase forNumber(int value) {
3650 case 12: return COMBUSTION_CONSUMPTION_UNIT;
3651 case 13: return GAS_CONSUMPTION_UNIT;
3652 case 14: return ELECTRICITY_CONSUMPTION_UNIT;
3653 case 15: return SPEED_DISTANCE_UNIT;
3654 case 25: return SPEED_UNIT;
3655 case 26: return DISTANCE_UNIT;
3656 case 16: return TEMPERATURE_UNIT;
3657 case 17: return PRESSURE_UNIT;
3658 case 18: return RATIO_UNIT;
3659 case 19: return CLOCK_HOUR_UNIT;
3660 case 0: return DISPLAYUNIT_NOT_SET;
3661 default: return null;
3664 public int getNumber() {
3669 public DisplayUnitCase
3670 getDisplayUnitCase() {
3671 return DisplayUnitCase.forNumber(
3675 private int attributeTypeCase_ = 0;
3676 @SuppressWarnings("serial")
3677 private java.lang.Object attributeType_;
3678 public enum AttributeTypeCase
3679 implements com.google.protobuf.Internal.EnumLite,
3680 com.google.protobuf.AbstractMessage.InternalOneOfEnum {
3686 UNSUPPORTED_VALUE(9),
3687 TEMPERATURE_POINTS_VALUE(20),
3688 WEEKDAY_TARIFF_VALUE(21),
3689 WEEKEND_TARIFF_VALUE(22),
3690 STATE_OF_CHARGE_PROFILE_VALUE(23),
3691 WEEKLY_SETTINGS_HEAD_UNIT_VALUE(24),
3692 SPEED_ALERT_CONFIGURATION_VALUE(27),
3693 ECO_HISTOGRAM_VALUE(28),
3694 WEEKLY_PROFILE_VALUE(29),
3695 CHARGE_PROGRAMS_VALUE(31),
3696 ATTRIBUTETYPE_NOT_SET(0);
3697 private final int value;
3698 private AttributeTypeCase(int value) {
3702 * @param value The number of the enum to look for.
3703 * @return The enum associated with the given number.
3704 * @deprecated Use {@link #forNumber(int)} instead.
3706 @java.lang.Deprecated
3707 public static AttributeTypeCase valueOf(int value) {
3708 return forNumber(value);
3711 public static AttributeTypeCase forNumber(int value) {
3713 case 4: return INT_VALUE;
3714 case 5: return BOOL_VALUE;
3715 case 6: return STRING_VALUE;
3716 case 7: return DOUBLE_VALUE;
3717 case 8: return NIL_VALUE;
3718 case 9: return UNSUPPORTED_VALUE;
3719 case 20: return TEMPERATURE_POINTS_VALUE;
3720 case 21: return WEEKDAY_TARIFF_VALUE;
3721 case 22: return WEEKEND_TARIFF_VALUE;
3722 case 23: return STATE_OF_CHARGE_PROFILE_VALUE;
3723 case 24: return WEEKLY_SETTINGS_HEAD_UNIT_VALUE;
3724 case 27: return SPEED_ALERT_CONFIGURATION_VALUE;
3725 case 28: return ECO_HISTOGRAM_VALUE;
3726 case 29: return WEEKLY_PROFILE_VALUE;
3727 case 31: return CHARGE_PROGRAMS_VALUE;
3728 case 0: return ATTRIBUTETYPE_NOT_SET;
3729 default: return null;
3732 public int getNumber() {
3737 public AttributeTypeCase
3738 getAttributeTypeCase() {
3739 return AttributeTypeCase.forNumber(
3740 attributeTypeCase_);
3743 public static final int TIMESTAMP_FIELD_NUMBER = 1;
3744 private long timestamp_ = 0L;
3747 * time of the attribute change in the car as unix timestamp in seconds with UTC timezone (deprecated)
3750 * <code>int64 timestamp = 1 [deprecated = true];</code>
3751 * @deprecated proto.VehicleAttributeStatus.timestamp is deprecated.
3752 * See vehicle-events.proto;l=38
3753 * @return The timestamp.
3756 @java.lang.Deprecated public long getTimestamp() {
3760 public static final int TIMESTAMP_IN_MS_FIELD_NUMBER = 10;
3761 private long timestampInMs_ = 0L;
3764 * time of the attribute change in the car as unix timestamp in milliseconds with UTC timezone
3767 * <code>int64 timestamp_in_ms = 10;</code>
3768 * @return The timestampInMs.
3771 public long getTimestampInMs() {
3772 return timestampInMs_;
3775 public static final int CHANGED_FIELD_NUMBER = 2;
3776 private boolean changed_ = false;
3778 * <code>bool changed = 2;</code>
3779 * @return The changed.
3782 public boolean getChanged() {
3786 public static final int STATUS_FIELD_NUMBER = 3;
3787 private int status_ = 0;
3789 * <code>int32 status = 3;</code>
3790 * @return The status.
3793 public int getStatus() {
3797 public static final int SERVICE_IDS_FIELD_NUMBER = 30;
3798 @SuppressWarnings("serial")
3799 private com.google.protobuf.Internal.IntList serviceIds_ =
3803 * A list of service ids for which this attribute was sent
3804 * this field ist just used backend internally and will always
3805 * be empty when sent out to the client.
3808 * <code>repeated int32 service_ids = 30;</code>
3809 * @return A list containing the serviceIds.
3812 public java.util.List<java.lang.Integer>
3813 getServiceIdsList() {
3818 * A list of service ids for which this attribute was sent
3819 * this field ist just used backend internally and will always
3820 * be empty when sent out to the client.
3823 * <code>repeated int32 service_ids = 30;</code>
3824 * @return The count of serviceIds.
3826 public int getServiceIdsCount() {
3827 return serviceIds_.size();
3831 * A list of service ids for which this attribute was sent
3832 * this field ist just used backend internally and will always
3833 * be empty when sent out to the client.
3836 * <code>repeated int32 service_ids = 30;</code>
3837 * @param index The index of the element to return.
3838 * @return The serviceIds at the given index.
3840 public int getServiceIds(int index) {
3841 return serviceIds_.getInt(index);
3843 private int serviceIdsMemoizedSerializedSize = -1;
3845 public static final int DISPLAY_VALUE_FIELD_NUMBER = 11;
3846 @SuppressWarnings("serial")
3847 private volatile java.lang.Object displayValue_ = "";
3849 * <code>string display_value = 11;</code>
3850 * @return The displayValue.
3853 public java.lang.String getDisplayValue() {
3854 java.lang.Object ref = displayValue_;
3855 if (ref instanceof java.lang.String) {
3856 return (java.lang.String) ref;
3858 com.google.protobuf.ByteString bs =
3859 (com.google.protobuf.ByteString) ref;
3860 java.lang.String s = bs.toStringUtf8();
3866 * <code>string display_value = 11;</code>
3867 * @return The bytes for displayValue.
3870 public com.google.protobuf.ByteString
3871 getDisplayValueBytes() {
3872 java.lang.Object ref = displayValue_;
3873 if (ref instanceof java.lang.String) {
3874 com.google.protobuf.ByteString b =
3875 com.google.protobuf.ByteString.copyFromUtf8(
3876 (java.lang.String) ref);
3880 return (com.google.protobuf.ByteString) ref;
3884 public static final int COMBUSTION_CONSUMPTION_UNIT_FIELD_NUMBER = 12;
3886 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
3887 * @return Whether the combustionConsumptionUnit field is set.
3889 public boolean hasCombustionConsumptionUnit() {
3890 return displayUnitCase_ == 12;
3893 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
3894 * @return The enum numeric value on the wire for combustionConsumptionUnit.
3896 public int getCombustionConsumptionUnitValue() {
3897 if (displayUnitCase_ == 12) {
3898 return (java.lang.Integer) displayUnit_;
3903 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
3904 * @return The combustionConsumptionUnit.
3906 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit getCombustionConsumptionUnit() {
3907 if (displayUnitCase_ == 12) {
3908 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit.forNumber(
3909 (java.lang.Integer) displayUnit_);
3910 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit.UNRECOGNIZED : result;
3912 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit.UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT;
3915 public static final int GAS_CONSUMPTION_UNIT_FIELD_NUMBER = 13;
3917 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
3918 * @return Whether the gasConsumptionUnit field is set.
3920 public boolean hasGasConsumptionUnit() {
3921 return displayUnitCase_ == 13;
3924 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
3925 * @return The enum numeric value on the wire for gasConsumptionUnit.
3927 public int getGasConsumptionUnitValue() {
3928 if (displayUnitCase_ == 13) {
3929 return (java.lang.Integer) displayUnit_;
3934 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
3935 * @return The gasConsumptionUnit.
3937 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit getGasConsumptionUnit() {
3938 if (displayUnitCase_ == 13) {
3939 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit.forNumber(
3940 (java.lang.Integer) displayUnit_);
3941 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit.UNRECOGNIZED : result;
3943 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit.UNSPECIFIED_GAS_CONSUMPTION_UNIT;
3946 public static final int ELECTRICITY_CONSUMPTION_UNIT_FIELD_NUMBER = 14;
3948 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
3949 * @return Whether the electricityConsumptionUnit field is set.
3951 public boolean hasElectricityConsumptionUnit() {
3952 return displayUnitCase_ == 14;
3955 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
3956 * @return The enum numeric value on the wire for electricityConsumptionUnit.
3958 public int getElectricityConsumptionUnitValue() {
3959 if (displayUnitCase_ == 14) {
3960 return (java.lang.Integer) displayUnit_;
3965 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
3966 * @return The electricityConsumptionUnit.
3968 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit getElectricityConsumptionUnit() {
3969 if (displayUnitCase_ == 14) {
3970 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit.forNumber(
3971 (java.lang.Integer) displayUnit_);
3972 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit.UNRECOGNIZED : result;
3974 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit.UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT;
3977 public static final int SPEED_DISTANCE_UNIT_FIELD_NUMBER = 15;
3980 * use speed unit / length unit instead
3983 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
3984 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
3985 * See vehicle-events.proto;l=141
3986 * @return Whether the speedDistanceUnit field is set.
3988 @java.lang.Deprecated public boolean hasSpeedDistanceUnit() {
3989 return displayUnitCase_ == 15;
3993 * use speed unit / length unit instead
3996 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
3997 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
3998 * See vehicle-events.proto;l=141
3999 * @return The enum numeric value on the wire for speedDistanceUnit.
4001 @java.lang.Deprecated public int getSpeedDistanceUnitValue() {
4002 if (displayUnitCase_ == 15) {
4003 return (java.lang.Integer) displayUnit_;
4009 * use speed unit / length unit instead
4012 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
4013 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
4014 * See vehicle-events.proto;l=141
4015 * @return The speedDistanceUnit.
4017 @java.lang.Deprecated public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit getSpeedDistanceUnit() {
4018 if (displayUnitCase_ == 15) {
4019 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit.forNumber(
4020 (java.lang.Integer) displayUnit_);
4021 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit.UNRECOGNIZED : result;
4023 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit.UNSPECIFIED_SPEED_DISTANCE_UNIT;
4026 public static final int SPEED_UNIT_FIELD_NUMBER = 25;
4028 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
4029 * @return Whether the speedUnit field is set.
4031 public boolean hasSpeedUnit() {
4032 return displayUnitCase_ == 25;
4035 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
4036 * @return The enum numeric value on the wire for speedUnit.
4038 public int getSpeedUnitValue() {
4039 if (displayUnitCase_ == 25) {
4040 return (java.lang.Integer) displayUnit_;
4045 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
4046 * @return The speedUnit.
4048 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit getSpeedUnit() {
4049 if (displayUnitCase_ == 25) {
4050 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit.forNumber(
4051 (java.lang.Integer) displayUnit_);
4052 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit.UNRECOGNIZED : result;
4054 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit.UNSPECIFIED_SPEED_UNIT;
4057 public static final int DISTANCE_UNIT_FIELD_NUMBER = 26;
4059 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
4060 * @return Whether the distanceUnit field is set.
4062 public boolean hasDistanceUnit() {
4063 return displayUnitCase_ == 26;
4066 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
4067 * @return The enum numeric value on the wire for distanceUnit.
4069 public int getDistanceUnitValue() {
4070 if (displayUnitCase_ == 26) {
4071 return (java.lang.Integer) displayUnit_;
4076 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
4077 * @return The distanceUnit.
4079 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit getDistanceUnit() {
4080 if (displayUnitCase_ == 26) {
4081 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit.forNumber(
4082 (java.lang.Integer) displayUnit_);
4083 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit.UNRECOGNIZED : result;
4085 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit.UNSPECIFIED_DISTANCE_UNIT;
4088 public static final int TEMPERATURE_UNIT_FIELD_NUMBER = 16;
4090 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
4091 * @return Whether the temperatureUnit field is set.
4093 public boolean hasTemperatureUnit() {
4094 return displayUnitCase_ == 16;
4097 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
4098 * @return The enum numeric value on the wire for temperatureUnit.
4100 public int getTemperatureUnitValue() {
4101 if (displayUnitCase_ == 16) {
4102 return (java.lang.Integer) displayUnit_;
4107 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
4108 * @return The temperatureUnit.
4110 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit getTemperatureUnit() {
4111 if (displayUnitCase_ == 16) {
4112 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit.forNumber(
4113 (java.lang.Integer) displayUnit_);
4114 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit.UNRECOGNIZED : result;
4116 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit.UNSPECIFIED_TEMPERATURE_UNIT;
4119 public static final int PRESSURE_UNIT_FIELD_NUMBER = 17;
4121 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
4122 * @return Whether the pressureUnit field is set.
4124 public boolean hasPressureUnit() {
4125 return displayUnitCase_ == 17;
4128 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
4129 * @return The enum numeric value on the wire for pressureUnit.
4131 public int getPressureUnitValue() {
4132 if (displayUnitCase_ == 17) {
4133 return (java.lang.Integer) displayUnit_;
4138 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
4139 * @return The pressureUnit.
4141 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit getPressureUnit() {
4142 if (displayUnitCase_ == 17) {
4143 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit.forNumber(
4144 (java.lang.Integer) displayUnit_);
4145 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit.UNRECOGNIZED : result;
4147 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit.UNSPECIFIED_PRESSURE_UNIT;
4150 public static final int RATIO_UNIT_FIELD_NUMBER = 18;
4152 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
4153 * @return Whether the ratioUnit field is set.
4155 public boolean hasRatioUnit() {
4156 return displayUnitCase_ == 18;
4159 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
4160 * @return The enum numeric value on the wire for ratioUnit.
4162 public int getRatioUnitValue() {
4163 if (displayUnitCase_ == 18) {
4164 return (java.lang.Integer) displayUnit_;
4169 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
4170 * @return The ratioUnit.
4172 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit getRatioUnit() {
4173 if (displayUnitCase_ == 18) {
4174 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit.forNumber(
4175 (java.lang.Integer) displayUnit_);
4176 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit.UNRECOGNIZED : result;
4178 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit.UNSPECIFIED_RATIO_UNIT;
4181 public static final int CLOCK_HOUR_UNIT_FIELD_NUMBER = 19;
4183 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
4184 * @return Whether the clockHourUnit field is set.
4186 public boolean hasClockHourUnit() {
4187 return displayUnitCase_ == 19;
4190 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
4191 * @return The enum numeric value on the wire for clockHourUnit.
4193 public int getClockHourUnitValue() {
4194 if (displayUnitCase_ == 19) {
4195 return (java.lang.Integer) displayUnit_;
4200 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
4201 * @return The clockHourUnit.
4203 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit getClockHourUnit() {
4204 if (displayUnitCase_ == 19) {
4205 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit.forNumber(
4206 (java.lang.Integer) displayUnit_);
4207 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit.UNRECOGNIZED : result;
4209 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit.UNSPECIFIED_CLOCK_HOUR_UNIT;
4212 public static final int INT_VALUE_FIELD_NUMBER = 4;
4214 * <code>int64 int_value = 4;</code>
4215 * @return Whether the intValue field is set.
4218 public boolean hasIntValue() {
4219 return attributeTypeCase_ == 4;
4222 * <code>int64 int_value = 4;</code>
4223 * @return The intValue.
4226 public long getIntValue() {
4227 if (attributeTypeCase_ == 4) {
4228 return (java.lang.Long) attributeType_;
4233 public static final int BOOL_VALUE_FIELD_NUMBER = 5;
4235 * <code>bool bool_value = 5;</code>
4236 * @return Whether the boolValue field is set.
4239 public boolean hasBoolValue() {
4240 return attributeTypeCase_ == 5;
4243 * <code>bool bool_value = 5;</code>
4244 * @return The boolValue.
4247 public boolean getBoolValue() {
4248 if (attributeTypeCase_ == 5) {
4249 return (java.lang.Boolean) attributeType_;
4254 public static final int STRING_VALUE_FIELD_NUMBER = 6;
4256 * <code>string string_value = 6;</code>
4257 * @return Whether the stringValue field is set.
4259 public boolean hasStringValue() {
4260 return attributeTypeCase_ == 6;
4263 * <code>string string_value = 6;</code>
4264 * @return The stringValue.
4266 public java.lang.String getStringValue() {
4267 java.lang.Object ref = "";
4268 if (attributeTypeCase_ == 6) {
4269 ref = attributeType_;
4271 if (ref instanceof java.lang.String) {
4272 return (java.lang.String) ref;
4274 com.google.protobuf.ByteString bs =
4275 (com.google.protobuf.ByteString) ref;
4276 java.lang.String s = bs.toStringUtf8();
4277 if (attributeTypeCase_ == 6) {
4284 * <code>string string_value = 6;</code>
4285 * @return The bytes for stringValue.
4287 public com.google.protobuf.ByteString
4288 getStringValueBytes() {
4289 java.lang.Object ref = "";
4290 if (attributeTypeCase_ == 6) {
4291 ref = attributeType_;
4293 if (ref instanceof java.lang.String) {
4294 com.google.protobuf.ByteString b =
4295 com.google.protobuf.ByteString.copyFromUtf8(
4296 (java.lang.String) ref);
4297 if (attributeTypeCase_ == 6) {
4302 return (com.google.protobuf.ByteString) ref;
4306 public static final int DOUBLE_VALUE_FIELD_NUMBER = 7;
4308 * <code>double double_value = 7;</code>
4309 * @return Whether the doubleValue field is set.
4312 public boolean hasDoubleValue() {
4313 return attributeTypeCase_ == 7;
4316 * <code>double double_value = 7;</code>
4317 * @return The doubleValue.
4320 public double getDoubleValue() {
4321 if (attributeTypeCase_ == 7) {
4322 return (java.lang.Double) attributeType_;
4327 public static final int NIL_VALUE_FIELD_NUMBER = 8;
4329 * <code>bool nil_value = 8;</code>
4330 * @return Whether the nilValue field is set.
4333 public boolean hasNilValue() {
4334 return attributeTypeCase_ == 8;
4337 * <code>bool nil_value = 8;</code>
4338 * @return The nilValue.
4341 public boolean getNilValue() {
4342 if (attributeTypeCase_ == 8) {
4343 return (java.lang.Boolean) attributeType_;
4348 public static final int UNSUPPORTED_VALUE_FIELD_NUMBER = 9;
4350 * <code>string unsupported_value = 9;</code>
4351 * @return Whether the unsupportedValue field is set.
4353 public boolean hasUnsupportedValue() {
4354 return attributeTypeCase_ == 9;
4357 * <code>string unsupported_value = 9;</code>
4358 * @return The unsupportedValue.
4360 public java.lang.String getUnsupportedValue() {
4361 java.lang.Object ref = "";
4362 if (attributeTypeCase_ == 9) {
4363 ref = attributeType_;
4365 if (ref instanceof java.lang.String) {
4366 return (java.lang.String) ref;
4368 com.google.protobuf.ByteString bs =
4369 (com.google.protobuf.ByteString) ref;
4370 java.lang.String s = bs.toStringUtf8();
4371 if (attributeTypeCase_ == 9) {
4378 * <code>string unsupported_value = 9;</code>
4379 * @return The bytes for unsupportedValue.
4381 public com.google.protobuf.ByteString
4382 getUnsupportedValueBytes() {
4383 java.lang.Object ref = "";
4384 if (attributeTypeCase_ == 9) {
4385 ref = attributeType_;
4387 if (ref instanceof java.lang.String) {
4388 com.google.protobuf.ByteString b =
4389 com.google.protobuf.ByteString.copyFromUtf8(
4390 (java.lang.String) ref);
4391 if (attributeTypeCase_ == 9) {
4396 return (com.google.protobuf.ByteString) ref;
4400 public static final int TEMPERATURE_POINTS_VALUE_FIELD_NUMBER = 20;
4402 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
4403 * @return Whether the temperaturePointsValue field is set.
4406 public boolean hasTemperaturePointsValue() {
4407 return attributeTypeCase_ == 20;
4410 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
4411 * @return The temperaturePointsValue.
4414 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue getTemperaturePointsValue() {
4415 if (attributeTypeCase_ == 20) {
4416 return (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_;
4418 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
4421 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
4424 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder getTemperaturePointsValueOrBuilder() {
4425 if (attributeTypeCase_ == 20) {
4426 return (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_;
4428 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
4431 public static final int WEEKDAY_TARIFF_VALUE_FIELD_NUMBER = 21;
4433 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
4434 * @return Whether the weekdayTariffValue field is set.
4437 public boolean hasWeekdayTariffValue() {
4438 return attributeTypeCase_ == 21;
4441 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
4442 * @return The weekdayTariffValue.
4445 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue getWeekdayTariffValue() {
4446 if (attributeTypeCase_ == 21) {
4447 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_;
4449 return com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
4452 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
4455 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder getWeekdayTariffValueOrBuilder() {
4456 if (attributeTypeCase_ == 21) {
4457 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_;
4459 return com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
4462 public static final int WEEKEND_TARIFF_VALUE_FIELD_NUMBER = 22;
4464 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
4465 * @return Whether the weekendTariffValue field is set.
4468 public boolean hasWeekendTariffValue() {
4469 return attributeTypeCase_ == 22;
4472 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
4473 * @return The weekendTariffValue.
4476 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue getWeekendTariffValue() {
4477 if (attributeTypeCase_ == 22) {
4478 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_;
4480 return com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
4483 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
4486 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder getWeekendTariffValueOrBuilder() {
4487 if (attributeTypeCase_ == 22) {
4488 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_;
4490 return com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
4493 public static final int STATE_OF_CHARGE_PROFILE_VALUE_FIELD_NUMBER = 23;
4495 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
4496 * @return Whether the stateOfChargeProfileValue field is set.
4499 public boolean hasStateOfChargeProfileValue() {
4500 return attributeTypeCase_ == 23;
4503 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
4504 * @return The stateOfChargeProfileValue.
4507 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue getStateOfChargeProfileValue() {
4508 if (attributeTypeCase_ == 23) {
4509 return (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_;
4511 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
4514 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
4517 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder getStateOfChargeProfileValueOrBuilder() {
4518 if (attributeTypeCase_ == 23) {
4519 return (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_;
4521 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
4524 public static final int WEEKLY_SETTINGS_HEAD_UNIT_VALUE_FIELD_NUMBER = 24;
4526 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
4527 * @return Whether the weeklySettingsHeadUnitValue field is set.
4530 public boolean hasWeeklySettingsHeadUnitValue() {
4531 return attributeTypeCase_ == 24;
4534 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
4535 * @return The weeklySettingsHeadUnitValue.
4538 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue getWeeklySettingsHeadUnitValue() {
4539 if (attributeTypeCase_ == 24) {
4540 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_;
4542 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
4545 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
4548 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder getWeeklySettingsHeadUnitValueOrBuilder() {
4549 if (attributeTypeCase_ == 24) {
4550 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_;
4552 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
4555 public static final int SPEED_ALERT_CONFIGURATION_VALUE_FIELD_NUMBER = 27;
4557 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
4558 * @return Whether the speedAlertConfigurationValue field is set.
4561 public boolean hasSpeedAlertConfigurationValue() {
4562 return attributeTypeCase_ == 27;
4565 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
4566 * @return The speedAlertConfigurationValue.
4569 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue getSpeedAlertConfigurationValue() {
4570 if (attributeTypeCase_ == 27) {
4571 return (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_;
4573 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
4576 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
4579 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder getSpeedAlertConfigurationValueOrBuilder() {
4580 if (attributeTypeCase_ == 27) {
4581 return (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_;
4583 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
4586 public static final int ECO_HISTOGRAM_VALUE_FIELD_NUMBER = 28;
4588 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
4589 * @return Whether the ecoHistogramValue field is set.
4592 public boolean hasEcoHistogramValue() {
4593 return attributeTypeCase_ == 28;
4596 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
4597 * @return The ecoHistogramValue.
4600 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue getEcoHistogramValue() {
4601 if (attributeTypeCase_ == 28) {
4602 return (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_;
4604 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
4607 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
4610 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder getEcoHistogramValueOrBuilder() {
4611 if (attributeTypeCase_ == 28) {
4612 return (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_;
4614 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
4617 public static final int WEEKLY_PROFILE_VALUE_FIELD_NUMBER = 29;
4619 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
4620 * @return Whether the weeklyProfileValue field is set.
4623 public boolean hasWeeklyProfileValue() {
4624 return attributeTypeCase_ == 29;
4627 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
4628 * @return The weeklyProfileValue.
4631 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue getWeeklyProfileValue() {
4632 if (attributeTypeCase_ == 29) {
4633 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_;
4635 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
4638 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
4641 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder getWeeklyProfileValueOrBuilder() {
4642 if (attributeTypeCase_ == 29) {
4643 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_;
4645 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
4648 public static final int CHARGE_PROGRAMS_VALUE_FIELD_NUMBER = 31;
4650 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
4651 * @return Whether the chargeProgramsValue field is set.
4654 public boolean hasChargeProgramsValue() {
4655 return attributeTypeCase_ == 31;
4658 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
4659 * @return The chargeProgramsValue.
4662 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue getChargeProgramsValue() {
4663 if (attributeTypeCase_ == 31) {
4664 return (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_;
4666 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
4669 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
4672 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder getChargeProgramsValueOrBuilder() {
4673 if (attributeTypeCase_ == 31) {
4674 return (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_;
4676 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
4679 private byte memoizedIsInitialized = -1;
4681 public final boolean isInitialized() {
4682 byte isInitialized = memoizedIsInitialized;
4683 if (isInitialized == 1) return true;
4684 if (isInitialized == 0) return false;
4686 memoizedIsInitialized = 1;
4691 public void writeTo(com.google.protobuf.CodedOutputStream output)
4692 throws java.io.IOException {
4693 getSerializedSize();
4694 if (timestamp_ != 0L) {
4695 output.writeInt64(1, timestamp_);
4697 if (changed_ != false) {
4698 output.writeBool(2, changed_);
4701 output.writeInt32(3, status_);
4703 if (attributeTypeCase_ == 4) {
4705 4, (long)((java.lang.Long) attributeType_));
4707 if (attributeTypeCase_ == 5) {
4709 5, (boolean)((java.lang.Boolean) attributeType_));
4711 if (attributeTypeCase_ == 6) {
4712 com.google.protobuf.GeneratedMessage.writeString(output, 6, attributeType_);
4714 if (attributeTypeCase_ == 7) {
4716 7, (double)((java.lang.Double) attributeType_));
4718 if (attributeTypeCase_ == 8) {
4720 8, (boolean)((java.lang.Boolean) attributeType_));
4722 if (attributeTypeCase_ == 9) {
4723 com.google.protobuf.GeneratedMessage.writeString(output, 9, attributeType_);
4725 if (timestampInMs_ != 0L) {
4726 output.writeInt64(10, timestampInMs_);
4728 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayValue_)) {
4729 com.google.protobuf.GeneratedMessage.writeString(output, 11, displayValue_);
4731 if (displayUnitCase_ == 12) {
4732 output.writeEnum(12, ((java.lang.Integer) displayUnit_));
4734 if (displayUnitCase_ == 13) {
4735 output.writeEnum(13, ((java.lang.Integer) displayUnit_));
4737 if (displayUnitCase_ == 14) {
4738 output.writeEnum(14, ((java.lang.Integer) displayUnit_));
4740 if (displayUnitCase_ == 15) {
4741 output.writeEnum(15, ((java.lang.Integer) displayUnit_));
4743 if (displayUnitCase_ == 16) {
4744 output.writeEnum(16, ((java.lang.Integer) displayUnit_));
4746 if (displayUnitCase_ == 17) {
4747 output.writeEnum(17, ((java.lang.Integer) displayUnit_));
4749 if (displayUnitCase_ == 18) {
4750 output.writeEnum(18, ((java.lang.Integer) displayUnit_));
4752 if (displayUnitCase_ == 19) {
4753 output.writeEnum(19, ((java.lang.Integer) displayUnit_));
4755 if (attributeTypeCase_ == 20) {
4756 output.writeMessage(20, (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_);
4758 if (attributeTypeCase_ == 21) {
4759 output.writeMessage(21, (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_);
4761 if (attributeTypeCase_ == 22) {
4762 output.writeMessage(22, (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_);
4764 if (attributeTypeCase_ == 23) {
4765 output.writeMessage(23, (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_);
4767 if (attributeTypeCase_ == 24) {
4768 output.writeMessage(24, (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_);
4770 if (displayUnitCase_ == 25) {
4771 output.writeEnum(25, ((java.lang.Integer) displayUnit_));
4773 if (displayUnitCase_ == 26) {
4774 output.writeEnum(26, ((java.lang.Integer) displayUnit_));
4776 if (attributeTypeCase_ == 27) {
4777 output.writeMessage(27, (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_);
4779 if (attributeTypeCase_ == 28) {
4780 output.writeMessage(28, (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_);
4782 if (attributeTypeCase_ == 29) {
4783 output.writeMessage(29, (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_);
4785 if (getServiceIdsList().size() > 0) {
4786 output.writeUInt32NoTag(242);
4787 output.writeUInt32NoTag(serviceIdsMemoizedSerializedSize);
4789 for (int i = 0; i < serviceIds_.size(); i++) {
4790 output.writeInt32NoTag(serviceIds_.getInt(i));
4792 if (attributeTypeCase_ == 31) {
4793 output.writeMessage(31, (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_);
4795 getUnknownFields().writeTo(output);
4799 public int getSerializedSize() {
4800 int size = memoizedSize;
4801 if (size != -1) return size;
4804 if (timestamp_ != 0L) {
4805 size += com.google.protobuf.CodedOutputStream
4806 .computeInt64Size(1, timestamp_);
4808 if (changed_ != false) {
4809 size += com.google.protobuf.CodedOutputStream
4810 .computeBoolSize(2, changed_);
4813 size += com.google.protobuf.CodedOutputStream
4814 .computeInt32Size(3, status_);
4816 if (attributeTypeCase_ == 4) {
4817 size += com.google.protobuf.CodedOutputStream
4819 4, (long)((java.lang.Long) attributeType_));
4821 if (attributeTypeCase_ == 5) {
4822 size += com.google.protobuf.CodedOutputStream
4824 5, (boolean)((java.lang.Boolean) attributeType_));
4826 if (attributeTypeCase_ == 6) {
4827 size += com.google.protobuf.GeneratedMessage.computeStringSize(6, attributeType_);
4829 if (attributeTypeCase_ == 7) {
4830 size += com.google.protobuf.CodedOutputStream
4832 7, (double)((java.lang.Double) attributeType_));
4834 if (attributeTypeCase_ == 8) {
4835 size += com.google.protobuf.CodedOutputStream
4837 8, (boolean)((java.lang.Boolean) attributeType_));
4839 if (attributeTypeCase_ == 9) {
4840 size += com.google.protobuf.GeneratedMessage.computeStringSize(9, attributeType_);
4842 if (timestampInMs_ != 0L) {
4843 size += com.google.protobuf.CodedOutputStream
4844 .computeInt64Size(10, timestampInMs_);
4846 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayValue_)) {
4847 size += com.google.protobuf.GeneratedMessage.computeStringSize(11, displayValue_);
4849 if (displayUnitCase_ == 12) {
4850 size += com.google.protobuf.CodedOutputStream
4851 .computeEnumSize(12, ((java.lang.Integer) displayUnit_));
4853 if (displayUnitCase_ == 13) {
4854 size += com.google.protobuf.CodedOutputStream
4855 .computeEnumSize(13, ((java.lang.Integer) displayUnit_));
4857 if (displayUnitCase_ == 14) {
4858 size += com.google.protobuf.CodedOutputStream
4859 .computeEnumSize(14, ((java.lang.Integer) displayUnit_));
4861 if (displayUnitCase_ == 15) {
4862 size += com.google.protobuf.CodedOutputStream
4863 .computeEnumSize(15, ((java.lang.Integer) displayUnit_));
4865 if (displayUnitCase_ == 16) {
4866 size += com.google.protobuf.CodedOutputStream
4867 .computeEnumSize(16, ((java.lang.Integer) displayUnit_));
4869 if (displayUnitCase_ == 17) {
4870 size += com.google.protobuf.CodedOutputStream
4871 .computeEnumSize(17, ((java.lang.Integer) displayUnit_));
4873 if (displayUnitCase_ == 18) {
4874 size += com.google.protobuf.CodedOutputStream
4875 .computeEnumSize(18, ((java.lang.Integer) displayUnit_));
4877 if (displayUnitCase_ == 19) {
4878 size += com.google.protobuf.CodedOutputStream
4879 .computeEnumSize(19, ((java.lang.Integer) displayUnit_));
4881 if (attributeTypeCase_ == 20) {
4882 size += com.google.protobuf.CodedOutputStream
4883 .computeMessageSize(20, (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_);
4885 if (attributeTypeCase_ == 21) {
4886 size += com.google.protobuf.CodedOutputStream
4887 .computeMessageSize(21, (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_);
4889 if (attributeTypeCase_ == 22) {
4890 size += com.google.protobuf.CodedOutputStream
4891 .computeMessageSize(22, (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_);
4893 if (attributeTypeCase_ == 23) {
4894 size += com.google.protobuf.CodedOutputStream
4895 .computeMessageSize(23, (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_);
4897 if (attributeTypeCase_ == 24) {
4898 size += com.google.protobuf.CodedOutputStream
4899 .computeMessageSize(24, (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_);
4901 if (displayUnitCase_ == 25) {
4902 size += com.google.protobuf.CodedOutputStream
4903 .computeEnumSize(25, ((java.lang.Integer) displayUnit_));
4905 if (displayUnitCase_ == 26) {
4906 size += com.google.protobuf.CodedOutputStream
4907 .computeEnumSize(26, ((java.lang.Integer) displayUnit_));
4909 if (attributeTypeCase_ == 27) {
4910 size += com.google.protobuf.CodedOutputStream
4911 .computeMessageSize(27, (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_);
4913 if (attributeTypeCase_ == 28) {
4914 size += com.google.protobuf.CodedOutputStream
4915 .computeMessageSize(28, (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_);
4917 if (attributeTypeCase_ == 29) {
4918 size += com.google.protobuf.CodedOutputStream
4919 .computeMessageSize(29, (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_);
4923 for (int i = 0; i < serviceIds_.size(); i++) {
4924 dataSize += com.google.protobuf.CodedOutputStream
4925 .computeInt32SizeNoTag(serviceIds_.getInt(i));
4928 if (!getServiceIdsList().isEmpty()) {
4930 size += com.google.protobuf.CodedOutputStream
4931 .computeInt32SizeNoTag(dataSize);
4933 serviceIdsMemoizedSerializedSize = dataSize;
4935 if (attributeTypeCase_ == 31) {
4936 size += com.google.protobuf.CodedOutputStream
4937 .computeMessageSize(31, (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_);
4939 size += getUnknownFields().getSerializedSize();
4940 memoizedSize = size;
4945 public boolean equals(final java.lang.Object obj) {
4949 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus)) {
4950 return super.equals(obj);
4952 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus other = (com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) obj;
4955 != other.getTimestamp()) return false;
4956 if (getTimestampInMs()
4957 != other.getTimestampInMs()) return false;
4959 != other.getChanged()) return false;
4961 != other.getStatus()) return false;
4962 if (!getServiceIdsList()
4963 .equals(other.getServiceIdsList())) return false;
4964 if (!getDisplayValue()
4965 .equals(other.getDisplayValue())) return false;
4966 if (!getDisplayUnitCase().equals(other.getDisplayUnitCase())) return false;
4967 switch (displayUnitCase_) {
4969 if (getCombustionConsumptionUnitValue()
4970 != other.getCombustionConsumptionUnitValue()) return false;
4973 if (getGasConsumptionUnitValue()
4974 != other.getGasConsumptionUnitValue()) return false;
4977 if (getElectricityConsumptionUnitValue()
4978 != other.getElectricityConsumptionUnitValue()) return false;
4981 if (getSpeedDistanceUnitValue()
4982 != other.getSpeedDistanceUnitValue()) return false;
4985 if (getSpeedUnitValue()
4986 != other.getSpeedUnitValue()) return false;
4989 if (getDistanceUnitValue()
4990 != other.getDistanceUnitValue()) return false;
4993 if (getTemperatureUnitValue()
4994 != other.getTemperatureUnitValue()) return false;
4997 if (getPressureUnitValue()
4998 != other.getPressureUnitValue()) return false;
5001 if (getRatioUnitValue()
5002 != other.getRatioUnitValue()) return false;
5005 if (getClockHourUnitValue()
5006 != other.getClockHourUnitValue()) return false;
5011 if (!getAttributeTypeCase().equals(other.getAttributeTypeCase())) return false;
5012 switch (attributeTypeCase_) {
5015 != other.getIntValue()) return false;
5019 != other.getBoolValue()) return false;
5022 if (!getStringValue()
5023 .equals(other.getStringValue())) return false;
5026 if (java.lang.Double.doubleToLongBits(getDoubleValue())
5027 != java.lang.Double.doubleToLongBits(
5028 other.getDoubleValue())) return false;
5032 != other.getNilValue()) return false;
5035 if (!getUnsupportedValue()
5036 .equals(other.getUnsupportedValue())) return false;
5039 if (!getTemperaturePointsValue()
5040 .equals(other.getTemperaturePointsValue())) return false;
5043 if (!getWeekdayTariffValue()
5044 .equals(other.getWeekdayTariffValue())) return false;
5047 if (!getWeekendTariffValue()
5048 .equals(other.getWeekendTariffValue())) return false;
5051 if (!getStateOfChargeProfileValue()
5052 .equals(other.getStateOfChargeProfileValue())) return false;
5055 if (!getWeeklySettingsHeadUnitValue()
5056 .equals(other.getWeeklySettingsHeadUnitValue())) return false;
5059 if (!getSpeedAlertConfigurationValue()
5060 .equals(other.getSpeedAlertConfigurationValue())) return false;
5063 if (!getEcoHistogramValue()
5064 .equals(other.getEcoHistogramValue())) return false;
5067 if (!getWeeklyProfileValue()
5068 .equals(other.getWeeklyProfileValue())) return false;
5071 if (!getChargeProgramsValue()
5072 .equals(other.getChargeProgramsValue())) return false;
5077 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
5082 public int hashCode() {
5083 if (memoizedHashCode != 0) {
5084 return memoizedHashCode;
5087 hash = (19 * hash) + getDescriptor().hashCode();
5088 hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
5089 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5091 hash = (37 * hash) + TIMESTAMP_IN_MS_FIELD_NUMBER;
5092 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5093 getTimestampInMs());
5094 hash = (37 * hash) + CHANGED_FIELD_NUMBER;
5095 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
5097 hash = (37 * hash) + STATUS_FIELD_NUMBER;
5098 hash = (53 * hash) + getStatus();
5099 if (getServiceIdsCount() > 0) {
5100 hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
5101 hash = (53 * hash) + getServiceIdsList().hashCode();
5103 hash = (37 * hash) + DISPLAY_VALUE_FIELD_NUMBER;
5104 hash = (53 * hash) + getDisplayValue().hashCode();
5105 switch (displayUnitCase_) {
5107 hash = (37 * hash) + COMBUSTION_CONSUMPTION_UNIT_FIELD_NUMBER;
5108 hash = (53 * hash) + getCombustionConsumptionUnitValue();
5111 hash = (37 * hash) + GAS_CONSUMPTION_UNIT_FIELD_NUMBER;
5112 hash = (53 * hash) + getGasConsumptionUnitValue();
5115 hash = (37 * hash) + ELECTRICITY_CONSUMPTION_UNIT_FIELD_NUMBER;
5116 hash = (53 * hash) + getElectricityConsumptionUnitValue();
5119 hash = (37 * hash) + SPEED_DISTANCE_UNIT_FIELD_NUMBER;
5120 hash = (53 * hash) + getSpeedDistanceUnitValue();
5123 hash = (37 * hash) + SPEED_UNIT_FIELD_NUMBER;
5124 hash = (53 * hash) + getSpeedUnitValue();
5127 hash = (37 * hash) + DISTANCE_UNIT_FIELD_NUMBER;
5128 hash = (53 * hash) + getDistanceUnitValue();
5131 hash = (37 * hash) + TEMPERATURE_UNIT_FIELD_NUMBER;
5132 hash = (53 * hash) + getTemperatureUnitValue();
5135 hash = (37 * hash) + PRESSURE_UNIT_FIELD_NUMBER;
5136 hash = (53 * hash) + getPressureUnitValue();
5139 hash = (37 * hash) + RATIO_UNIT_FIELD_NUMBER;
5140 hash = (53 * hash) + getRatioUnitValue();
5143 hash = (37 * hash) + CLOCK_HOUR_UNIT_FIELD_NUMBER;
5144 hash = (53 * hash) + getClockHourUnitValue();
5149 switch (attributeTypeCase_) {
5151 hash = (37 * hash) + INT_VALUE_FIELD_NUMBER;
5152 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5156 hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER;
5157 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
5161 hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER;
5162 hash = (53 * hash) + getStringValue().hashCode();
5165 hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER;
5166 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5167 java.lang.Double.doubleToLongBits(getDoubleValue()));
5170 hash = (37 * hash) + NIL_VALUE_FIELD_NUMBER;
5171 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
5175 hash = (37 * hash) + UNSUPPORTED_VALUE_FIELD_NUMBER;
5176 hash = (53 * hash) + getUnsupportedValue().hashCode();
5179 hash = (37 * hash) + TEMPERATURE_POINTS_VALUE_FIELD_NUMBER;
5180 hash = (53 * hash) + getTemperaturePointsValue().hashCode();
5183 hash = (37 * hash) + WEEKDAY_TARIFF_VALUE_FIELD_NUMBER;
5184 hash = (53 * hash) + getWeekdayTariffValue().hashCode();
5187 hash = (37 * hash) + WEEKEND_TARIFF_VALUE_FIELD_NUMBER;
5188 hash = (53 * hash) + getWeekendTariffValue().hashCode();
5191 hash = (37 * hash) + STATE_OF_CHARGE_PROFILE_VALUE_FIELD_NUMBER;
5192 hash = (53 * hash) + getStateOfChargeProfileValue().hashCode();
5195 hash = (37 * hash) + WEEKLY_SETTINGS_HEAD_UNIT_VALUE_FIELD_NUMBER;
5196 hash = (53 * hash) + getWeeklySettingsHeadUnitValue().hashCode();
5199 hash = (37 * hash) + SPEED_ALERT_CONFIGURATION_VALUE_FIELD_NUMBER;
5200 hash = (53 * hash) + getSpeedAlertConfigurationValue().hashCode();
5203 hash = (37 * hash) + ECO_HISTOGRAM_VALUE_FIELD_NUMBER;
5204 hash = (53 * hash) + getEcoHistogramValue().hashCode();
5207 hash = (37 * hash) + WEEKLY_PROFILE_VALUE_FIELD_NUMBER;
5208 hash = (53 * hash) + getWeeklyProfileValue().hashCode();
5211 hash = (37 * hash) + CHARGE_PROGRAMS_VALUE_FIELD_NUMBER;
5212 hash = (53 * hash) + getChargeProgramsValue().hashCode();
5217 hash = (29 * hash) + getUnknownFields().hashCode();
5218 memoizedHashCode = hash;
5222 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5223 java.nio.ByteBuffer data)
5224 throws com.google.protobuf.InvalidProtocolBufferException {
5225 return PARSER.parseFrom(data);
5227 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5228 java.nio.ByteBuffer data,
5229 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5230 throws com.google.protobuf.InvalidProtocolBufferException {
5231 return PARSER.parseFrom(data, extensionRegistry);
5233 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5234 com.google.protobuf.ByteString data)
5235 throws com.google.protobuf.InvalidProtocolBufferException {
5236 return PARSER.parseFrom(data);
5238 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5239 com.google.protobuf.ByteString data,
5240 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5241 throws com.google.protobuf.InvalidProtocolBufferException {
5242 return PARSER.parseFrom(data, extensionRegistry);
5244 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(byte[] data)
5245 throws com.google.protobuf.InvalidProtocolBufferException {
5246 return PARSER.parseFrom(data);
5248 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5250 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5251 throws com.google.protobuf.InvalidProtocolBufferException {
5252 return PARSER.parseFrom(data, extensionRegistry);
5254 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(java.io.InputStream input)
5255 throws java.io.IOException {
5256 return com.google.protobuf.GeneratedMessage
5257 .parseWithIOException(PARSER, input);
5259 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5260 java.io.InputStream input,
5261 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5262 throws java.io.IOException {
5263 return com.google.protobuf.GeneratedMessage
5264 .parseWithIOException(PARSER, input, extensionRegistry);
5267 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseDelimitedFrom(java.io.InputStream input)
5268 throws java.io.IOException {
5269 return com.google.protobuf.GeneratedMessage
5270 .parseDelimitedWithIOException(PARSER, input);
5273 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseDelimitedFrom(
5274 java.io.InputStream input,
5275 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5276 throws java.io.IOException {
5277 return com.google.protobuf.GeneratedMessage
5278 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
5280 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5281 com.google.protobuf.CodedInputStream input)
5282 throws java.io.IOException {
5283 return com.google.protobuf.GeneratedMessage
5284 .parseWithIOException(PARSER, input);
5286 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus parseFrom(
5287 com.google.protobuf.CodedInputStream input,
5288 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5289 throws java.io.IOException {
5290 return com.google.protobuf.GeneratedMessage
5291 .parseWithIOException(PARSER, input, extensionRegistry);
5295 public Builder newBuilderForType() { return newBuilder(); }
5296 public static Builder newBuilder() {
5297 return DEFAULT_INSTANCE.toBuilder();
5299 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus prototype) {
5300 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
5303 public Builder toBuilder() {
5304 return this == DEFAULT_INSTANCE
5305 ? new Builder() : new Builder().mergeFrom(this);
5309 protected Builder newBuilderForType(
5310 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5311 Builder builder = new Builder(parent);
5316 * Part of a VEPUpdate
5317 * Sending direction: App <- BFF <- AppTwin
5320 * Protobuf type {@code proto.VehicleAttributeStatus}
5322 public static final class Builder extends
5323 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
5324 // @@protoc_insertion_point(builder_implements:proto.VehicleAttributeStatus)
5325 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder {
5326 public static final com.google.protobuf.Descriptors.Descriptor
5328 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleAttributeStatus_descriptor;
5332 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5333 internalGetFieldAccessorTable() {
5334 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleAttributeStatus_fieldAccessorTable
5335 .ensureFieldAccessorsInitialized(
5336 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.class, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder.class);
5339 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.newBuilder()
5345 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5350 public Builder clear() {
5354 timestampInMs_ = 0L;
5357 serviceIds_ = emptyIntList();
5359 if (temperaturePointsValueBuilder_ != null) {
5360 temperaturePointsValueBuilder_.clear();
5362 if (weekdayTariffValueBuilder_ != null) {
5363 weekdayTariffValueBuilder_.clear();
5365 if (weekendTariffValueBuilder_ != null) {
5366 weekendTariffValueBuilder_.clear();
5368 if (stateOfChargeProfileValueBuilder_ != null) {
5369 stateOfChargeProfileValueBuilder_.clear();
5371 if (weeklySettingsHeadUnitValueBuilder_ != null) {
5372 weeklySettingsHeadUnitValueBuilder_.clear();
5374 if (speedAlertConfigurationValueBuilder_ != null) {
5375 speedAlertConfigurationValueBuilder_.clear();
5377 if (ecoHistogramValueBuilder_ != null) {
5378 ecoHistogramValueBuilder_.clear();
5380 if (weeklyProfileValueBuilder_ != null) {
5381 weeklyProfileValueBuilder_.clear();
5383 if (chargeProgramsValueBuilder_ != null) {
5384 chargeProgramsValueBuilder_.clear();
5386 displayUnitCase_ = 0;
5387 displayUnit_ = null;
5388 attributeTypeCase_ = 0;
5389 attributeType_ = null;
5394 public com.google.protobuf.Descriptors.Descriptor
5395 getDescriptorForType() {
5396 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleAttributeStatus_descriptor;
5400 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getDefaultInstanceForType() {
5401 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDefaultInstance();
5405 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus build() {
5406 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus result = buildPartial();
5407 if (!result.isInitialized()) {
5408 throw newUninitializedMessageException(result);
5414 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus buildPartial() {
5415 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus result = new com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus(this);
5416 if (bitField0_ != 0) { buildPartial0(result); }
5417 buildPartialOneofs(result);
5422 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus result) {
5423 int from_bitField0_ = bitField0_;
5424 if (((from_bitField0_ & 0x00000001) != 0)) {
5425 result.timestamp_ = timestamp_;
5427 if (((from_bitField0_ & 0x00000002) != 0)) {
5428 result.timestampInMs_ = timestampInMs_;
5430 if (((from_bitField0_ & 0x00000004) != 0)) {
5431 result.changed_ = changed_;
5433 if (((from_bitField0_ & 0x00000008) != 0)) {
5434 result.status_ = status_;
5436 if (((from_bitField0_ & 0x00000010) != 0)) {
5437 serviceIds_.makeImmutable();
5438 result.serviceIds_ = serviceIds_;
5440 if (((from_bitField0_ & 0x00000020) != 0)) {
5441 result.displayValue_ = displayValue_;
5445 private void buildPartialOneofs(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus result) {
5446 result.displayUnitCase_ = displayUnitCase_;
5447 result.displayUnit_ = this.displayUnit_;
5448 result.attributeTypeCase_ = attributeTypeCase_;
5449 result.attributeType_ = this.attributeType_;
5450 if (attributeTypeCase_ == 20 &&
5451 temperaturePointsValueBuilder_ != null) {
5452 result.attributeType_ = temperaturePointsValueBuilder_.build();
5454 if (attributeTypeCase_ == 21 &&
5455 weekdayTariffValueBuilder_ != null) {
5456 result.attributeType_ = weekdayTariffValueBuilder_.build();
5458 if (attributeTypeCase_ == 22 &&
5459 weekendTariffValueBuilder_ != null) {
5460 result.attributeType_ = weekendTariffValueBuilder_.build();
5462 if (attributeTypeCase_ == 23 &&
5463 stateOfChargeProfileValueBuilder_ != null) {
5464 result.attributeType_ = stateOfChargeProfileValueBuilder_.build();
5466 if (attributeTypeCase_ == 24 &&
5467 weeklySettingsHeadUnitValueBuilder_ != null) {
5468 result.attributeType_ = weeklySettingsHeadUnitValueBuilder_.build();
5470 if (attributeTypeCase_ == 27 &&
5471 speedAlertConfigurationValueBuilder_ != null) {
5472 result.attributeType_ = speedAlertConfigurationValueBuilder_.build();
5474 if (attributeTypeCase_ == 28 &&
5475 ecoHistogramValueBuilder_ != null) {
5476 result.attributeType_ = ecoHistogramValueBuilder_.build();
5478 if (attributeTypeCase_ == 29 &&
5479 weeklyProfileValueBuilder_ != null) {
5480 result.attributeType_ = weeklyProfileValueBuilder_.build();
5482 if (attributeTypeCase_ == 31 &&
5483 chargeProgramsValueBuilder_ != null) {
5484 result.attributeType_ = chargeProgramsValueBuilder_.build();
5489 public Builder mergeFrom(com.google.protobuf.Message other) {
5490 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) {
5491 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus)other);
5493 super.mergeFrom(other);
5498 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus other) {
5499 if (other == com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDefaultInstance()) return this;
5500 if (other.getTimestamp() != 0L) {
5501 setTimestamp(other.getTimestamp());
5503 if (other.getTimestampInMs() != 0L) {
5504 setTimestampInMs(other.getTimestampInMs());
5506 if (other.getChanged() != false) {
5507 setChanged(other.getChanged());
5509 if (other.getStatus() != 0) {
5510 setStatus(other.getStatus());
5512 if (!other.serviceIds_.isEmpty()) {
5513 if (serviceIds_.isEmpty()) {
5514 serviceIds_ = other.serviceIds_;
5515 serviceIds_.makeImmutable();
5516 bitField0_ |= 0x00000010;
5518 ensureServiceIdsIsMutable();
5519 serviceIds_.addAll(other.serviceIds_);
5523 if (!other.getDisplayValue().isEmpty()) {
5524 displayValue_ = other.displayValue_;
5525 bitField0_ |= 0x00000020;
5528 switch (other.getDisplayUnitCase()) {
5529 case COMBUSTION_CONSUMPTION_UNIT: {
5530 setCombustionConsumptionUnitValue(other.getCombustionConsumptionUnitValue());
5533 case GAS_CONSUMPTION_UNIT: {
5534 setGasConsumptionUnitValue(other.getGasConsumptionUnitValue());
5537 case ELECTRICITY_CONSUMPTION_UNIT: {
5538 setElectricityConsumptionUnitValue(other.getElectricityConsumptionUnitValue());
5541 case SPEED_DISTANCE_UNIT: {
5542 setSpeedDistanceUnitValue(other.getSpeedDistanceUnitValue());
5546 setSpeedUnitValue(other.getSpeedUnitValue());
5549 case DISTANCE_UNIT: {
5550 setDistanceUnitValue(other.getDistanceUnitValue());
5553 case TEMPERATURE_UNIT: {
5554 setTemperatureUnitValue(other.getTemperatureUnitValue());
5557 case PRESSURE_UNIT: {
5558 setPressureUnitValue(other.getPressureUnitValue());
5562 setRatioUnitValue(other.getRatioUnitValue());
5565 case CLOCK_HOUR_UNIT: {
5566 setClockHourUnitValue(other.getClockHourUnitValue());
5569 case DISPLAYUNIT_NOT_SET: {
5573 switch (other.getAttributeTypeCase()) {
5575 setIntValue(other.getIntValue());
5579 setBoolValue(other.getBoolValue());
5582 case STRING_VALUE: {
5583 attributeTypeCase_ = 6;
5584 attributeType_ = other.attributeType_;
5588 case DOUBLE_VALUE: {
5589 setDoubleValue(other.getDoubleValue());
5593 setNilValue(other.getNilValue());
5596 case UNSUPPORTED_VALUE: {
5597 attributeTypeCase_ = 9;
5598 attributeType_ = other.attributeType_;
5602 case TEMPERATURE_POINTS_VALUE: {
5603 mergeTemperaturePointsValue(other.getTemperaturePointsValue());
5606 case WEEKDAY_TARIFF_VALUE: {
5607 mergeWeekdayTariffValue(other.getWeekdayTariffValue());
5610 case WEEKEND_TARIFF_VALUE: {
5611 mergeWeekendTariffValue(other.getWeekendTariffValue());
5614 case STATE_OF_CHARGE_PROFILE_VALUE: {
5615 mergeStateOfChargeProfileValue(other.getStateOfChargeProfileValue());
5618 case WEEKLY_SETTINGS_HEAD_UNIT_VALUE: {
5619 mergeWeeklySettingsHeadUnitValue(other.getWeeklySettingsHeadUnitValue());
5622 case SPEED_ALERT_CONFIGURATION_VALUE: {
5623 mergeSpeedAlertConfigurationValue(other.getSpeedAlertConfigurationValue());
5626 case ECO_HISTOGRAM_VALUE: {
5627 mergeEcoHistogramValue(other.getEcoHistogramValue());
5630 case WEEKLY_PROFILE_VALUE: {
5631 mergeWeeklyProfileValue(other.getWeeklyProfileValue());
5634 case CHARGE_PROGRAMS_VALUE: {
5635 mergeChargeProgramsValue(other.getChargeProgramsValue());
5638 case ATTRIBUTETYPE_NOT_SET: {
5642 this.mergeUnknownFields(other.getUnknownFields());
5648 public final boolean isInitialized() {
5653 public Builder mergeFrom(
5654 com.google.protobuf.CodedInputStream input,
5655 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5656 throws java.io.IOException {
5657 if (extensionRegistry == null) {
5658 throw new java.lang.NullPointerException();
5661 boolean done = false;
5663 int tag = input.readTag();
5669 timestamp_ = input.readInt64();
5670 bitField0_ |= 0x00000001;
5674 changed_ = input.readBool();
5675 bitField0_ |= 0x00000004;
5679 status_ = input.readInt32();
5680 bitField0_ |= 0x00000008;
5684 attributeType_ = input.readInt64();
5685 attributeTypeCase_ = 4;
5689 attributeType_ = input.readBool();
5690 attributeTypeCase_ = 5;
5694 java.lang.String s = input.readStringRequireUtf8();
5695 attributeTypeCase_ = 6;
5700 attributeType_ = input.readDouble();
5701 attributeTypeCase_ = 7;
5705 attributeType_ = input.readBool();
5706 attributeTypeCase_ = 8;
5710 java.lang.String s = input.readStringRequireUtf8();
5711 attributeTypeCase_ = 9;
5716 timestampInMs_ = input.readInt64();
5717 bitField0_ |= 0x00000002;
5721 displayValue_ = input.readStringRequireUtf8();
5722 bitField0_ |= 0x00000020;
5726 int rawValue = input.readEnum();
5727 displayUnitCase_ = 12;
5728 displayUnit_ = rawValue;
5732 int rawValue = input.readEnum();
5733 displayUnitCase_ = 13;
5734 displayUnit_ = rawValue;
5738 int rawValue = input.readEnum();
5739 displayUnitCase_ = 14;
5740 displayUnit_ = rawValue;
5744 int rawValue = input.readEnum();
5745 displayUnitCase_ = 15;
5746 displayUnit_ = rawValue;
5750 int rawValue = input.readEnum();
5751 displayUnitCase_ = 16;
5752 displayUnit_ = rawValue;
5756 int rawValue = input.readEnum();
5757 displayUnitCase_ = 17;
5758 displayUnit_ = rawValue;
5762 int rawValue = input.readEnum();
5763 displayUnitCase_ = 18;
5764 displayUnit_ = rawValue;
5768 int rawValue = input.readEnum();
5769 displayUnitCase_ = 19;
5770 displayUnit_ = rawValue;
5775 getTemperaturePointsValueFieldBuilder().getBuilder(),
5777 attributeTypeCase_ = 20;
5782 getWeekdayTariffValueFieldBuilder().getBuilder(),
5784 attributeTypeCase_ = 21;
5789 getWeekendTariffValueFieldBuilder().getBuilder(),
5791 attributeTypeCase_ = 22;
5796 getStateOfChargeProfileValueFieldBuilder().getBuilder(),
5798 attributeTypeCase_ = 23;
5803 getWeeklySettingsHeadUnitValueFieldBuilder().getBuilder(),
5805 attributeTypeCase_ = 24;
5809 int rawValue = input.readEnum();
5810 displayUnitCase_ = 25;
5811 displayUnit_ = rawValue;
5815 int rawValue = input.readEnum();
5816 displayUnitCase_ = 26;
5817 displayUnit_ = rawValue;
5822 getSpeedAlertConfigurationValueFieldBuilder().getBuilder(),
5824 attributeTypeCase_ = 27;
5829 getEcoHistogramValueFieldBuilder().getBuilder(),
5831 attributeTypeCase_ = 28;
5836 getWeeklyProfileValueFieldBuilder().getBuilder(),
5838 attributeTypeCase_ = 29;
5842 int v = input.readInt32();
5843 ensureServiceIdsIsMutable();
5844 serviceIds_.addInt(v);
5848 int length = input.readRawVarint32();
5849 int limit = input.pushLimit(length);
5850 ensureServiceIdsIsMutable();
5851 while (input.getBytesUntilLimit() > 0) {
5852 serviceIds_.addInt(input.readInt32());
5854 input.popLimit(limit);
5859 getChargeProgramsValueFieldBuilder().getBuilder(),
5861 attributeTypeCase_ = 31;
5865 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
5866 done = true; // was an endgroup tag
5872 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5873 throw e.unwrapIOException();
5879 private int displayUnitCase_ = 0;
5880 private java.lang.Object displayUnit_;
5881 public DisplayUnitCase
5882 getDisplayUnitCase() {
5883 return DisplayUnitCase.forNumber(
5887 public Builder clearDisplayUnit() {
5888 displayUnitCase_ = 0;
5889 displayUnit_ = null;
5894 private int attributeTypeCase_ = 0;
5895 private java.lang.Object attributeType_;
5896 public AttributeTypeCase
5897 getAttributeTypeCase() {
5898 return AttributeTypeCase.forNumber(
5899 attributeTypeCase_);
5902 public Builder clearAttributeType() {
5903 attributeTypeCase_ = 0;
5904 attributeType_ = null;
5909 private int bitField0_;
5911 private long timestamp_ ;
5914 * time of the attribute change in the car as unix timestamp in seconds with UTC timezone (deprecated)
5917 * <code>int64 timestamp = 1 [deprecated = true];</code>
5918 * @deprecated proto.VehicleAttributeStatus.timestamp is deprecated.
5919 * See vehicle-events.proto;l=38
5920 * @return The timestamp.
5923 @java.lang.Deprecated public long getTimestamp() {
5928 * time of the attribute change in the car as unix timestamp in seconds with UTC timezone (deprecated)
5931 * <code>int64 timestamp = 1 [deprecated = true];</code>
5932 * @deprecated proto.VehicleAttributeStatus.timestamp is deprecated.
5933 * See vehicle-events.proto;l=38
5934 * @param value The timestamp to set.
5935 * @return This builder for chaining.
5937 @java.lang.Deprecated public Builder setTimestamp(long value) {
5940 bitField0_ |= 0x00000001;
5946 * time of the attribute change in the car as unix timestamp in seconds with UTC timezone (deprecated)
5949 * <code>int64 timestamp = 1 [deprecated = true];</code>
5950 * @deprecated proto.VehicleAttributeStatus.timestamp is deprecated.
5951 * See vehicle-events.proto;l=38
5952 * @return This builder for chaining.
5954 @java.lang.Deprecated public Builder clearTimestamp() {
5955 bitField0_ = (bitField0_ & ~0x00000001);
5961 private long timestampInMs_ ;
5964 * time of the attribute change in the car as unix timestamp in milliseconds with UTC timezone
5967 * <code>int64 timestamp_in_ms = 10;</code>
5968 * @return The timestampInMs.
5971 public long getTimestampInMs() {
5972 return timestampInMs_;
5976 * time of the attribute change in the car as unix timestamp in milliseconds with UTC timezone
5979 * <code>int64 timestamp_in_ms = 10;</code>
5980 * @param value The timestampInMs to set.
5981 * @return This builder for chaining.
5983 public Builder setTimestampInMs(long value) {
5985 timestampInMs_ = value;
5986 bitField0_ |= 0x00000002;
5992 * time of the attribute change in the car as unix timestamp in milliseconds with UTC timezone
5995 * <code>int64 timestamp_in_ms = 10;</code>
5996 * @return This builder for chaining.
5998 public Builder clearTimestampInMs() {
5999 bitField0_ = (bitField0_ & ~0x00000002);
6000 timestampInMs_ = 0L;
6005 private boolean changed_ ;
6007 * <code>bool changed = 2;</code>
6008 * @return The changed.
6011 public boolean getChanged() {
6015 * <code>bool changed = 2;</code>
6016 * @param value The changed to set.
6017 * @return This builder for chaining.
6019 public Builder setChanged(boolean value) {
6022 bitField0_ |= 0x00000004;
6027 * <code>bool changed = 2;</code>
6028 * @return This builder for chaining.
6030 public Builder clearChanged() {
6031 bitField0_ = (bitField0_ & ~0x00000004);
6037 private int status_ ;
6039 * <code>int32 status = 3;</code>
6040 * @return The status.
6043 public int getStatus() {
6047 * <code>int32 status = 3;</code>
6048 * @param value The status to set.
6049 * @return This builder for chaining.
6051 public Builder setStatus(int value) {
6054 bitField0_ |= 0x00000008;
6059 * <code>int32 status = 3;</code>
6060 * @return This builder for chaining.
6062 public Builder clearStatus() {
6063 bitField0_ = (bitField0_ & ~0x00000008);
6069 private com.google.protobuf.Internal.IntList serviceIds_ = emptyIntList();
6070 private void ensureServiceIdsIsMutable() {
6071 if (!serviceIds_.isModifiable()) {
6072 serviceIds_ = makeMutableCopy(serviceIds_);
6074 bitField0_ |= 0x00000010;
6078 * A list of service ids for which this attribute was sent
6079 * this field ist just used backend internally and will always
6080 * be empty when sent out to the client.
6083 * <code>repeated int32 service_ids = 30;</code>
6084 * @return A list containing the serviceIds.
6086 public java.util.List<java.lang.Integer>
6087 getServiceIdsList() {
6088 serviceIds_.makeImmutable();
6093 * A list of service ids for which this attribute was sent
6094 * this field ist just used backend internally and will always
6095 * be empty when sent out to the client.
6098 * <code>repeated int32 service_ids = 30;</code>
6099 * @return The count of serviceIds.
6101 public int getServiceIdsCount() {
6102 return serviceIds_.size();
6106 * A list of service ids for which this attribute was sent
6107 * this field ist just used backend internally and will always
6108 * be empty when sent out to the client.
6111 * <code>repeated int32 service_ids = 30;</code>
6112 * @param index The index of the element to return.
6113 * @return The serviceIds at the given index.
6115 public int getServiceIds(int index) {
6116 return serviceIds_.getInt(index);
6120 * A list of service ids for which this attribute was sent
6121 * this field ist just used backend internally and will always
6122 * be empty when sent out to the client.
6125 * <code>repeated int32 service_ids = 30;</code>
6126 * @param index The index to set the value at.
6127 * @param value The serviceIds to set.
6128 * @return This builder for chaining.
6130 public Builder setServiceIds(
6131 int index, int value) {
6133 ensureServiceIdsIsMutable();
6134 serviceIds_.setInt(index, value);
6135 bitField0_ |= 0x00000010;
6141 * A list of service ids for which this attribute was sent
6142 * this field ist just used backend internally and will always
6143 * be empty when sent out to the client.
6146 * <code>repeated int32 service_ids = 30;</code>
6147 * @param value The serviceIds to add.
6148 * @return This builder for chaining.
6150 public Builder addServiceIds(int value) {
6152 ensureServiceIdsIsMutable();
6153 serviceIds_.addInt(value);
6154 bitField0_ |= 0x00000010;
6160 * A list of service ids for which this attribute was sent
6161 * this field ist just used backend internally and will always
6162 * be empty when sent out to the client.
6165 * <code>repeated int32 service_ids = 30;</code>
6166 * @param values The serviceIds to add.
6167 * @return This builder for chaining.
6169 public Builder addAllServiceIds(
6170 java.lang.Iterable<? extends java.lang.Integer> values) {
6171 ensureServiceIdsIsMutable();
6172 com.google.protobuf.AbstractMessageLite.Builder.addAll(
6173 values, serviceIds_);
6174 bitField0_ |= 0x00000010;
6180 * A list of service ids for which this attribute was sent
6181 * this field ist just used backend internally and will always
6182 * be empty when sent out to the client.
6185 * <code>repeated int32 service_ids = 30;</code>
6186 * @return This builder for chaining.
6188 public Builder clearServiceIds() {
6189 serviceIds_ = emptyIntList();
6190 bitField0_ = (bitField0_ & ~0x00000010);
6195 private java.lang.Object displayValue_ = "";
6197 * <code>string display_value = 11;</code>
6198 * @return The displayValue.
6200 public java.lang.String getDisplayValue() {
6201 java.lang.Object ref = displayValue_;
6202 if (!(ref instanceof java.lang.String)) {
6203 com.google.protobuf.ByteString bs =
6204 (com.google.protobuf.ByteString) ref;
6205 java.lang.String s = bs.toStringUtf8();
6209 return (java.lang.String) ref;
6213 * <code>string display_value = 11;</code>
6214 * @return The bytes for displayValue.
6216 public com.google.protobuf.ByteString
6217 getDisplayValueBytes() {
6218 java.lang.Object ref = displayValue_;
6219 if (ref instanceof String) {
6220 com.google.protobuf.ByteString b =
6221 com.google.protobuf.ByteString.copyFromUtf8(
6222 (java.lang.String) ref);
6226 return (com.google.protobuf.ByteString) ref;
6230 * <code>string display_value = 11;</code>
6231 * @param value The displayValue to set.
6232 * @return This builder for chaining.
6234 public Builder setDisplayValue(
6235 java.lang.String value) {
6236 if (value == null) { throw new NullPointerException(); }
6237 displayValue_ = value;
6238 bitField0_ |= 0x00000020;
6243 * <code>string display_value = 11;</code>
6244 * @return This builder for chaining.
6246 public Builder clearDisplayValue() {
6247 displayValue_ = getDefaultInstance().getDisplayValue();
6248 bitField0_ = (bitField0_ & ~0x00000020);
6253 * <code>string display_value = 11;</code>
6254 * @param value The bytes for displayValue to set.
6255 * @return This builder for chaining.
6257 public Builder setDisplayValueBytes(
6258 com.google.protobuf.ByteString value) {
6259 if (value == null) { throw new NullPointerException(); }
6260 checkByteStringIsUtf8(value);
6261 displayValue_ = value;
6262 bitField0_ |= 0x00000020;
6268 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
6269 * @return Whether the combustionConsumptionUnit field is set.
6272 public boolean hasCombustionConsumptionUnit() {
6273 return displayUnitCase_ == 12;
6276 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
6277 * @return The enum numeric value on the wire for combustionConsumptionUnit.
6280 public int getCombustionConsumptionUnitValue() {
6281 if (displayUnitCase_ == 12) {
6282 return ((java.lang.Integer) displayUnit_).intValue();
6287 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
6288 * @param value The enum numeric value on the wire for combustionConsumptionUnit to set.
6289 * @return This builder for chaining.
6291 public Builder setCombustionConsumptionUnitValue(int value) {
6292 displayUnitCase_ = 12;
6293 displayUnit_ = value;
6298 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
6299 * @return The combustionConsumptionUnit.
6302 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit getCombustionConsumptionUnit() {
6303 if (displayUnitCase_ == 12) {
6304 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit.forNumber(
6305 (java.lang.Integer) displayUnit_);
6306 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit.UNRECOGNIZED : result;
6308 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit.UNSPECIFIED_COMBUSTION_CONSUMPTION_UNIT;
6311 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
6312 * @param value The combustionConsumptionUnit to set.
6313 * @return This builder for chaining.
6315 public Builder setCombustionConsumptionUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.CombustionConsumptionUnit value) {
6316 if (value == null) {
6317 throw new NullPointerException();
6319 displayUnitCase_ = 12;
6320 displayUnit_ = value.getNumber();
6325 * <code>.proto.VehicleAttributeStatus.CombustionConsumptionUnit combustion_consumption_unit = 12;</code>
6326 * @return This builder for chaining.
6328 public Builder clearCombustionConsumptionUnit() {
6329 if (displayUnitCase_ == 12) {
6330 displayUnitCase_ = 0;
6331 displayUnit_ = null;
6338 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
6339 * @return Whether the gasConsumptionUnit field is set.
6342 public boolean hasGasConsumptionUnit() {
6343 return displayUnitCase_ == 13;
6346 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
6347 * @return The enum numeric value on the wire for gasConsumptionUnit.
6350 public int getGasConsumptionUnitValue() {
6351 if (displayUnitCase_ == 13) {
6352 return ((java.lang.Integer) displayUnit_).intValue();
6357 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
6358 * @param value The enum numeric value on the wire for gasConsumptionUnit to set.
6359 * @return This builder for chaining.
6361 public Builder setGasConsumptionUnitValue(int value) {
6362 displayUnitCase_ = 13;
6363 displayUnit_ = value;
6368 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
6369 * @return The gasConsumptionUnit.
6372 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit getGasConsumptionUnit() {
6373 if (displayUnitCase_ == 13) {
6374 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit.forNumber(
6375 (java.lang.Integer) displayUnit_);
6376 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit.UNRECOGNIZED : result;
6378 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit.UNSPECIFIED_GAS_CONSUMPTION_UNIT;
6381 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
6382 * @param value The gasConsumptionUnit to set.
6383 * @return This builder for chaining.
6385 public Builder setGasConsumptionUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.GasConsumptionUnit value) {
6386 if (value == null) {
6387 throw new NullPointerException();
6389 displayUnitCase_ = 13;
6390 displayUnit_ = value.getNumber();
6395 * <code>.proto.VehicleAttributeStatus.GasConsumptionUnit gas_consumption_unit = 13;</code>
6396 * @return This builder for chaining.
6398 public Builder clearGasConsumptionUnit() {
6399 if (displayUnitCase_ == 13) {
6400 displayUnitCase_ = 0;
6401 displayUnit_ = null;
6408 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
6409 * @return Whether the electricityConsumptionUnit field is set.
6412 public boolean hasElectricityConsumptionUnit() {
6413 return displayUnitCase_ == 14;
6416 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
6417 * @return The enum numeric value on the wire for electricityConsumptionUnit.
6420 public int getElectricityConsumptionUnitValue() {
6421 if (displayUnitCase_ == 14) {
6422 return ((java.lang.Integer) displayUnit_).intValue();
6427 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
6428 * @param value The enum numeric value on the wire for electricityConsumptionUnit to set.
6429 * @return This builder for chaining.
6431 public Builder setElectricityConsumptionUnitValue(int value) {
6432 displayUnitCase_ = 14;
6433 displayUnit_ = value;
6438 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
6439 * @return The electricityConsumptionUnit.
6442 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit getElectricityConsumptionUnit() {
6443 if (displayUnitCase_ == 14) {
6444 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit.forNumber(
6445 (java.lang.Integer) displayUnit_);
6446 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit.UNRECOGNIZED : result;
6448 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit.UNSPECIFIED_ELECTRICITY_CONSUMPTION_UNIT;
6451 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
6452 * @param value The electricityConsumptionUnit to set.
6453 * @return This builder for chaining.
6455 public Builder setElectricityConsumptionUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ElectricityConsumptionUnit value) {
6456 if (value == null) {
6457 throw new NullPointerException();
6459 displayUnitCase_ = 14;
6460 displayUnit_ = value.getNumber();
6465 * <code>.proto.VehicleAttributeStatus.ElectricityConsumptionUnit electricity_consumption_unit = 14;</code>
6466 * @return This builder for chaining.
6468 public Builder clearElectricityConsumptionUnit() {
6469 if (displayUnitCase_ == 14) {
6470 displayUnitCase_ = 0;
6471 displayUnit_ = null;
6479 * use speed unit / length unit instead
6482 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
6483 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
6484 * See vehicle-events.proto;l=141
6485 * @return Whether the speedDistanceUnit field is set.
6488 @java.lang.Deprecated public boolean hasSpeedDistanceUnit() {
6489 return displayUnitCase_ == 15;
6493 * use speed unit / length unit instead
6496 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
6497 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
6498 * See vehicle-events.proto;l=141
6499 * @return The enum numeric value on the wire for speedDistanceUnit.
6502 @java.lang.Deprecated public int getSpeedDistanceUnitValue() {
6503 if (displayUnitCase_ == 15) {
6504 return ((java.lang.Integer) displayUnit_).intValue();
6510 * use speed unit / length unit instead
6513 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
6514 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
6515 * See vehicle-events.proto;l=141
6516 * @param value The enum numeric value on the wire for speedDistanceUnit to set.
6517 * @return This builder for chaining.
6519 @java.lang.Deprecated public Builder setSpeedDistanceUnitValue(int value) {
6520 displayUnitCase_ = 15;
6521 displayUnit_ = value;
6527 * use speed unit / length unit instead
6530 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
6531 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
6532 * See vehicle-events.proto;l=141
6533 * @return The speedDistanceUnit.
6536 @java.lang.Deprecated public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit getSpeedDistanceUnit() {
6537 if (displayUnitCase_ == 15) {
6538 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit.forNumber(
6539 (java.lang.Integer) displayUnit_);
6540 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit.UNRECOGNIZED : result;
6542 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit.UNSPECIFIED_SPEED_DISTANCE_UNIT;
6546 * use speed unit / length unit instead
6549 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
6550 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
6551 * See vehicle-events.proto;l=141
6552 * @param value The speedDistanceUnit to set.
6553 * @return This builder for chaining.
6555 @java.lang.Deprecated public Builder setSpeedDistanceUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedDistanceUnit value) {
6556 if (value == null) {
6557 throw new NullPointerException();
6559 displayUnitCase_ = 15;
6560 displayUnit_ = value.getNumber();
6566 * use speed unit / length unit instead
6569 * <code>.proto.VehicleAttributeStatus.SpeedDistanceUnit speed_distance_unit = 15 [deprecated = true];</code>
6570 * @deprecated proto.VehicleAttributeStatus.speed_distance_unit is deprecated.
6571 * See vehicle-events.proto;l=141
6572 * @return This builder for chaining.
6574 @java.lang.Deprecated public Builder clearSpeedDistanceUnit() {
6575 if (displayUnitCase_ == 15) {
6576 displayUnitCase_ = 0;
6577 displayUnit_ = null;
6584 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
6585 * @return Whether the speedUnit field is set.
6588 public boolean hasSpeedUnit() {
6589 return displayUnitCase_ == 25;
6592 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
6593 * @return The enum numeric value on the wire for speedUnit.
6596 public int getSpeedUnitValue() {
6597 if (displayUnitCase_ == 25) {
6598 return ((java.lang.Integer) displayUnit_).intValue();
6603 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
6604 * @param value The enum numeric value on the wire for speedUnit to set.
6605 * @return This builder for chaining.
6607 public Builder setSpeedUnitValue(int value) {
6608 displayUnitCase_ = 25;
6609 displayUnit_ = value;
6614 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
6615 * @return The speedUnit.
6618 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit getSpeedUnit() {
6619 if (displayUnitCase_ == 25) {
6620 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit.forNumber(
6621 (java.lang.Integer) displayUnit_);
6622 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit.UNRECOGNIZED : result;
6624 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit.UNSPECIFIED_SPEED_UNIT;
6627 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
6628 * @param value The speedUnit to set.
6629 * @return This builder for chaining.
6631 public Builder setSpeedUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.SpeedUnit value) {
6632 if (value == null) {
6633 throw new NullPointerException();
6635 displayUnitCase_ = 25;
6636 displayUnit_ = value.getNumber();
6641 * <code>.proto.VehicleAttributeStatus.SpeedUnit speed_unit = 25;</code>
6642 * @return This builder for chaining.
6644 public Builder clearSpeedUnit() {
6645 if (displayUnitCase_ == 25) {
6646 displayUnitCase_ = 0;
6647 displayUnit_ = null;
6654 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
6655 * @return Whether the distanceUnit field is set.
6658 public boolean hasDistanceUnit() {
6659 return displayUnitCase_ == 26;
6662 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
6663 * @return The enum numeric value on the wire for distanceUnit.
6666 public int getDistanceUnitValue() {
6667 if (displayUnitCase_ == 26) {
6668 return ((java.lang.Integer) displayUnit_).intValue();
6673 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
6674 * @param value The enum numeric value on the wire for distanceUnit to set.
6675 * @return This builder for chaining.
6677 public Builder setDistanceUnitValue(int value) {
6678 displayUnitCase_ = 26;
6679 displayUnit_ = value;
6684 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
6685 * @return The distanceUnit.
6688 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit getDistanceUnit() {
6689 if (displayUnitCase_ == 26) {
6690 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit.forNumber(
6691 (java.lang.Integer) displayUnit_);
6692 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit.UNRECOGNIZED : result;
6694 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit.UNSPECIFIED_DISTANCE_UNIT;
6697 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
6698 * @param value The distanceUnit to set.
6699 * @return This builder for chaining.
6701 public Builder setDistanceUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.DistanceUnit value) {
6702 if (value == null) {
6703 throw new NullPointerException();
6705 displayUnitCase_ = 26;
6706 displayUnit_ = value.getNumber();
6711 * <code>.proto.VehicleAttributeStatus.DistanceUnit distance_unit = 26;</code>
6712 * @return This builder for chaining.
6714 public Builder clearDistanceUnit() {
6715 if (displayUnitCase_ == 26) {
6716 displayUnitCase_ = 0;
6717 displayUnit_ = null;
6724 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
6725 * @return Whether the temperatureUnit field is set.
6728 public boolean hasTemperatureUnit() {
6729 return displayUnitCase_ == 16;
6732 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
6733 * @return The enum numeric value on the wire for temperatureUnit.
6736 public int getTemperatureUnitValue() {
6737 if (displayUnitCase_ == 16) {
6738 return ((java.lang.Integer) displayUnit_).intValue();
6743 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
6744 * @param value The enum numeric value on the wire for temperatureUnit to set.
6745 * @return This builder for chaining.
6747 public Builder setTemperatureUnitValue(int value) {
6748 displayUnitCase_ = 16;
6749 displayUnit_ = value;
6754 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
6755 * @return The temperatureUnit.
6758 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit getTemperatureUnit() {
6759 if (displayUnitCase_ == 16) {
6760 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit.forNumber(
6761 (java.lang.Integer) displayUnit_);
6762 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit.UNRECOGNIZED : result;
6764 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit.UNSPECIFIED_TEMPERATURE_UNIT;
6767 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
6768 * @param value The temperatureUnit to set.
6769 * @return This builder for chaining.
6771 public Builder setTemperatureUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.TemperatureUnit value) {
6772 if (value == null) {
6773 throw new NullPointerException();
6775 displayUnitCase_ = 16;
6776 displayUnit_ = value.getNumber();
6781 * <code>.proto.VehicleAttributeStatus.TemperatureUnit temperature_unit = 16;</code>
6782 * @return This builder for chaining.
6784 public Builder clearTemperatureUnit() {
6785 if (displayUnitCase_ == 16) {
6786 displayUnitCase_ = 0;
6787 displayUnit_ = null;
6794 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
6795 * @return Whether the pressureUnit field is set.
6798 public boolean hasPressureUnit() {
6799 return displayUnitCase_ == 17;
6802 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
6803 * @return The enum numeric value on the wire for pressureUnit.
6806 public int getPressureUnitValue() {
6807 if (displayUnitCase_ == 17) {
6808 return ((java.lang.Integer) displayUnit_).intValue();
6813 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
6814 * @param value The enum numeric value on the wire for pressureUnit to set.
6815 * @return This builder for chaining.
6817 public Builder setPressureUnitValue(int value) {
6818 displayUnitCase_ = 17;
6819 displayUnit_ = value;
6824 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
6825 * @return The pressureUnit.
6828 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit getPressureUnit() {
6829 if (displayUnitCase_ == 17) {
6830 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit.forNumber(
6831 (java.lang.Integer) displayUnit_);
6832 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit.UNRECOGNIZED : result;
6834 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit.UNSPECIFIED_PRESSURE_UNIT;
6837 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
6838 * @param value The pressureUnit to set.
6839 * @return This builder for chaining.
6841 public Builder setPressureUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.PressureUnit value) {
6842 if (value == null) {
6843 throw new NullPointerException();
6845 displayUnitCase_ = 17;
6846 displayUnit_ = value.getNumber();
6851 * <code>.proto.VehicleAttributeStatus.PressureUnit pressure_unit = 17;</code>
6852 * @return This builder for chaining.
6854 public Builder clearPressureUnit() {
6855 if (displayUnitCase_ == 17) {
6856 displayUnitCase_ = 0;
6857 displayUnit_ = null;
6864 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
6865 * @return Whether the ratioUnit field is set.
6868 public boolean hasRatioUnit() {
6869 return displayUnitCase_ == 18;
6872 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
6873 * @return The enum numeric value on the wire for ratioUnit.
6876 public int getRatioUnitValue() {
6877 if (displayUnitCase_ == 18) {
6878 return ((java.lang.Integer) displayUnit_).intValue();
6883 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
6884 * @param value The enum numeric value on the wire for ratioUnit to set.
6885 * @return This builder for chaining.
6887 public Builder setRatioUnitValue(int value) {
6888 displayUnitCase_ = 18;
6889 displayUnit_ = value;
6894 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
6895 * @return The ratioUnit.
6898 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit getRatioUnit() {
6899 if (displayUnitCase_ == 18) {
6900 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit.forNumber(
6901 (java.lang.Integer) displayUnit_);
6902 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit.UNRECOGNIZED : result;
6904 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit.UNSPECIFIED_RATIO_UNIT;
6907 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
6908 * @param value The ratioUnit to set.
6909 * @return This builder for chaining.
6911 public Builder setRatioUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.RatioUnit value) {
6912 if (value == null) {
6913 throw new NullPointerException();
6915 displayUnitCase_ = 18;
6916 displayUnit_ = value.getNumber();
6921 * <code>.proto.VehicleAttributeStatus.RatioUnit ratio_unit = 18;</code>
6922 * @return This builder for chaining.
6924 public Builder clearRatioUnit() {
6925 if (displayUnitCase_ == 18) {
6926 displayUnitCase_ = 0;
6927 displayUnit_ = null;
6934 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
6935 * @return Whether the clockHourUnit field is set.
6938 public boolean hasClockHourUnit() {
6939 return displayUnitCase_ == 19;
6942 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
6943 * @return The enum numeric value on the wire for clockHourUnit.
6946 public int getClockHourUnitValue() {
6947 if (displayUnitCase_ == 19) {
6948 return ((java.lang.Integer) displayUnit_).intValue();
6953 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
6954 * @param value The enum numeric value on the wire for clockHourUnit to set.
6955 * @return This builder for chaining.
6957 public Builder setClockHourUnitValue(int value) {
6958 displayUnitCase_ = 19;
6959 displayUnit_ = value;
6964 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
6965 * @return The clockHourUnit.
6968 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit getClockHourUnit() {
6969 if (displayUnitCase_ == 19) {
6970 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit result = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit.forNumber(
6971 (java.lang.Integer) displayUnit_);
6972 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit.UNRECOGNIZED : result;
6974 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit.UNSPECIFIED_CLOCK_HOUR_UNIT;
6977 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
6978 * @param value The clockHourUnit to set.
6979 * @return This builder for chaining.
6981 public Builder setClockHourUnit(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.ClockHourUnit value) {
6982 if (value == null) {
6983 throw new NullPointerException();
6985 displayUnitCase_ = 19;
6986 displayUnit_ = value.getNumber();
6991 * <code>.proto.VehicleAttributeStatus.ClockHourUnit clock_hour_unit = 19;</code>
6992 * @return This builder for chaining.
6994 public Builder clearClockHourUnit() {
6995 if (displayUnitCase_ == 19) {
6996 displayUnitCase_ = 0;
6997 displayUnit_ = null;
7004 * <code>int64 int_value = 4;</code>
7005 * @return Whether the intValue field is set.
7007 public boolean hasIntValue() {
7008 return attributeTypeCase_ == 4;
7011 * <code>int64 int_value = 4;</code>
7012 * @return The intValue.
7014 public long getIntValue() {
7015 if (attributeTypeCase_ == 4) {
7016 return (java.lang.Long) attributeType_;
7021 * <code>int64 int_value = 4;</code>
7022 * @param value The intValue to set.
7023 * @return This builder for chaining.
7025 public Builder setIntValue(long value) {
7027 attributeTypeCase_ = 4;
7028 attributeType_ = value;
7033 * <code>int64 int_value = 4;</code>
7034 * @return This builder for chaining.
7036 public Builder clearIntValue() {
7037 if (attributeTypeCase_ == 4) {
7038 attributeTypeCase_ = 0;
7039 attributeType_ = null;
7046 * <code>bool bool_value = 5;</code>
7047 * @return Whether the boolValue field is set.
7049 public boolean hasBoolValue() {
7050 return attributeTypeCase_ == 5;
7053 * <code>bool bool_value = 5;</code>
7054 * @return The boolValue.
7056 public boolean getBoolValue() {
7057 if (attributeTypeCase_ == 5) {
7058 return (java.lang.Boolean) attributeType_;
7063 * <code>bool bool_value = 5;</code>
7064 * @param value The boolValue to set.
7065 * @return This builder for chaining.
7067 public Builder setBoolValue(boolean value) {
7069 attributeTypeCase_ = 5;
7070 attributeType_ = value;
7075 * <code>bool bool_value = 5;</code>
7076 * @return This builder for chaining.
7078 public Builder clearBoolValue() {
7079 if (attributeTypeCase_ == 5) {
7080 attributeTypeCase_ = 0;
7081 attributeType_ = null;
7088 * <code>string string_value = 6;</code>
7089 * @return Whether the stringValue field is set.
7092 public boolean hasStringValue() {
7093 return attributeTypeCase_ == 6;
7096 * <code>string string_value = 6;</code>
7097 * @return The stringValue.
7100 public java.lang.String getStringValue() {
7101 java.lang.Object ref = "";
7102 if (attributeTypeCase_ == 6) {
7103 ref = attributeType_;
7105 if (!(ref instanceof java.lang.String)) {
7106 com.google.protobuf.ByteString bs =
7107 (com.google.protobuf.ByteString) ref;
7108 java.lang.String s = bs.toStringUtf8();
7109 if (attributeTypeCase_ == 6) {
7114 return (java.lang.String) ref;
7118 * <code>string string_value = 6;</code>
7119 * @return The bytes for stringValue.
7122 public com.google.protobuf.ByteString
7123 getStringValueBytes() {
7124 java.lang.Object ref = "";
7125 if (attributeTypeCase_ == 6) {
7126 ref = attributeType_;
7128 if (ref instanceof String) {
7129 com.google.protobuf.ByteString b =
7130 com.google.protobuf.ByteString.copyFromUtf8(
7131 (java.lang.String) ref);
7132 if (attributeTypeCase_ == 6) {
7137 return (com.google.protobuf.ByteString) ref;
7141 * <code>string string_value = 6;</code>
7142 * @param value The stringValue to set.
7143 * @return This builder for chaining.
7145 public Builder setStringValue(
7146 java.lang.String value) {
7147 if (value == null) { throw new NullPointerException(); }
7148 attributeTypeCase_ = 6;
7149 attributeType_ = value;
7154 * <code>string string_value = 6;</code>
7155 * @return This builder for chaining.
7157 public Builder clearStringValue() {
7158 if (attributeTypeCase_ == 6) {
7159 attributeTypeCase_ = 0;
7160 attributeType_ = null;
7166 * <code>string string_value = 6;</code>
7167 * @param value The bytes for stringValue to set.
7168 * @return This builder for chaining.
7170 public Builder setStringValueBytes(
7171 com.google.protobuf.ByteString value) {
7172 if (value == null) { throw new NullPointerException(); }
7173 checkByteStringIsUtf8(value);
7174 attributeTypeCase_ = 6;
7175 attributeType_ = value;
7181 * <code>double double_value = 7;</code>
7182 * @return Whether the doubleValue field is set.
7184 public boolean hasDoubleValue() {
7185 return attributeTypeCase_ == 7;
7188 * <code>double double_value = 7;</code>
7189 * @return The doubleValue.
7191 public double getDoubleValue() {
7192 if (attributeTypeCase_ == 7) {
7193 return (java.lang.Double) attributeType_;
7198 * <code>double double_value = 7;</code>
7199 * @param value The doubleValue to set.
7200 * @return This builder for chaining.
7202 public Builder setDoubleValue(double value) {
7204 attributeTypeCase_ = 7;
7205 attributeType_ = value;
7210 * <code>double double_value = 7;</code>
7211 * @return This builder for chaining.
7213 public Builder clearDoubleValue() {
7214 if (attributeTypeCase_ == 7) {
7215 attributeTypeCase_ = 0;
7216 attributeType_ = null;
7223 * <code>bool nil_value = 8;</code>
7224 * @return Whether the nilValue field is set.
7226 public boolean hasNilValue() {
7227 return attributeTypeCase_ == 8;
7230 * <code>bool nil_value = 8;</code>
7231 * @return The nilValue.
7233 public boolean getNilValue() {
7234 if (attributeTypeCase_ == 8) {
7235 return (java.lang.Boolean) attributeType_;
7240 * <code>bool nil_value = 8;</code>
7241 * @param value The nilValue to set.
7242 * @return This builder for chaining.
7244 public Builder setNilValue(boolean value) {
7246 attributeTypeCase_ = 8;
7247 attributeType_ = value;
7252 * <code>bool nil_value = 8;</code>
7253 * @return This builder for chaining.
7255 public Builder clearNilValue() {
7256 if (attributeTypeCase_ == 8) {
7257 attributeTypeCase_ = 0;
7258 attributeType_ = null;
7265 * <code>string unsupported_value = 9;</code>
7266 * @return Whether the unsupportedValue field is set.
7269 public boolean hasUnsupportedValue() {
7270 return attributeTypeCase_ == 9;
7273 * <code>string unsupported_value = 9;</code>
7274 * @return The unsupportedValue.
7277 public java.lang.String getUnsupportedValue() {
7278 java.lang.Object ref = "";
7279 if (attributeTypeCase_ == 9) {
7280 ref = attributeType_;
7282 if (!(ref instanceof java.lang.String)) {
7283 com.google.protobuf.ByteString bs =
7284 (com.google.protobuf.ByteString) ref;
7285 java.lang.String s = bs.toStringUtf8();
7286 if (attributeTypeCase_ == 9) {
7291 return (java.lang.String) ref;
7295 * <code>string unsupported_value = 9;</code>
7296 * @return The bytes for unsupportedValue.
7299 public com.google.protobuf.ByteString
7300 getUnsupportedValueBytes() {
7301 java.lang.Object ref = "";
7302 if (attributeTypeCase_ == 9) {
7303 ref = attributeType_;
7305 if (ref instanceof String) {
7306 com.google.protobuf.ByteString b =
7307 com.google.protobuf.ByteString.copyFromUtf8(
7308 (java.lang.String) ref);
7309 if (attributeTypeCase_ == 9) {
7314 return (com.google.protobuf.ByteString) ref;
7318 * <code>string unsupported_value = 9;</code>
7319 * @param value The unsupportedValue to set.
7320 * @return This builder for chaining.
7322 public Builder setUnsupportedValue(
7323 java.lang.String value) {
7324 if (value == null) { throw new NullPointerException(); }
7325 attributeTypeCase_ = 9;
7326 attributeType_ = value;
7331 * <code>string unsupported_value = 9;</code>
7332 * @return This builder for chaining.
7334 public Builder clearUnsupportedValue() {
7335 if (attributeTypeCase_ == 9) {
7336 attributeTypeCase_ = 0;
7337 attributeType_ = null;
7343 * <code>string unsupported_value = 9;</code>
7344 * @param value The bytes for unsupportedValue to set.
7345 * @return This builder for chaining.
7347 public Builder setUnsupportedValueBytes(
7348 com.google.protobuf.ByteString value) {
7349 if (value == null) { throw new NullPointerException(); }
7350 checkByteStringIsUtf8(value);
7351 attributeTypeCase_ = 9;
7352 attributeType_ = value;
7357 private com.google.protobuf.SingleFieldBuilder<
7358 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder> temperaturePointsValueBuilder_;
7360 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7361 * @return Whether the temperaturePointsValue field is set.
7364 public boolean hasTemperaturePointsValue() {
7365 return attributeTypeCase_ == 20;
7368 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7369 * @return The temperaturePointsValue.
7372 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue getTemperaturePointsValue() {
7373 if (temperaturePointsValueBuilder_ == null) {
7374 if (attributeTypeCase_ == 20) {
7375 return (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_;
7377 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
7379 if (attributeTypeCase_ == 20) {
7380 return temperaturePointsValueBuilder_.getMessage();
7382 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
7386 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7388 public Builder setTemperaturePointsValue(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue value) {
7389 if (temperaturePointsValueBuilder_ == null) {
7390 if (value == null) {
7391 throw new NullPointerException();
7393 attributeType_ = value;
7396 temperaturePointsValueBuilder_.setMessage(value);
7398 attributeTypeCase_ = 20;
7402 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7404 public Builder setTemperaturePointsValue(
7405 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder builderForValue) {
7406 if (temperaturePointsValueBuilder_ == null) {
7407 attributeType_ = builderForValue.build();
7410 temperaturePointsValueBuilder_.setMessage(builderForValue.build());
7412 attributeTypeCase_ = 20;
7416 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7418 public Builder mergeTemperaturePointsValue(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue value) {
7419 if (temperaturePointsValueBuilder_ == null) {
7420 if (attributeTypeCase_ == 20 &&
7421 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance()) {
7422 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_)
7423 .mergeFrom(value).buildPartial();
7425 attributeType_ = value;
7429 if (attributeTypeCase_ == 20) {
7430 temperaturePointsValueBuilder_.mergeFrom(value);
7432 temperaturePointsValueBuilder_.setMessage(value);
7435 attributeTypeCase_ = 20;
7439 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7441 public Builder clearTemperaturePointsValue() {
7442 if (temperaturePointsValueBuilder_ == null) {
7443 if (attributeTypeCase_ == 20) {
7444 attributeTypeCase_ = 0;
7445 attributeType_ = null;
7449 if (attributeTypeCase_ == 20) {
7450 attributeTypeCase_ = 0;
7451 attributeType_ = null;
7453 temperaturePointsValueBuilder_.clear();
7458 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7460 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder getTemperaturePointsValueBuilder() {
7461 return getTemperaturePointsValueFieldBuilder().getBuilder();
7464 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7467 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder getTemperaturePointsValueOrBuilder() {
7468 if ((attributeTypeCase_ == 20) && (temperaturePointsValueBuilder_ != null)) {
7469 return temperaturePointsValueBuilder_.getMessageOrBuilder();
7471 if (attributeTypeCase_ == 20) {
7472 return (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_;
7474 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
7478 * <code>.proto.TemperaturePointsValue temperature_points_value = 20;</code>
7480 private com.google.protobuf.SingleFieldBuilder<
7481 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder>
7482 getTemperaturePointsValueFieldBuilder() {
7483 if (temperaturePointsValueBuilder_ == null) {
7484 if (!(attributeTypeCase_ == 20)) {
7485 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
7487 temperaturePointsValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7488 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder>(
7489 (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) attributeType_,
7490 getParentForChildren(),
7492 attributeType_ = null;
7494 attributeTypeCase_ = 20;
7496 return temperaturePointsValueBuilder_;
7499 private com.google.protobuf.SingleFieldBuilder<
7500 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder> weekdayTariffValueBuilder_;
7502 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7503 * @return Whether the weekdayTariffValue field is set.
7506 public boolean hasWeekdayTariffValue() {
7507 return attributeTypeCase_ == 21;
7510 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7511 * @return The weekdayTariffValue.
7514 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue getWeekdayTariffValue() {
7515 if (weekdayTariffValueBuilder_ == null) {
7516 if (attributeTypeCase_ == 21) {
7517 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_;
7519 return com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
7521 if (attributeTypeCase_ == 21) {
7522 return weekdayTariffValueBuilder_.getMessage();
7524 return com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
7528 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7530 public Builder setWeekdayTariffValue(com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue value) {
7531 if (weekdayTariffValueBuilder_ == null) {
7532 if (value == null) {
7533 throw new NullPointerException();
7535 attributeType_ = value;
7538 weekdayTariffValueBuilder_.setMessage(value);
7540 attributeTypeCase_ = 21;
7544 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7546 public Builder setWeekdayTariffValue(
7547 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder builderForValue) {
7548 if (weekdayTariffValueBuilder_ == null) {
7549 attributeType_ = builderForValue.build();
7552 weekdayTariffValueBuilder_.setMessage(builderForValue.build());
7554 attributeTypeCase_ = 21;
7558 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7560 public Builder mergeWeekdayTariffValue(com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue value) {
7561 if (weekdayTariffValueBuilder_ == null) {
7562 if (attributeTypeCase_ == 21 &&
7563 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance()) {
7564 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_)
7565 .mergeFrom(value).buildPartial();
7567 attributeType_ = value;
7571 if (attributeTypeCase_ == 21) {
7572 weekdayTariffValueBuilder_.mergeFrom(value);
7574 weekdayTariffValueBuilder_.setMessage(value);
7577 attributeTypeCase_ = 21;
7581 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7583 public Builder clearWeekdayTariffValue() {
7584 if (weekdayTariffValueBuilder_ == null) {
7585 if (attributeTypeCase_ == 21) {
7586 attributeTypeCase_ = 0;
7587 attributeType_ = null;
7591 if (attributeTypeCase_ == 21) {
7592 attributeTypeCase_ = 0;
7593 attributeType_ = null;
7595 weekdayTariffValueBuilder_.clear();
7600 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7602 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder getWeekdayTariffValueBuilder() {
7603 return getWeekdayTariffValueFieldBuilder().getBuilder();
7606 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7609 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder getWeekdayTariffValueOrBuilder() {
7610 if ((attributeTypeCase_ == 21) && (weekdayTariffValueBuilder_ != null)) {
7611 return weekdayTariffValueBuilder_.getMessageOrBuilder();
7613 if (attributeTypeCase_ == 21) {
7614 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_;
7616 return com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
7620 * <code>.proto.WeekdayTariffValue weekday_tariff_value = 21;</code>
7622 private com.google.protobuf.SingleFieldBuilder<
7623 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder>
7624 getWeekdayTariffValueFieldBuilder() {
7625 if (weekdayTariffValueBuilder_ == null) {
7626 if (!(attributeTypeCase_ == 21)) {
7627 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
7629 weekdayTariffValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7630 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder>(
7631 (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) attributeType_,
7632 getParentForChildren(),
7634 attributeType_ = null;
7636 attributeTypeCase_ = 21;
7638 return weekdayTariffValueBuilder_;
7641 private com.google.protobuf.SingleFieldBuilder<
7642 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder> weekendTariffValueBuilder_;
7644 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7645 * @return Whether the weekendTariffValue field is set.
7648 public boolean hasWeekendTariffValue() {
7649 return attributeTypeCase_ == 22;
7652 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7653 * @return The weekendTariffValue.
7656 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue getWeekendTariffValue() {
7657 if (weekendTariffValueBuilder_ == null) {
7658 if (attributeTypeCase_ == 22) {
7659 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_;
7661 return com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
7663 if (attributeTypeCase_ == 22) {
7664 return weekendTariffValueBuilder_.getMessage();
7666 return com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
7670 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7672 public Builder setWeekendTariffValue(com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue value) {
7673 if (weekendTariffValueBuilder_ == null) {
7674 if (value == null) {
7675 throw new NullPointerException();
7677 attributeType_ = value;
7680 weekendTariffValueBuilder_.setMessage(value);
7682 attributeTypeCase_ = 22;
7686 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7688 public Builder setWeekendTariffValue(
7689 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder builderForValue) {
7690 if (weekendTariffValueBuilder_ == null) {
7691 attributeType_ = builderForValue.build();
7694 weekendTariffValueBuilder_.setMessage(builderForValue.build());
7696 attributeTypeCase_ = 22;
7700 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7702 public Builder mergeWeekendTariffValue(com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue value) {
7703 if (weekendTariffValueBuilder_ == null) {
7704 if (attributeTypeCase_ == 22 &&
7705 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance()) {
7706 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_)
7707 .mergeFrom(value).buildPartial();
7709 attributeType_ = value;
7713 if (attributeTypeCase_ == 22) {
7714 weekendTariffValueBuilder_.mergeFrom(value);
7716 weekendTariffValueBuilder_.setMessage(value);
7719 attributeTypeCase_ = 22;
7723 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7725 public Builder clearWeekendTariffValue() {
7726 if (weekendTariffValueBuilder_ == null) {
7727 if (attributeTypeCase_ == 22) {
7728 attributeTypeCase_ = 0;
7729 attributeType_ = null;
7733 if (attributeTypeCase_ == 22) {
7734 attributeTypeCase_ = 0;
7735 attributeType_ = null;
7737 weekendTariffValueBuilder_.clear();
7742 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7744 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder getWeekendTariffValueBuilder() {
7745 return getWeekendTariffValueFieldBuilder().getBuilder();
7748 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7751 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder getWeekendTariffValueOrBuilder() {
7752 if ((attributeTypeCase_ == 22) && (weekendTariffValueBuilder_ != null)) {
7753 return weekendTariffValueBuilder_.getMessageOrBuilder();
7755 if (attributeTypeCase_ == 22) {
7756 return (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_;
7758 return com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
7762 * <code>.proto.WeekendTariffValue weekend_tariff_value = 22;</code>
7764 private com.google.protobuf.SingleFieldBuilder<
7765 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder>
7766 getWeekendTariffValueFieldBuilder() {
7767 if (weekendTariffValueBuilder_ == null) {
7768 if (!(attributeTypeCase_ == 22)) {
7769 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
7771 weekendTariffValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7772 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder>(
7773 (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) attributeType_,
7774 getParentForChildren(),
7776 attributeType_ = null;
7778 attributeTypeCase_ = 22;
7780 return weekendTariffValueBuilder_;
7783 private com.google.protobuf.SingleFieldBuilder<
7784 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder> stateOfChargeProfileValueBuilder_;
7786 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7787 * @return Whether the stateOfChargeProfileValue field is set.
7790 public boolean hasStateOfChargeProfileValue() {
7791 return attributeTypeCase_ == 23;
7794 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7795 * @return The stateOfChargeProfileValue.
7798 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue getStateOfChargeProfileValue() {
7799 if (stateOfChargeProfileValueBuilder_ == null) {
7800 if (attributeTypeCase_ == 23) {
7801 return (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_;
7803 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
7805 if (attributeTypeCase_ == 23) {
7806 return stateOfChargeProfileValueBuilder_.getMessage();
7808 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
7812 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7814 public Builder setStateOfChargeProfileValue(com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue value) {
7815 if (stateOfChargeProfileValueBuilder_ == null) {
7816 if (value == null) {
7817 throw new NullPointerException();
7819 attributeType_ = value;
7822 stateOfChargeProfileValueBuilder_.setMessage(value);
7824 attributeTypeCase_ = 23;
7828 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7830 public Builder setStateOfChargeProfileValue(
7831 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder builderForValue) {
7832 if (stateOfChargeProfileValueBuilder_ == null) {
7833 attributeType_ = builderForValue.build();
7836 stateOfChargeProfileValueBuilder_.setMessage(builderForValue.build());
7838 attributeTypeCase_ = 23;
7842 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7844 public Builder mergeStateOfChargeProfileValue(com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue value) {
7845 if (stateOfChargeProfileValueBuilder_ == null) {
7846 if (attributeTypeCase_ == 23 &&
7847 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance()) {
7848 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_)
7849 .mergeFrom(value).buildPartial();
7851 attributeType_ = value;
7855 if (attributeTypeCase_ == 23) {
7856 stateOfChargeProfileValueBuilder_.mergeFrom(value);
7858 stateOfChargeProfileValueBuilder_.setMessage(value);
7861 attributeTypeCase_ = 23;
7865 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7867 public Builder clearStateOfChargeProfileValue() {
7868 if (stateOfChargeProfileValueBuilder_ == null) {
7869 if (attributeTypeCase_ == 23) {
7870 attributeTypeCase_ = 0;
7871 attributeType_ = null;
7875 if (attributeTypeCase_ == 23) {
7876 attributeTypeCase_ = 0;
7877 attributeType_ = null;
7879 stateOfChargeProfileValueBuilder_.clear();
7884 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7886 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder getStateOfChargeProfileValueBuilder() {
7887 return getStateOfChargeProfileValueFieldBuilder().getBuilder();
7890 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7893 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder getStateOfChargeProfileValueOrBuilder() {
7894 if ((attributeTypeCase_ == 23) && (stateOfChargeProfileValueBuilder_ != null)) {
7895 return stateOfChargeProfileValueBuilder_.getMessageOrBuilder();
7897 if (attributeTypeCase_ == 23) {
7898 return (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_;
7900 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
7904 * <code>.proto.StateOfChargeProfileValue state_of_charge_profile_value = 23;</code>
7906 private com.google.protobuf.SingleFieldBuilder<
7907 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder>
7908 getStateOfChargeProfileValueFieldBuilder() {
7909 if (stateOfChargeProfileValueBuilder_ == null) {
7910 if (!(attributeTypeCase_ == 23)) {
7911 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
7913 stateOfChargeProfileValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
7914 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder>(
7915 (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) attributeType_,
7916 getParentForChildren(),
7918 attributeType_ = null;
7920 attributeTypeCase_ = 23;
7922 return stateOfChargeProfileValueBuilder_;
7925 private com.google.protobuf.SingleFieldBuilder<
7926 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder> weeklySettingsHeadUnitValueBuilder_;
7928 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
7929 * @return Whether the weeklySettingsHeadUnitValue field is set.
7932 public boolean hasWeeklySettingsHeadUnitValue() {
7933 return attributeTypeCase_ == 24;
7936 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
7937 * @return The weeklySettingsHeadUnitValue.
7940 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue getWeeklySettingsHeadUnitValue() {
7941 if (weeklySettingsHeadUnitValueBuilder_ == null) {
7942 if (attributeTypeCase_ == 24) {
7943 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_;
7945 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
7947 if (attributeTypeCase_ == 24) {
7948 return weeklySettingsHeadUnitValueBuilder_.getMessage();
7950 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
7954 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
7956 public Builder setWeeklySettingsHeadUnitValue(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue value) {
7957 if (weeklySettingsHeadUnitValueBuilder_ == null) {
7958 if (value == null) {
7959 throw new NullPointerException();
7961 attributeType_ = value;
7964 weeklySettingsHeadUnitValueBuilder_.setMessage(value);
7966 attributeTypeCase_ = 24;
7970 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
7972 public Builder setWeeklySettingsHeadUnitValue(
7973 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder builderForValue) {
7974 if (weeklySettingsHeadUnitValueBuilder_ == null) {
7975 attributeType_ = builderForValue.build();
7978 weeklySettingsHeadUnitValueBuilder_.setMessage(builderForValue.build());
7980 attributeTypeCase_ = 24;
7984 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
7986 public Builder mergeWeeklySettingsHeadUnitValue(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue value) {
7987 if (weeklySettingsHeadUnitValueBuilder_ == null) {
7988 if (attributeTypeCase_ == 24 &&
7989 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance()) {
7990 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_)
7991 .mergeFrom(value).buildPartial();
7993 attributeType_ = value;
7997 if (attributeTypeCase_ == 24) {
7998 weeklySettingsHeadUnitValueBuilder_.mergeFrom(value);
8000 weeklySettingsHeadUnitValueBuilder_.setMessage(value);
8003 attributeTypeCase_ = 24;
8007 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
8009 public Builder clearWeeklySettingsHeadUnitValue() {
8010 if (weeklySettingsHeadUnitValueBuilder_ == null) {
8011 if (attributeTypeCase_ == 24) {
8012 attributeTypeCase_ = 0;
8013 attributeType_ = null;
8017 if (attributeTypeCase_ == 24) {
8018 attributeTypeCase_ = 0;
8019 attributeType_ = null;
8021 weeklySettingsHeadUnitValueBuilder_.clear();
8026 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
8028 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder getWeeklySettingsHeadUnitValueBuilder() {
8029 return getWeeklySettingsHeadUnitValueFieldBuilder().getBuilder();
8032 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
8035 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder getWeeklySettingsHeadUnitValueOrBuilder() {
8036 if ((attributeTypeCase_ == 24) && (weeklySettingsHeadUnitValueBuilder_ != null)) {
8037 return weeklySettingsHeadUnitValueBuilder_.getMessageOrBuilder();
8039 if (attributeTypeCase_ == 24) {
8040 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_;
8042 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
8046 * <code>.proto.WeeklySettingsHeadUnitValue weekly_settings_head_unit_value = 24;</code>
8048 private com.google.protobuf.SingleFieldBuilder<
8049 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder>
8050 getWeeklySettingsHeadUnitValueFieldBuilder() {
8051 if (weeklySettingsHeadUnitValueBuilder_ == null) {
8052 if (!(attributeTypeCase_ == 24)) {
8053 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
8055 weeklySettingsHeadUnitValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8056 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder>(
8057 (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) attributeType_,
8058 getParentForChildren(),
8060 attributeType_ = null;
8062 attributeTypeCase_ = 24;
8064 return weeklySettingsHeadUnitValueBuilder_;
8067 private com.google.protobuf.SingleFieldBuilder<
8068 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder> speedAlertConfigurationValueBuilder_;
8070 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8071 * @return Whether the speedAlertConfigurationValue field is set.
8074 public boolean hasSpeedAlertConfigurationValue() {
8075 return attributeTypeCase_ == 27;
8078 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8079 * @return The speedAlertConfigurationValue.
8082 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue getSpeedAlertConfigurationValue() {
8083 if (speedAlertConfigurationValueBuilder_ == null) {
8084 if (attributeTypeCase_ == 27) {
8085 return (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_;
8087 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
8089 if (attributeTypeCase_ == 27) {
8090 return speedAlertConfigurationValueBuilder_.getMessage();
8092 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
8096 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8098 public Builder setSpeedAlertConfigurationValue(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue value) {
8099 if (speedAlertConfigurationValueBuilder_ == null) {
8100 if (value == null) {
8101 throw new NullPointerException();
8103 attributeType_ = value;
8106 speedAlertConfigurationValueBuilder_.setMessage(value);
8108 attributeTypeCase_ = 27;
8112 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8114 public Builder setSpeedAlertConfigurationValue(
8115 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder builderForValue) {
8116 if (speedAlertConfigurationValueBuilder_ == null) {
8117 attributeType_ = builderForValue.build();
8120 speedAlertConfigurationValueBuilder_.setMessage(builderForValue.build());
8122 attributeTypeCase_ = 27;
8126 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8128 public Builder mergeSpeedAlertConfigurationValue(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue value) {
8129 if (speedAlertConfigurationValueBuilder_ == null) {
8130 if (attributeTypeCase_ == 27 &&
8131 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance()) {
8132 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_)
8133 .mergeFrom(value).buildPartial();
8135 attributeType_ = value;
8139 if (attributeTypeCase_ == 27) {
8140 speedAlertConfigurationValueBuilder_.mergeFrom(value);
8142 speedAlertConfigurationValueBuilder_.setMessage(value);
8145 attributeTypeCase_ = 27;
8149 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8151 public Builder clearSpeedAlertConfigurationValue() {
8152 if (speedAlertConfigurationValueBuilder_ == null) {
8153 if (attributeTypeCase_ == 27) {
8154 attributeTypeCase_ = 0;
8155 attributeType_ = null;
8159 if (attributeTypeCase_ == 27) {
8160 attributeTypeCase_ = 0;
8161 attributeType_ = null;
8163 speedAlertConfigurationValueBuilder_.clear();
8168 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8170 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder getSpeedAlertConfigurationValueBuilder() {
8171 return getSpeedAlertConfigurationValueFieldBuilder().getBuilder();
8174 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8177 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder getSpeedAlertConfigurationValueOrBuilder() {
8178 if ((attributeTypeCase_ == 27) && (speedAlertConfigurationValueBuilder_ != null)) {
8179 return speedAlertConfigurationValueBuilder_.getMessageOrBuilder();
8181 if (attributeTypeCase_ == 27) {
8182 return (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_;
8184 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
8188 * <code>.proto.SpeedAlertConfigurationValue speed_alert_configuration_value = 27;</code>
8190 private com.google.protobuf.SingleFieldBuilder<
8191 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder>
8192 getSpeedAlertConfigurationValueFieldBuilder() {
8193 if (speedAlertConfigurationValueBuilder_ == null) {
8194 if (!(attributeTypeCase_ == 27)) {
8195 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
8197 speedAlertConfigurationValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8198 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder>(
8199 (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) attributeType_,
8200 getParentForChildren(),
8202 attributeType_ = null;
8204 attributeTypeCase_ = 27;
8206 return speedAlertConfigurationValueBuilder_;
8209 private com.google.protobuf.SingleFieldBuilder<
8210 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder> ecoHistogramValueBuilder_;
8212 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8213 * @return Whether the ecoHistogramValue field is set.
8216 public boolean hasEcoHistogramValue() {
8217 return attributeTypeCase_ == 28;
8220 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8221 * @return The ecoHistogramValue.
8224 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue getEcoHistogramValue() {
8225 if (ecoHistogramValueBuilder_ == null) {
8226 if (attributeTypeCase_ == 28) {
8227 return (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_;
8229 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
8231 if (attributeTypeCase_ == 28) {
8232 return ecoHistogramValueBuilder_.getMessage();
8234 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
8238 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8240 public Builder setEcoHistogramValue(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue value) {
8241 if (ecoHistogramValueBuilder_ == null) {
8242 if (value == null) {
8243 throw new NullPointerException();
8245 attributeType_ = value;
8248 ecoHistogramValueBuilder_.setMessage(value);
8250 attributeTypeCase_ = 28;
8254 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8256 public Builder setEcoHistogramValue(
8257 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder builderForValue) {
8258 if (ecoHistogramValueBuilder_ == null) {
8259 attributeType_ = builderForValue.build();
8262 ecoHistogramValueBuilder_.setMessage(builderForValue.build());
8264 attributeTypeCase_ = 28;
8268 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8270 public Builder mergeEcoHistogramValue(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue value) {
8271 if (ecoHistogramValueBuilder_ == null) {
8272 if (attributeTypeCase_ == 28 &&
8273 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance()) {
8274 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_)
8275 .mergeFrom(value).buildPartial();
8277 attributeType_ = value;
8281 if (attributeTypeCase_ == 28) {
8282 ecoHistogramValueBuilder_.mergeFrom(value);
8284 ecoHistogramValueBuilder_.setMessage(value);
8287 attributeTypeCase_ = 28;
8291 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8293 public Builder clearEcoHistogramValue() {
8294 if (ecoHistogramValueBuilder_ == null) {
8295 if (attributeTypeCase_ == 28) {
8296 attributeTypeCase_ = 0;
8297 attributeType_ = null;
8301 if (attributeTypeCase_ == 28) {
8302 attributeTypeCase_ = 0;
8303 attributeType_ = null;
8305 ecoHistogramValueBuilder_.clear();
8310 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8312 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder getEcoHistogramValueBuilder() {
8313 return getEcoHistogramValueFieldBuilder().getBuilder();
8316 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8319 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder getEcoHistogramValueOrBuilder() {
8320 if ((attributeTypeCase_ == 28) && (ecoHistogramValueBuilder_ != null)) {
8321 return ecoHistogramValueBuilder_.getMessageOrBuilder();
8323 if (attributeTypeCase_ == 28) {
8324 return (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_;
8326 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
8330 * <code>.proto.EcoHistogramValue eco_histogram_value = 28;</code>
8332 private com.google.protobuf.SingleFieldBuilder<
8333 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder>
8334 getEcoHistogramValueFieldBuilder() {
8335 if (ecoHistogramValueBuilder_ == null) {
8336 if (!(attributeTypeCase_ == 28)) {
8337 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
8339 ecoHistogramValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8340 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder>(
8341 (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) attributeType_,
8342 getParentForChildren(),
8344 attributeType_ = null;
8346 attributeTypeCase_ = 28;
8348 return ecoHistogramValueBuilder_;
8351 private com.google.protobuf.SingleFieldBuilder<
8352 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder> weeklyProfileValueBuilder_;
8354 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8355 * @return Whether the weeklyProfileValue field is set.
8358 public boolean hasWeeklyProfileValue() {
8359 return attributeTypeCase_ == 29;
8362 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8363 * @return The weeklyProfileValue.
8366 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue getWeeklyProfileValue() {
8367 if (weeklyProfileValueBuilder_ == null) {
8368 if (attributeTypeCase_ == 29) {
8369 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_;
8371 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
8373 if (attributeTypeCase_ == 29) {
8374 return weeklyProfileValueBuilder_.getMessage();
8376 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
8380 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8382 public Builder setWeeklyProfileValue(com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue value) {
8383 if (weeklyProfileValueBuilder_ == null) {
8384 if (value == null) {
8385 throw new NullPointerException();
8387 attributeType_ = value;
8390 weeklyProfileValueBuilder_.setMessage(value);
8392 attributeTypeCase_ = 29;
8396 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8398 public Builder setWeeklyProfileValue(
8399 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder builderForValue) {
8400 if (weeklyProfileValueBuilder_ == null) {
8401 attributeType_ = builderForValue.build();
8404 weeklyProfileValueBuilder_.setMessage(builderForValue.build());
8406 attributeTypeCase_ = 29;
8410 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8412 public Builder mergeWeeklyProfileValue(com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue value) {
8413 if (weeklyProfileValueBuilder_ == null) {
8414 if (attributeTypeCase_ == 29 &&
8415 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance()) {
8416 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_)
8417 .mergeFrom(value).buildPartial();
8419 attributeType_ = value;
8423 if (attributeTypeCase_ == 29) {
8424 weeklyProfileValueBuilder_.mergeFrom(value);
8426 weeklyProfileValueBuilder_.setMessage(value);
8429 attributeTypeCase_ = 29;
8433 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8435 public Builder clearWeeklyProfileValue() {
8436 if (weeklyProfileValueBuilder_ == null) {
8437 if (attributeTypeCase_ == 29) {
8438 attributeTypeCase_ = 0;
8439 attributeType_ = null;
8443 if (attributeTypeCase_ == 29) {
8444 attributeTypeCase_ = 0;
8445 attributeType_ = null;
8447 weeklyProfileValueBuilder_.clear();
8452 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8454 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder getWeeklyProfileValueBuilder() {
8455 return getWeeklyProfileValueFieldBuilder().getBuilder();
8458 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8461 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder getWeeklyProfileValueOrBuilder() {
8462 if ((attributeTypeCase_ == 29) && (weeklyProfileValueBuilder_ != null)) {
8463 return weeklyProfileValueBuilder_.getMessageOrBuilder();
8465 if (attributeTypeCase_ == 29) {
8466 return (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_;
8468 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
8472 * <code>.proto.WeeklyProfileValue weekly_profile_value = 29;</code>
8474 private com.google.protobuf.SingleFieldBuilder<
8475 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder>
8476 getWeeklyProfileValueFieldBuilder() {
8477 if (weeklyProfileValueBuilder_ == null) {
8478 if (!(attributeTypeCase_ == 29)) {
8479 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
8481 weeklyProfileValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8482 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder>(
8483 (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) attributeType_,
8484 getParentForChildren(),
8486 attributeType_ = null;
8488 attributeTypeCase_ = 29;
8490 return weeklyProfileValueBuilder_;
8493 private com.google.protobuf.SingleFieldBuilder<
8494 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder> chargeProgramsValueBuilder_;
8496 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8497 * @return Whether the chargeProgramsValue field is set.
8500 public boolean hasChargeProgramsValue() {
8501 return attributeTypeCase_ == 31;
8504 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8505 * @return The chargeProgramsValue.
8508 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue getChargeProgramsValue() {
8509 if (chargeProgramsValueBuilder_ == null) {
8510 if (attributeTypeCase_ == 31) {
8511 return (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_;
8513 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
8515 if (attributeTypeCase_ == 31) {
8516 return chargeProgramsValueBuilder_.getMessage();
8518 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
8522 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8524 public Builder setChargeProgramsValue(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue value) {
8525 if (chargeProgramsValueBuilder_ == null) {
8526 if (value == null) {
8527 throw new NullPointerException();
8529 attributeType_ = value;
8532 chargeProgramsValueBuilder_.setMessage(value);
8534 attributeTypeCase_ = 31;
8538 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8540 public Builder setChargeProgramsValue(
8541 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder builderForValue) {
8542 if (chargeProgramsValueBuilder_ == null) {
8543 attributeType_ = builderForValue.build();
8546 chargeProgramsValueBuilder_.setMessage(builderForValue.build());
8548 attributeTypeCase_ = 31;
8552 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8554 public Builder mergeChargeProgramsValue(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue value) {
8555 if (chargeProgramsValueBuilder_ == null) {
8556 if (attributeTypeCase_ == 31 &&
8557 attributeType_ != com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance()) {
8558 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_)
8559 .mergeFrom(value).buildPartial();
8561 attributeType_ = value;
8565 if (attributeTypeCase_ == 31) {
8566 chargeProgramsValueBuilder_.mergeFrom(value);
8568 chargeProgramsValueBuilder_.setMessage(value);
8571 attributeTypeCase_ = 31;
8575 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8577 public Builder clearChargeProgramsValue() {
8578 if (chargeProgramsValueBuilder_ == null) {
8579 if (attributeTypeCase_ == 31) {
8580 attributeTypeCase_ = 0;
8581 attributeType_ = null;
8585 if (attributeTypeCase_ == 31) {
8586 attributeTypeCase_ = 0;
8587 attributeType_ = null;
8589 chargeProgramsValueBuilder_.clear();
8594 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8596 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder getChargeProgramsValueBuilder() {
8597 return getChargeProgramsValueFieldBuilder().getBuilder();
8600 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8603 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder getChargeProgramsValueOrBuilder() {
8604 if ((attributeTypeCase_ == 31) && (chargeProgramsValueBuilder_ != null)) {
8605 return chargeProgramsValueBuilder_.getMessageOrBuilder();
8607 if (attributeTypeCase_ == 31) {
8608 return (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_;
8610 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
8614 * <code>.proto.ChargeProgramsValue charge_programs_value = 31;</code>
8616 private com.google.protobuf.SingleFieldBuilder<
8617 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder>
8618 getChargeProgramsValueFieldBuilder() {
8619 if (chargeProgramsValueBuilder_ == null) {
8620 if (!(attributeTypeCase_ == 31)) {
8621 attributeType_ = com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
8623 chargeProgramsValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
8624 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder>(
8625 (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) attributeType_,
8626 getParentForChildren(),
8628 attributeType_ = null;
8630 attributeTypeCase_ = 31;
8632 return chargeProgramsValueBuilder_;
8635 // @@protoc_insertion_point(builder_scope:proto.VehicleAttributeStatus)
8638 // @@protoc_insertion_point(class_scope:proto.VehicleAttributeStatus)
8639 private static final com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus DEFAULT_INSTANCE;
8641 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus();
8644 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getDefaultInstance() {
8645 return DEFAULT_INSTANCE;
8648 private static final com.google.protobuf.Parser<VehicleAttributeStatus>
8649 PARSER = new com.google.protobuf.AbstractParser<VehicleAttributeStatus>() {
8651 public VehicleAttributeStatus parsePartialFrom(
8652 com.google.protobuf.CodedInputStream input,
8653 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8654 throws com.google.protobuf.InvalidProtocolBufferException {
8655 Builder builder = newBuilder();
8657 builder.mergeFrom(input, extensionRegistry);
8658 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
8659 throw e.setUnfinishedMessage(builder.buildPartial());
8660 } catch (com.google.protobuf.UninitializedMessageException e) {
8661 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
8662 } catch (java.io.IOException e) {
8663 throw new com.google.protobuf.InvalidProtocolBufferException(e)
8664 .setUnfinishedMessage(builder.buildPartial());
8666 return builder.buildPartial();
8670 public static com.google.protobuf.Parser<VehicleAttributeStatus> parser() {
8675 public com.google.protobuf.Parser<VehicleAttributeStatus> getParserForType() {
8680 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getDefaultInstanceForType() {
8681 return DEFAULT_INSTANCE;
8686 public interface ChargeProgramsValueOrBuilder extends
8687 // @@protoc_insertion_point(interface_extends:proto.ChargeProgramsValue)
8688 com.google.protobuf.MessageOrBuilder {
8691 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8693 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters>
8694 getChargeProgramParametersList();
8696 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8698 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters getChargeProgramParameters(int index);
8700 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8702 int getChargeProgramParametersCount();
8704 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8706 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder>
8707 getChargeProgramParametersOrBuilderList();
8709 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8711 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder getChargeProgramParametersOrBuilder(
8715 * Protobuf type {@code proto.ChargeProgramsValue}
8717 public static final class ChargeProgramsValue extends
8718 com.google.protobuf.GeneratedMessage implements
8719 // @@protoc_insertion_point(message_implements:proto.ChargeProgramsValue)
8720 ChargeProgramsValueOrBuilder {
8721 private static final long serialVersionUID = 0L;
8723 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
8724 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
8729 ChargeProgramsValue.class.getName());
8731 // Use ChargeProgramsValue.newBuilder() to construct.
8732 private ChargeProgramsValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
8735 private ChargeProgramsValue() {
8736 chargeProgramParameters_ = java.util.Collections.emptyList();
8739 public static final com.google.protobuf.Descriptors.Descriptor
8741 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramsValue_descriptor;
8745 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8746 internalGetFieldAccessorTable() {
8747 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramsValue_fieldAccessorTable
8748 .ensureFieldAccessorsInitialized(
8749 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.class, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder.class);
8752 public static final int CHARGE_PROGRAM_PARAMETERS_FIELD_NUMBER = 1;
8753 @SuppressWarnings("serial")
8754 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters> chargeProgramParameters_;
8756 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8759 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters> getChargeProgramParametersList() {
8760 return chargeProgramParameters_;
8763 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8766 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder>
8767 getChargeProgramParametersOrBuilderList() {
8768 return chargeProgramParameters_;
8771 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8774 public int getChargeProgramParametersCount() {
8775 return chargeProgramParameters_.size();
8778 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8781 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters getChargeProgramParameters(int index) {
8782 return chargeProgramParameters_.get(index);
8785 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
8788 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder getChargeProgramParametersOrBuilder(
8790 return chargeProgramParameters_.get(index);
8793 private byte memoizedIsInitialized = -1;
8795 public final boolean isInitialized() {
8796 byte isInitialized = memoizedIsInitialized;
8797 if (isInitialized == 1) return true;
8798 if (isInitialized == 0) return false;
8800 memoizedIsInitialized = 1;
8805 public void writeTo(com.google.protobuf.CodedOutputStream output)
8806 throws java.io.IOException {
8807 for (int i = 0; i < chargeProgramParameters_.size(); i++) {
8808 output.writeMessage(1, chargeProgramParameters_.get(i));
8810 getUnknownFields().writeTo(output);
8814 public int getSerializedSize() {
8815 int size = memoizedSize;
8816 if (size != -1) return size;
8819 for (int i = 0; i < chargeProgramParameters_.size(); i++) {
8820 size += com.google.protobuf.CodedOutputStream
8821 .computeMessageSize(1, chargeProgramParameters_.get(i));
8823 size += getUnknownFields().getSerializedSize();
8824 memoizedSize = size;
8829 public boolean equals(final java.lang.Object obj) {
8833 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue)) {
8834 return super.equals(obj);
8836 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue other = (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) obj;
8838 if (!getChargeProgramParametersList()
8839 .equals(other.getChargeProgramParametersList())) return false;
8840 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
8845 public int hashCode() {
8846 if (memoizedHashCode != 0) {
8847 return memoizedHashCode;
8850 hash = (19 * hash) + getDescriptor().hashCode();
8851 if (getChargeProgramParametersCount() > 0) {
8852 hash = (37 * hash) + CHARGE_PROGRAM_PARAMETERS_FIELD_NUMBER;
8853 hash = (53 * hash) + getChargeProgramParametersList().hashCode();
8855 hash = (29 * hash) + getUnknownFields().hashCode();
8856 memoizedHashCode = hash;
8860 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8861 java.nio.ByteBuffer data)
8862 throws com.google.protobuf.InvalidProtocolBufferException {
8863 return PARSER.parseFrom(data);
8865 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8866 java.nio.ByteBuffer data,
8867 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8868 throws com.google.protobuf.InvalidProtocolBufferException {
8869 return PARSER.parseFrom(data, extensionRegistry);
8871 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8872 com.google.protobuf.ByteString data)
8873 throws com.google.protobuf.InvalidProtocolBufferException {
8874 return PARSER.parseFrom(data);
8876 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8877 com.google.protobuf.ByteString data,
8878 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8879 throws com.google.protobuf.InvalidProtocolBufferException {
8880 return PARSER.parseFrom(data, extensionRegistry);
8882 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(byte[] data)
8883 throws com.google.protobuf.InvalidProtocolBufferException {
8884 return PARSER.parseFrom(data);
8886 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8888 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8889 throws com.google.protobuf.InvalidProtocolBufferException {
8890 return PARSER.parseFrom(data, extensionRegistry);
8892 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(java.io.InputStream input)
8893 throws java.io.IOException {
8894 return com.google.protobuf.GeneratedMessage
8895 .parseWithIOException(PARSER, input);
8897 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8898 java.io.InputStream input,
8899 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8900 throws java.io.IOException {
8901 return com.google.protobuf.GeneratedMessage
8902 .parseWithIOException(PARSER, input, extensionRegistry);
8905 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseDelimitedFrom(java.io.InputStream input)
8906 throws java.io.IOException {
8907 return com.google.protobuf.GeneratedMessage
8908 .parseDelimitedWithIOException(PARSER, input);
8911 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseDelimitedFrom(
8912 java.io.InputStream input,
8913 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8914 throws java.io.IOException {
8915 return com.google.protobuf.GeneratedMessage
8916 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
8918 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8919 com.google.protobuf.CodedInputStream input)
8920 throws java.io.IOException {
8921 return com.google.protobuf.GeneratedMessage
8922 .parseWithIOException(PARSER, input);
8924 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue parseFrom(
8925 com.google.protobuf.CodedInputStream input,
8926 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
8927 throws java.io.IOException {
8928 return com.google.protobuf.GeneratedMessage
8929 .parseWithIOException(PARSER, input, extensionRegistry);
8933 public Builder newBuilderForType() { return newBuilder(); }
8934 public static Builder newBuilder() {
8935 return DEFAULT_INSTANCE.toBuilder();
8937 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue prototype) {
8938 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
8941 public Builder toBuilder() {
8942 return this == DEFAULT_INSTANCE
8943 ? new Builder() : new Builder().mergeFrom(this);
8947 protected Builder newBuilderForType(
8948 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8949 Builder builder = new Builder(parent);
8953 * Protobuf type {@code proto.ChargeProgramsValue}
8955 public static final class Builder extends
8956 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
8957 // @@protoc_insertion_point(builder_implements:proto.ChargeProgramsValue)
8958 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValueOrBuilder {
8959 public static final com.google.protobuf.Descriptors.Descriptor
8961 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramsValue_descriptor;
8965 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
8966 internalGetFieldAccessorTable() {
8967 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramsValue_fieldAccessorTable
8968 .ensureFieldAccessorsInitialized(
8969 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.class, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.Builder.class);
8972 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.newBuilder()
8978 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
8983 public Builder clear() {
8986 if (chargeProgramParametersBuilder_ == null) {
8987 chargeProgramParameters_ = java.util.Collections.emptyList();
8989 chargeProgramParameters_ = null;
8990 chargeProgramParametersBuilder_.clear();
8992 bitField0_ = (bitField0_ & ~0x00000001);
8997 public com.google.protobuf.Descriptors.Descriptor
8998 getDescriptorForType() {
8999 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramsValue_descriptor;
9003 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue getDefaultInstanceForType() {
9004 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance();
9008 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue build() {
9009 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue result = buildPartial();
9010 if (!result.isInitialized()) {
9011 throw newUninitializedMessageException(result);
9017 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue buildPartial() {
9018 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue result = new com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue(this);
9019 buildPartialRepeatedFields(result);
9020 if (bitField0_ != 0) { buildPartial0(result); }
9025 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue result) {
9026 if (chargeProgramParametersBuilder_ == null) {
9027 if (((bitField0_ & 0x00000001) != 0)) {
9028 chargeProgramParameters_ = java.util.Collections.unmodifiableList(chargeProgramParameters_);
9029 bitField0_ = (bitField0_ & ~0x00000001);
9031 result.chargeProgramParameters_ = chargeProgramParameters_;
9033 result.chargeProgramParameters_ = chargeProgramParametersBuilder_.build();
9037 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue result) {
9038 int from_bitField0_ = bitField0_;
9042 public Builder mergeFrom(com.google.protobuf.Message other) {
9043 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue) {
9044 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue)other);
9046 super.mergeFrom(other);
9051 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue other) {
9052 if (other == com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue.getDefaultInstance()) return this;
9053 if (chargeProgramParametersBuilder_ == null) {
9054 if (!other.chargeProgramParameters_.isEmpty()) {
9055 if (chargeProgramParameters_.isEmpty()) {
9056 chargeProgramParameters_ = other.chargeProgramParameters_;
9057 bitField0_ = (bitField0_ & ~0x00000001);
9059 ensureChargeProgramParametersIsMutable();
9060 chargeProgramParameters_.addAll(other.chargeProgramParameters_);
9065 if (!other.chargeProgramParameters_.isEmpty()) {
9066 if (chargeProgramParametersBuilder_.isEmpty()) {
9067 chargeProgramParametersBuilder_.dispose();
9068 chargeProgramParametersBuilder_ = null;
9069 chargeProgramParameters_ = other.chargeProgramParameters_;
9070 bitField0_ = (bitField0_ & ~0x00000001);
9071 chargeProgramParametersBuilder_ =
9072 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
9073 getChargeProgramParametersFieldBuilder() : null;
9075 chargeProgramParametersBuilder_.addAllMessages(other.chargeProgramParameters_);
9079 this.mergeUnknownFields(other.getUnknownFields());
9085 public final boolean isInitialized() {
9090 public Builder mergeFrom(
9091 com.google.protobuf.CodedInputStream input,
9092 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9093 throws java.io.IOException {
9094 if (extensionRegistry == null) {
9095 throw new java.lang.NullPointerException();
9098 boolean done = false;
9100 int tag = input.readTag();
9106 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters m =
9108 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.parser(),
9110 if (chargeProgramParametersBuilder_ == null) {
9111 ensureChargeProgramParametersIsMutable();
9112 chargeProgramParameters_.add(m);
9114 chargeProgramParametersBuilder_.addMessage(m);
9119 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
9120 done = true; // was an endgroup tag
9126 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9127 throw e.unwrapIOException();
9133 private int bitField0_;
9135 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters> chargeProgramParameters_ =
9136 java.util.Collections.emptyList();
9137 private void ensureChargeProgramParametersIsMutable() {
9138 if (!((bitField0_ & 0x00000001) != 0)) {
9139 chargeProgramParameters_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters>(chargeProgramParameters_);
9140 bitField0_ |= 0x00000001;
9144 private com.google.protobuf.RepeatedFieldBuilder<
9145 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder> chargeProgramParametersBuilder_;
9148 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9150 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters> getChargeProgramParametersList() {
9151 if (chargeProgramParametersBuilder_ == null) {
9152 return java.util.Collections.unmodifiableList(chargeProgramParameters_);
9154 return chargeProgramParametersBuilder_.getMessageList();
9158 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9160 public int getChargeProgramParametersCount() {
9161 if (chargeProgramParametersBuilder_ == null) {
9162 return chargeProgramParameters_.size();
9164 return chargeProgramParametersBuilder_.getCount();
9168 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9170 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters getChargeProgramParameters(int index) {
9171 if (chargeProgramParametersBuilder_ == null) {
9172 return chargeProgramParameters_.get(index);
9174 return chargeProgramParametersBuilder_.getMessage(index);
9178 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9180 public Builder setChargeProgramParameters(
9181 int index, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters value) {
9182 if (chargeProgramParametersBuilder_ == null) {
9183 if (value == null) {
9184 throw new NullPointerException();
9186 ensureChargeProgramParametersIsMutable();
9187 chargeProgramParameters_.set(index, value);
9190 chargeProgramParametersBuilder_.setMessage(index, value);
9195 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9197 public Builder setChargeProgramParameters(
9198 int index, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder builderForValue) {
9199 if (chargeProgramParametersBuilder_ == null) {
9200 ensureChargeProgramParametersIsMutable();
9201 chargeProgramParameters_.set(index, builderForValue.build());
9204 chargeProgramParametersBuilder_.setMessage(index, builderForValue.build());
9209 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9211 public Builder addChargeProgramParameters(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters value) {
9212 if (chargeProgramParametersBuilder_ == null) {
9213 if (value == null) {
9214 throw new NullPointerException();
9216 ensureChargeProgramParametersIsMutable();
9217 chargeProgramParameters_.add(value);
9220 chargeProgramParametersBuilder_.addMessage(value);
9225 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9227 public Builder addChargeProgramParameters(
9228 int index, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters value) {
9229 if (chargeProgramParametersBuilder_ == null) {
9230 if (value == null) {
9231 throw new NullPointerException();
9233 ensureChargeProgramParametersIsMutable();
9234 chargeProgramParameters_.add(index, value);
9237 chargeProgramParametersBuilder_.addMessage(index, value);
9242 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9244 public Builder addChargeProgramParameters(
9245 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder builderForValue) {
9246 if (chargeProgramParametersBuilder_ == null) {
9247 ensureChargeProgramParametersIsMutable();
9248 chargeProgramParameters_.add(builderForValue.build());
9251 chargeProgramParametersBuilder_.addMessage(builderForValue.build());
9256 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9258 public Builder addChargeProgramParameters(
9259 int index, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder builderForValue) {
9260 if (chargeProgramParametersBuilder_ == null) {
9261 ensureChargeProgramParametersIsMutable();
9262 chargeProgramParameters_.add(index, builderForValue.build());
9265 chargeProgramParametersBuilder_.addMessage(index, builderForValue.build());
9270 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9272 public Builder addAllChargeProgramParameters(
9273 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters> values) {
9274 if (chargeProgramParametersBuilder_ == null) {
9275 ensureChargeProgramParametersIsMutable();
9276 com.google.protobuf.AbstractMessageLite.Builder.addAll(
9277 values, chargeProgramParameters_);
9280 chargeProgramParametersBuilder_.addAllMessages(values);
9285 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9287 public Builder clearChargeProgramParameters() {
9288 if (chargeProgramParametersBuilder_ == null) {
9289 chargeProgramParameters_ = java.util.Collections.emptyList();
9290 bitField0_ = (bitField0_ & ~0x00000001);
9293 chargeProgramParametersBuilder_.clear();
9298 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9300 public Builder removeChargeProgramParameters(int index) {
9301 if (chargeProgramParametersBuilder_ == null) {
9302 ensureChargeProgramParametersIsMutable();
9303 chargeProgramParameters_.remove(index);
9306 chargeProgramParametersBuilder_.remove(index);
9311 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9313 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder getChargeProgramParametersBuilder(
9315 return getChargeProgramParametersFieldBuilder().getBuilder(index);
9318 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9320 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder getChargeProgramParametersOrBuilder(
9322 if (chargeProgramParametersBuilder_ == null) {
9323 return chargeProgramParameters_.get(index); } else {
9324 return chargeProgramParametersBuilder_.getMessageOrBuilder(index);
9328 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9330 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder>
9331 getChargeProgramParametersOrBuilderList() {
9332 if (chargeProgramParametersBuilder_ != null) {
9333 return chargeProgramParametersBuilder_.getMessageOrBuilderList();
9335 return java.util.Collections.unmodifiableList(chargeProgramParameters_);
9339 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9341 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder addChargeProgramParametersBuilder() {
9342 return getChargeProgramParametersFieldBuilder().addBuilder(
9343 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.getDefaultInstance());
9346 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9348 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder addChargeProgramParametersBuilder(
9350 return getChargeProgramParametersFieldBuilder().addBuilder(
9351 index, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.getDefaultInstance());
9354 * <code>repeated .proto.ChargeProgramParameters charge_program_parameters = 1;</code>
9356 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder>
9357 getChargeProgramParametersBuilderList() {
9358 return getChargeProgramParametersFieldBuilder().getBuilderList();
9360 private com.google.protobuf.RepeatedFieldBuilder<
9361 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder>
9362 getChargeProgramParametersFieldBuilder() {
9363 if (chargeProgramParametersBuilder_ == null) {
9364 chargeProgramParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
9365 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder>(
9366 chargeProgramParameters_,
9367 ((bitField0_ & 0x00000001) != 0),
9368 getParentForChildren(),
9370 chargeProgramParameters_ = null;
9372 return chargeProgramParametersBuilder_;
9375 // @@protoc_insertion_point(builder_scope:proto.ChargeProgramsValue)
9378 // @@protoc_insertion_point(class_scope:proto.ChargeProgramsValue)
9379 private static final com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue DEFAULT_INSTANCE;
9381 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue();
9384 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue getDefaultInstance() {
9385 return DEFAULT_INSTANCE;
9388 private static final com.google.protobuf.Parser<ChargeProgramsValue>
9389 PARSER = new com.google.protobuf.AbstractParser<ChargeProgramsValue>() {
9391 public ChargeProgramsValue parsePartialFrom(
9392 com.google.protobuf.CodedInputStream input,
9393 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9394 throws com.google.protobuf.InvalidProtocolBufferException {
9395 Builder builder = newBuilder();
9397 builder.mergeFrom(input, extensionRegistry);
9398 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
9399 throw e.setUnfinishedMessage(builder.buildPartial());
9400 } catch (com.google.protobuf.UninitializedMessageException e) {
9401 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
9402 } catch (java.io.IOException e) {
9403 throw new com.google.protobuf.InvalidProtocolBufferException(e)
9404 .setUnfinishedMessage(builder.buildPartial());
9406 return builder.buildPartial();
9410 public static com.google.protobuf.Parser<ChargeProgramsValue> parser() {
9415 public com.google.protobuf.Parser<ChargeProgramsValue> getParserForType() {
9420 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramsValue getDefaultInstanceForType() {
9421 return DEFAULT_INSTANCE;
9426 public interface ChargeProgramParametersOrBuilder extends
9427 // @@protoc_insertion_point(interface_extends:proto.ChargeProgramParameters)
9428 com.google.protobuf.MessageOrBuilder {
9431 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
9432 * @return The enum numeric value on the wire for chargeProgram.
9434 int getChargeProgramValue();
9436 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
9437 * @return The chargeProgram.
9439 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram getChargeProgram();
9443 * Values need to be between 50 and 100 and divisible by ten
9444 * Maximum value for the state of charge of the HV battery [in %].
9445 * Valid value range = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
9448 * <code>int32 max_soc = 2 [json_name = "maxSoc"];</code>
9449 * @return The maxSoc.
9455 * unlock the plug after charging is finished
9456 * Denotes whether the charge cable should be unlocked automatically if the HV battery is fully charged resp. charged til Max. SoC value.
9457 * true - unlock automatically, false - do not unlock automatically
9458 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
9461 * <code>bool auto_unlock = 3 [json_name = "autounlock"];</code>
9462 * @return The autoUnlock.
9464 boolean getAutoUnlock();
9468 * automatically switch between home and work program, based on the location of the car
9469 * Denotes whether location based charging should be used.
9470 * true - use location based charging, false - do not use location based charging
9471 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
9474 * <code>bool location_based_charging = 4 [json_name = "locationbasedcharging"];</code>
9475 * @return The locationBasedCharging.
9477 boolean getLocationBasedCharging();
9480 * <code>bool weekly_profile = 5 [json_name = "weeklyprofile"];</code>
9481 * @return The weeklyProfile.
9483 boolean getWeeklyProfile();
9486 * <code>bool clockTimer = 6 [json_name = "clockTimer"];</code>
9487 * @return The clockTimer.
9489 boolean getClockTimer();
9492 * <code>int32 max_charging_current = 7 [json_name = "MaxChargingCurrent"];</code>
9493 * @return The maxChargingCurrent.
9495 int getMaxChargingCurrent();
9498 * <code>bool eco_charging = 8 [json_name = "EcoCharging"];</code>
9499 * @return The ecoCharging.
9501 boolean getEcoCharging();
9504 * Protobuf type {@code proto.ChargeProgramParameters}
9506 public static final class ChargeProgramParameters extends
9507 com.google.protobuf.GeneratedMessage implements
9508 // @@protoc_insertion_point(message_implements:proto.ChargeProgramParameters)
9509 ChargeProgramParametersOrBuilder {
9510 private static final long serialVersionUID = 0L;
9512 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
9513 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
9518 ChargeProgramParameters.class.getName());
9520 // Use ChargeProgramParameters.newBuilder() to construct.
9521 private ChargeProgramParameters(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
9524 private ChargeProgramParameters() {
9528 public static final com.google.protobuf.Descriptors.Descriptor
9530 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramParameters_descriptor;
9534 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9535 internalGetFieldAccessorTable() {
9536 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramParameters_fieldAccessorTable
9537 .ensureFieldAccessorsInitialized(
9538 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.class, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder.class);
9541 public static final int CHARGE_PROGRAM_FIELD_NUMBER = 1;
9542 private int chargeProgram_ = 0;
9544 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
9545 * @return The enum numeric value on the wire for chargeProgram.
9547 @java.lang.Override public int getChargeProgramValue() {
9548 return chargeProgram_;
9551 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
9552 * @return The chargeProgram.
9554 @java.lang.Override public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram getChargeProgram() {
9555 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram result = com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram.forNumber(chargeProgram_);
9556 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram.UNRECOGNIZED : result;
9559 public static final int MAX_SOC_FIELD_NUMBER = 2;
9560 private int maxSoc_ = 0;
9563 * Values need to be between 50 and 100 and divisible by ten
9564 * Maximum value for the state of charge of the HV battery [in %].
9565 * Valid value range = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
9568 * <code>int32 max_soc = 2 [json_name = "maxSoc"];</code>
9569 * @return The maxSoc.
9572 public int getMaxSoc() {
9576 public static final int AUTO_UNLOCK_FIELD_NUMBER = 3;
9577 private boolean autoUnlock_ = false;
9580 * unlock the plug after charging is finished
9581 * Denotes whether the charge cable should be unlocked automatically if the HV battery is fully charged resp. charged til Max. SoC value.
9582 * true - unlock automatically, false - do not unlock automatically
9583 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
9586 * <code>bool auto_unlock = 3 [json_name = "autounlock"];</code>
9587 * @return The autoUnlock.
9590 public boolean getAutoUnlock() {
9594 public static final int LOCATION_BASED_CHARGING_FIELD_NUMBER = 4;
9595 private boolean locationBasedCharging_ = false;
9598 * automatically switch between home and work program, based on the location of the car
9599 * Denotes whether location based charging should be used.
9600 * true - use location based charging, false - do not use location based charging
9601 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
9604 * <code>bool location_based_charging = 4 [json_name = "locationbasedcharging"];</code>
9605 * @return The locationBasedCharging.
9608 public boolean getLocationBasedCharging() {
9609 return locationBasedCharging_;
9612 public static final int WEEKLY_PROFILE_FIELD_NUMBER = 5;
9613 private boolean weeklyProfile_ = false;
9615 * <code>bool weekly_profile = 5 [json_name = "weeklyprofile"];</code>
9616 * @return The weeklyProfile.
9619 public boolean getWeeklyProfile() {
9620 return weeklyProfile_;
9623 public static final int CLOCKTIMER_FIELD_NUMBER = 6;
9624 private boolean clockTimer_ = false;
9626 * <code>bool clockTimer = 6 [json_name = "clockTimer"];</code>
9627 * @return The clockTimer.
9630 public boolean getClockTimer() {
9634 public static final int MAX_CHARGING_CURRENT_FIELD_NUMBER = 7;
9635 private int maxChargingCurrent_ = 0;
9637 * <code>int32 max_charging_current = 7 [json_name = "MaxChargingCurrent"];</code>
9638 * @return The maxChargingCurrent.
9641 public int getMaxChargingCurrent() {
9642 return maxChargingCurrent_;
9645 public static final int ECO_CHARGING_FIELD_NUMBER = 8;
9646 private boolean ecoCharging_ = false;
9648 * <code>bool eco_charging = 8 [json_name = "EcoCharging"];</code>
9649 * @return The ecoCharging.
9652 public boolean getEcoCharging() {
9653 return ecoCharging_;
9656 private byte memoizedIsInitialized = -1;
9658 public final boolean isInitialized() {
9659 byte isInitialized = memoizedIsInitialized;
9660 if (isInitialized == 1) return true;
9661 if (isInitialized == 0) return false;
9663 memoizedIsInitialized = 1;
9668 public void writeTo(com.google.protobuf.CodedOutputStream output)
9669 throws java.io.IOException {
9670 if (chargeProgram_ != com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram.DEFAULT_CHARGE_PROGRAM.getNumber()) {
9671 output.writeEnum(1, chargeProgram_);
9674 output.writeInt32(2, maxSoc_);
9676 if (autoUnlock_ != false) {
9677 output.writeBool(3, autoUnlock_);
9679 if (locationBasedCharging_ != false) {
9680 output.writeBool(4, locationBasedCharging_);
9682 if (weeklyProfile_ != false) {
9683 output.writeBool(5, weeklyProfile_);
9685 if (clockTimer_ != false) {
9686 output.writeBool(6, clockTimer_);
9688 if (maxChargingCurrent_ != 0) {
9689 output.writeInt32(7, maxChargingCurrent_);
9691 if (ecoCharging_ != false) {
9692 output.writeBool(8, ecoCharging_);
9694 getUnknownFields().writeTo(output);
9698 public int getSerializedSize() {
9699 int size = memoizedSize;
9700 if (size != -1) return size;
9703 if (chargeProgram_ != com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram.DEFAULT_CHARGE_PROGRAM.getNumber()) {
9704 size += com.google.protobuf.CodedOutputStream
9705 .computeEnumSize(1, chargeProgram_);
9708 size += com.google.protobuf.CodedOutputStream
9709 .computeInt32Size(2, maxSoc_);
9711 if (autoUnlock_ != false) {
9712 size += com.google.protobuf.CodedOutputStream
9713 .computeBoolSize(3, autoUnlock_);
9715 if (locationBasedCharging_ != false) {
9716 size += com.google.protobuf.CodedOutputStream
9717 .computeBoolSize(4, locationBasedCharging_);
9719 if (weeklyProfile_ != false) {
9720 size += com.google.protobuf.CodedOutputStream
9721 .computeBoolSize(5, weeklyProfile_);
9723 if (clockTimer_ != false) {
9724 size += com.google.protobuf.CodedOutputStream
9725 .computeBoolSize(6, clockTimer_);
9727 if (maxChargingCurrent_ != 0) {
9728 size += com.google.protobuf.CodedOutputStream
9729 .computeInt32Size(7, maxChargingCurrent_);
9731 if (ecoCharging_ != false) {
9732 size += com.google.protobuf.CodedOutputStream
9733 .computeBoolSize(8, ecoCharging_);
9735 size += getUnknownFields().getSerializedSize();
9736 memoizedSize = size;
9741 public boolean equals(final java.lang.Object obj) {
9745 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters)) {
9746 return super.equals(obj);
9748 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters other = (com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters) obj;
9750 if (chargeProgram_ != other.chargeProgram_) return false;
9752 != other.getMaxSoc()) return false;
9754 != other.getAutoUnlock()) return false;
9755 if (getLocationBasedCharging()
9756 != other.getLocationBasedCharging()) return false;
9757 if (getWeeklyProfile()
9758 != other.getWeeklyProfile()) return false;
9760 != other.getClockTimer()) return false;
9761 if (getMaxChargingCurrent()
9762 != other.getMaxChargingCurrent()) return false;
9763 if (getEcoCharging()
9764 != other.getEcoCharging()) return false;
9765 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
9770 public int hashCode() {
9771 if (memoizedHashCode != 0) {
9772 return memoizedHashCode;
9775 hash = (19 * hash) + getDescriptor().hashCode();
9776 hash = (37 * hash) + CHARGE_PROGRAM_FIELD_NUMBER;
9777 hash = (53 * hash) + chargeProgram_;
9778 hash = (37 * hash) + MAX_SOC_FIELD_NUMBER;
9779 hash = (53 * hash) + getMaxSoc();
9780 hash = (37 * hash) + AUTO_UNLOCK_FIELD_NUMBER;
9781 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9783 hash = (37 * hash) + LOCATION_BASED_CHARGING_FIELD_NUMBER;
9784 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9785 getLocationBasedCharging());
9786 hash = (37 * hash) + WEEKLY_PROFILE_FIELD_NUMBER;
9787 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9788 getWeeklyProfile());
9789 hash = (37 * hash) + CLOCKTIMER_FIELD_NUMBER;
9790 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9792 hash = (37 * hash) + MAX_CHARGING_CURRENT_FIELD_NUMBER;
9793 hash = (53 * hash) + getMaxChargingCurrent();
9794 hash = (37 * hash) + ECO_CHARGING_FIELD_NUMBER;
9795 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9797 hash = (29 * hash) + getUnknownFields().hashCode();
9798 memoizedHashCode = hash;
9802 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9803 java.nio.ByteBuffer data)
9804 throws com.google.protobuf.InvalidProtocolBufferException {
9805 return PARSER.parseFrom(data);
9807 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9808 java.nio.ByteBuffer data,
9809 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9810 throws com.google.protobuf.InvalidProtocolBufferException {
9811 return PARSER.parseFrom(data, extensionRegistry);
9813 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9814 com.google.protobuf.ByteString data)
9815 throws com.google.protobuf.InvalidProtocolBufferException {
9816 return PARSER.parseFrom(data);
9818 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9819 com.google.protobuf.ByteString data,
9820 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9821 throws com.google.protobuf.InvalidProtocolBufferException {
9822 return PARSER.parseFrom(data, extensionRegistry);
9824 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(byte[] data)
9825 throws com.google.protobuf.InvalidProtocolBufferException {
9826 return PARSER.parseFrom(data);
9828 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9830 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9831 throws com.google.protobuf.InvalidProtocolBufferException {
9832 return PARSER.parseFrom(data, extensionRegistry);
9834 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(java.io.InputStream input)
9835 throws java.io.IOException {
9836 return com.google.protobuf.GeneratedMessage
9837 .parseWithIOException(PARSER, input);
9839 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9840 java.io.InputStream input,
9841 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9842 throws java.io.IOException {
9843 return com.google.protobuf.GeneratedMessage
9844 .parseWithIOException(PARSER, input, extensionRegistry);
9847 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseDelimitedFrom(java.io.InputStream input)
9848 throws java.io.IOException {
9849 return com.google.protobuf.GeneratedMessage
9850 .parseDelimitedWithIOException(PARSER, input);
9853 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseDelimitedFrom(
9854 java.io.InputStream input,
9855 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9856 throws java.io.IOException {
9857 return com.google.protobuf.GeneratedMessage
9858 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
9860 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9861 com.google.protobuf.CodedInputStream input)
9862 throws java.io.IOException {
9863 return com.google.protobuf.GeneratedMessage
9864 .parseWithIOException(PARSER, input);
9866 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters parseFrom(
9867 com.google.protobuf.CodedInputStream input,
9868 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9869 throws java.io.IOException {
9870 return com.google.protobuf.GeneratedMessage
9871 .parseWithIOException(PARSER, input, extensionRegistry);
9875 public Builder newBuilderForType() { return newBuilder(); }
9876 public static Builder newBuilder() {
9877 return DEFAULT_INSTANCE.toBuilder();
9879 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters prototype) {
9880 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
9883 public Builder toBuilder() {
9884 return this == DEFAULT_INSTANCE
9885 ? new Builder() : new Builder().mergeFrom(this);
9889 protected Builder newBuilderForType(
9890 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9891 Builder builder = new Builder(parent);
9895 * Protobuf type {@code proto.ChargeProgramParameters}
9897 public static final class Builder extends
9898 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
9899 // @@protoc_insertion_point(builder_implements:proto.ChargeProgramParameters)
9900 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParametersOrBuilder {
9901 public static final com.google.protobuf.Descriptors.Descriptor
9903 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramParameters_descriptor;
9907 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
9908 internalGetFieldAccessorTable() {
9909 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramParameters_fieldAccessorTable
9910 .ensureFieldAccessorsInitialized(
9911 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.class, com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.Builder.class);
9914 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.newBuilder()
9920 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
9925 public Builder clear() {
9930 autoUnlock_ = false;
9931 locationBasedCharging_ = false;
9932 weeklyProfile_ = false;
9933 clockTimer_ = false;
9934 maxChargingCurrent_ = 0;
9935 ecoCharging_ = false;
9940 public com.google.protobuf.Descriptors.Descriptor
9941 getDescriptorForType() {
9942 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ChargeProgramParameters_descriptor;
9946 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters getDefaultInstanceForType() {
9947 return com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.getDefaultInstance();
9951 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters build() {
9952 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters result = buildPartial();
9953 if (!result.isInitialized()) {
9954 throw newUninitializedMessageException(result);
9960 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters buildPartial() {
9961 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters result = new com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters(this);
9962 if (bitField0_ != 0) { buildPartial0(result); }
9967 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters result) {
9968 int from_bitField0_ = bitField0_;
9969 if (((from_bitField0_ & 0x00000001) != 0)) {
9970 result.chargeProgram_ = chargeProgram_;
9972 if (((from_bitField0_ & 0x00000002) != 0)) {
9973 result.maxSoc_ = maxSoc_;
9975 if (((from_bitField0_ & 0x00000004) != 0)) {
9976 result.autoUnlock_ = autoUnlock_;
9978 if (((from_bitField0_ & 0x00000008) != 0)) {
9979 result.locationBasedCharging_ = locationBasedCharging_;
9981 if (((from_bitField0_ & 0x00000010) != 0)) {
9982 result.weeklyProfile_ = weeklyProfile_;
9984 if (((from_bitField0_ & 0x00000020) != 0)) {
9985 result.clockTimer_ = clockTimer_;
9987 if (((from_bitField0_ & 0x00000040) != 0)) {
9988 result.maxChargingCurrent_ = maxChargingCurrent_;
9990 if (((from_bitField0_ & 0x00000080) != 0)) {
9991 result.ecoCharging_ = ecoCharging_;
9996 public Builder mergeFrom(com.google.protobuf.Message other) {
9997 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters) {
9998 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters)other);
10000 super.mergeFrom(other);
10005 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters other) {
10006 if (other == com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters.getDefaultInstance()) return this;
10007 if (other.chargeProgram_ != 0) {
10008 setChargeProgramValue(other.getChargeProgramValue());
10010 if (other.getMaxSoc() != 0) {
10011 setMaxSoc(other.getMaxSoc());
10013 if (other.getAutoUnlock() != false) {
10014 setAutoUnlock(other.getAutoUnlock());
10016 if (other.getLocationBasedCharging() != false) {
10017 setLocationBasedCharging(other.getLocationBasedCharging());
10019 if (other.getWeeklyProfile() != false) {
10020 setWeeklyProfile(other.getWeeklyProfile());
10022 if (other.getClockTimer() != false) {
10023 setClockTimer(other.getClockTimer());
10025 if (other.getMaxChargingCurrent() != 0) {
10026 setMaxChargingCurrent(other.getMaxChargingCurrent());
10028 if (other.getEcoCharging() != false) {
10029 setEcoCharging(other.getEcoCharging());
10031 this.mergeUnknownFields(other.getUnknownFields());
10036 @java.lang.Override
10037 public final boolean isInitialized() {
10041 @java.lang.Override
10042 public Builder mergeFrom(
10043 com.google.protobuf.CodedInputStream input,
10044 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10045 throws java.io.IOException {
10046 if (extensionRegistry == null) {
10047 throw new java.lang.NullPointerException();
10050 boolean done = false;
10052 int tag = input.readTag();
10058 chargeProgram_ = input.readEnum();
10059 bitField0_ |= 0x00000001;
10063 maxSoc_ = input.readInt32();
10064 bitField0_ |= 0x00000002;
10068 autoUnlock_ = input.readBool();
10069 bitField0_ |= 0x00000004;
10073 locationBasedCharging_ = input.readBool();
10074 bitField0_ |= 0x00000008;
10078 weeklyProfile_ = input.readBool();
10079 bitField0_ |= 0x00000010;
10083 clockTimer_ = input.readBool();
10084 bitField0_ |= 0x00000020;
10088 maxChargingCurrent_ = input.readInt32();
10089 bitField0_ |= 0x00000040;
10093 ecoCharging_ = input.readBool();
10094 bitField0_ |= 0x00000080;
10098 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
10099 done = true; // was an endgroup tag
10105 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
10106 throw e.unwrapIOException();
10112 private int bitField0_;
10114 private int chargeProgram_ = 0;
10116 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
10117 * @return The enum numeric value on the wire for chargeProgram.
10119 @java.lang.Override public int getChargeProgramValue() {
10120 return chargeProgram_;
10123 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
10124 * @param value The enum numeric value on the wire for chargeProgram to set.
10125 * @return This builder for chaining.
10127 public Builder setChargeProgramValue(int value) {
10128 chargeProgram_ = value;
10129 bitField0_ |= 0x00000001;
10134 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
10135 * @return The chargeProgram.
10137 @java.lang.Override
10138 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram getChargeProgram() {
10139 com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram result = com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram.forNumber(chargeProgram_);
10140 return result == null ? com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram.UNRECOGNIZED : result;
10143 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
10144 * @param value The chargeProgram to set.
10145 * @return This builder for chaining.
10147 public Builder setChargeProgram(com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgram value) {
10148 if (value == null) {
10149 throw new NullPointerException();
10151 bitField0_ |= 0x00000001;
10152 chargeProgram_ = value.getNumber();
10157 * <code>.proto.ChargeProgram charge_program = 1 [json_name = "chargeprogram"];</code>
10158 * @return This builder for chaining.
10160 public Builder clearChargeProgram() {
10161 bitField0_ = (bitField0_ & ~0x00000001);
10162 chargeProgram_ = 0;
10167 private int maxSoc_ ;
10170 * Values need to be between 50 and 100 and divisible by ten
10171 * Maximum value for the state of charge of the HV battery [in %].
10172 * Valid value range = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
10175 * <code>int32 max_soc = 2 [json_name = "maxSoc"];</code>
10176 * @return The maxSoc.
10178 @java.lang.Override
10179 public int getMaxSoc() {
10184 * Values need to be between 50 and 100 and divisible by ten
10185 * Maximum value for the state of charge of the HV battery [in %].
10186 * Valid value range = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
10189 * <code>int32 max_soc = 2 [json_name = "maxSoc"];</code>
10190 * @param value The maxSoc to set.
10191 * @return This builder for chaining.
10193 public Builder setMaxSoc(int value) {
10196 bitField0_ |= 0x00000002;
10202 * Values need to be between 50 and 100 and divisible by ten
10203 * Maximum value for the state of charge of the HV battery [in %].
10204 * Valid value range = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
10207 * <code>int32 max_soc = 2 [json_name = "maxSoc"];</code>
10208 * @return This builder for chaining.
10210 public Builder clearMaxSoc() {
10211 bitField0_ = (bitField0_ & ~0x00000002);
10217 private boolean autoUnlock_ ;
10220 * unlock the plug after charging is finished
10221 * Denotes whether the charge cable should be unlocked automatically if the HV battery is fully charged resp. charged til Max. SoC value.
10222 * true - unlock automatically, false - do not unlock automatically
10223 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
10226 * <code>bool auto_unlock = 3 [json_name = "autounlock"];</code>
10227 * @return The autoUnlock.
10229 @java.lang.Override
10230 public boolean getAutoUnlock() {
10231 return autoUnlock_;
10235 * unlock the plug after charging is finished
10236 * Denotes whether the charge cable should be unlocked automatically if the HV battery is fully charged resp. charged til Max. SoC value.
10237 * true - unlock automatically, false - do not unlock automatically
10238 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
10241 * <code>bool auto_unlock = 3 [json_name = "autounlock"];</code>
10242 * @param value The autoUnlock to set.
10243 * @return This builder for chaining.
10245 public Builder setAutoUnlock(boolean value) {
10247 autoUnlock_ = value;
10248 bitField0_ |= 0x00000004;
10254 * unlock the plug after charging is finished
10255 * Denotes whether the charge cable should be unlocked automatically if the HV battery is fully charged resp. charged til Max. SoC value.
10256 * true - unlock automatically, false - do not unlock automatically
10257 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
10260 * <code>bool auto_unlock = 3 [json_name = "autounlock"];</code>
10261 * @return This builder for chaining.
10263 public Builder clearAutoUnlock() {
10264 bitField0_ = (bitField0_ & ~0x00000004);
10265 autoUnlock_ = false;
10270 private boolean locationBasedCharging_ ;
10273 * automatically switch between home and work program, based on the location of the car
10274 * Denotes whether location based charging should be used.
10275 * true - use location based charging, false - do not use location based charging
10276 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
10279 * <code>bool location_based_charging = 4 [json_name = "locationbasedcharging"];</code>
10280 * @return The locationBasedCharging.
10282 @java.lang.Override
10283 public boolean getLocationBasedCharging() {
10284 return locationBasedCharging_;
10288 * automatically switch between home and work program, based on the location of the car
10289 * Denotes whether location based charging should be used.
10290 * true - use location based charging, false - do not use location based charging
10291 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
10294 * <code>bool location_based_charging = 4 [json_name = "locationbasedcharging"];</code>
10295 * @param value The locationBasedCharging to set.
10296 * @return This builder for chaining.
10298 public Builder setLocationBasedCharging(boolean value) {
10300 locationBasedCharging_ = value;
10301 bitField0_ |= 0x00000008;
10307 * automatically switch between home and work program, based on the location of the car
10308 * Denotes whether location based charging should be used.
10309 * true - use location based charging, false - do not use location based charging
10310 * can only be used if chargeprogram is set to home or work. Otherwise it will be ignored.
10313 * <code>bool location_based_charging = 4 [json_name = "locationbasedcharging"];</code>
10314 * @return This builder for chaining.
10316 public Builder clearLocationBasedCharging() {
10317 bitField0_ = (bitField0_ & ~0x00000008);
10318 locationBasedCharging_ = false;
10323 private boolean weeklyProfile_ ;
10325 * <code>bool weekly_profile = 5 [json_name = "weeklyprofile"];</code>
10326 * @return The weeklyProfile.
10328 @java.lang.Override
10329 public boolean getWeeklyProfile() {
10330 return weeklyProfile_;
10333 * <code>bool weekly_profile = 5 [json_name = "weeklyprofile"];</code>
10334 * @param value The weeklyProfile to set.
10335 * @return This builder for chaining.
10337 public Builder setWeeklyProfile(boolean value) {
10339 weeklyProfile_ = value;
10340 bitField0_ |= 0x00000010;
10345 * <code>bool weekly_profile = 5 [json_name = "weeklyprofile"];</code>
10346 * @return This builder for chaining.
10348 public Builder clearWeeklyProfile() {
10349 bitField0_ = (bitField0_ & ~0x00000010);
10350 weeklyProfile_ = false;
10355 private boolean clockTimer_ ;
10357 * <code>bool clockTimer = 6 [json_name = "clockTimer"];</code>
10358 * @return The clockTimer.
10360 @java.lang.Override
10361 public boolean getClockTimer() {
10362 return clockTimer_;
10365 * <code>bool clockTimer = 6 [json_name = "clockTimer"];</code>
10366 * @param value The clockTimer to set.
10367 * @return This builder for chaining.
10369 public Builder setClockTimer(boolean value) {
10371 clockTimer_ = value;
10372 bitField0_ |= 0x00000020;
10377 * <code>bool clockTimer = 6 [json_name = "clockTimer"];</code>
10378 * @return This builder for chaining.
10380 public Builder clearClockTimer() {
10381 bitField0_ = (bitField0_ & ~0x00000020);
10382 clockTimer_ = false;
10387 private int maxChargingCurrent_ ;
10389 * <code>int32 max_charging_current = 7 [json_name = "MaxChargingCurrent"];</code>
10390 * @return The maxChargingCurrent.
10392 @java.lang.Override
10393 public int getMaxChargingCurrent() {
10394 return maxChargingCurrent_;
10397 * <code>int32 max_charging_current = 7 [json_name = "MaxChargingCurrent"];</code>
10398 * @param value The maxChargingCurrent to set.
10399 * @return This builder for chaining.
10401 public Builder setMaxChargingCurrent(int value) {
10403 maxChargingCurrent_ = value;
10404 bitField0_ |= 0x00000040;
10409 * <code>int32 max_charging_current = 7 [json_name = "MaxChargingCurrent"];</code>
10410 * @return This builder for chaining.
10412 public Builder clearMaxChargingCurrent() {
10413 bitField0_ = (bitField0_ & ~0x00000040);
10414 maxChargingCurrent_ = 0;
10419 private boolean ecoCharging_ ;
10421 * <code>bool eco_charging = 8 [json_name = "EcoCharging"];</code>
10422 * @return The ecoCharging.
10424 @java.lang.Override
10425 public boolean getEcoCharging() {
10426 return ecoCharging_;
10429 * <code>bool eco_charging = 8 [json_name = "EcoCharging"];</code>
10430 * @param value The ecoCharging to set.
10431 * @return This builder for chaining.
10433 public Builder setEcoCharging(boolean value) {
10435 ecoCharging_ = value;
10436 bitField0_ |= 0x00000080;
10441 * <code>bool eco_charging = 8 [json_name = "EcoCharging"];</code>
10442 * @return This builder for chaining.
10444 public Builder clearEcoCharging() {
10445 bitField0_ = (bitField0_ & ~0x00000080);
10446 ecoCharging_ = false;
10451 // @@protoc_insertion_point(builder_scope:proto.ChargeProgramParameters)
10454 // @@protoc_insertion_point(class_scope:proto.ChargeProgramParameters)
10455 private static final com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters DEFAULT_INSTANCE;
10457 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters();
10460 public static com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters getDefaultInstance() {
10461 return DEFAULT_INSTANCE;
10464 private static final com.google.protobuf.Parser<ChargeProgramParameters>
10465 PARSER = new com.google.protobuf.AbstractParser<ChargeProgramParameters>() {
10466 @java.lang.Override
10467 public ChargeProgramParameters parsePartialFrom(
10468 com.google.protobuf.CodedInputStream input,
10469 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10470 throws com.google.protobuf.InvalidProtocolBufferException {
10471 Builder builder = newBuilder();
10473 builder.mergeFrom(input, extensionRegistry);
10474 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
10475 throw e.setUnfinishedMessage(builder.buildPartial());
10476 } catch (com.google.protobuf.UninitializedMessageException e) {
10477 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
10478 } catch (java.io.IOException e) {
10479 throw new com.google.protobuf.InvalidProtocolBufferException(e)
10480 .setUnfinishedMessage(builder.buildPartial());
10482 return builder.buildPartial();
10486 public static com.google.protobuf.Parser<ChargeProgramParameters> parser() {
10490 @java.lang.Override
10491 public com.google.protobuf.Parser<ChargeProgramParameters> getParserForType() {
10495 @java.lang.Override
10496 public com.daimler.mbcarkit.proto.VehicleEvents.ChargeProgramParameters getDefaultInstanceForType() {
10497 return DEFAULT_INSTANCE;
10502 public interface WeeklyProfileValueOrBuilder extends
10503 // @@protoc_insertion_point(interface_extends:proto.WeeklyProfileValue)
10504 com.google.protobuf.MessageOrBuilder {
10507 * <code>bool single_time_profile_entries_activatable = 1 [json_name = "singleTimeProfileEntriesActivatable"];</code>
10508 * @return The singleTimeProfileEntriesActivatable.
10510 boolean getSingleTimeProfileEntriesActivatable();
10513 * <code>int32 max_number_of_weekly_time_profile_slots = 2 [json_name = "maxNumberOfWeeklyTimeProfileSlots"];</code>
10514 * @return The maxNumberOfWeeklyTimeProfileSlots.
10516 int getMaxNumberOfWeeklyTimeProfileSlots();
10519 * <code>int32 max_number_of_time_profiles = 3 [json_name = "maxNumberOfTimeProfiles"];</code>
10520 * @return The maxNumberOfTimeProfiles.
10522 int getMaxNumberOfTimeProfiles();
10525 * <code>int32 current_number_of_time_profile_slots = 4 [json_name = "currentNumberOfTimeProfileSlots"];</code>
10526 * @return The currentNumberOfTimeProfileSlots.
10528 int getCurrentNumberOfTimeProfileSlots();
10531 * <code>int32 current_number_of_time_profiles = 5 [json_name = "currentNumberOfTimeProfiles"];</code>
10532 * @return The currentNumberOfTimeProfiles.
10534 int getCurrentNumberOfTimeProfiles();
10537 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10539 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile>
10540 getTimeProfilesList();
10542 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10544 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile getTimeProfiles(int index);
10546 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10548 int getTimeProfilesCount();
10550 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10552 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder>
10553 getTimeProfilesOrBuilderList();
10555 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10557 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder getTimeProfilesOrBuilder(
10561 * Protobuf type {@code proto.WeeklyProfileValue}
10563 public static final class WeeklyProfileValue extends
10564 com.google.protobuf.GeneratedMessage implements
10565 // @@protoc_insertion_point(message_implements:proto.WeeklyProfileValue)
10566 WeeklyProfileValueOrBuilder {
10567 private static final long serialVersionUID = 0L;
10569 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
10570 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
10575 WeeklyProfileValue.class.getName());
10577 // Use WeeklyProfileValue.newBuilder() to construct.
10578 private WeeklyProfileValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
10581 private WeeklyProfileValue() {
10582 timeProfiles_ = java.util.Collections.emptyList();
10585 public static final com.google.protobuf.Descriptors.Descriptor
10587 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklyProfileValue_descriptor;
10590 @java.lang.Override
10591 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
10592 internalGetFieldAccessorTable() {
10593 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklyProfileValue_fieldAccessorTable
10594 .ensureFieldAccessorsInitialized(
10595 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder.class);
10598 public static final int SINGLE_TIME_PROFILE_ENTRIES_ACTIVATABLE_FIELD_NUMBER = 1;
10599 private boolean singleTimeProfileEntriesActivatable_ = false;
10601 * <code>bool single_time_profile_entries_activatable = 1 [json_name = "singleTimeProfileEntriesActivatable"];</code>
10602 * @return The singleTimeProfileEntriesActivatable.
10604 @java.lang.Override
10605 public boolean getSingleTimeProfileEntriesActivatable() {
10606 return singleTimeProfileEntriesActivatable_;
10609 public static final int MAX_NUMBER_OF_WEEKLY_TIME_PROFILE_SLOTS_FIELD_NUMBER = 2;
10610 private int maxNumberOfWeeklyTimeProfileSlots_ = 0;
10612 * <code>int32 max_number_of_weekly_time_profile_slots = 2 [json_name = "maxNumberOfWeeklyTimeProfileSlots"];</code>
10613 * @return The maxNumberOfWeeklyTimeProfileSlots.
10615 @java.lang.Override
10616 public int getMaxNumberOfWeeklyTimeProfileSlots() {
10617 return maxNumberOfWeeklyTimeProfileSlots_;
10620 public static final int MAX_NUMBER_OF_TIME_PROFILES_FIELD_NUMBER = 3;
10621 private int maxNumberOfTimeProfiles_ = 0;
10623 * <code>int32 max_number_of_time_profiles = 3 [json_name = "maxNumberOfTimeProfiles"];</code>
10624 * @return The maxNumberOfTimeProfiles.
10626 @java.lang.Override
10627 public int getMaxNumberOfTimeProfiles() {
10628 return maxNumberOfTimeProfiles_;
10631 public static final int CURRENT_NUMBER_OF_TIME_PROFILE_SLOTS_FIELD_NUMBER = 4;
10632 private int currentNumberOfTimeProfileSlots_ = 0;
10634 * <code>int32 current_number_of_time_profile_slots = 4 [json_name = "currentNumberOfTimeProfileSlots"];</code>
10635 * @return The currentNumberOfTimeProfileSlots.
10637 @java.lang.Override
10638 public int getCurrentNumberOfTimeProfileSlots() {
10639 return currentNumberOfTimeProfileSlots_;
10642 public static final int CURRENT_NUMBER_OF_TIME_PROFILES_FIELD_NUMBER = 5;
10643 private int currentNumberOfTimeProfiles_ = 0;
10645 * <code>int32 current_number_of_time_profiles = 5 [json_name = "currentNumberOfTimeProfiles"];</code>
10646 * @return The currentNumberOfTimeProfiles.
10648 @java.lang.Override
10649 public int getCurrentNumberOfTimeProfiles() {
10650 return currentNumberOfTimeProfiles_;
10653 public static final int TIME_PROFILES_FIELD_NUMBER = 6;
10654 @SuppressWarnings("serial")
10655 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile> timeProfiles_;
10657 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10659 @java.lang.Override
10660 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile> getTimeProfilesList() {
10661 return timeProfiles_;
10664 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10666 @java.lang.Override
10667 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder>
10668 getTimeProfilesOrBuilderList() {
10669 return timeProfiles_;
10672 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10674 @java.lang.Override
10675 public int getTimeProfilesCount() {
10676 return timeProfiles_.size();
10679 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10681 @java.lang.Override
10682 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile getTimeProfiles(int index) {
10683 return timeProfiles_.get(index);
10686 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
10688 @java.lang.Override
10689 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder getTimeProfilesOrBuilder(
10691 return timeProfiles_.get(index);
10694 private byte memoizedIsInitialized = -1;
10695 @java.lang.Override
10696 public final boolean isInitialized() {
10697 byte isInitialized = memoizedIsInitialized;
10698 if (isInitialized == 1) return true;
10699 if (isInitialized == 0) return false;
10701 memoizedIsInitialized = 1;
10705 @java.lang.Override
10706 public void writeTo(com.google.protobuf.CodedOutputStream output)
10707 throws java.io.IOException {
10708 if (singleTimeProfileEntriesActivatable_ != false) {
10709 output.writeBool(1, singleTimeProfileEntriesActivatable_);
10711 if (maxNumberOfWeeklyTimeProfileSlots_ != 0) {
10712 output.writeInt32(2, maxNumberOfWeeklyTimeProfileSlots_);
10714 if (maxNumberOfTimeProfiles_ != 0) {
10715 output.writeInt32(3, maxNumberOfTimeProfiles_);
10717 if (currentNumberOfTimeProfileSlots_ != 0) {
10718 output.writeInt32(4, currentNumberOfTimeProfileSlots_);
10720 if (currentNumberOfTimeProfiles_ != 0) {
10721 output.writeInt32(5, currentNumberOfTimeProfiles_);
10723 for (int i = 0; i < timeProfiles_.size(); i++) {
10724 output.writeMessage(6, timeProfiles_.get(i));
10726 getUnknownFields().writeTo(output);
10729 @java.lang.Override
10730 public int getSerializedSize() {
10731 int size = memoizedSize;
10732 if (size != -1) return size;
10735 if (singleTimeProfileEntriesActivatable_ != false) {
10736 size += com.google.protobuf.CodedOutputStream
10737 .computeBoolSize(1, singleTimeProfileEntriesActivatable_);
10739 if (maxNumberOfWeeklyTimeProfileSlots_ != 0) {
10740 size += com.google.protobuf.CodedOutputStream
10741 .computeInt32Size(2, maxNumberOfWeeklyTimeProfileSlots_);
10743 if (maxNumberOfTimeProfiles_ != 0) {
10744 size += com.google.protobuf.CodedOutputStream
10745 .computeInt32Size(3, maxNumberOfTimeProfiles_);
10747 if (currentNumberOfTimeProfileSlots_ != 0) {
10748 size += com.google.protobuf.CodedOutputStream
10749 .computeInt32Size(4, currentNumberOfTimeProfileSlots_);
10751 if (currentNumberOfTimeProfiles_ != 0) {
10752 size += com.google.protobuf.CodedOutputStream
10753 .computeInt32Size(5, currentNumberOfTimeProfiles_);
10755 for (int i = 0; i < timeProfiles_.size(); i++) {
10756 size += com.google.protobuf.CodedOutputStream
10757 .computeMessageSize(6, timeProfiles_.get(i));
10759 size += getUnknownFields().getSerializedSize();
10760 memoizedSize = size;
10764 @java.lang.Override
10765 public boolean equals(final java.lang.Object obj) {
10769 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue)) {
10770 return super.equals(obj);
10772 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue other = (com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) obj;
10774 if (getSingleTimeProfileEntriesActivatable()
10775 != other.getSingleTimeProfileEntriesActivatable()) return false;
10776 if (getMaxNumberOfWeeklyTimeProfileSlots()
10777 != other.getMaxNumberOfWeeklyTimeProfileSlots()) return false;
10778 if (getMaxNumberOfTimeProfiles()
10779 != other.getMaxNumberOfTimeProfiles()) return false;
10780 if (getCurrentNumberOfTimeProfileSlots()
10781 != other.getCurrentNumberOfTimeProfileSlots()) return false;
10782 if (getCurrentNumberOfTimeProfiles()
10783 != other.getCurrentNumberOfTimeProfiles()) return false;
10784 if (!getTimeProfilesList()
10785 .equals(other.getTimeProfilesList())) return false;
10786 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
10790 @java.lang.Override
10791 public int hashCode() {
10792 if (memoizedHashCode != 0) {
10793 return memoizedHashCode;
10796 hash = (19 * hash) + getDescriptor().hashCode();
10797 hash = (37 * hash) + SINGLE_TIME_PROFILE_ENTRIES_ACTIVATABLE_FIELD_NUMBER;
10798 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
10799 getSingleTimeProfileEntriesActivatable());
10800 hash = (37 * hash) + MAX_NUMBER_OF_WEEKLY_TIME_PROFILE_SLOTS_FIELD_NUMBER;
10801 hash = (53 * hash) + getMaxNumberOfWeeklyTimeProfileSlots();
10802 hash = (37 * hash) + MAX_NUMBER_OF_TIME_PROFILES_FIELD_NUMBER;
10803 hash = (53 * hash) + getMaxNumberOfTimeProfiles();
10804 hash = (37 * hash) + CURRENT_NUMBER_OF_TIME_PROFILE_SLOTS_FIELD_NUMBER;
10805 hash = (53 * hash) + getCurrentNumberOfTimeProfileSlots();
10806 hash = (37 * hash) + CURRENT_NUMBER_OF_TIME_PROFILES_FIELD_NUMBER;
10807 hash = (53 * hash) + getCurrentNumberOfTimeProfiles();
10808 if (getTimeProfilesCount() > 0) {
10809 hash = (37 * hash) + TIME_PROFILES_FIELD_NUMBER;
10810 hash = (53 * hash) + getTimeProfilesList().hashCode();
10812 hash = (29 * hash) + getUnknownFields().hashCode();
10813 memoizedHashCode = hash;
10817 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10818 java.nio.ByteBuffer data)
10819 throws com.google.protobuf.InvalidProtocolBufferException {
10820 return PARSER.parseFrom(data);
10822 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10823 java.nio.ByteBuffer data,
10824 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10825 throws com.google.protobuf.InvalidProtocolBufferException {
10826 return PARSER.parseFrom(data, extensionRegistry);
10828 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10829 com.google.protobuf.ByteString data)
10830 throws com.google.protobuf.InvalidProtocolBufferException {
10831 return PARSER.parseFrom(data);
10833 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10834 com.google.protobuf.ByteString data,
10835 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10836 throws com.google.protobuf.InvalidProtocolBufferException {
10837 return PARSER.parseFrom(data, extensionRegistry);
10839 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(byte[] data)
10840 throws com.google.protobuf.InvalidProtocolBufferException {
10841 return PARSER.parseFrom(data);
10843 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10845 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10846 throws com.google.protobuf.InvalidProtocolBufferException {
10847 return PARSER.parseFrom(data, extensionRegistry);
10849 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(java.io.InputStream input)
10850 throws java.io.IOException {
10851 return com.google.protobuf.GeneratedMessage
10852 .parseWithIOException(PARSER, input);
10854 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10855 java.io.InputStream input,
10856 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10857 throws java.io.IOException {
10858 return com.google.protobuf.GeneratedMessage
10859 .parseWithIOException(PARSER, input, extensionRegistry);
10862 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseDelimitedFrom(java.io.InputStream input)
10863 throws java.io.IOException {
10864 return com.google.protobuf.GeneratedMessage
10865 .parseDelimitedWithIOException(PARSER, input);
10868 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseDelimitedFrom(
10869 java.io.InputStream input,
10870 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10871 throws java.io.IOException {
10872 return com.google.protobuf.GeneratedMessage
10873 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
10875 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10876 com.google.protobuf.CodedInputStream input)
10877 throws java.io.IOException {
10878 return com.google.protobuf.GeneratedMessage
10879 .parseWithIOException(PARSER, input);
10881 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue parseFrom(
10882 com.google.protobuf.CodedInputStream input,
10883 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
10884 throws java.io.IOException {
10885 return com.google.protobuf.GeneratedMessage
10886 .parseWithIOException(PARSER, input, extensionRegistry);
10889 @java.lang.Override
10890 public Builder newBuilderForType() { return newBuilder(); }
10891 public static Builder newBuilder() {
10892 return DEFAULT_INSTANCE.toBuilder();
10894 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue prototype) {
10895 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
10897 @java.lang.Override
10898 public Builder toBuilder() {
10899 return this == DEFAULT_INSTANCE
10900 ? new Builder() : new Builder().mergeFrom(this);
10903 @java.lang.Override
10904 protected Builder newBuilderForType(
10905 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
10906 Builder builder = new Builder(parent);
10910 * Protobuf type {@code proto.WeeklyProfileValue}
10912 public static final class Builder extends
10913 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
10914 // @@protoc_insertion_point(builder_implements:proto.WeeklyProfileValue)
10915 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValueOrBuilder {
10916 public static final com.google.protobuf.Descriptors.Descriptor
10918 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklyProfileValue_descriptor;
10921 @java.lang.Override
10922 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
10923 internalGetFieldAccessorTable() {
10924 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklyProfileValue_fieldAccessorTable
10925 .ensureFieldAccessorsInitialized(
10926 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.Builder.class);
10929 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.newBuilder()
10930 private Builder() {
10935 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
10939 @java.lang.Override
10940 public Builder clear() {
10943 singleTimeProfileEntriesActivatable_ = false;
10944 maxNumberOfWeeklyTimeProfileSlots_ = 0;
10945 maxNumberOfTimeProfiles_ = 0;
10946 currentNumberOfTimeProfileSlots_ = 0;
10947 currentNumberOfTimeProfiles_ = 0;
10948 if (timeProfilesBuilder_ == null) {
10949 timeProfiles_ = java.util.Collections.emptyList();
10951 timeProfiles_ = null;
10952 timeProfilesBuilder_.clear();
10954 bitField0_ = (bitField0_ & ~0x00000020);
10958 @java.lang.Override
10959 public com.google.protobuf.Descriptors.Descriptor
10960 getDescriptorForType() {
10961 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklyProfileValue_descriptor;
10964 @java.lang.Override
10965 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue getDefaultInstanceForType() {
10966 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance();
10969 @java.lang.Override
10970 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue build() {
10971 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue result = buildPartial();
10972 if (!result.isInitialized()) {
10973 throw newUninitializedMessageException(result);
10978 @java.lang.Override
10979 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue buildPartial() {
10980 com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue result = new com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue(this);
10981 buildPartialRepeatedFields(result);
10982 if (bitField0_ != 0) { buildPartial0(result); }
10987 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue result) {
10988 if (timeProfilesBuilder_ == null) {
10989 if (((bitField0_ & 0x00000020) != 0)) {
10990 timeProfiles_ = java.util.Collections.unmodifiableList(timeProfiles_);
10991 bitField0_ = (bitField0_ & ~0x00000020);
10993 result.timeProfiles_ = timeProfiles_;
10995 result.timeProfiles_ = timeProfilesBuilder_.build();
10999 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue result) {
11000 int from_bitField0_ = bitField0_;
11001 if (((from_bitField0_ & 0x00000001) != 0)) {
11002 result.singleTimeProfileEntriesActivatable_ = singleTimeProfileEntriesActivatable_;
11004 if (((from_bitField0_ & 0x00000002) != 0)) {
11005 result.maxNumberOfWeeklyTimeProfileSlots_ = maxNumberOfWeeklyTimeProfileSlots_;
11007 if (((from_bitField0_ & 0x00000004) != 0)) {
11008 result.maxNumberOfTimeProfiles_ = maxNumberOfTimeProfiles_;
11010 if (((from_bitField0_ & 0x00000008) != 0)) {
11011 result.currentNumberOfTimeProfileSlots_ = currentNumberOfTimeProfileSlots_;
11013 if (((from_bitField0_ & 0x00000010) != 0)) {
11014 result.currentNumberOfTimeProfiles_ = currentNumberOfTimeProfiles_;
11018 @java.lang.Override
11019 public Builder mergeFrom(com.google.protobuf.Message other) {
11020 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue) {
11021 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue)other);
11023 super.mergeFrom(other);
11028 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue other) {
11029 if (other == com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue.getDefaultInstance()) return this;
11030 if (other.getSingleTimeProfileEntriesActivatable() != false) {
11031 setSingleTimeProfileEntriesActivatable(other.getSingleTimeProfileEntriesActivatable());
11033 if (other.getMaxNumberOfWeeklyTimeProfileSlots() != 0) {
11034 setMaxNumberOfWeeklyTimeProfileSlots(other.getMaxNumberOfWeeklyTimeProfileSlots());
11036 if (other.getMaxNumberOfTimeProfiles() != 0) {
11037 setMaxNumberOfTimeProfiles(other.getMaxNumberOfTimeProfiles());
11039 if (other.getCurrentNumberOfTimeProfileSlots() != 0) {
11040 setCurrentNumberOfTimeProfileSlots(other.getCurrentNumberOfTimeProfileSlots());
11042 if (other.getCurrentNumberOfTimeProfiles() != 0) {
11043 setCurrentNumberOfTimeProfiles(other.getCurrentNumberOfTimeProfiles());
11045 if (timeProfilesBuilder_ == null) {
11046 if (!other.timeProfiles_.isEmpty()) {
11047 if (timeProfiles_.isEmpty()) {
11048 timeProfiles_ = other.timeProfiles_;
11049 bitField0_ = (bitField0_ & ~0x00000020);
11051 ensureTimeProfilesIsMutable();
11052 timeProfiles_.addAll(other.timeProfiles_);
11057 if (!other.timeProfiles_.isEmpty()) {
11058 if (timeProfilesBuilder_.isEmpty()) {
11059 timeProfilesBuilder_.dispose();
11060 timeProfilesBuilder_ = null;
11061 timeProfiles_ = other.timeProfiles_;
11062 bitField0_ = (bitField0_ & ~0x00000020);
11063 timeProfilesBuilder_ =
11064 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
11065 getTimeProfilesFieldBuilder() : null;
11067 timeProfilesBuilder_.addAllMessages(other.timeProfiles_);
11071 this.mergeUnknownFields(other.getUnknownFields());
11076 @java.lang.Override
11077 public final boolean isInitialized() {
11081 @java.lang.Override
11082 public Builder mergeFrom(
11083 com.google.protobuf.CodedInputStream input,
11084 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
11085 throws java.io.IOException {
11086 if (extensionRegistry == null) {
11087 throw new java.lang.NullPointerException();
11090 boolean done = false;
11092 int tag = input.readTag();
11098 singleTimeProfileEntriesActivatable_ = input.readBool();
11099 bitField0_ |= 0x00000001;
11103 maxNumberOfWeeklyTimeProfileSlots_ = input.readInt32();
11104 bitField0_ |= 0x00000002;
11108 maxNumberOfTimeProfiles_ = input.readInt32();
11109 bitField0_ |= 0x00000004;
11113 currentNumberOfTimeProfileSlots_ = input.readInt32();
11114 bitField0_ |= 0x00000008;
11118 currentNumberOfTimeProfiles_ = input.readInt32();
11119 bitField0_ |= 0x00000010;
11123 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile m =
11125 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.parser(),
11126 extensionRegistry);
11127 if (timeProfilesBuilder_ == null) {
11128 ensureTimeProfilesIsMutable();
11129 timeProfiles_.add(m);
11131 timeProfilesBuilder_.addMessage(m);
11136 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
11137 done = true; // was an endgroup tag
11143 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
11144 throw e.unwrapIOException();
11150 private int bitField0_;
11152 private boolean singleTimeProfileEntriesActivatable_ ;
11154 * <code>bool single_time_profile_entries_activatable = 1 [json_name = "singleTimeProfileEntriesActivatable"];</code>
11155 * @return The singleTimeProfileEntriesActivatable.
11157 @java.lang.Override
11158 public boolean getSingleTimeProfileEntriesActivatable() {
11159 return singleTimeProfileEntriesActivatable_;
11162 * <code>bool single_time_profile_entries_activatable = 1 [json_name = "singleTimeProfileEntriesActivatable"];</code>
11163 * @param value The singleTimeProfileEntriesActivatable to set.
11164 * @return This builder for chaining.
11166 public Builder setSingleTimeProfileEntriesActivatable(boolean value) {
11168 singleTimeProfileEntriesActivatable_ = value;
11169 bitField0_ |= 0x00000001;
11174 * <code>bool single_time_profile_entries_activatable = 1 [json_name = "singleTimeProfileEntriesActivatable"];</code>
11175 * @return This builder for chaining.
11177 public Builder clearSingleTimeProfileEntriesActivatable() {
11178 bitField0_ = (bitField0_ & ~0x00000001);
11179 singleTimeProfileEntriesActivatable_ = false;
11184 private int maxNumberOfWeeklyTimeProfileSlots_ ;
11186 * <code>int32 max_number_of_weekly_time_profile_slots = 2 [json_name = "maxNumberOfWeeklyTimeProfileSlots"];</code>
11187 * @return The maxNumberOfWeeklyTimeProfileSlots.
11189 @java.lang.Override
11190 public int getMaxNumberOfWeeklyTimeProfileSlots() {
11191 return maxNumberOfWeeklyTimeProfileSlots_;
11194 * <code>int32 max_number_of_weekly_time_profile_slots = 2 [json_name = "maxNumberOfWeeklyTimeProfileSlots"];</code>
11195 * @param value The maxNumberOfWeeklyTimeProfileSlots to set.
11196 * @return This builder for chaining.
11198 public Builder setMaxNumberOfWeeklyTimeProfileSlots(int value) {
11200 maxNumberOfWeeklyTimeProfileSlots_ = value;
11201 bitField0_ |= 0x00000002;
11206 * <code>int32 max_number_of_weekly_time_profile_slots = 2 [json_name = "maxNumberOfWeeklyTimeProfileSlots"];</code>
11207 * @return This builder for chaining.
11209 public Builder clearMaxNumberOfWeeklyTimeProfileSlots() {
11210 bitField0_ = (bitField0_ & ~0x00000002);
11211 maxNumberOfWeeklyTimeProfileSlots_ = 0;
11216 private int maxNumberOfTimeProfiles_ ;
11218 * <code>int32 max_number_of_time_profiles = 3 [json_name = "maxNumberOfTimeProfiles"];</code>
11219 * @return The maxNumberOfTimeProfiles.
11221 @java.lang.Override
11222 public int getMaxNumberOfTimeProfiles() {
11223 return maxNumberOfTimeProfiles_;
11226 * <code>int32 max_number_of_time_profiles = 3 [json_name = "maxNumberOfTimeProfiles"];</code>
11227 * @param value The maxNumberOfTimeProfiles to set.
11228 * @return This builder for chaining.
11230 public Builder setMaxNumberOfTimeProfiles(int value) {
11232 maxNumberOfTimeProfiles_ = value;
11233 bitField0_ |= 0x00000004;
11238 * <code>int32 max_number_of_time_profiles = 3 [json_name = "maxNumberOfTimeProfiles"];</code>
11239 * @return This builder for chaining.
11241 public Builder clearMaxNumberOfTimeProfiles() {
11242 bitField0_ = (bitField0_ & ~0x00000004);
11243 maxNumberOfTimeProfiles_ = 0;
11248 private int currentNumberOfTimeProfileSlots_ ;
11250 * <code>int32 current_number_of_time_profile_slots = 4 [json_name = "currentNumberOfTimeProfileSlots"];</code>
11251 * @return The currentNumberOfTimeProfileSlots.
11253 @java.lang.Override
11254 public int getCurrentNumberOfTimeProfileSlots() {
11255 return currentNumberOfTimeProfileSlots_;
11258 * <code>int32 current_number_of_time_profile_slots = 4 [json_name = "currentNumberOfTimeProfileSlots"];</code>
11259 * @param value The currentNumberOfTimeProfileSlots to set.
11260 * @return This builder for chaining.
11262 public Builder setCurrentNumberOfTimeProfileSlots(int value) {
11264 currentNumberOfTimeProfileSlots_ = value;
11265 bitField0_ |= 0x00000008;
11270 * <code>int32 current_number_of_time_profile_slots = 4 [json_name = "currentNumberOfTimeProfileSlots"];</code>
11271 * @return This builder for chaining.
11273 public Builder clearCurrentNumberOfTimeProfileSlots() {
11274 bitField0_ = (bitField0_ & ~0x00000008);
11275 currentNumberOfTimeProfileSlots_ = 0;
11280 private int currentNumberOfTimeProfiles_ ;
11282 * <code>int32 current_number_of_time_profiles = 5 [json_name = "currentNumberOfTimeProfiles"];</code>
11283 * @return The currentNumberOfTimeProfiles.
11285 @java.lang.Override
11286 public int getCurrentNumberOfTimeProfiles() {
11287 return currentNumberOfTimeProfiles_;
11290 * <code>int32 current_number_of_time_profiles = 5 [json_name = "currentNumberOfTimeProfiles"];</code>
11291 * @param value The currentNumberOfTimeProfiles to set.
11292 * @return This builder for chaining.
11294 public Builder setCurrentNumberOfTimeProfiles(int value) {
11296 currentNumberOfTimeProfiles_ = value;
11297 bitField0_ |= 0x00000010;
11302 * <code>int32 current_number_of_time_profiles = 5 [json_name = "currentNumberOfTimeProfiles"];</code>
11303 * @return This builder for chaining.
11305 public Builder clearCurrentNumberOfTimeProfiles() {
11306 bitField0_ = (bitField0_ & ~0x00000010);
11307 currentNumberOfTimeProfiles_ = 0;
11312 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile> timeProfiles_ =
11313 java.util.Collections.emptyList();
11314 private void ensureTimeProfilesIsMutable() {
11315 if (!((bitField0_ & 0x00000020) != 0)) {
11316 timeProfiles_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile>(timeProfiles_);
11317 bitField0_ |= 0x00000020;
11321 private com.google.protobuf.RepeatedFieldBuilder<
11322 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder> timeProfilesBuilder_;
11325 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11327 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile> getTimeProfilesList() {
11328 if (timeProfilesBuilder_ == null) {
11329 return java.util.Collections.unmodifiableList(timeProfiles_);
11331 return timeProfilesBuilder_.getMessageList();
11335 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11337 public int getTimeProfilesCount() {
11338 if (timeProfilesBuilder_ == null) {
11339 return timeProfiles_.size();
11341 return timeProfilesBuilder_.getCount();
11345 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11347 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile getTimeProfiles(int index) {
11348 if (timeProfilesBuilder_ == null) {
11349 return timeProfiles_.get(index);
11351 return timeProfilesBuilder_.getMessage(index);
11355 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11357 public Builder setTimeProfiles(
11358 int index, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile value) {
11359 if (timeProfilesBuilder_ == null) {
11360 if (value == null) {
11361 throw new NullPointerException();
11363 ensureTimeProfilesIsMutable();
11364 timeProfiles_.set(index, value);
11367 timeProfilesBuilder_.setMessage(index, value);
11372 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11374 public Builder setTimeProfiles(
11375 int index, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder builderForValue) {
11376 if (timeProfilesBuilder_ == null) {
11377 ensureTimeProfilesIsMutable();
11378 timeProfiles_.set(index, builderForValue.build());
11381 timeProfilesBuilder_.setMessage(index, builderForValue.build());
11386 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11388 public Builder addTimeProfiles(com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile value) {
11389 if (timeProfilesBuilder_ == null) {
11390 if (value == null) {
11391 throw new NullPointerException();
11393 ensureTimeProfilesIsMutable();
11394 timeProfiles_.add(value);
11397 timeProfilesBuilder_.addMessage(value);
11402 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11404 public Builder addTimeProfiles(
11405 int index, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile value) {
11406 if (timeProfilesBuilder_ == null) {
11407 if (value == null) {
11408 throw new NullPointerException();
11410 ensureTimeProfilesIsMutable();
11411 timeProfiles_.add(index, value);
11414 timeProfilesBuilder_.addMessage(index, value);
11419 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11421 public Builder addTimeProfiles(
11422 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder builderForValue) {
11423 if (timeProfilesBuilder_ == null) {
11424 ensureTimeProfilesIsMutable();
11425 timeProfiles_.add(builderForValue.build());
11428 timeProfilesBuilder_.addMessage(builderForValue.build());
11433 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11435 public Builder addTimeProfiles(
11436 int index, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder builderForValue) {
11437 if (timeProfilesBuilder_ == null) {
11438 ensureTimeProfilesIsMutable();
11439 timeProfiles_.add(index, builderForValue.build());
11442 timeProfilesBuilder_.addMessage(index, builderForValue.build());
11447 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11449 public Builder addAllTimeProfiles(
11450 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile> values) {
11451 if (timeProfilesBuilder_ == null) {
11452 ensureTimeProfilesIsMutable();
11453 com.google.protobuf.AbstractMessageLite.Builder.addAll(
11454 values, timeProfiles_);
11457 timeProfilesBuilder_.addAllMessages(values);
11462 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11464 public Builder clearTimeProfiles() {
11465 if (timeProfilesBuilder_ == null) {
11466 timeProfiles_ = java.util.Collections.emptyList();
11467 bitField0_ = (bitField0_ & ~0x00000020);
11470 timeProfilesBuilder_.clear();
11475 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11477 public Builder removeTimeProfiles(int index) {
11478 if (timeProfilesBuilder_ == null) {
11479 ensureTimeProfilesIsMutable();
11480 timeProfiles_.remove(index);
11483 timeProfilesBuilder_.remove(index);
11488 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11490 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder getTimeProfilesBuilder(
11492 return getTimeProfilesFieldBuilder().getBuilder(index);
11495 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11497 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder getTimeProfilesOrBuilder(
11499 if (timeProfilesBuilder_ == null) {
11500 return timeProfiles_.get(index); } else {
11501 return timeProfilesBuilder_.getMessageOrBuilder(index);
11505 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11507 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder>
11508 getTimeProfilesOrBuilderList() {
11509 if (timeProfilesBuilder_ != null) {
11510 return timeProfilesBuilder_.getMessageOrBuilderList();
11512 return java.util.Collections.unmodifiableList(timeProfiles_);
11516 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11518 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder addTimeProfilesBuilder() {
11519 return getTimeProfilesFieldBuilder().addBuilder(
11520 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.getDefaultInstance());
11523 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11525 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder addTimeProfilesBuilder(
11527 return getTimeProfilesFieldBuilder().addBuilder(
11528 index, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.getDefaultInstance());
11531 * <code>repeated .proto.VVRTimeProfile time_profiles = 6 [json_name = "timeProfiles"];</code>
11533 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder>
11534 getTimeProfilesBuilderList() {
11535 return getTimeProfilesFieldBuilder().getBuilderList();
11537 private com.google.protobuf.RepeatedFieldBuilder<
11538 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder>
11539 getTimeProfilesFieldBuilder() {
11540 if (timeProfilesBuilder_ == null) {
11541 timeProfilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
11542 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder>(
11544 ((bitField0_ & 0x00000020) != 0),
11545 getParentForChildren(),
11547 timeProfiles_ = null;
11549 return timeProfilesBuilder_;
11552 // @@protoc_insertion_point(builder_scope:proto.WeeklyProfileValue)
11555 // @@protoc_insertion_point(class_scope:proto.WeeklyProfileValue)
11556 private static final com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue DEFAULT_INSTANCE;
11558 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue();
11561 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue getDefaultInstance() {
11562 return DEFAULT_INSTANCE;
11565 private static final com.google.protobuf.Parser<WeeklyProfileValue>
11566 PARSER = new com.google.protobuf.AbstractParser<WeeklyProfileValue>() {
11567 @java.lang.Override
11568 public WeeklyProfileValue parsePartialFrom(
11569 com.google.protobuf.CodedInputStream input,
11570 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
11571 throws com.google.protobuf.InvalidProtocolBufferException {
11572 Builder builder = newBuilder();
11574 builder.mergeFrom(input, extensionRegistry);
11575 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
11576 throw e.setUnfinishedMessage(builder.buildPartial());
11577 } catch (com.google.protobuf.UninitializedMessageException e) {
11578 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
11579 } catch (java.io.IOException e) {
11580 throw new com.google.protobuf.InvalidProtocolBufferException(e)
11581 .setUnfinishedMessage(builder.buildPartial());
11583 return builder.buildPartial();
11587 public static com.google.protobuf.Parser<WeeklyProfileValue> parser() {
11591 @java.lang.Override
11592 public com.google.protobuf.Parser<WeeklyProfileValue> getParserForType() {
11596 @java.lang.Override
11597 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklyProfileValue getDefaultInstanceForType() {
11598 return DEFAULT_INSTANCE;
11603 public interface VVRTimeProfileOrBuilder extends
11604 // @@protoc_insertion_point(interface_extends:proto.VVRTimeProfile)
11605 com.google.protobuf.MessageOrBuilder {
11609 * unique id of this time profile entry
11612 * <code>int32 identifier = 1 [json_name = "id"];</code>
11613 * @return The identifier.
11615 int getIdentifier();
11619 * Hour after midnight range [0, 23]
11622 * <code>int32 hour = 2 [json_name = "hour"];</code>
11623 * @return The hour.
11629 * Minute after full hour range [0, 59]
11632 * <code>int32 minute = 3 [json_name = "min"];</code>
11633 * @return The minute.
11639 * Days for which the above time should be applied
11642 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11643 * @return A list containing the days.
11645 java.util.List<com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay> getDaysList();
11648 * Days for which the above time should be applied
11651 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11652 * @return The count of days.
11654 int getDaysCount();
11657 * Days for which the above time should be applied
11660 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11661 * @param index The index of the element to return.
11662 * @return The days at the given index.
11664 com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay getDays(int index);
11667 * Days for which the above time should be applied
11670 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11671 * @return A list containing the enum numeric values on the wire for days.
11673 java.util.List<java.lang.Integer>
11674 getDaysValueList();
11677 * Days for which the above time should be applied
11680 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11681 * @param index The index of the value to return.
11682 * @return The enum numeric value on the wire of days at the given index.
11684 int getDaysValue(int index);
11688 * Whether this profile entry is active or not
11691 * <code>bool active = 5 [json_name = "active"];</code>
11692 * @return The active.
11694 boolean getActive();
11698 * If a timeProfile is changed or added the respective applicationId must be provided by SDK
11699 * 11 = Internal Apps
11700 * 12 = External Apps
11703 * <code>int32 application_identifier = 6 [json_name = "applicationId"];</code>
11704 * @return The applicationIdentifier.
11706 int getApplicationIdentifier();
11710 * VVRTimeProfile is almost identical to the "TimeProfile" message with the exception that the identifier is not optional.
11713 * Protobuf type {@code proto.VVRTimeProfile}
11715 public static final class VVRTimeProfile extends
11716 com.google.protobuf.GeneratedMessage implements
11717 // @@protoc_insertion_point(message_implements:proto.VVRTimeProfile)
11718 VVRTimeProfileOrBuilder {
11719 private static final long serialVersionUID = 0L;
11721 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
11722 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
11727 VVRTimeProfile.class.getName());
11729 // Use VVRTimeProfile.newBuilder() to construct.
11730 private VVRTimeProfile(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
11733 private VVRTimeProfile() {
11734 days_ = java.util.Collections.emptyList();
11737 public static final com.google.protobuf.Descriptors.Descriptor
11739 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VVRTimeProfile_descriptor;
11742 @java.lang.Override
11743 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
11744 internalGetFieldAccessorTable() {
11745 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VVRTimeProfile_fieldAccessorTable
11746 .ensureFieldAccessorsInitialized(
11747 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.class, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder.class);
11750 public static final int IDENTIFIER_FIELD_NUMBER = 1;
11751 private int identifier_ = 0;
11754 * unique id of this time profile entry
11757 * <code>int32 identifier = 1 [json_name = "id"];</code>
11758 * @return The identifier.
11760 @java.lang.Override
11761 public int getIdentifier() {
11762 return identifier_;
11765 public static final int HOUR_FIELD_NUMBER = 2;
11766 private int hour_ = 0;
11769 * Hour after midnight range [0, 23]
11772 * <code>int32 hour = 2 [json_name = "hour"];</code>
11773 * @return The hour.
11775 @java.lang.Override
11776 public int getHour() {
11780 public static final int MINUTE_FIELD_NUMBER = 3;
11781 private int minute_ = 0;
11784 * Minute after full hour range [0, 59]
11787 * <code>int32 minute = 3 [json_name = "min"];</code>
11788 * @return The minute.
11790 @java.lang.Override
11791 public int getMinute() {
11795 public static final int DAYS_FIELD_NUMBER = 4;
11796 @SuppressWarnings("serial")
11797 private java.util.List<java.lang.Integer> days_;
11798 private static final com.google.protobuf.Internal.ListAdapter.Converter<
11799 java.lang.Integer, com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay> days_converter_ =
11800 new com.google.protobuf.Internal.ListAdapter.Converter<
11801 java.lang.Integer, com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay>() {
11802 public com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay convert(java.lang.Integer from) {
11803 com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay result = com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay.forNumber(from);
11804 return result == null ? com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay.UNRECOGNIZED : result;
11809 * Days for which the above time should be applied
11812 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11813 * @return A list containing the days.
11815 @java.lang.Override
11816 public java.util.List<com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay> getDaysList() {
11817 return new com.google.protobuf.Internal.ListAdapter<
11818 java.lang.Integer, com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay>(days_, days_converter_);
11822 * Days for which the above time should be applied
11825 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11826 * @return The count of days.
11828 @java.lang.Override
11829 public int getDaysCount() {
11830 return days_.size();
11834 * Days for which the above time should be applied
11837 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11838 * @param index The index of the element to return.
11839 * @return The days at the given index.
11841 @java.lang.Override
11842 public com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay getDays(int index) {
11843 return days_converter_.convert(days_.get(index));
11847 * Days for which the above time should be applied
11850 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11851 * @return A list containing the enum numeric values on the wire for days.
11853 @java.lang.Override
11854 public java.util.List<java.lang.Integer>
11855 getDaysValueList() {
11860 * Days for which the above time should be applied
11863 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
11864 * @param index The index of the value to return.
11865 * @return The enum numeric value on the wire of days at the given index.
11867 @java.lang.Override
11868 public int getDaysValue(int index) {
11869 return days_.get(index);
11871 private int daysMemoizedSerializedSize;
11873 public static final int ACTIVE_FIELD_NUMBER = 5;
11874 private boolean active_ = false;
11877 * Whether this profile entry is active or not
11880 * <code>bool active = 5 [json_name = "active"];</code>
11881 * @return The active.
11883 @java.lang.Override
11884 public boolean getActive() {
11888 public static final int APPLICATION_IDENTIFIER_FIELD_NUMBER = 6;
11889 private int applicationIdentifier_ = 0;
11892 * If a timeProfile is changed or added the respective applicationId must be provided by SDK
11893 * 11 = Internal Apps
11894 * 12 = External Apps
11897 * <code>int32 application_identifier = 6 [json_name = "applicationId"];</code>
11898 * @return The applicationIdentifier.
11900 @java.lang.Override
11901 public int getApplicationIdentifier() {
11902 return applicationIdentifier_;
11905 private byte memoizedIsInitialized = -1;
11906 @java.lang.Override
11907 public final boolean isInitialized() {
11908 byte isInitialized = memoizedIsInitialized;
11909 if (isInitialized == 1) return true;
11910 if (isInitialized == 0) return false;
11912 memoizedIsInitialized = 1;
11916 @java.lang.Override
11917 public void writeTo(com.google.protobuf.CodedOutputStream output)
11918 throws java.io.IOException {
11919 getSerializedSize();
11920 if (identifier_ != 0) {
11921 output.writeInt32(1, identifier_);
11924 output.writeInt32(2, hour_);
11926 if (minute_ != 0) {
11927 output.writeInt32(3, minute_);
11929 if (getDaysList().size() > 0) {
11930 output.writeUInt32NoTag(34);
11931 output.writeUInt32NoTag(daysMemoizedSerializedSize);
11933 for (int i = 0; i < days_.size(); i++) {
11934 output.writeEnumNoTag(days_.get(i));
11936 if (active_ != false) {
11937 output.writeBool(5, active_);
11939 if (applicationIdentifier_ != 0) {
11940 output.writeInt32(6, applicationIdentifier_);
11942 getUnknownFields().writeTo(output);
11945 @java.lang.Override
11946 public int getSerializedSize() {
11947 int size = memoizedSize;
11948 if (size != -1) return size;
11951 if (identifier_ != 0) {
11952 size += com.google.protobuf.CodedOutputStream
11953 .computeInt32Size(1, identifier_);
11956 size += com.google.protobuf.CodedOutputStream
11957 .computeInt32Size(2, hour_);
11959 if (minute_ != 0) {
11960 size += com.google.protobuf.CodedOutputStream
11961 .computeInt32Size(3, minute_);
11965 for (int i = 0; i < days_.size(); i++) {
11966 dataSize += com.google.protobuf.CodedOutputStream
11967 .computeEnumSizeNoTag(days_.get(i));
11970 if (!getDaysList().isEmpty()) { size += 1;
11971 size += com.google.protobuf.CodedOutputStream
11972 .computeUInt32SizeNoTag(dataSize);
11973 }daysMemoizedSerializedSize = dataSize;
11975 if (active_ != false) {
11976 size += com.google.protobuf.CodedOutputStream
11977 .computeBoolSize(5, active_);
11979 if (applicationIdentifier_ != 0) {
11980 size += com.google.protobuf.CodedOutputStream
11981 .computeInt32Size(6, applicationIdentifier_);
11983 size += getUnknownFields().getSerializedSize();
11984 memoizedSize = size;
11988 @java.lang.Override
11989 public boolean equals(final java.lang.Object obj) {
11993 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile)) {
11994 return super.equals(obj);
11996 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile other = (com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile) obj;
11998 if (getIdentifier()
11999 != other.getIdentifier()) return false;
12001 != other.getHour()) return false;
12003 != other.getMinute()) return false;
12004 if (!days_.equals(other.days_)) return false;
12006 != other.getActive()) return false;
12007 if (getApplicationIdentifier()
12008 != other.getApplicationIdentifier()) return false;
12009 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
12013 @java.lang.Override
12014 public int hashCode() {
12015 if (memoizedHashCode != 0) {
12016 return memoizedHashCode;
12019 hash = (19 * hash) + getDescriptor().hashCode();
12020 hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
12021 hash = (53 * hash) + getIdentifier();
12022 hash = (37 * hash) + HOUR_FIELD_NUMBER;
12023 hash = (53 * hash) + getHour();
12024 hash = (37 * hash) + MINUTE_FIELD_NUMBER;
12025 hash = (53 * hash) + getMinute();
12026 if (getDaysCount() > 0) {
12027 hash = (37 * hash) + DAYS_FIELD_NUMBER;
12028 hash = (53 * hash) + days_.hashCode();
12030 hash = (37 * hash) + ACTIVE_FIELD_NUMBER;
12031 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
12033 hash = (37 * hash) + APPLICATION_IDENTIFIER_FIELD_NUMBER;
12034 hash = (53 * hash) + getApplicationIdentifier();
12035 hash = (29 * hash) + getUnknownFields().hashCode();
12036 memoizedHashCode = hash;
12040 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12041 java.nio.ByteBuffer data)
12042 throws com.google.protobuf.InvalidProtocolBufferException {
12043 return PARSER.parseFrom(data);
12045 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12046 java.nio.ByteBuffer data,
12047 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12048 throws com.google.protobuf.InvalidProtocolBufferException {
12049 return PARSER.parseFrom(data, extensionRegistry);
12051 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12052 com.google.protobuf.ByteString data)
12053 throws com.google.protobuf.InvalidProtocolBufferException {
12054 return PARSER.parseFrom(data);
12056 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12057 com.google.protobuf.ByteString data,
12058 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12059 throws com.google.protobuf.InvalidProtocolBufferException {
12060 return PARSER.parseFrom(data, extensionRegistry);
12062 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(byte[] data)
12063 throws com.google.protobuf.InvalidProtocolBufferException {
12064 return PARSER.parseFrom(data);
12066 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12068 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12069 throws com.google.protobuf.InvalidProtocolBufferException {
12070 return PARSER.parseFrom(data, extensionRegistry);
12072 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(java.io.InputStream input)
12073 throws java.io.IOException {
12074 return com.google.protobuf.GeneratedMessage
12075 .parseWithIOException(PARSER, input);
12077 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12078 java.io.InputStream input,
12079 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12080 throws java.io.IOException {
12081 return com.google.protobuf.GeneratedMessage
12082 .parseWithIOException(PARSER, input, extensionRegistry);
12085 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseDelimitedFrom(java.io.InputStream input)
12086 throws java.io.IOException {
12087 return com.google.protobuf.GeneratedMessage
12088 .parseDelimitedWithIOException(PARSER, input);
12091 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseDelimitedFrom(
12092 java.io.InputStream input,
12093 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12094 throws java.io.IOException {
12095 return com.google.protobuf.GeneratedMessage
12096 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
12098 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12099 com.google.protobuf.CodedInputStream input)
12100 throws java.io.IOException {
12101 return com.google.protobuf.GeneratedMessage
12102 .parseWithIOException(PARSER, input);
12104 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile parseFrom(
12105 com.google.protobuf.CodedInputStream input,
12106 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12107 throws java.io.IOException {
12108 return com.google.protobuf.GeneratedMessage
12109 .parseWithIOException(PARSER, input, extensionRegistry);
12112 @java.lang.Override
12113 public Builder newBuilderForType() { return newBuilder(); }
12114 public static Builder newBuilder() {
12115 return DEFAULT_INSTANCE.toBuilder();
12117 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile prototype) {
12118 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
12120 @java.lang.Override
12121 public Builder toBuilder() {
12122 return this == DEFAULT_INSTANCE
12123 ? new Builder() : new Builder().mergeFrom(this);
12126 @java.lang.Override
12127 protected Builder newBuilderForType(
12128 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
12129 Builder builder = new Builder(parent);
12134 * VVRTimeProfile is almost identical to the "TimeProfile" message with the exception that the identifier is not optional.
12137 * Protobuf type {@code proto.VVRTimeProfile}
12139 public static final class Builder extends
12140 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
12141 // @@protoc_insertion_point(builder_implements:proto.VVRTimeProfile)
12142 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfileOrBuilder {
12143 public static final com.google.protobuf.Descriptors.Descriptor
12145 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VVRTimeProfile_descriptor;
12148 @java.lang.Override
12149 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
12150 internalGetFieldAccessorTable() {
12151 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VVRTimeProfile_fieldAccessorTable
12152 .ensureFieldAccessorsInitialized(
12153 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.class, com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.Builder.class);
12156 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.newBuilder()
12157 private Builder() {
12162 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
12166 @java.lang.Override
12167 public Builder clear() {
12173 days_ = java.util.Collections.emptyList();
12174 bitField0_ = (bitField0_ & ~0x00000008);
12176 applicationIdentifier_ = 0;
12180 @java.lang.Override
12181 public com.google.protobuf.Descriptors.Descriptor
12182 getDescriptorForType() {
12183 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VVRTimeProfile_descriptor;
12186 @java.lang.Override
12187 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile getDefaultInstanceForType() {
12188 return com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.getDefaultInstance();
12191 @java.lang.Override
12192 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile build() {
12193 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile result = buildPartial();
12194 if (!result.isInitialized()) {
12195 throw newUninitializedMessageException(result);
12200 @java.lang.Override
12201 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile buildPartial() {
12202 com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile result = new com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile(this);
12203 buildPartialRepeatedFields(result);
12204 if (bitField0_ != 0) { buildPartial0(result); }
12209 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile result) {
12210 if (((bitField0_ & 0x00000008) != 0)) {
12211 days_ = java.util.Collections.unmodifiableList(days_);
12212 bitField0_ = (bitField0_ & ~0x00000008);
12214 result.days_ = days_;
12217 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile result) {
12218 int from_bitField0_ = bitField0_;
12219 if (((from_bitField0_ & 0x00000001) != 0)) {
12220 result.identifier_ = identifier_;
12222 if (((from_bitField0_ & 0x00000002) != 0)) {
12223 result.hour_ = hour_;
12225 if (((from_bitField0_ & 0x00000004) != 0)) {
12226 result.minute_ = minute_;
12228 if (((from_bitField0_ & 0x00000010) != 0)) {
12229 result.active_ = active_;
12231 if (((from_bitField0_ & 0x00000020) != 0)) {
12232 result.applicationIdentifier_ = applicationIdentifier_;
12236 @java.lang.Override
12237 public Builder mergeFrom(com.google.protobuf.Message other) {
12238 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile) {
12239 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile)other);
12241 super.mergeFrom(other);
12246 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile other) {
12247 if (other == com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile.getDefaultInstance()) return this;
12248 if (other.getIdentifier() != 0) {
12249 setIdentifier(other.getIdentifier());
12251 if (other.getHour() != 0) {
12252 setHour(other.getHour());
12254 if (other.getMinute() != 0) {
12255 setMinute(other.getMinute());
12257 if (!other.days_.isEmpty()) {
12258 if (days_.isEmpty()) {
12259 days_ = other.days_;
12260 bitField0_ = (bitField0_ & ~0x00000008);
12262 ensureDaysIsMutable();
12263 days_.addAll(other.days_);
12267 if (other.getActive() != false) {
12268 setActive(other.getActive());
12270 if (other.getApplicationIdentifier() != 0) {
12271 setApplicationIdentifier(other.getApplicationIdentifier());
12273 this.mergeUnknownFields(other.getUnknownFields());
12278 @java.lang.Override
12279 public final boolean isInitialized() {
12283 @java.lang.Override
12284 public Builder mergeFrom(
12285 com.google.protobuf.CodedInputStream input,
12286 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12287 throws java.io.IOException {
12288 if (extensionRegistry == null) {
12289 throw new java.lang.NullPointerException();
12292 boolean done = false;
12294 int tag = input.readTag();
12300 identifier_ = input.readInt32();
12301 bitField0_ |= 0x00000001;
12305 hour_ = input.readInt32();
12306 bitField0_ |= 0x00000002;
12310 minute_ = input.readInt32();
12311 bitField0_ |= 0x00000004;
12315 int tmpRaw = input.readEnum();
12316 ensureDaysIsMutable();
12321 int length = input.readRawVarint32();
12322 int oldLimit = input.pushLimit(length);
12323 while(input.getBytesUntilLimit() > 0) {
12324 int tmpRaw = input.readEnum();
12325 ensureDaysIsMutable();
12328 input.popLimit(oldLimit);
12332 active_ = input.readBool();
12333 bitField0_ |= 0x00000010;
12337 applicationIdentifier_ = input.readInt32();
12338 bitField0_ |= 0x00000020;
12342 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
12343 done = true; // was an endgroup tag
12349 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
12350 throw e.unwrapIOException();
12356 private int bitField0_;
12358 private int identifier_ ;
12361 * unique id of this time profile entry
12364 * <code>int32 identifier = 1 [json_name = "id"];</code>
12365 * @return The identifier.
12367 @java.lang.Override
12368 public int getIdentifier() {
12369 return identifier_;
12373 * unique id of this time profile entry
12376 * <code>int32 identifier = 1 [json_name = "id"];</code>
12377 * @param value The identifier to set.
12378 * @return This builder for chaining.
12380 public Builder setIdentifier(int value) {
12382 identifier_ = value;
12383 bitField0_ |= 0x00000001;
12389 * unique id of this time profile entry
12392 * <code>int32 identifier = 1 [json_name = "id"];</code>
12393 * @return This builder for chaining.
12395 public Builder clearIdentifier() {
12396 bitField0_ = (bitField0_ & ~0x00000001);
12402 private int hour_ ;
12405 * Hour after midnight range [0, 23]
12408 * <code>int32 hour = 2 [json_name = "hour"];</code>
12409 * @return The hour.
12411 @java.lang.Override
12412 public int getHour() {
12417 * Hour after midnight range [0, 23]
12420 * <code>int32 hour = 2 [json_name = "hour"];</code>
12421 * @param value The hour to set.
12422 * @return This builder for chaining.
12424 public Builder setHour(int value) {
12427 bitField0_ |= 0x00000002;
12433 * Hour after midnight range [0, 23]
12436 * <code>int32 hour = 2 [json_name = "hour"];</code>
12437 * @return This builder for chaining.
12439 public Builder clearHour() {
12440 bitField0_ = (bitField0_ & ~0x00000002);
12446 private int minute_ ;
12449 * Minute after full hour range [0, 59]
12452 * <code>int32 minute = 3 [json_name = "min"];</code>
12453 * @return The minute.
12455 @java.lang.Override
12456 public int getMinute() {
12461 * Minute after full hour range [0, 59]
12464 * <code>int32 minute = 3 [json_name = "min"];</code>
12465 * @param value The minute to set.
12466 * @return This builder for chaining.
12468 public Builder setMinute(int value) {
12471 bitField0_ |= 0x00000004;
12477 * Minute after full hour range [0, 59]
12480 * <code>int32 minute = 3 [json_name = "min"];</code>
12481 * @return This builder for chaining.
12483 public Builder clearMinute() {
12484 bitField0_ = (bitField0_ & ~0x00000004);
12490 private java.util.List<java.lang.Integer> days_ =
12491 java.util.Collections.emptyList();
12492 private void ensureDaysIsMutable() {
12493 if (!((bitField0_ & 0x00000008) != 0)) {
12494 days_ = new java.util.ArrayList<java.lang.Integer>(days_);
12495 bitField0_ |= 0x00000008;
12500 * Days for which the above time should be applied
12503 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12504 * @return A list containing the days.
12506 public java.util.List<com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay> getDaysList() {
12507 return new com.google.protobuf.Internal.ListAdapter<
12508 java.lang.Integer, com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay>(days_, days_converter_);
12512 * Days for which the above time should be applied
12515 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12516 * @return The count of days.
12518 public int getDaysCount() {
12519 return days_.size();
12523 * Days for which the above time should be applied
12526 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12527 * @param index The index of the element to return.
12528 * @return The days at the given index.
12530 public com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay getDays(int index) {
12531 return days_converter_.convert(days_.get(index));
12535 * Days for which the above time should be applied
12538 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12539 * @param index The index to set the value at.
12540 * @param value The days to set.
12541 * @return This builder for chaining.
12543 public Builder setDays(
12544 int index, com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay value) {
12545 if (value == null) {
12546 throw new NullPointerException();
12548 ensureDaysIsMutable();
12549 days_.set(index, value.getNumber());
12555 * Days for which the above time should be applied
12558 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12559 * @param value The days to add.
12560 * @return This builder for chaining.
12562 public Builder addDays(com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay value) {
12563 if (value == null) {
12564 throw new NullPointerException();
12566 ensureDaysIsMutable();
12567 days_.add(value.getNumber());
12573 * Days for which the above time should be applied
12576 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12577 * @param values The days to add.
12578 * @return This builder for chaining.
12580 public Builder addAllDays(
12581 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay> values) {
12582 ensureDaysIsMutable();
12583 for (com.daimler.mbcarkit.proto.VehicleCommands.TimeProfileDay value : values) {
12584 days_.add(value.getNumber());
12591 * Days for which the above time should be applied
12594 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12595 * @return This builder for chaining.
12597 public Builder clearDays() {
12598 days_ = java.util.Collections.emptyList();
12599 bitField0_ = (bitField0_ & ~0x00000008);
12605 * Days for which the above time should be applied
12608 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12609 * @return A list containing the enum numeric values on the wire for days.
12611 public java.util.List<java.lang.Integer>
12612 getDaysValueList() {
12613 return java.util.Collections.unmodifiableList(days_);
12617 * Days for which the above time should be applied
12620 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12621 * @param index The index of the value to return.
12622 * @return The enum numeric value on the wire of days at the given index.
12624 public int getDaysValue(int index) {
12625 return days_.get(index);
12629 * Days for which the above time should be applied
12632 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12633 * @param index The index to set the value at.
12634 * @param value The enum numeric value on the wire for days to set.
12635 * @return This builder for chaining.
12637 public Builder setDaysValue(
12638 int index, int value) {
12639 ensureDaysIsMutable();
12640 days_.set(index, value);
12646 * Days for which the above time should be applied
12649 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12650 * @param value The enum numeric value on the wire for days to add.
12651 * @return This builder for chaining.
12653 public Builder addDaysValue(int value) {
12654 ensureDaysIsMutable();
12661 * Days for which the above time should be applied
12664 * <code>repeated .proto.TimeProfileDay days = 4 [json_name = "day"];</code>
12665 * @param values The enum numeric values on the wire for days to add.
12666 * @return This builder for chaining.
12668 public Builder addAllDaysValue(
12669 java.lang.Iterable<java.lang.Integer> values) {
12670 ensureDaysIsMutable();
12671 for (int value : values) {
12678 private boolean active_ ;
12681 * Whether this profile entry is active or not
12684 * <code>bool active = 5 [json_name = "active"];</code>
12685 * @return The active.
12687 @java.lang.Override
12688 public boolean getActive() {
12693 * Whether this profile entry is active or not
12696 * <code>bool active = 5 [json_name = "active"];</code>
12697 * @param value The active to set.
12698 * @return This builder for chaining.
12700 public Builder setActive(boolean value) {
12703 bitField0_ |= 0x00000010;
12709 * Whether this profile entry is active or not
12712 * <code>bool active = 5 [json_name = "active"];</code>
12713 * @return This builder for chaining.
12715 public Builder clearActive() {
12716 bitField0_ = (bitField0_ & ~0x00000010);
12722 private int applicationIdentifier_ ;
12725 * If a timeProfile is changed or added the respective applicationId must be provided by SDK
12726 * 11 = Internal Apps
12727 * 12 = External Apps
12730 * <code>int32 application_identifier = 6 [json_name = "applicationId"];</code>
12731 * @return The applicationIdentifier.
12733 @java.lang.Override
12734 public int getApplicationIdentifier() {
12735 return applicationIdentifier_;
12739 * If a timeProfile is changed or added the respective applicationId must be provided by SDK
12740 * 11 = Internal Apps
12741 * 12 = External Apps
12744 * <code>int32 application_identifier = 6 [json_name = "applicationId"];</code>
12745 * @param value The applicationIdentifier to set.
12746 * @return This builder for chaining.
12748 public Builder setApplicationIdentifier(int value) {
12750 applicationIdentifier_ = value;
12751 bitField0_ |= 0x00000020;
12757 * If a timeProfile is changed or added the respective applicationId must be provided by SDK
12758 * 11 = Internal Apps
12759 * 12 = External Apps
12762 * <code>int32 application_identifier = 6 [json_name = "applicationId"];</code>
12763 * @return This builder for chaining.
12765 public Builder clearApplicationIdentifier() {
12766 bitField0_ = (bitField0_ & ~0x00000020);
12767 applicationIdentifier_ = 0;
12772 // @@protoc_insertion_point(builder_scope:proto.VVRTimeProfile)
12775 // @@protoc_insertion_point(class_scope:proto.VVRTimeProfile)
12776 private static final com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile DEFAULT_INSTANCE;
12778 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile();
12781 public static com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile getDefaultInstance() {
12782 return DEFAULT_INSTANCE;
12785 private static final com.google.protobuf.Parser<VVRTimeProfile>
12786 PARSER = new com.google.protobuf.AbstractParser<VVRTimeProfile>() {
12787 @java.lang.Override
12788 public VVRTimeProfile parsePartialFrom(
12789 com.google.protobuf.CodedInputStream input,
12790 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12791 throws com.google.protobuf.InvalidProtocolBufferException {
12792 Builder builder = newBuilder();
12794 builder.mergeFrom(input, extensionRegistry);
12795 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
12796 throw e.setUnfinishedMessage(builder.buildPartial());
12797 } catch (com.google.protobuf.UninitializedMessageException e) {
12798 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
12799 } catch (java.io.IOException e) {
12800 throw new com.google.protobuf.InvalidProtocolBufferException(e)
12801 .setUnfinishedMessage(builder.buildPartial());
12803 return builder.buildPartial();
12807 public static com.google.protobuf.Parser<VVRTimeProfile> parser() {
12811 @java.lang.Override
12812 public com.google.protobuf.Parser<VVRTimeProfile> getParserForType() {
12816 @java.lang.Override
12817 public com.daimler.mbcarkit.proto.VehicleEvents.VVRTimeProfile getDefaultInstanceForType() {
12818 return DEFAULT_INSTANCE;
12823 public interface EcoHistogramValueOrBuilder extends
12824 // @@protoc_insertion_point(interface_extends:proto.EcoHistogramValue)
12825 com.google.protobuf.MessageOrBuilder {
12828 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12830 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin>
12831 getEcoHistogramBinsList();
12833 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12835 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin getEcoHistogramBins(int index);
12837 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12839 int getEcoHistogramBinsCount();
12841 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12843 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder>
12844 getEcoHistogramBinsOrBuilderList();
12846 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12848 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder getEcoHistogramBinsOrBuilder(
12852 * Protobuf type {@code proto.EcoHistogramValue}
12854 public static final class EcoHistogramValue extends
12855 com.google.protobuf.GeneratedMessage implements
12856 // @@protoc_insertion_point(message_implements:proto.EcoHistogramValue)
12857 EcoHistogramValueOrBuilder {
12858 private static final long serialVersionUID = 0L;
12860 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
12861 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
12866 EcoHistogramValue.class.getName());
12868 // Use EcoHistogramValue.newBuilder() to construct.
12869 private EcoHistogramValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
12872 private EcoHistogramValue() {
12873 ecoHistogramBins_ = java.util.Collections.emptyList();
12876 public static final com.google.protobuf.Descriptors.Descriptor
12878 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramValue_descriptor;
12881 @java.lang.Override
12882 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
12883 internalGetFieldAccessorTable() {
12884 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramValue_fieldAccessorTable
12885 .ensureFieldAccessorsInitialized(
12886 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.class, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder.class);
12889 public static final int ECO_HISTOGRAM_BINS_FIELD_NUMBER = 1;
12890 @SuppressWarnings("serial")
12891 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin> ecoHistogramBins_;
12893 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12895 @java.lang.Override
12896 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin> getEcoHistogramBinsList() {
12897 return ecoHistogramBins_;
12900 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12902 @java.lang.Override
12903 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder>
12904 getEcoHistogramBinsOrBuilderList() {
12905 return ecoHistogramBins_;
12908 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12910 @java.lang.Override
12911 public int getEcoHistogramBinsCount() {
12912 return ecoHistogramBins_.size();
12915 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12917 @java.lang.Override
12918 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin getEcoHistogramBins(int index) {
12919 return ecoHistogramBins_.get(index);
12922 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
12924 @java.lang.Override
12925 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder getEcoHistogramBinsOrBuilder(
12927 return ecoHistogramBins_.get(index);
12930 private byte memoizedIsInitialized = -1;
12931 @java.lang.Override
12932 public final boolean isInitialized() {
12933 byte isInitialized = memoizedIsInitialized;
12934 if (isInitialized == 1) return true;
12935 if (isInitialized == 0) return false;
12937 memoizedIsInitialized = 1;
12941 @java.lang.Override
12942 public void writeTo(com.google.protobuf.CodedOutputStream output)
12943 throws java.io.IOException {
12944 for (int i = 0; i < ecoHistogramBins_.size(); i++) {
12945 output.writeMessage(1, ecoHistogramBins_.get(i));
12947 getUnknownFields().writeTo(output);
12950 @java.lang.Override
12951 public int getSerializedSize() {
12952 int size = memoizedSize;
12953 if (size != -1) return size;
12956 for (int i = 0; i < ecoHistogramBins_.size(); i++) {
12957 size += com.google.protobuf.CodedOutputStream
12958 .computeMessageSize(1, ecoHistogramBins_.get(i));
12960 size += getUnknownFields().getSerializedSize();
12961 memoizedSize = size;
12965 @java.lang.Override
12966 public boolean equals(final java.lang.Object obj) {
12970 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue)) {
12971 return super.equals(obj);
12973 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue other = (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) obj;
12975 if (!getEcoHistogramBinsList()
12976 .equals(other.getEcoHistogramBinsList())) return false;
12977 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
12981 @java.lang.Override
12982 public int hashCode() {
12983 if (memoizedHashCode != 0) {
12984 return memoizedHashCode;
12987 hash = (19 * hash) + getDescriptor().hashCode();
12988 if (getEcoHistogramBinsCount() > 0) {
12989 hash = (37 * hash) + ECO_HISTOGRAM_BINS_FIELD_NUMBER;
12990 hash = (53 * hash) + getEcoHistogramBinsList().hashCode();
12992 hash = (29 * hash) + getUnknownFields().hashCode();
12993 memoizedHashCode = hash;
12997 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
12998 java.nio.ByteBuffer data)
12999 throws com.google.protobuf.InvalidProtocolBufferException {
13000 return PARSER.parseFrom(data);
13002 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13003 java.nio.ByteBuffer data,
13004 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13005 throws com.google.protobuf.InvalidProtocolBufferException {
13006 return PARSER.parseFrom(data, extensionRegistry);
13008 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13009 com.google.protobuf.ByteString data)
13010 throws com.google.protobuf.InvalidProtocolBufferException {
13011 return PARSER.parseFrom(data);
13013 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13014 com.google.protobuf.ByteString data,
13015 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13016 throws com.google.protobuf.InvalidProtocolBufferException {
13017 return PARSER.parseFrom(data, extensionRegistry);
13019 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(byte[] data)
13020 throws com.google.protobuf.InvalidProtocolBufferException {
13021 return PARSER.parseFrom(data);
13023 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13025 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13026 throws com.google.protobuf.InvalidProtocolBufferException {
13027 return PARSER.parseFrom(data, extensionRegistry);
13029 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(java.io.InputStream input)
13030 throws java.io.IOException {
13031 return com.google.protobuf.GeneratedMessage
13032 .parseWithIOException(PARSER, input);
13034 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13035 java.io.InputStream input,
13036 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13037 throws java.io.IOException {
13038 return com.google.protobuf.GeneratedMessage
13039 .parseWithIOException(PARSER, input, extensionRegistry);
13042 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseDelimitedFrom(java.io.InputStream input)
13043 throws java.io.IOException {
13044 return com.google.protobuf.GeneratedMessage
13045 .parseDelimitedWithIOException(PARSER, input);
13048 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseDelimitedFrom(
13049 java.io.InputStream input,
13050 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13051 throws java.io.IOException {
13052 return com.google.protobuf.GeneratedMessage
13053 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
13055 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13056 com.google.protobuf.CodedInputStream input)
13057 throws java.io.IOException {
13058 return com.google.protobuf.GeneratedMessage
13059 .parseWithIOException(PARSER, input);
13061 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue parseFrom(
13062 com.google.protobuf.CodedInputStream input,
13063 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13064 throws java.io.IOException {
13065 return com.google.protobuf.GeneratedMessage
13066 .parseWithIOException(PARSER, input, extensionRegistry);
13069 @java.lang.Override
13070 public Builder newBuilderForType() { return newBuilder(); }
13071 public static Builder newBuilder() {
13072 return DEFAULT_INSTANCE.toBuilder();
13074 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue prototype) {
13075 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
13077 @java.lang.Override
13078 public Builder toBuilder() {
13079 return this == DEFAULT_INSTANCE
13080 ? new Builder() : new Builder().mergeFrom(this);
13083 @java.lang.Override
13084 protected Builder newBuilderForType(
13085 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
13086 Builder builder = new Builder(parent);
13090 * Protobuf type {@code proto.EcoHistogramValue}
13092 public static final class Builder extends
13093 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
13094 // @@protoc_insertion_point(builder_implements:proto.EcoHistogramValue)
13095 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValueOrBuilder {
13096 public static final com.google.protobuf.Descriptors.Descriptor
13098 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramValue_descriptor;
13101 @java.lang.Override
13102 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
13103 internalGetFieldAccessorTable() {
13104 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramValue_fieldAccessorTable
13105 .ensureFieldAccessorsInitialized(
13106 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.class, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.Builder.class);
13109 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.newBuilder()
13110 private Builder() {
13115 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
13119 @java.lang.Override
13120 public Builder clear() {
13123 if (ecoHistogramBinsBuilder_ == null) {
13124 ecoHistogramBins_ = java.util.Collections.emptyList();
13126 ecoHistogramBins_ = null;
13127 ecoHistogramBinsBuilder_.clear();
13129 bitField0_ = (bitField0_ & ~0x00000001);
13133 @java.lang.Override
13134 public com.google.protobuf.Descriptors.Descriptor
13135 getDescriptorForType() {
13136 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramValue_descriptor;
13139 @java.lang.Override
13140 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue getDefaultInstanceForType() {
13141 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance();
13144 @java.lang.Override
13145 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue build() {
13146 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue result = buildPartial();
13147 if (!result.isInitialized()) {
13148 throw newUninitializedMessageException(result);
13153 @java.lang.Override
13154 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue buildPartial() {
13155 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue result = new com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue(this);
13156 buildPartialRepeatedFields(result);
13157 if (bitField0_ != 0) { buildPartial0(result); }
13162 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue result) {
13163 if (ecoHistogramBinsBuilder_ == null) {
13164 if (((bitField0_ & 0x00000001) != 0)) {
13165 ecoHistogramBins_ = java.util.Collections.unmodifiableList(ecoHistogramBins_);
13166 bitField0_ = (bitField0_ & ~0x00000001);
13168 result.ecoHistogramBins_ = ecoHistogramBins_;
13170 result.ecoHistogramBins_ = ecoHistogramBinsBuilder_.build();
13174 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue result) {
13175 int from_bitField0_ = bitField0_;
13178 @java.lang.Override
13179 public Builder mergeFrom(com.google.protobuf.Message other) {
13180 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue) {
13181 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue)other);
13183 super.mergeFrom(other);
13188 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue other) {
13189 if (other == com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue.getDefaultInstance()) return this;
13190 if (ecoHistogramBinsBuilder_ == null) {
13191 if (!other.ecoHistogramBins_.isEmpty()) {
13192 if (ecoHistogramBins_.isEmpty()) {
13193 ecoHistogramBins_ = other.ecoHistogramBins_;
13194 bitField0_ = (bitField0_ & ~0x00000001);
13196 ensureEcoHistogramBinsIsMutable();
13197 ecoHistogramBins_.addAll(other.ecoHistogramBins_);
13202 if (!other.ecoHistogramBins_.isEmpty()) {
13203 if (ecoHistogramBinsBuilder_.isEmpty()) {
13204 ecoHistogramBinsBuilder_.dispose();
13205 ecoHistogramBinsBuilder_ = null;
13206 ecoHistogramBins_ = other.ecoHistogramBins_;
13207 bitField0_ = (bitField0_ & ~0x00000001);
13208 ecoHistogramBinsBuilder_ =
13209 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
13210 getEcoHistogramBinsFieldBuilder() : null;
13212 ecoHistogramBinsBuilder_.addAllMessages(other.ecoHistogramBins_);
13216 this.mergeUnknownFields(other.getUnknownFields());
13221 @java.lang.Override
13222 public final boolean isInitialized() {
13226 @java.lang.Override
13227 public Builder mergeFrom(
13228 com.google.protobuf.CodedInputStream input,
13229 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13230 throws java.io.IOException {
13231 if (extensionRegistry == null) {
13232 throw new java.lang.NullPointerException();
13235 boolean done = false;
13237 int tag = input.readTag();
13243 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin m =
13245 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.parser(),
13246 extensionRegistry);
13247 if (ecoHistogramBinsBuilder_ == null) {
13248 ensureEcoHistogramBinsIsMutable();
13249 ecoHistogramBins_.add(m);
13251 ecoHistogramBinsBuilder_.addMessage(m);
13256 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
13257 done = true; // was an endgroup tag
13263 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
13264 throw e.unwrapIOException();
13270 private int bitField0_;
13272 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin> ecoHistogramBins_ =
13273 java.util.Collections.emptyList();
13274 private void ensureEcoHistogramBinsIsMutable() {
13275 if (!((bitField0_ & 0x00000001) != 0)) {
13276 ecoHistogramBins_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin>(ecoHistogramBins_);
13277 bitField0_ |= 0x00000001;
13281 private com.google.protobuf.RepeatedFieldBuilder<
13282 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder> ecoHistogramBinsBuilder_;
13285 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13287 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin> getEcoHistogramBinsList() {
13288 if (ecoHistogramBinsBuilder_ == null) {
13289 return java.util.Collections.unmodifiableList(ecoHistogramBins_);
13291 return ecoHistogramBinsBuilder_.getMessageList();
13295 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13297 public int getEcoHistogramBinsCount() {
13298 if (ecoHistogramBinsBuilder_ == null) {
13299 return ecoHistogramBins_.size();
13301 return ecoHistogramBinsBuilder_.getCount();
13305 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13307 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin getEcoHistogramBins(int index) {
13308 if (ecoHistogramBinsBuilder_ == null) {
13309 return ecoHistogramBins_.get(index);
13311 return ecoHistogramBinsBuilder_.getMessage(index);
13315 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13317 public Builder setEcoHistogramBins(
13318 int index, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin value) {
13319 if (ecoHistogramBinsBuilder_ == null) {
13320 if (value == null) {
13321 throw new NullPointerException();
13323 ensureEcoHistogramBinsIsMutable();
13324 ecoHistogramBins_.set(index, value);
13327 ecoHistogramBinsBuilder_.setMessage(index, value);
13332 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13334 public Builder setEcoHistogramBins(
13335 int index, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder builderForValue) {
13336 if (ecoHistogramBinsBuilder_ == null) {
13337 ensureEcoHistogramBinsIsMutable();
13338 ecoHistogramBins_.set(index, builderForValue.build());
13341 ecoHistogramBinsBuilder_.setMessage(index, builderForValue.build());
13346 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13348 public Builder addEcoHistogramBins(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin value) {
13349 if (ecoHistogramBinsBuilder_ == null) {
13350 if (value == null) {
13351 throw new NullPointerException();
13353 ensureEcoHistogramBinsIsMutable();
13354 ecoHistogramBins_.add(value);
13357 ecoHistogramBinsBuilder_.addMessage(value);
13362 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13364 public Builder addEcoHistogramBins(
13365 int index, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin value) {
13366 if (ecoHistogramBinsBuilder_ == null) {
13367 if (value == null) {
13368 throw new NullPointerException();
13370 ensureEcoHistogramBinsIsMutable();
13371 ecoHistogramBins_.add(index, value);
13374 ecoHistogramBinsBuilder_.addMessage(index, value);
13379 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13381 public Builder addEcoHistogramBins(
13382 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder builderForValue) {
13383 if (ecoHistogramBinsBuilder_ == null) {
13384 ensureEcoHistogramBinsIsMutable();
13385 ecoHistogramBins_.add(builderForValue.build());
13388 ecoHistogramBinsBuilder_.addMessage(builderForValue.build());
13393 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13395 public Builder addEcoHistogramBins(
13396 int index, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder builderForValue) {
13397 if (ecoHistogramBinsBuilder_ == null) {
13398 ensureEcoHistogramBinsIsMutable();
13399 ecoHistogramBins_.add(index, builderForValue.build());
13402 ecoHistogramBinsBuilder_.addMessage(index, builderForValue.build());
13407 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13409 public Builder addAllEcoHistogramBins(
13410 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin> values) {
13411 if (ecoHistogramBinsBuilder_ == null) {
13412 ensureEcoHistogramBinsIsMutable();
13413 com.google.protobuf.AbstractMessageLite.Builder.addAll(
13414 values, ecoHistogramBins_);
13417 ecoHistogramBinsBuilder_.addAllMessages(values);
13422 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13424 public Builder clearEcoHistogramBins() {
13425 if (ecoHistogramBinsBuilder_ == null) {
13426 ecoHistogramBins_ = java.util.Collections.emptyList();
13427 bitField0_ = (bitField0_ & ~0x00000001);
13430 ecoHistogramBinsBuilder_.clear();
13435 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13437 public Builder removeEcoHistogramBins(int index) {
13438 if (ecoHistogramBinsBuilder_ == null) {
13439 ensureEcoHistogramBinsIsMutable();
13440 ecoHistogramBins_.remove(index);
13443 ecoHistogramBinsBuilder_.remove(index);
13448 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13450 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder getEcoHistogramBinsBuilder(
13452 return getEcoHistogramBinsFieldBuilder().getBuilder(index);
13455 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13457 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder getEcoHistogramBinsOrBuilder(
13459 if (ecoHistogramBinsBuilder_ == null) {
13460 return ecoHistogramBins_.get(index); } else {
13461 return ecoHistogramBinsBuilder_.getMessageOrBuilder(index);
13465 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13467 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder>
13468 getEcoHistogramBinsOrBuilderList() {
13469 if (ecoHistogramBinsBuilder_ != null) {
13470 return ecoHistogramBinsBuilder_.getMessageOrBuilderList();
13472 return java.util.Collections.unmodifiableList(ecoHistogramBins_);
13476 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13478 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder addEcoHistogramBinsBuilder() {
13479 return getEcoHistogramBinsFieldBuilder().addBuilder(
13480 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.getDefaultInstance());
13483 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13485 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder addEcoHistogramBinsBuilder(
13487 return getEcoHistogramBinsFieldBuilder().addBuilder(
13488 index, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.getDefaultInstance());
13491 * <code>repeated .proto.EcoHistogramBin eco_histogram_bins = 1;</code>
13493 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder>
13494 getEcoHistogramBinsBuilderList() {
13495 return getEcoHistogramBinsFieldBuilder().getBuilderList();
13497 private com.google.protobuf.RepeatedFieldBuilder<
13498 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder>
13499 getEcoHistogramBinsFieldBuilder() {
13500 if (ecoHistogramBinsBuilder_ == null) {
13501 ecoHistogramBinsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
13502 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder>(
13504 ((bitField0_ & 0x00000001) != 0),
13505 getParentForChildren(),
13507 ecoHistogramBins_ = null;
13509 return ecoHistogramBinsBuilder_;
13512 // @@protoc_insertion_point(builder_scope:proto.EcoHistogramValue)
13515 // @@protoc_insertion_point(class_scope:proto.EcoHistogramValue)
13516 private static final com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue DEFAULT_INSTANCE;
13518 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue();
13521 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue getDefaultInstance() {
13522 return DEFAULT_INSTANCE;
13525 private static final com.google.protobuf.Parser<EcoHistogramValue>
13526 PARSER = new com.google.protobuf.AbstractParser<EcoHistogramValue>() {
13527 @java.lang.Override
13528 public EcoHistogramValue parsePartialFrom(
13529 com.google.protobuf.CodedInputStream input,
13530 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13531 throws com.google.protobuf.InvalidProtocolBufferException {
13532 Builder builder = newBuilder();
13534 builder.mergeFrom(input, extensionRegistry);
13535 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
13536 throw e.setUnfinishedMessage(builder.buildPartial());
13537 } catch (com.google.protobuf.UninitializedMessageException e) {
13538 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
13539 } catch (java.io.IOException e) {
13540 throw new com.google.protobuf.InvalidProtocolBufferException(e)
13541 .setUnfinishedMessage(builder.buildPartial());
13543 return builder.buildPartial();
13547 public static com.google.protobuf.Parser<EcoHistogramValue> parser() {
13551 @java.lang.Override
13552 public com.google.protobuf.Parser<EcoHistogramValue> getParserForType() {
13556 @java.lang.Override
13557 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramValue getDefaultInstanceForType() {
13558 return DEFAULT_INSTANCE;
13563 public interface EcoHistogramBinOrBuilder extends
13564 // @@protoc_insertion_point(interface_extends:proto.EcoHistogramBin)
13565 com.google.protobuf.MessageOrBuilder {
13568 * <code>double interval = 1;</code>
13569 * @return The interval.
13571 double getInterval();
13574 * <code>double value = 2;</code>
13575 * @return The value.
13580 * Protobuf type {@code proto.EcoHistogramBin}
13582 public static final class EcoHistogramBin extends
13583 com.google.protobuf.GeneratedMessage implements
13584 // @@protoc_insertion_point(message_implements:proto.EcoHistogramBin)
13585 EcoHistogramBinOrBuilder {
13586 private static final long serialVersionUID = 0L;
13588 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
13589 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
13594 EcoHistogramBin.class.getName());
13596 // Use EcoHistogramBin.newBuilder() to construct.
13597 private EcoHistogramBin(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
13600 private EcoHistogramBin() {
13603 public static final com.google.protobuf.Descriptors.Descriptor
13605 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramBin_descriptor;
13608 @java.lang.Override
13609 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
13610 internalGetFieldAccessorTable() {
13611 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramBin_fieldAccessorTable
13612 .ensureFieldAccessorsInitialized(
13613 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.class, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder.class);
13616 public static final int INTERVAL_FIELD_NUMBER = 1;
13617 private double interval_ = 0D;
13619 * <code>double interval = 1;</code>
13620 * @return The interval.
13622 @java.lang.Override
13623 public double getInterval() {
13627 public static final int VALUE_FIELD_NUMBER = 2;
13628 private double value_ = 0D;
13630 * <code>double value = 2;</code>
13631 * @return The value.
13633 @java.lang.Override
13634 public double getValue() {
13638 private byte memoizedIsInitialized = -1;
13639 @java.lang.Override
13640 public final boolean isInitialized() {
13641 byte isInitialized = memoizedIsInitialized;
13642 if (isInitialized == 1) return true;
13643 if (isInitialized == 0) return false;
13645 memoizedIsInitialized = 1;
13649 @java.lang.Override
13650 public void writeTo(com.google.protobuf.CodedOutputStream output)
13651 throws java.io.IOException {
13652 if (java.lang.Double.doubleToRawLongBits(interval_) != 0) {
13653 output.writeDouble(1, interval_);
13655 if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
13656 output.writeDouble(2, value_);
13658 getUnknownFields().writeTo(output);
13661 @java.lang.Override
13662 public int getSerializedSize() {
13663 int size = memoizedSize;
13664 if (size != -1) return size;
13667 if (java.lang.Double.doubleToRawLongBits(interval_) != 0) {
13668 size += com.google.protobuf.CodedOutputStream
13669 .computeDoubleSize(1, interval_);
13671 if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
13672 size += com.google.protobuf.CodedOutputStream
13673 .computeDoubleSize(2, value_);
13675 size += getUnknownFields().getSerializedSize();
13676 memoizedSize = size;
13680 @java.lang.Override
13681 public boolean equals(final java.lang.Object obj) {
13685 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin)) {
13686 return super.equals(obj);
13688 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin other = (com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin) obj;
13690 if (java.lang.Double.doubleToLongBits(getInterval())
13691 != java.lang.Double.doubleToLongBits(
13692 other.getInterval())) return false;
13693 if (java.lang.Double.doubleToLongBits(getValue())
13694 != java.lang.Double.doubleToLongBits(
13695 other.getValue())) return false;
13696 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
13700 @java.lang.Override
13701 public int hashCode() {
13702 if (memoizedHashCode != 0) {
13703 return memoizedHashCode;
13706 hash = (19 * hash) + getDescriptor().hashCode();
13707 hash = (37 * hash) + INTERVAL_FIELD_NUMBER;
13708 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
13709 java.lang.Double.doubleToLongBits(getInterval()));
13710 hash = (37 * hash) + VALUE_FIELD_NUMBER;
13711 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
13712 java.lang.Double.doubleToLongBits(getValue()));
13713 hash = (29 * hash) + getUnknownFields().hashCode();
13714 memoizedHashCode = hash;
13718 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13719 java.nio.ByteBuffer data)
13720 throws com.google.protobuf.InvalidProtocolBufferException {
13721 return PARSER.parseFrom(data);
13723 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13724 java.nio.ByteBuffer data,
13725 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13726 throws com.google.protobuf.InvalidProtocolBufferException {
13727 return PARSER.parseFrom(data, extensionRegistry);
13729 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13730 com.google.protobuf.ByteString data)
13731 throws com.google.protobuf.InvalidProtocolBufferException {
13732 return PARSER.parseFrom(data);
13734 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13735 com.google.protobuf.ByteString data,
13736 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13737 throws com.google.protobuf.InvalidProtocolBufferException {
13738 return PARSER.parseFrom(data, extensionRegistry);
13740 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(byte[] data)
13741 throws com.google.protobuf.InvalidProtocolBufferException {
13742 return PARSER.parseFrom(data);
13744 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13746 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13747 throws com.google.protobuf.InvalidProtocolBufferException {
13748 return PARSER.parseFrom(data, extensionRegistry);
13750 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(java.io.InputStream input)
13751 throws java.io.IOException {
13752 return com.google.protobuf.GeneratedMessage
13753 .parseWithIOException(PARSER, input);
13755 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13756 java.io.InputStream input,
13757 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13758 throws java.io.IOException {
13759 return com.google.protobuf.GeneratedMessage
13760 .parseWithIOException(PARSER, input, extensionRegistry);
13763 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseDelimitedFrom(java.io.InputStream input)
13764 throws java.io.IOException {
13765 return com.google.protobuf.GeneratedMessage
13766 .parseDelimitedWithIOException(PARSER, input);
13769 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseDelimitedFrom(
13770 java.io.InputStream input,
13771 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13772 throws java.io.IOException {
13773 return com.google.protobuf.GeneratedMessage
13774 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
13776 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13777 com.google.protobuf.CodedInputStream input)
13778 throws java.io.IOException {
13779 return com.google.protobuf.GeneratedMessage
13780 .parseWithIOException(PARSER, input);
13782 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin parseFrom(
13783 com.google.protobuf.CodedInputStream input,
13784 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13785 throws java.io.IOException {
13786 return com.google.protobuf.GeneratedMessage
13787 .parseWithIOException(PARSER, input, extensionRegistry);
13790 @java.lang.Override
13791 public Builder newBuilderForType() { return newBuilder(); }
13792 public static Builder newBuilder() {
13793 return DEFAULT_INSTANCE.toBuilder();
13795 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin prototype) {
13796 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
13798 @java.lang.Override
13799 public Builder toBuilder() {
13800 return this == DEFAULT_INSTANCE
13801 ? new Builder() : new Builder().mergeFrom(this);
13804 @java.lang.Override
13805 protected Builder newBuilderForType(
13806 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
13807 Builder builder = new Builder(parent);
13811 * Protobuf type {@code proto.EcoHistogramBin}
13813 public static final class Builder extends
13814 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
13815 // @@protoc_insertion_point(builder_implements:proto.EcoHistogramBin)
13816 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBinOrBuilder {
13817 public static final com.google.protobuf.Descriptors.Descriptor
13819 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramBin_descriptor;
13822 @java.lang.Override
13823 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
13824 internalGetFieldAccessorTable() {
13825 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramBin_fieldAccessorTable
13826 .ensureFieldAccessorsInitialized(
13827 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.class, com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.Builder.class);
13830 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.newBuilder()
13831 private Builder() {
13836 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
13840 @java.lang.Override
13841 public Builder clear() {
13849 @java.lang.Override
13850 public com.google.protobuf.Descriptors.Descriptor
13851 getDescriptorForType() {
13852 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_EcoHistogramBin_descriptor;
13855 @java.lang.Override
13856 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin getDefaultInstanceForType() {
13857 return com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.getDefaultInstance();
13860 @java.lang.Override
13861 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin build() {
13862 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin result = buildPartial();
13863 if (!result.isInitialized()) {
13864 throw newUninitializedMessageException(result);
13869 @java.lang.Override
13870 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin buildPartial() {
13871 com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin result = new com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin(this);
13872 if (bitField0_ != 0) { buildPartial0(result); }
13877 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin result) {
13878 int from_bitField0_ = bitField0_;
13879 if (((from_bitField0_ & 0x00000001) != 0)) {
13880 result.interval_ = interval_;
13882 if (((from_bitField0_ & 0x00000002) != 0)) {
13883 result.value_ = value_;
13887 @java.lang.Override
13888 public Builder mergeFrom(com.google.protobuf.Message other) {
13889 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin) {
13890 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin)other);
13892 super.mergeFrom(other);
13897 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin other) {
13898 if (other == com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin.getDefaultInstance()) return this;
13899 if (other.getInterval() != 0D) {
13900 setInterval(other.getInterval());
13902 if (other.getValue() != 0D) {
13903 setValue(other.getValue());
13905 this.mergeUnknownFields(other.getUnknownFields());
13910 @java.lang.Override
13911 public final boolean isInitialized() {
13915 @java.lang.Override
13916 public Builder mergeFrom(
13917 com.google.protobuf.CodedInputStream input,
13918 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
13919 throws java.io.IOException {
13920 if (extensionRegistry == null) {
13921 throw new java.lang.NullPointerException();
13924 boolean done = false;
13926 int tag = input.readTag();
13932 interval_ = input.readDouble();
13933 bitField0_ |= 0x00000001;
13937 value_ = input.readDouble();
13938 bitField0_ |= 0x00000002;
13942 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
13943 done = true; // was an endgroup tag
13949 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
13950 throw e.unwrapIOException();
13956 private int bitField0_;
13958 private double interval_ ;
13960 * <code>double interval = 1;</code>
13961 * @return The interval.
13963 @java.lang.Override
13964 public double getInterval() {
13968 * <code>double interval = 1;</code>
13969 * @param value The interval to set.
13970 * @return This builder for chaining.
13972 public Builder setInterval(double value) {
13975 bitField0_ |= 0x00000001;
13980 * <code>double interval = 1;</code>
13981 * @return This builder for chaining.
13983 public Builder clearInterval() {
13984 bitField0_ = (bitField0_ & ~0x00000001);
13990 private double value_ ;
13992 * <code>double value = 2;</code>
13993 * @return The value.
13995 @java.lang.Override
13996 public double getValue() {
14000 * <code>double value = 2;</code>
14001 * @param value The value to set.
14002 * @return This builder for chaining.
14004 public Builder setValue(double value) {
14007 bitField0_ |= 0x00000002;
14012 * <code>double value = 2;</code>
14013 * @return This builder for chaining.
14015 public Builder clearValue() {
14016 bitField0_ = (bitField0_ & ~0x00000002);
14022 // @@protoc_insertion_point(builder_scope:proto.EcoHistogramBin)
14025 // @@protoc_insertion_point(class_scope:proto.EcoHistogramBin)
14026 private static final com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin DEFAULT_INSTANCE;
14028 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin();
14031 public static com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin getDefaultInstance() {
14032 return DEFAULT_INSTANCE;
14035 private static final com.google.protobuf.Parser<EcoHistogramBin>
14036 PARSER = new com.google.protobuf.AbstractParser<EcoHistogramBin>() {
14037 @java.lang.Override
14038 public EcoHistogramBin parsePartialFrom(
14039 com.google.protobuf.CodedInputStream input,
14040 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14041 throws com.google.protobuf.InvalidProtocolBufferException {
14042 Builder builder = newBuilder();
14044 builder.mergeFrom(input, extensionRegistry);
14045 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
14046 throw e.setUnfinishedMessage(builder.buildPartial());
14047 } catch (com.google.protobuf.UninitializedMessageException e) {
14048 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
14049 } catch (java.io.IOException e) {
14050 throw new com.google.protobuf.InvalidProtocolBufferException(e)
14051 .setUnfinishedMessage(builder.buildPartial());
14053 return builder.buildPartial();
14057 public static com.google.protobuf.Parser<EcoHistogramBin> parser() {
14061 @java.lang.Override
14062 public com.google.protobuf.Parser<EcoHistogramBin> getParserForType() {
14066 @java.lang.Override
14067 public com.daimler.mbcarkit.proto.VehicleEvents.EcoHistogramBin getDefaultInstanceForType() {
14068 return DEFAULT_INSTANCE;
14073 public interface SpeedAlertConfigurationValueOrBuilder extends
14074 // @@protoc_insertion_point(interface_extends:proto.SpeedAlertConfigurationValue)
14075 com.google.protobuf.MessageOrBuilder {
14078 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14080 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration>
14081 getSpeedAlertConfigurationsList();
14083 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14085 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration getSpeedAlertConfigurations(int index);
14087 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14089 int getSpeedAlertConfigurationsCount();
14091 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14093 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder>
14094 getSpeedAlertConfigurationsOrBuilderList();
14096 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14098 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder getSpeedAlertConfigurationsOrBuilder(
14102 * Protobuf type {@code proto.SpeedAlertConfigurationValue}
14104 public static final class SpeedAlertConfigurationValue extends
14105 com.google.protobuf.GeneratedMessage implements
14106 // @@protoc_insertion_point(message_implements:proto.SpeedAlertConfigurationValue)
14107 SpeedAlertConfigurationValueOrBuilder {
14108 private static final long serialVersionUID = 0L;
14110 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
14111 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
14116 SpeedAlertConfigurationValue.class.getName());
14118 // Use SpeedAlertConfigurationValue.newBuilder() to construct.
14119 private SpeedAlertConfigurationValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
14122 private SpeedAlertConfigurationValue() {
14123 speedAlertConfigurations_ = java.util.Collections.emptyList();
14126 public static final com.google.protobuf.Descriptors.Descriptor
14128 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfigurationValue_descriptor;
14131 @java.lang.Override
14132 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
14133 internalGetFieldAccessorTable() {
14134 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfigurationValue_fieldAccessorTable
14135 .ensureFieldAccessorsInitialized(
14136 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.class, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder.class);
14139 public static final int SPEED_ALERT_CONFIGURATIONS_FIELD_NUMBER = 1;
14140 @SuppressWarnings("serial")
14141 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration> speedAlertConfigurations_;
14143 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14145 @java.lang.Override
14146 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration> getSpeedAlertConfigurationsList() {
14147 return speedAlertConfigurations_;
14150 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14152 @java.lang.Override
14153 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder>
14154 getSpeedAlertConfigurationsOrBuilderList() {
14155 return speedAlertConfigurations_;
14158 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14160 @java.lang.Override
14161 public int getSpeedAlertConfigurationsCount() {
14162 return speedAlertConfigurations_.size();
14165 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14167 @java.lang.Override
14168 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration getSpeedAlertConfigurations(int index) {
14169 return speedAlertConfigurations_.get(index);
14172 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14174 @java.lang.Override
14175 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder getSpeedAlertConfigurationsOrBuilder(
14177 return speedAlertConfigurations_.get(index);
14180 private byte memoizedIsInitialized = -1;
14181 @java.lang.Override
14182 public final boolean isInitialized() {
14183 byte isInitialized = memoizedIsInitialized;
14184 if (isInitialized == 1) return true;
14185 if (isInitialized == 0) return false;
14187 memoizedIsInitialized = 1;
14191 @java.lang.Override
14192 public void writeTo(com.google.protobuf.CodedOutputStream output)
14193 throws java.io.IOException {
14194 for (int i = 0; i < speedAlertConfigurations_.size(); i++) {
14195 output.writeMessage(1, speedAlertConfigurations_.get(i));
14197 getUnknownFields().writeTo(output);
14200 @java.lang.Override
14201 public int getSerializedSize() {
14202 int size = memoizedSize;
14203 if (size != -1) return size;
14206 for (int i = 0; i < speedAlertConfigurations_.size(); i++) {
14207 size += com.google.protobuf.CodedOutputStream
14208 .computeMessageSize(1, speedAlertConfigurations_.get(i));
14210 size += getUnknownFields().getSerializedSize();
14211 memoizedSize = size;
14215 @java.lang.Override
14216 public boolean equals(final java.lang.Object obj) {
14220 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue)) {
14221 return super.equals(obj);
14223 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue other = (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) obj;
14225 if (!getSpeedAlertConfigurationsList()
14226 .equals(other.getSpeedAlertConfigurationsList())) return false;
14227 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
14231 @java.lang.Override
14232 public int hashCode() {
14233 if (memoizedHashCode != 0) {
14234 return memoizedHashCode;
14237 hash = (19 * hash) + getDescriptor().hashCode();
14238 if (getSpeedAlertConfigurationsCount() > 0) {
14239 hash = (37 * hash) + SPEED_ALERT_CONFIGURATIONS_FIELD_NUMBER;
14240 hash = (53 * hash) + getSpeedAlertConfigurationsList().hashCode();
14242 hash = (29 * hash) + getUnknownFields().hashCode();
14243 memoizedHashCode = hash;
14247 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14248 java.nio.ByteBuffer data)
14249 throws com.google.protobuf.InvalidProtocolBufferException {
14250 return PARSER.parseFrom(data);
14252 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14253 java.nio.ByteBuffer data,
14254 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14255 throws com.google.protobuf.InvalidProtocolBufferException {
14256 return PARSER.parseFrom(data, extensionRegistry);
14258 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14259 com.google.protobuf.ByteString data)
14260 throws com.google.protobuf.InvalidProtocolBufferException {
14261 return PARSER.parseFrom(data);
14263 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14264 com.google.protobuf.ByteString data,
14265 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14266 throws com.google.protobuf.InvalidProtocolBufferException {
14267 return PARSER.parseFrom(data, extensionRegistry);
14269 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(byte[] data)
14270 throws com.google.protobuf.InvalidProtocolBufferException {
14271 return PARSER.parseFrom(data);
14273 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14275 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14276 throws com.google.protobuf.InvalidProtocolBufferException {
14277 return PARSER.parseFrom(data, extensionRegistry);
14279 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(java.io.InputStream input)
14280 throws java.io.IOException {
14281 return com.google.protobuf.GeneratedMessage
14282 .parseWithIOException(PARSER, input);
14284 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14285 java.io.InputStream input,
14286 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14287 throws java.io.IOException {
14288 return com.google.protobuf.GeneratedMessage
14289 .parseWithIOException(PARSER, input, extensionRegistry);
14292 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseDelimitedFrom(java.io.InputStream input)
14293 throws java.io.IOException {
14294 return com.google.protobuf.GeneratedMessage
14295 .parseDelimitedWithIOException(PARSER, input);
14298 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseDelimitedFrom(
14299 java.io.InputStream input,
14300 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14301 throws java.io.IOException {
14302 return com.google.protobuf.GeneratedMessage
14303 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
14305 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14306 com.google.protobuf.CodedInputStream input)
14307 throws java.io.IOException {
14308 return com.google.protobuf.GeneratedMessage
14309 .parseWithIOException(PARSER, input);
14311 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue parseFrom(
14312 com.google.protobuf.CodedInputStream input,
14313 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14314 throws java.io.IOException {
14315 return com.google.protobuf.GeneratedMessage
14316 .parseWithIOException(PARSER, input, extensionRegistry);
14319 @java.lang.Override
14320 public Builder newBuilderForType() { return newBuilder(); }
14321 public static Builder newBuilder() {
14322 return DEFAULT_INSTANCE.toBuilder();
14324 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue prototype) {
14325 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
14327 @java.lang.Override
14328 public Builder toBuilder() {
14329 return this == DEFAULT_INSTANCE
14330 ? new Builder() : new Builder().mergeFrom(this);
14333 @java.lang.Override
14334 protected Builder newBuilderForType(
14335 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
14336 Builder builder = new Builder(parent);
14340 * Protobuf type {@code proto.SpeedAlertConfigurationValue}
14342 public static final class Builder extends
14343 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
14344 // @@protoc_insertion_point(builder_implements:proto.SpeedAlertConfigurationValue)
14345 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValueOrBuilder {
14346 public static final com.google.protobuf.Descriptors.Descriptor
14348 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfigurationValue_descriptor;
14351 @java.lang.Override
14352 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
14353 internalGetFieldAccessorTable() {
14354 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfigurationValue_fieldAccessorTable
14355 .ensureFieldAccessorsInitialized(
14356 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.class, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.Builder.class);
14359 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.newBuilder()
14360 private Builder() {
14365 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
14369 @java.lang.Override
14370 public Builder clear() {
14373 if (speedAlertConfigurationsBuilder_ == null) {
14374 speedAlertConfigurations_ = java.util.Collections.emptyList();
14376 speedAlertConfigurations_ = null;
14377 speedAlertConfigurationsBuilder_.clear();
14379 bitField0_ = (bitField0_ & ~0x00000001);
14383 @java.lang.Override
14384 public com.google.protobuf.Descriptors.Descriptor
14385 getDescriptorForType() {
14386 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfigurationValue_descriptor;
14389 @java.lang.Override
14390 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue getDefaultInstanceForType() {
14391 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance();
14394 @java.lang.Override
14395 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue build() {
14396 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue result = buildPartial();
14397 if (!result.isInitialized()) {
14398 throw newUninitializedMessageException(result);
14403 @java.lang.Override
14404 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue buildPartial() {
14405 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue result = new com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue(this);
14406 buildPartialRepeatedFields(result);
14407 if (bitField0_ != 0) { buildPartial0(result); }
14412 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue result) {
14413 if (speedAlertConfigurationsBuilder_ == null) {
14414 if (((bitField0_ & 0x00000001) != 0)) {
14415 speedAlertConfigurations_ = java.util.Collections.unmodifiableList(speedAlertConfigurations_);
14416 bitField0_ = (bitField0_ & ~0x00000001);
14418 result.speedAlertConfigurations_ = speedAlertConfigurations_;
14420 result.speedAlertConfigurations_ = speedAlertConfigurationsBuilder_.build();
14424 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue result) {
14425 int from_bitField0_ = bitField0_;
14428 @java.lang.Override
14429 public Builder mergeFrom(com.google.protobuf.Message other) {
14430 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue) {
14431 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue)other);
14433 super.mergeFrom(other);
14438 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue other) {
14439 if (other == com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue.getDefaultInstance()) return this;
14440 if (speedAlertConfigurationsBuilder_ == null) {
14441 if (!other.speedAlertConfigurations_.isEmpty()) {
14442 if (speedAlertConfigurations_.isEmpty()) {
14443 speedAlertConfigurations_ = other.speedAlertConfigurations_;
14444 bitField0_ = (bitField0_ & ~0x00000001);
14446 ensureSpeedAlertConfigurationsIsMutable();
14447 speedAlertConfigurations_.addAll(other.speedAlertConfigurations_);
14452 if (!other.speedAlertConfigurations_.isEmpty()) {
14453 if (speedAlertConfigurationsBuilder_.isEmpty()) {
14454 speedAlertConfigurationsBuilder_.dispose();
14455 speedAlertConfigurationsBuilder_ = null;
14456 speedAlertConfigurations_ = other.speedAlertConfigurations_;
14457 bitField0_ = (bitField0_ & ~0x00000001);
14458 speedAlertConfigurationsBuilder_ =
14459 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
14460 getSpeedAlertConfigurationsFieldBuilder() : null;
14462 speedAlertConfigurationsBuilder_.addAllMessages(other.speedAlertConfigurations_);
14466 this.mergeUnknownFields(other.getUnknownFields());
14471 @java.lang.Override
14472 public final boolean isInitialized() {
14476 @java.lang.Override
14477 public Builder mergeFrom(
14478 com.google.protobuf.CodedInputStream input,
14479 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14480 throws java.io.IOException {
14481 if (extensionRegistry == null) {
14482 throw new java.lang.NullPointerException();
14485 boolean done = false;
14487 int tag = input.readTag();
14493 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration m =
14495 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.parser(),
14496 extensionRegistry);
14497 if (speedAlertConfigurationsBuilder_ == null) {
14498 ensureSpeedAlertConfigurationsIsMutable();
14499 speedAlertConfigurations_.add(m);
14501 speedAlertConfigurationsBuilder_.addMessage(m);
14506 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
14507 done = true; // was an endgroup tag
14513 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
14514 throw e.unwrapIOException();
14520 private int bitField0_;
14522 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration> speedAlertConfigurations_ =
14523 java.util.Collections.emptyList();
14524 private void ensureSpeedAlertConfigurationsIsMutable() {
14525 if (!((bitField0_ & 0x00000001) != 0)) {
14526 speedAlertConfigurations_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration>(speedAlertConfigurations_);
14527 bitField0_ |= 0x00000001;
14531 private com.google.protobuf.RepeatedFieldBuilder<
14532 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder> speedAlertConfigurationsBuilder_;
14535 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14537 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration> getSpeedAlertConfigurationsList() {
14538 if (speedAlertConfigurationsBuilder_ == null) {
14539 return java.util.Collections.unmodifiableList(speedAlertConfigurations_);
14541 return speedAlertConfigurationsBuilder_.getMessageList();
14545 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14547 public int getSpeedAlertConfigurationsCount() {
14548 if (speedAlertConfigurationsBuilder_ == null) {
14549 return speedAlertConfigurations_.size();
14551 return speedAlertConfigurationsBuilder_.getCount();
14555 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14557 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration getSpeedAlertConfigurations(int index) {
14558 if (speedAlertConfigurationsBuilder_ == null) {
14559 return speedAlertConfigurations_.get(index);
14561 return speedAlertConfigurationsBuilder_.getMessage(index);
14565 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14567 public Builder setSpeedAlertConfigurations(
14568 int index, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration value) {
14569 if (speedAlertConfigurationsBuilder_ == null) {
14570 if (value == null) {
14571 throw new NullPointerException();
14573 ensureSpeedAlertConfigurationsIsMutable();
14574 speedAlertConfigurations_.set(index, value);
14577 speedAlertConfigurationsBuilder_.setMessage(index, value);
14582 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14584 public Builder setSpeedAlertConfigurations(
14585 int index, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder builderForValue) {
14586 if (speedAlertConfigurationsBuilder_ == null) {
14587 ensureSpeedAlertConfigurationsIsMutable();
14588 speedAlertConfigurations_.set(index, builderForValue.build());
14591 speedAlertConfigurationsBuilder_.setMessage(index, builderForValue.build());
14596 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14598 public Builder addSpeedAlertConfigurations(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration value) {
14599 if (speedAlertConfigurationsBuilder_ == null) {
14600 if (value == null) {
14601 throw new NullPointerException();
14603 ensureSpeedAlertConfigurationsIsMutable();
14604 speedAlertConfigurations_.add(value);
14607 speedAlertConfigurationsBuilder_.addMessage(value);
14612 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14614 public Builder addSpeedAlertConfigurations(
14615 int index, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration value) {
14616 if (speedAlertConfigurationsBuilder_ == null) {
14617 if (value == null) {
14618 throw new NullPointerException();
14620 ensureSpeedAlertConfigurationsIsMutable();
14621 speedAlertConfigurations_.add(index, value);
14624 speedAlertConfigurationsBuilder_.addMessage(index, value);
14629 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14631 public Builder addSpeedAlertConfigurations(
14632 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder builderForValue) {
14633 if (speedAlertConfigurationsBuilder_ == null) {
14634 ensureSpeedAlertConfigurationsIsMutable();
14635 speedAlertConfigurations_.add(builderForValue.build());
14638 speedAlertConfigurationsBuilder_.addMessage(builderForValue.build());
14643 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14645 public Builder addSpeedAlertConfigurations(
14646 int index, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder builderForValue) {
14647 if (speedAlertConfigurationsBuilder_ == null) {
14648 ensureSpeedAlertConfigurationsIsMutable();
14649 speedAlertConfigurations_.add(index, builderForValue.build());
14652 speedAlertConfigurationsBuilder_.addMessage(index, builderForValue.build());
14657 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14659 public Builder addAllSpeedAlertConfigurations(
14660 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration> values) {
14661 if (speedAlertConfigurationsBuilder_ == null) {
14662 ensureSpeedAlertConfigurationsIsMutable();
14663 com.google.protobuf.AbstractMessageLite.Builder.addAll(
14664 values, speedAlertConfigurations_);
14667 speedAlertConfigurationsBuilder_.addAllMessages(values);
14672 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14674 public Builder clearSpeedAlertConfigurations() {
14675 if (speedAlertConfigurationsBuilder_ == null) {
14676 speedAlertConfigurations_ = java.util.Collections.emptyList();
14677 bitField0_ = (bitField0_ & ~0x00000001);
14680 speedAlertConfigurationsBuilder_.clear();
14685 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14687 public Builder removeSpeedAlertConfigurations(int index) {
14688 if (speedAlertConfigurationsBuilder_ == null) {
14689 ensureSpeedAlertConfigurationsIsMutable();
14690 speedAlertConfigurations_.remove(index);
14693 speedAlertConfigurationsBuilder_.remove(index);
14698 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14700 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder getSpeedAlertConfigurationsBuilder(
14702 return getSpeedAlertConfigurationsFieldBuilder().getBuilder(index);
14705 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14707 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder getSpeedAlertConfigurationsOrBuilder(
14709 if (speedAlertConfigurationsBuilder_ == null) {
14710 return speedAlertConfigurations_.get(index); } else {
14711 return speedAlertConfigurationsBuilder_.getMessageOrBuilder(index);
14715 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14717 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder>
14718 getSpeedAlertConfigurationsOrBuilderList() {
14719 if (speedAlertConfigurationsBuilder_ != null) {
14720 return speedAlertConfigurationsBuilder_.getMessageOrBuilderList();
14722 return java.util.Collections.unmodifiableList(speedAlertConfigurations_);
14726 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14728 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder addSpeedAlertConfigurationsBuilder() {
14729 return getSpeedAlertConfigurationsFieldBuilder().addBuilder(
14730 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.getDefaultInstance());
14733 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14735 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder addSpeedAlertConfigurationsBuilder(
14737 return getSpeedAlertConfigurationsFieldBuilder().addBuilder(
14738 index, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.getDefaultInstance());
14741 * <code>repeated .proto.SpeedAlertConfiguration speed_alert_configurations = 1;</code>
14743 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder>
14744 getSpeedAlertConfigurationsBuilderList() {
14745 return getSpeedAlertConfigurationsFieldBuilder().getBuilderList();
14747 private com.google.protobuf.RepeatedFieldBuilder<
14748 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder>
14749 getSpeedAlertConfigurationsFieldBuilder() {
14750 if (speedAlertConfigurationsBuilder_ == null) {
14751 speedAlertConfigurationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
14752 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder>(
14753 speedAlertConfigurations_,
14754 ((bitField0_ & 0x00000001) != 0),
14755 getParentForChildren(),
14757 speedAlertConfigurations_ = null;
14759 return speedAlertConfigurationsBuilder_;
14762 // @@protoc_insertion_point(builder_scope:proto.SpeedAlertConfigurationValue)
14765 // @@protoc_insertion_point(class_scope:proto.SpeedAlertConfigurationValue)
14766 private static final com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue DEFAULT_INSTANCE;
14768 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue();
14771 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue getDefaultInstance() {
14772 return DEFAULT_INSTANCE;
14775 private static final com.google.protobuf.Parser<SpeedAlertConfigurationValue>
14776 PARSER = new com.google.protobuf.AbstractParser<SpeedAlertConfigurationValue>() {
14777 @java.lang.Override
14778 public SpeedAlertConfigurationValue parsePartialFrom(
14779 com.google.protobuf.CodedInputStream input,
14780 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
14781 throws com.google.protobuf.InvalidProtocolBufferException {
14782 Builder builder = newBuilder();
14784 builder.mergeFrom(input, extensionRegistry);
14785 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
14786 throw e.setUnfinishedMessage(builder.buildPartial());
14787 } catch (com.google.protobuf.UninitializedMessageException e) {
14788 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
14789 } catch (java.io.IOException e) {
14790 throw new com.google.protobuf.InvalidProtocolBufferException(e)
14791 .setUnfinishedMessage(builder.buildPartial());
14793 return builder.buildPartial();
14797 public static com.google.protobuf.Parser<SpeedAlertConfigurationValue> parser() {
14801 @java.lang.Override
14802 public com.google.protobuf.Parser<SpeedAlertConfigurationValue> getParserForType() {
14806 @java.lang.Override
14807 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationValue getDefaultInstanceForType() {
14808 return DEFAULT_INSTANCE;
14813 public interface SpeedAlertConfigurationOrBuilder extends
14814 // @@protoc_insertion_point(interface_extends:proto.SpeedAlertConfiguration)
14815 com.google.protobuf.MessageOrBuilder {
14819 * Unix timestamp in seconds
14822 * <code>int64 end_timestamp_in_s = 1;</code>
14823 * @return The endTimestampInS.
14825 long getEndTimestampInS();
14829 * Speed in kilometers per hour
14832 * <code>int32 threshold_in_kph = 2;</code>
14833 * @return The thresholdInKph.
14835 int getThresholdInKph();
14839 * threshold value in the users preferred unit
14842 * <code>string threshold_display_value = 3;</code>
14843 * @return The thresholdDisplayValue.
14845 java.lang.String getThresholdDisplayValue();
14848 * threshold value in the users preferred unit
14851 * <code>string threshold_display_value = 3;</code>
14852 * @return The bytes for thresholdDisplayValue.
14854 com.google.protobuf.ByteString
14855 getThresholdDisplayValueBytes();
14858 * Protobuf type {@code proto.SpeedAlertConfiguration}
14860 public static final class SpeedAlertConfiguration extends
14861 com.google.protobuf.GeneratedMessage implements
14862 // @@protoc_insertion_point(message_implements:proto.SpeedAlertConfiguration)
14863 SpeedAlertConfigurationOrBuilder {
14864 private static final long serialVersionUID = 0L;
14866 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
14867 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
14872 SpeedAlertConfiguration.class.getName());
14874 // Use SpeedAlertConfiguration.newBuilder() to construct.
14875 private SpeedAlertConfiguration(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
14878 private SpeedAlertConfiguration() {
14879 thresholdDisplayValue_ = "";
14882 public static final com.google.protobuf.Descriptors.Descriptor
14884 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfiguration_descriptor;
14887 @java.lang.Override
14888 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
14889 internalGetFieldAccessorTable() {
14890 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfiguration_fieldAccessorTable
14891 .ensureFieldAccessorsInitialized(
14892 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.class, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder.class);
14895 public static final int END_TIMESTAMP_IN_S_FIELD_NUMBER = 1;
14896 private long endTimestampInS_ = 0L;
14899 * Unix timestamp in seconds
14902 * <code>int64 end_timestamp_in_s = 1;</code>
14903 * @return The endTimestampInS.
14905 @java.lang.Override
14906 public long getEndTimestampInS() {
14907 return endTimestampInS_;
14910 public static final int THRESHOLD_IN_KPH_FIELD_NUMBER = 2;
14911 private int thresholdInKph_ = 0;
14914 * Speed in kilometers per hour
14917 * <code>int32 threshold_in_kph = 2;</code>
14918 * @return The thresholdInKph.
14920 @java.lang.Override
14921 public int getThresholdInKph() {
14922 return thresholdInKph_;
14925 public static final int THRESHOLD_DISPLAY_VALUE_FIELD_NUMBER = 3;
14926 @SuppressWarnings("serial")
14927 private volatile java.lang.Object thresholdDisplayValue_ = "";
14930 * threshold value in the users preferred unit
14933 * <code>string threshold_display_value = 3;</code>
14934 * @return The thresholdDisplayValue.
14936 @java.lang.Override
14937 public java.lang.String getThresholdDisplayValue() {
14938 java.lang.Object ref = thresholdDisplayValue_;
14939 if (ref instanceof java.lang.String) {
14940 return (java.lang.String) ref;
14942 com.google.protobuf.ByteString bs =
14943 (com.google.protobuf.ByteString) ref;
14944 java.lang.String s = bs.toStringUtf8();
14945 thresholdDisplayValue_ = s;
14951 * threshold value in the users preferred unit
14954 * <code>string threshold_display_value = 3;</code>
14955 * @return The bytes for thresholdDisplayValue.
14957 @java.lang.Override
14958 public com.google.protobuf.ByteString
14959 getThresholdDisplayValueBytes() {
14960 java.lang.Object ref = thresholdDisplayValue_;
14961 if (ref instanceof java.lang.String) {
14962 com.google.protobuf.ByteString b =
14963 com.google.protobuf.ByteString.copyFromUtf8(
14964 (java.lang.String) ref);
14965 thresholdDisplayValue_ = b;
14968 return (com.google.protobuf.ByteString) ref;
14972 private byte memoizedIsInitialized = -1;
14973 @java.lang.Override
14974 public final boolean isInitialized() {
14975 byte isInitialized = memoizedIsInitialized;
14976 if (isInitialized == 1) return true;
14977 if (isInitialized == 0) return false;
14979 memoizedIsInitialized = 1;
14983 @java.lang.Override
14984 public void writeTo(com.google.protobuf.CodedOutputStream output)
14985 throws java.io.IOException {
14986 if (endTimestampInS_ != 0L) {
14987 output.writeInt64(1, endTimestampInS_);
14989 if (thresholdInKph_ != 0) {
14990 output.writeInt32(2, thresholdInKph_);
14992 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(thresholdDisplayValue_)) {
14993 com.google.protobuf.GeneratedMessage.writeString(output, 3, thresholdDisplayValue_);
14995 getUnknownFields().writeTo(output);
14998 @java.lang.Override
14999 public int getSerializedSize() {
15000 int size = memoizedSize;
15001 if (size != -1) return size;
15004 if (endTimestampInS_ != 0L) {
15005 size += com.google.protobuf.CodedOutputStream
15006 .computeInt64Size(1, endTimestampInS_);
15008 if (thresholdInKph_ != 0) {
15009 size += com.google.protobuf.CodedOutputStream
15010 .computeInt32Size(2, thresholdInKph_);
15012 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(thresholdDisplayValue_)) {
15013 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, thresholdDisplayValue_);
15015 size += getUnknownFields().getSerializedSize();
15016 memoizedSize = size;
15020 @java.lang.Override
15021 public boolean equals(final java.lang.Object obj) {
15025 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration)) {
15026 return super.equals(obj);
15028 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration other = (com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration) obj;
15030 if (getEndTimestampInS()
15031 != other.getEndTimestampInS()) return false;
15032 if (getThresholdInKph()
15033 != other.getThresholdInKph()) return false;
15034 if (!getThresholdDisplayValue()
15035 .equals(other.getThresholdDisplayValue())) return false;
15036 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
15040 @java.lang.Override
15041 public int hashCode() {
15042 if (memoizedHashCode != 0) {
15043 return memoizedHashCode;
15046 hash = (19 * hash) + getDescriptor().hashCode();
15047 hash = (37 * hash) + END_TIMESTAMP_IN_S_FIELD_NUMBER;
15048 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
15049 getEndTimestampInS());
15050 hash = (37 * hash) + THRESHOLD_IN_KPH_FIELD_NUMBER;
15051 hash = (53 * hash) + getThresholdInKph();
15052 hash = (37 * hash) + THRESHOLD_DISPLAY_VALUE_FIELD_NUMBER;
15053 hash = (53 * hash) + getThresholdDisplayValue().hashCode();
15054 hash = (29 * hash) + getUnknownFields().hashCode();
15055 memoizedHashCode = hash;
15059 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15060 java.nio.ByteBuffer data)
15061 throws com.google.protobuf.InvalidProtocolBufferException {
15062 return PARSER.parseFrom(data);
15064 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15065 java.nio.ByteBuffer data,
15066 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15067 throws com.google.protobuf.InvalidProtocolBufferException {
15068 return PARSER.parseFrom(data, extensionRegistry);
15070 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15071 com.google.protobuf.ByteString data)
15072 throws com.google.protobuf.InvalidProtocolBufferException {
15073 return PARSER.parseFrom(data);
15075 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15076 com.google.protobuf.ByteString data,
15077 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15078 throws com.google.protobuf.InvalidProtocolBufferException {
15079 return PARSER.parseFrom(data, extensionRegistry);
15081 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(byte[] data)
15082 throws com.google.protobuf.InvalidProtocolBufferException {
15083 return PARSER.parseFrom(data);
15085 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15087 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15088 throws com.google.protobuf.InvalidProtocolBufferException {
15089 return PARSER.parseFrom(data, extensionRegistry);
15091 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(java.io.InputStream input)
15092 throws java.io.IOException {
15093 return com.google.protobuf.GeneratedMessage
15094 .parseWithIOException(PARSER, input);
15096 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15097 java.io.InputStream input,
15098 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15099 throws java.io.IOException {
15100 return com.google.protobuf.GeneratedMessage
15101 .parseWithIOException(PARSER, input, extensionRegistry);
15104 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseDelimitedFrom(java.io.InputStream input)
15105 throws java.io.IOException {
15106 return com.google.protobuf.GeneratedMessage
15107 .parseDelimitedWithIOException(PARSER, input);
15110 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseDelimitedFrom(
15111 java.io.InputStream input,
15112 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15113 throws java.io.IOException {
15114 return com.google.protobuf.GeneratedMessage
15115 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
15117 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15118 com.google.protobuf.CodedInputStream input)
15119 throws java.io.IOException {
15120 return com.google.protobuf.GeneratedMessage
15121 .parseWithIOException(PARSER, input);
15123 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration parseFrom(
15124 com.google.protobuf.CodedInputStream input,
15125 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15126 throws java.io.IOException {
15127 return com.google.protobuf.GeneratedMessage
15128 .parseWithIOException(PARSER, input, extensionRegistry);
15131 @java.lang.Override
15132 public Builder newBuilderForType() { return newBuilder(); }
15133 public static Builder newBuilder() {
15134 return DEFAULT_INSTANCE.toBuilder();
15136 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration prototype) {
15137 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
15139 @java.lang.Override
15140 public Builder toBuilder() {
15141 return this == DEFAULT_INSTANCE
15142 ? new Builder() : new Builder().mergeFrom(this);
15145 @java.lang.Override
15146 protected Builder newBuilderForType(
15147 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
15148 Builder builder = new Builder(parent);
15152 * Protobuf type {@code proto.SpeedAlertConfiguration}
15154 public static final class Builder extends
15155 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
15156 // @@protoc_insertion_point(builder_implements:proto.SpeedAlertConfiguration)
15157 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfigurationOrBuilder {
15158 public static final com.google.protobuf.Descriptors.Descriptor
15160 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfiguration_descriptor;
15163 @java.lang.Override
15164 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
15165 internalGetFieldAccessorTable() {
15166 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfiguration_fieldAccessorTable
15167 .ensureFieldAccessorsInitialized(
15168 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.class, com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.Builder.class);
15171 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.newBuilder()
15172 private Builder() {
15177 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
15181 @java.lang.Override
15182 public Builder clear() {
15185 endTimestampInS_ = 0L;
15186 thresholdInKph_ = 0;
15187 thresholdDisplayValue_ = "";
15191 @java.lang.Override
15192 public com.google.protobuf.Descriptors.Descriptor
15193 getDescriptorForType() {
15194 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_SpeedAlertConfiguration_descriptor;
15197 @java.lang.Override
15198 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration getDefaultInstanceForType() {
15199 return com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.getDefaultInstance();
15202 @java.lang.Override
15203 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration build() {
15204 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration result = buildPartial();
15205 if (!result.isInitialized()) {
15206 throw newUninitializedMessageException(result);
15211 @java.lang.Override
15212 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration buildPartial() {
15213 com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration result = new com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration(this);
15214 if (bitField0_ != 0) { buildPartial0(result); }
15219 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration result) {
15220 int from_bitField0_ = bitField0_;
15221 if (((from_bitField0_ & 0x00000001) != 0)) {
15222 result.endTimestampInS_ = endTimestampInS_;
15224 if (((from_bitField0_ & 0x00000002) != 0)) {
15225 result.thresholdInKph_ = thresholdInKph_;
15227 if (((from_bitField0_ & 0x00000004) != 0)) {
15228 result.thresholdDisplayValue_ = thresholdDisplayValue_;
15232 @java.lang.Override
15233 public Builder mergeFrom(com.google.protobuf.Message other) {
15234 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration) {
15235 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration)other);
15237 super.mergeFrom(other);
15242 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration other) {
15243 if (other == com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration.getDefaultInstance()) return this;
15244 if (other.getEndTimestampInS() != 0L) {
15245 setEndTimestampInS(other.getEndTimestampInS());
15247 if (other.getThresholdInKph() != 0) {
15248 setThresholdInKph(other.getThresholdInKph());
15250 if (!other.getThresholdDisplayValue().isEmpty()) {
15251 thresholdDisplayValue_ = other.thresholdDisplayValue_;
15252 bitField0_ |= 0x00000004;
15255 this.mergeUnknownFields(other.getUnknownFields());
15260 @java.lang.Override
15261 public final boolean isInitialized() {
15265 @java.lang.Override
15266 public Builder mergeFrom(
15267 com.google.protobuf.CodedInputStream input,
15268 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15269 throws java.io.IOException {
15270 if (extensionRegistry == null) {
15271 throw new java.lang.NullPointerException();
15274 boolean done = false;
15276 int tag = input.readTag();
15282 endTimestampInS_ = input.readInt64();
15283 bitField0_ |= 0x00000001;
15287 thresholdInKph_ = input.readInt32();
15288 bitField0_ |= 0x00000002;
15292 thresholdDisplayValue_ = input.readStringRequireUtf8();
15293 bitField0_ |= 0x00000004;
15297 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
15298 done = true; // was an endgroup tag
15304 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
15305 throw e.unwrapIOException();
15311 private int bitField0_;
15313 private long endTimestampInS_ ;
15316 * Unix timestamp in seconds
15319 * <code>int64 end_timestamp_in_s = 1;</code>
15320 * @return The endTimestampInS.
15322 @java.lang.Override
15323 public long getEndTimestampInS() {
15324 return endTimestampInS_;
15328 * Unix timestamp in seconds
15331 * <code>int64 end_timestamp_in_s = 1;</code>
15332 * @param value The endTimestampInS to set.
15333 * @return This builder for chaining.
15335 public Builder setEndTimestampInS(long value) {
15337 endTimestampInS_ = value;
15338 bitField0_ |= 0x00000001;
15344 * Unix timestamp in seconds
15347 * <code>int64 end_timestamp_in_s = 1;</code>
15348 * @return This builder for chaining.
15350 public Builder clearEndTimestampInS() {
15351 bitField0_ = (bitField0_ & ~0x00000001);
15352 endTimestampInS_ = 0L;
15357 private int thresholdInKph_ ;
15360 * Speed in kilometers per hour
15363 * <code>int32 threshold_in_kph = 2;</code>
15364 * @return The thresholdInKph.
15366 @java.lang.Override
15367 public int getThresholdInKph() {
15368 return thresholdInKph_;
15372 * Speed in kilometers per hour
15375 * <code>int32 threshold_in_kph = 2;</code>
15376 * @param value The thresholdInKph to set.
15377 * @return This builder for chaining.
15379 public Builder setThresholdInKph(int value) {
15381 thresholdInKph_ = value;
15382 bitField0_ |= 0x00000002;
15388 * Speed in kilometers per hour
15391 * <code>int32 threshold_in_kph = 2;</code>
15392 * @return This builder for chaining.
15394 public Builder clearThresholdInKph() {
15395 bitField0_ = (bitField0_ & ~0x00000002);
15396 thresholdInKph_ = 0;
15401 private java.lang.Object thresholdDisplayValue_ = "";
15404 * threshold value in the users preferred unit
15407 * <code>string threshold_display_value = 3;</code>
15408 * @return The thresholdDisplayValue.
15410 public java.lang.String getThresholdDisplayValue() {
15411 java.lang.Object ref = thresholdDisplayValue_;
15412 if (!(ref instanceof java.lang.String)) {
15413 com.google.protobuf.ByteString bs =
15414 (com.google.protobuf.ByteString) ref;
15415 java.lang.String s = bs.toStringUtf8();
15416 thresholdDisplayValue_ = s;
15419 return (java.lang.String) ref;
15424 * threshold value in the users preferred unit
15427 * <code>string threshold_display_value = 3;</code>
15428 * @return The bytes for thresholdDisplayValue.
15430 public com.google.protobuf.ByteString
15431 getThresholdDisplayValueBytes() {
15432 java.lang.Object ref = thresholdDisplayValue_;
15433 if (ref instanceof String) {
15434 com.google.protobuf.ByteString b =
15435 com.google.protobuf.ByteString.copyFromUtf8(
15436 (java.lang.String) ref);
15437 thresholdDisplayValue_ = b;
15440 return (com.google.protobuf.ByteString) ref;
15445 * threshold value in the users preferred unit
15448 * <code>string threshold_display_value = 3;</code>
15449 * @param value The thresholdDisplayValue to set.
15450 * @return This builder for chaining.
15452 public Builder setThresholdDisplayValue(
15453 java.lang.String value) {
15454 if (value == null) { throw new NullPointerException(); }
15455 thresholdDisplayValue_ = value;
15456 bitField0_ |= 0x00000004;
15462 * threshold value in the users preferred unit
15465 * <code>string threshold_display_value = 3;</code>
15466 * @return This builder for chaining.
15468 public Builder clearThresholdDisplayValue() {
15469 thresholdDisplayValue_ = getDefaultInstance().getThresholdDisplayValue();
15470 bitField0_ = (bitField0_ & ~0x00000004);
15476 * threshold value in the users preferred unit
15479 * <code>string threshold_display_value = 3;</code>
15480 * @param value The bytes for thresholdDisplayValue to set.
15481 * @return This builder for chaining.
15483 public Builder setThresholdDisplayValueBytes(
15484 com.google.protobuf.ByteString value) {
15485 if (value == null) { throw new NullPointerException(); }
15486 checkByteStringIsUtf8(value);
15487 thresholdDisplayValue_ = value;
15488 bitField0_ |= 0x00000004;
15493 // @@protoc_insertion_point(builder_scope:proto.SpeedAlertConfiguration)
15496 // @@protoc_insertion_point(class_scope:proto.SpeedAlertConfiguration)
15497 private static final com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration DEFAULT_INSTANCE;
15499 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration();
15502 public static com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration getDefaultInstance() {
15503 return DEFAULT_INSTANCE;
15506 private static final com.google.protobuf.Parser<SpeedAlertConfiguration>
15507 PARSER = new com.google.protobuf.AbstractParser<SpeedAlertConfiguration>() {
15508 @java.lang.Override
15509 public SpeedAlertConfiguration parsePartialFrom(
15510 com.google.protobuf.CodedInputStream input,
15511 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15512 throws com.google.protobuf.InvalidProtocolBufferException {
15513 Builder builder = newBuilder();
15515 builder.mergeFrom(input, extensionRegistry);
15516 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
15517 throw e.setUnfinishedMessage(builder.buildPartial());
15518 } catch (com.google.protobuf.UninitializedMessageException e) {
15519 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
15520 } catch (java.io.IOException e) {
15521 throw new com.google.protobuf.InvalidProtocolBufferException(e)
15522 .setUnfinishedMessage(builder.buildPartial());
15524 return builder.buildPartial();
15528 public static com.google.protobuf.Parser<SpeedAlertConfiguration> parser() {
15532 @java.lang.Override
15533 public com.google.protobuf.Parser<SpeedAlertConfiguration> getParserForType() {
15537 @java.lang.Override
15538 public com.daimler.mbcarkit.proto.VehicleEvents.SpeedAlertConfiguration getDefaultInstanceForType() {
15539 return DEFAULT_INSTANCE;
15544 public interface WeeklySettingsHeadUnitValueOrBuilder extends
15545 // @@protoc_insertion_point(interface_extends:proto.WeeklySettingsHeadUnitValue)
15546 com.google.protobuf.MessageOrBuilder {
15550 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15553 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15555 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting>
15556 getWeeklySettingsList();
15559 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15562 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15564 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting getWeeklySettings(int index);
15567 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15570 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15572 int getWeeklySettingsCount();
15575 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15578 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15580 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder>
15581 getWeeklySettingsOrBuilderList();
15584 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15587 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15589 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder getWeeklySettingsOrBuilder(
15593 * Protobuf type {@code proto.WeeklySettingsHeadUnitValue}
15595 public static final class WeeklySettingsHeadUnitValue extends
15596 com.google.protobuf.GeneratedMessage implements
15597 // @@protoc_insertion_point(message_implements:proto.WeeklySettingsHeadUnitValue)
15598 WeeklySettingsHeadUnitValueOrBuilder {
15599 private static final long serialVersionUID = 0L;
15601 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
15602 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
15607 WeeklySettingsHeadUnitValue.class.getName());
15609 // Use WeeklySettingsHeadUnitValue.newBuilder() to construct.
15610 private WeeklySettingsHeadUnitValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
15613 private WeeklySettingsHeadUnitValue() {
15614 weeklySettings_ = java.util.Collections.emptyList();
15617 public static final com.google.protobuf.Descriptors.Descriptor
15619 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySettingsHeadUnitValue_descriptor;
15622 @java.lang.Override
15623 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
15624 internalGetFieldAccessorTable() {
15625 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySettingsHeadUnitValue_fieldAccessorTable
15626 .ensureFieldAccessorsInitialized(
15627 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder.class);
15630 public static final int WEEKLY_SETTINGS_FIELD_NUMBER = 1;
15631 @SuppressWarnings("serial")
15632 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting> weeklySettings_;
15635 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15638 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15640 @java.lang.Override
15641 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting> getWeeklySettingsList() {
15642 return weeklySettings_;
15646 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15649 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15651 @java.lang.Override
15652 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder>
15653 getWeeklySettingsOrBuilderList() {
15654 return weeklySettings_;
15658 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15661 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15663 @java.lang.Override
15664 public int getWeeklySettingsCount() {
15665 return weeklySettings_.size();
15669 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15672 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15674 @java.lang.Override
15675 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting getWeeklySettings(int index) {
15676 return weeklySettings_.get(index);
15680 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
15683 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
15685 @java.lang.Override
15686 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder getWeeklySettingsOrBuilder(
15688 return weeklySettings_.get(index);
15691 private byte memoizedIsInitialized = -1;
15692 @java.lang.Override
15693 public final boolean isInitialized() {
15694 byte isInitialized = memoizedIsInitialized;
15695 if (isInitialized == 1) return true;
15696 if (isInitialized == 0) return false;
15698 memoizedIsInitialized = 1;
15702 @java.lang.Override
15703 public void writeTo(com.google.protobuf.CodedOutputStream output)
15704 throws java.io.IOException {
15705 for (int i = 0; i < weeklySettings_.size(); i++) {
15706 output.writeMessage(1, weeklySettings_.get(i));
15708 getUnknownFields().writeTo(output);
15711 @java.lang.Override
15712 public int getSerializedSize() {
15713 int size = memoizedSize;
15714 if (size != -1) return size;
15717 for (int i = 0; i < weeklySettings_.size(); i++) {
15718 size += com.google.protobuf.CodedOutputStream
15719 .computeMessageSize(1, weeklySettings_.get(i));
15721 size += getUnknownFields().getSerializedSize();
15722 memoizedSize = size;
15726 @java.lang.Override
15727 public boolean equals(final java.lang.Object obj) {
15731 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue)) {
15732 return super.equals(obj);
15734 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue other = (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) obj;
15736 if (!getWeeklySettingsList()
15737 .equals(other.getWeeklySettingsList())) return false;
15738 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
15742 @java.lang.Override
15743 public int hashCode() {
15744 if (memoizedHashCode != 0) {
15745 return memoizedHashCode;
15748 hash = (19 * hash) + getDescriptor().hashCode();
15749 if (getWeeklySettingsCount() > 0) {
15750 hash = (37 * hash) + WEEKLY_SETTINGS_FIELD_NUMBER;
15751 hash = (53 * hash) + getWeeklySettingsList().hashCode();
15753 hash = (29 * hash) + getUnknownFields().hashCode();
15754 memoizedHashCode = hash;
15758 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15759 java.nio.ByteBuffer data)
15760 throws com.google.protobuf.InvalidProtocolBufferException {
15761 return PARSER.parseFrom(data);
15763 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15764 java.nio.ByteBuffer data,
15765 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15766 throws com.google.protobuf.InvalidProtocolBufferException {
15767 return PARSER.parseFrom(data, extensionRegistry);
15769 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15770 com.google.protobuf.ByteString data)
15771 throws com.google.protobuf.InvalidProtocolBufferException {
15772 return PARSER.parseFrom(data);
15774 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15775 com.google.protobuf.ByteString data,
15776 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15777 throws com.google.protobuf.InvalidProtocolBufferException {
15778 return PARSER.parseFrom(data, extensionRegistry);
15780 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(byte[] data)
15781 throws com.google.protobuf.InvalidProtocolBufferException {
15782 return PARSER.parseFrom(data);
15784 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15786 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15787 throws com.google.protobuf.InvalidProtocolBufferException {
15788 return PARSER.parseFrom(data, extensionRegistry);
15790 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(java.io.InputStream input)
15791 throws java.io.IOException {
15792 return com.google.protobuf.GeneratedMessage
15793 .parseWithIOException(PARSER, input);
15795 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15796 java.io.InputStream input,
15797 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15798 throws java.io.IOException {
15799 return com.google.protobuf.GeneratedMessage
15800 .parseWithIOException(PARSER, input, extensionRegistry);
15803 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseDelimitedFrom(java.io.InputStream input)
15804 throws java.io.IOException {
15805 return com.google.protobuf.GeneratedMessage
15806 .parseDelimitedWithIOException(PARSER, input);
15809 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseDelimitedFrom(
15810 java.io.InputStream input,
15811 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15812 throws java.io.IOException {
15813 return com.google.protobuf.GeneratedMessage
15814 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
15816 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15817 com.google.protobuf.CodedInputStream input)
15818 throws java.io.IOException {
15819 return com.google.protobuf.GeneratedMessage
15820 .parseWithIOException(PARSER, input);
15822 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue parseFrom(
15823 com.google.protobuf.CodedInputStream input,
15824 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15825 throws java.io.IOException {
15826 return com.google.protobuf.GeneratedMessage
15827 .parseWithIOException(PARSER, input, extensionRegistry);
15830 @java.lang.Override
15831 public Builder newBuilderForType() { return newBuilder(); }
15832 public static Builder newBuilder() {
15833 return DEFAULT_INSTANCE.toBuilder();
15835 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue prototype) {
15836 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
15838 @java.lang.Override
15839 public Builder toBuilder() {
15840 return this == DEFAULT_INSTANCE
15841 ? new Builder() : new Builder().mergeFrom(this);
15844 @java.lang.Override
15845 protected Builder newBuilderForType(
15846 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
15847 Builder builder = new Builder(parent);
15851 * Protobuf type {@code proto.WeeklySettingsHeadUnitValue}
15853 public static final class Builder extends
15854 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
15855 // @@protoc_insertion_point(builder_implements:proto.WeeklySettingsHeadUnitValue)
15856 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValueOrBuilder {
15857 public static final com.google.protobuf.Descriptors.Descriptor
15859 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySettingsHeadUnitValue_descriptor;
15862 @java.lang.Override
15863 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
15864 internalGetFieldAccessorTable() {
15865 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySettingsHeadUnitValue_fieldAccessorTable
15866 .ensureFieldAccessorsInitialized(
15867 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.Builder.class);
15870 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.newBuilder()
15871 private Builder() {
15876 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
15880 @java.lang.Override
15881 public Builder clear() {
15884 if (weeklySettingsBuilder_ == null) {
15885 weeklySettings_ = java.util.Collections.emptyList();
15887 weeklySettings_ = null;
15888 weeklySettingsBuilder_.clear();
15890 bitField0_ = (bitField0_ & ~0x00000001);
15894 @java.lang.Override
15895 public com.google.protobuf.Descriptors.Descriptor
15896 getDescriptorForType() {
15897 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySettingsHeadUnitValue_descriptor;
15900 @java.lang.Override
15901 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue getDefaultInstanceForType() {
15902 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance();
15905 @java.lang.Override
15906 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue build() {
15907 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue result = buildPartial();
15908 if (!result.isInitialized()) {
15909 throw newUninitializedMessageException(result);
15914 @java.lang.Override
15915 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue buildPartial() {
15916 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue result = new com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue(this);
15917 buildPartialRepeatedFields(result);
15918 if (bitField0_ != 0) { buildPartial0(result); }
15923 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue result) {
15924 if (weeklySettingsBuilder_ == null) {
15925 if (((bitField0_ & 0x00000001) != 0)) {
15926 weeklySettings_ = java.util.Collections.unmodifiableList(weeklySettings_);
15927 bitField0_ = (bitField0_ & ~0x00000001);
15929 result.weeklySettings_ = weeklySettings_;
15931 result.weeklySettings_ = weeklySettingsBuilder_.build();
15935 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue result) {
15936 int from_bitField0_ = bitField0_;
15939 @java.lang.Override
15940 public Builder mergeFrom(com.google.protobuf.Message other) {
15941 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue) {
15942 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue)other);
15944 super.mergeFrom(other);
15949 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue other) {
15950 if (other == com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue.getDefaultInstance()) return this;
15951 if (weeklySettingsBuilder_ == null) {
15952 if (!other.weeklySettings_.isEmpty()) {
15953 if (weeklySettings_.isEmpty()) {
15954 weeklySettings_ = other.weeklySettings_;
15955 bitField0_ = (bitField0_ & ~0x00000001);
15957 ensureWeeklySettingsIsMutable();
15958 weeklySettings_.addAll(other.weeklySettings_);
15963 if (!other.weeklySettings_.isEmpty()) {
15964 if (weeklySettingsBuilder_.isEmpty()) {
15965 weeklySettingsBuilder_.dispose();
15966 weeklySettingsBuilder_ = null;
15967 weeklySettings_ = other.weeklySettings_;
15968 bitField0_ = (bitField0_ & ~0x00000001);
15969 weeklySettingsBuilder_ =
15970 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
15971 getWeeklySettingsFieldBuilder() : null;
15973 weeklySettingsBuilder_.addAllMessages(other.weeklySettings_);
15977 this.mergeUnknownFields(other.getUnknownFields());
15982 @java.lang.Override
15983 public final boolean isInitialized() {
15987 @java.lang.Override
15988 public Builder mergeFrom(
15989 com.google.protobuf.CodedInputStream input,
15990 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
15991 throws java.io.IOException {
15992 if (extensionRegistry == null) {
15993 throw new java.lang.NullPointerException();
15996 boolean done = false;
15998 int tag = input.readTag();
16004 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting m =
16006 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.parser(),
16007 extensionRegistry);
16008 if (weeklySettingsBuilder_ == null) {
16009 ensureWeeklySettingsIsMutable();
16010 weeklySettings_.add(m);
16012 weeklySettingsBuilder_.addMessage(m);
16017 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
16018 done = true; // was an endgroup tag
16024 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
16025 throw e.unwrapIOException();
16031 private int bitField0_;
16033 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting> weeklySettings_ =
16034 java.util.Collections.emptyList();
16035 private void ensureWeeklySettingsIsMutable() {
16036 if (!((bitField0_ & 0x00000001) != 0)) {
16037 weeklySettings_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting>(weeklySettings_);
16038 bitField0_ |= 0x00000001;
16042 private com.google.protobuf.RepeatedFieldBuilder<
16043 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder> weeklySettingsBuilder_;
16047 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16050 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16052 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting> getWeeklySettingsList() {
16053 if (weeklySettingsBuilder_ == null) {
16054 return java.util.Collections.unmodifiableList(weeklySettings_);
16056 return weeklySettingsBuilder_.getMessageList();
16061 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16064 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16066 public int getWeeklySettingsCount() {
16067 if (weeklySettingsBuilder_ == null) {
16068 return weeklySettings_.size();
16070 return weeklySettingsBuilder_.getCount();
16075 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16078 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16080 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting getWeeklySettings(int index) {
16081 if (weeklySettingsBuilder_ == null) {
16082 return weeklySettings_.get(index);
16084 return weeklySettingsBuilder_.getMessage(index);
16089 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16092 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16094 public Builder setWeeklySettings(
16095 int index, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting value) {
16096 if (weeklySettingsBuilder_ == null) {
16097 if (value == null) {
16098 throw new NullPointerException();
16100 ensureWeeklySettingsIsMutable();
16101 weeklySettings_.set(index, value);
16104 weeklySettingsBuilder_.setMessage(index, value);
16110 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16113 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16115 public Builder setWeeklySettings(
16116 int index, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder builderForValue) {
16117 if (weeklySettingsBuilder_ == null) {
16118 ensureWeeklySettingsIsMutable();
16119 weeklySettings_.set(index, builderForValue.build());
16122 weeklySettingsBuilder_.setMessage(index, builderForValue.build());
16128 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16131 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16133 public Builder addWeeklySettings(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting value) {
16134 if (weeklySettingsBuilder_ == null) {
16135 if (value == null) {
16136 throw new NullPointerException();
16138 ensureWeeklySettingsIsMutable();
16139 weeklySettings_.add(value);
16142 weeklySettingsBuilder_.addMessage(value);
16148 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16151 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16153 public Builder addWeeklySettings(
16154 int index, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting value) {
16155 if (weeklySettingsBuilder_ == null) {
16156 if (value == null) {
16157 throw new NullPointerException();
16159 ensureWeeklySettingsIsMutable();
16160 weeklySettings_.add(index, value);
16163 weeklySettingsBuilder_.addMessage(index, value);
16169 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16172 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16174 public Builder addWeeklySettings(
16175 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder builderForValue) {
16176 if (weeklySettingsBuilder_ == null) {
16177 ensureWeeklySettingsIsMutable();
16178 weeklySettings_.add(builderForValue.build());
16181 weeklySettingsBuilder_.addMessage(builderForValue.build());
16187 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16190 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16192 public Builder addWeeklySettings(
16193 int index, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder builderForValue) {
16194 if (weeklySettingsBuilder_ == null) {
16195 ensureWeeklySettingsIsMutable();
16196 weeklySettings_.add(index, builderForValue.build());
16199 weeklySettingsBuilder_.addMessage(index, builderForValue.build());
16205 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16208 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16210 public Builder addAllWeeklySettings(
16211 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting> values) {
16212 if (weeklySettingsBuilder_ == null) {
16213 ensureWeeklySettingsIsMutable();
16214 com.google.protobuf.AbstractMessageLite.Builder.addAll(
16215 values, weeklySettings_);
16218 weeklySettingsBuilder_.addAllMessages(values);
16224 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16227 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16229 public Builder clearWeeklySettings() {
16230 if (weeklySettingsBuilder_ == null) {
16231 weeklySettings_ = java.util.Collections.emptyList();
16232 bitField0_ = (bitField0_ & ~0x00000001);
16235 weeklySettingsBuilder_.clear();
16241 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16244 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16246 public Builder removeWeeklySettings(int index) {
16247 if (weeklySettingsBuilder_ == null) {
16248 ensureWeeklySettingsIsMutable();
16249 weeklySettings_.remove(index);
16252 weeklySettingsBuilder_.remove(index);
16258 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16261 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16263 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder getWeeklySettingsBuilder(
16265 return getWeeklySettingsFieldBuilder().getBuilder(index);
16269 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16272 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16274 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder getWeeklySettingsOrBuilder(
16276 if (weeklySettingsBuilder_ == null) {
16277 return weeklySettings_.get(index); } else {
16278 return weeklySettingsBuilder_.getMessageOrBuilder(index);
16283 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16286 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16288 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder>
16289 getWeeklySettingsOrBuilderList() {
16290 if (weeklySettingsBuilder_ != null) {
16291 return weeklySettingsBuilder_.getMessageOrBuilderList();
16293 return java.util.Collections.unmodifiableList(weeklySettings_);
16298 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16301 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16303 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder addWeeklySettingsBuilder() {
16304 return getWeeklySettingsFieldBuilder().addBuilder(
16305 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.getDefaultInstance());
16309 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16312 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16314 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder addWeeklySettingsBuilder(
16316 return getWeeklySettingsFieldBuilder().addBuilder(
16317 index, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.getDefaultInstance());
16321 * Array with 0 to 21 tupels of day (0..6, 0 = Monday, 1= Tuesday, ..) and departure time in min since midnight (0..1439)
16324 * <code>repeated .proto.WeeklySetting weekly_settings = 1;</code>
16326 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder>
16327 getWeeklySettingsBuilderList() {
16328 return getWeeklySettingsFieldBuilder().getBuilderList();
16330 private com.google.protobuf.RepeatedFieldBuilder<
16331 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder>
16332 getWeeklySettingsFieldBuilder() {
16333 if (weeklySettingsBuilder_ == null) {
16334 weeklySettingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
16335 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder>(
16337 ((bitField0_ & 0x00000001) != 0),
16338 getParentForChildren(),
16340 weeklySettings_ = null;
16342 return weeklySettingsBuilder_;
16345 // @@protoc_insertion_point(builder_scope:proto.WeeklySettingsHeadUnitValue)
16348 // @@protoc_insertion_point(class_scope:proto.WeeklySettingsHeadUnitValue)
16349 private static final com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue DEFAULT_INSTANCE;
16351 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue();
16354 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue getDefaultInstance() {
16355 return DEFAULT_INSTANCE;
16358 private static final com.google.protobuf.Parser<WeeklySettingsHeadUnitValue>
16359 PARSER = new com.google.protobuf.AbstractParser<WeeklySettingsHeadUnitValue>() {
16360 @java.lang.Override
16361 public WeeklySettingsHeadUnitValue parsePartialFrom(
16362 com.google.protobuf.CodedInputStream input,
16363 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16364 throws com.google.protobuf.InvalidProtocolBufferException {
16365 Builder builder = newBuilder();
16367 builder.mergeFrom(input, extensionRegistry);
16368 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
16369 throw e.setUnfinishedMessage(builder.buildPartial());
16370 } catch (com.google.protobuf.UninitializedMessageException e) {
16371 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
16372 } catch (java.io.IOException e) {
16373 throw new com.google.protobuf.InvalidProtocolBufferException(e)
16374 .setUnfinishedMessage(builder.buildPartial());
16376 return builder.buildPartial();
16380 public static com.google.protobuf.Parser<WeeklySettingsHeadUnitValue> parser() {
16384 @java.lang.Override
16385 public com.google.protobuf.Parser<WeeklySettingsHeadUnitValue> getParserForType() {
16389 @java.lang.Override
16390 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingsHeadUnitValue getDefaultInstanceForType() {
16391 return DEFAULT_INSTANCE;
16396 public interface WeeklySettingOrBuilder extends
16397 // @@protoc_insertion_point(interface_extends:proto.WeeklySetting)
16398 com.google.protobuf.MessageOrBuilder {
16401 * <code>int32 day = 1;</code>
16407 * <code>int32 minutes_since_midnight = 2;</code>
16408 * @return The minutesSinceMidnight.
16410 int getMinutesSinceMidnight();
16413 * Protobuf type {@code proto.WeeklySetting}
16415 public static final class WeeklySetting extends
16416 com.google.protobuf.GeneratedMessage implements
16417 // @@protoc_insertion_point(message_implements:proto.WeeklySetting)
16418 WeeklySettingOrBuilder {
16419 private static final long serialVersionUID = 0L;
16421 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
16422 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
16427 WeeklySetting.class.getName());
16429 // Use WeeklySetting.newBuilder() to construct.
16430 private WeeklySetting(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
16433 private WeeklySetting() {
16436 public static final com.google.protobuf.Descriptors.Descriptor
16438 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySetting_descriptor;
16441 @java.lang.Override
16442 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
16443 internalGetFieldAccessorTable() {
16444 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySetting_fieldAccessorTable
16445 .ensureFieldAccessorsInitialized(
16446 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.class, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder.class);
16449 public static final int DAY_FIELD_NUMBER = 1;
16450 private int day_ = 0;
16452 * <code>int32 day = 1;</code>
16455 @java.lang.Override
16456 public int getDay() {
16460 public static final int MINUTES_SINCE_MIDNIGHT_FIELD_NUMBER = 2;
16461 private int minutesSinceMidnight_ = 0;
16463 * <code>int32 minutes_since_midnight = 2;</code>
16464 * @return The minutesSinceMidnight.
16466 @java.lang.Override
16467 public int getMinutesSinceMidnight() {
16468 return minutesSinceMidnight_;
16471 private byte memoizedIsInitialized = -1;
16472 @java.lang.Override
16473 public final boolean isInitialized() {
16474 byte isInitialized = memoizedIsInitialized;
16475 if (isInitialized == 1) return true;
16476 if (isInitialized == 0) return false;
16478 memoizedIsInitialized = 1;
16482 @java.lang.Override
16483 public void writeTo(com.google.protobuf.CodedOutputStream output)
16484 throws java.io.IOException {
16486 output.writeInt32(1, day_);
16488 if (minutesSinceMidnight_ != 0) {
16489 output.writeInt32(2, minutesSinceMidnight_);
16491 getUnknownFields().writeTo(output);
16494 @java.lang.Override
16495 public int getSerializedSize() {
16496 int size = memoizedSize;
16497 if (size != -1) return size;
16501 size += com.google.protobuf.CodedOutputStream
16502 .computeInt32Size(1, day_);
16504 if (minutesSinceMidnight_ != 0) {
16505 size += com.google.protobuf.CodedOutputStream
16506 .computeInt32Size(2, minutesSinceMidnight_);
16508 size += getUnknownFields().getSerializedSize();
16509 memoizedSize = size;
16513 @java.lang.Override
16514 public boolean equals(final java.lang.Object obj) {
16518 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting)) {
16519 return super.equals(obj);
16521 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting other = (com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting) obj;
16524 != other.getDay()) return false;
16525 if (getMinutesSinceMidnight()
16526 != other.getMinutesSinceMidnight()) return false;
16527 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
16531 @java.lang.Override
16532 public int hashCode() {
16533 if (memoizedHashCode != 0) {
16534 return memoizedHashCode;
16537 hash = (19 * hash) + getDescriptor().hashCode();
16538 hash = (37 * hash) + DAY_FIELD_NUMBER;
16539 hash = (53 * hash) + getDay();
16540 hash = (37 * hash) + MINUTES_SINCE_MIDNIGHT_FIELD_NUMBER;
16541 hash = (53 * hash) + getMinutesSinceMidnight();
16542 hash = (29 * hash) + getUnknownFields().hashCode();
16543 memoizedHashCode = hash;
16547 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16548 java.nio.ByteBuffer data)
16549 throws com.google.protobuf.InvalidProtocolBufferException {
16550 return PARSER.parseFrom(data);
16552 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16553 java.nio.ByteBuffer data,
16554 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16555 throws com.google.protobuf.InvalidProtocolBufferException {
16556 return PARSER.parseFrom(data, extensionRegistry);
16558 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16559 com.google.protobuf.ByteString data)
16560 throws com.google.protobuf.InvalidProtocolBufferException {
16561 return PARSER.parseFrom(data);
16563 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16564 com.google.protobuf.ByteString data,
16565 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16566 throws com.google.protobuf.InvalidProtocolBufferException {
16567 return PARSER.parseFrom(data, extensionRegistry);
16569 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(byte[] data)
16570 throws com.google.protobuf.InvalidProtocolBufferException {
16571 return PARSER.parseFrom(data);
16573 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16575 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16576 throws com.google.protobuf.InvalidProtocolBufferException {
16577 return PARSER.parseFrom(data, extensionRegistry);
16579 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(java.io.InputStream input)
16580 throws java.io.IOException {
16581 return com.google.protobuf.GeneratedMessage
16582 .parseWithIOException(PARSER, input);
16584 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16585 java.io.InputStream input,
16586 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16587 throws java.io.IOException {
16588 return com.google.protobuf.GeneratedMessage
16589 .parseWithIOException(PARSER, input, extensionRegistry);
16592 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseDelimitedFrom(java.io.InputStream input)
16593 throws java.io.IOException {
16594 return com.google.protobuf.GeneratedMessage
16595 .parseDelimitedWithIOException(PARSER, input);
16598 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseDelimitedFrom(
16599 java.io.InputStream input,
16600 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16601 throws java.io.IOException {
16602 return com.google.protobuf.GeneratedMessage
16603 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
16605 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16606 com.google.protobuf.CodedInputStream input)
16607 throws java.io.IOException {
16608 return com.google.protobuf.GeneratedMessage
16609 .parseWithIOException(PARSER, input);
16611 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting parseFrom(
16612 com.google.protobuf.CodedInputStream input,
16613 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16614 throws java.io.IOException {
16615 return com.google.protobuf.GeneratedMessage
16616 .parseWithIOException(PARSER, input, extensionRegistry);
16619 @java.lang.Override
16620 public Builder newBuilderForType() { return newBuilder(); }
16621 public static Builder newBuilder() {
16622 return DEFAULT_INSTANCE.toBuilder();
16624 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting prototype) {
16625 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
16627 @java.lang.Override
16628 public Builder toBuilder() {
16629 return this == DEFAULT_INSTANCE
16630 ? new Builder() : new Builder().mergeFrom(this);
16633 @java.lang.Override
16634 protected Builder newBuilderForType(
16635 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
16636 Builder builder = new Builder(parent);
16640 * Protobuf type {@code proto.WeeklySetting}
16642 public static final class Builder extends
16643 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
16644 // @@protoc_insertion_point(builder_implements:proto.WeeklySetting)
16645 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySettingOrBuilder {
16646 public static final com.google.protobuf.Descriptors.Descriptor
16648 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySetting_descriptor;
16651 @java.lang.Override
16652 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
16653 internalGetFieldAccessorTable() {
16654 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySetting_fieldAccessorTable
16655 .ensureFieldAccessorsInitialized(
16656 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.class, com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.Builder.class);
16659 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.newBuilder()
16660 private Builder() {
16665 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
16669 @java.lang.Override
16670 public Builder clear() {
16674 minutesSinceMidnight_ = 0;
16678 @java.lang.Override
16679 public com.google.protobuf.Descriptors.Descriptor
16680 getDescriptorForType() {
16681 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeeklySetting_descriptor;
16684 @java.lang.Override
16685 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting getDefaultInstanceForType() {
16686 return com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.getDefaultInstance();
16689 @java.lang.Override
16690 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting build() {
16691 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting result = buildPartial();
16692 if (!result.isInitialized()) {
16693 throw newUninitializedMessageException(result);
16698 @java.lang.Override
16699 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting buildPartial() {
16700 com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting result = new com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting(this);
16701 if (bitField0_ != 0) { buildPartial0(result); }
16706 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting result) {
16707 int from_bitField0_ = bitField0_;
16708 if (((from_bitField0_ & 0x00000001) != 0)) {
16709 result.day_ = day_;
16711 if (((from_bitField0_ & 0x00000002) != 0)) {
16712 result.minutesSinceMidnight_ = minutesSinceMidnight_;
16716 @java.lang.Override
16717 public Builder mergeFrom(com.google.protobuf.Message other) {
16718 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting) {
16719 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting)other);
16721 super.mergeFrom(other);
16726 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting other) {
16727 if (other == com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting.getDefaultInstance()) return this;
16728 if (other.getDay() != 0) {
16729 setDay(other.getDay());
16731 if (other.getMinutesSinceMidnight() != 0) {
16732 setMinutesSinceMidnight(other.getMinutesSinceMidnight());
16734 this.mergeUnknownFields(other.getUnknownFields());
16739 @java.lang.Override
16740 public final boolean isInitialized() {
16744 @java.lang.Override
16745 public Builder mergeFrom(
16746 com.google.protobuf.CodedInputStream input,
16747 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16748 throws java.io.IOException {
16749 if (extensionRegistry == null) {
16750 throw new java.lang.NullPointerException();
16753 boolean done = false;
16755 int tag = input.readTag();
16761 day_ = input.readInt32();
16762 bitField0_ |= 0x00000001;
16766 minutesSinceMidnight_ = input.readInt32();
16767 bitField0_ |= 0x00000002;
16771 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
16772 done = true; // was an endgroup tag
16778 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
16779 throw e.unwrapIOException();
16785 private int bitField0_;
16789 * <code>int32 day = 1;</code>
16792 @java.lang.Override
16793 public int getDay() {
16797 * <code>int32 day = 1;</code>
16798 * @param value The day to set.
16799 * @return This builder for chaining.
16801 public Builder setDay(int value) {
16804 bitField0_ |= 0x00000001;
16809 * <code>int32 day = 1;</code>
16810 * @return This builder for chaining.
16812 public Builder clearDay() {
16813 bitField0_ = (bitField0_ & ~0x00000001);
16819 private int minutesSinceMidnight_ ;
16821 * <code>int32 minutes_since_midnight = 2;</code>
16822 * @return The minutesSinceMidnight.
16824 @java.lang.Override
16825 public int getMinutesSinceMidnight() {
16826 return minutesSinceMidnight_;
16829 * <code>int32 minutes_since_midnight = 2;</code>
16830 * @param value The minutesSinceMidnight to set.
16831 * @return This builder for chaining.
16833 public Builder setMinutesSinceMidnight(int value) {
16835 minutesSinceMidnight_ = value;
16836 bitField0_ |= 0x00000002;
16841 * <code>int32 minutes_since_midnight = 2;</code>
16842 * @return This builder for chaining.
16844 public Builder clearMinutesSinceMidnight() {
16845 bitField0_ = (bitField0_ & ~0x00000002);
16846 minutesSinceMidnight_ = 0;
16851 // @@protoc_insertion_point(builder_scope:proto.WeeklySetting)
16854 // @@protoc_insertion_point(class_scope:proto.WeeklySetting)
16855 private static final com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting DEFAULT_INSTANCE;
16857 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting();
16860 public static com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting getDefaultInstance() {
16861 return DEFAULT_INSTANCE;
16864 private static final com.google.protobuf.Parser<WeeklySetting>
16865 PARSER = new com.google.protobuf.AbstractParser<WeeklySetting>() {
16866 @java.lang.Override
16867 public WeeklySetting parsePartialFrom(
16868 com.google.protobuf.CodedInputStream input,
16869 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
16870 throws com.google.protobuf.InvalidProtocolBufferException {
16871 Builder builder = newBuilder();
16873 builder.mergeFrom(input, extensionRegistry);
16874 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
16875 throw e.setUnfinishedMessage(builder.buildPartial());
16876 } catch (com.google.protobuf.UninitializedMessageException e) {
16877 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
16878 } catch (java.io.IOException e) {
16879 throw new com.google.protobuf.InvalidProtocolBufferException(e)
16880 .setUnfinishedMessage(builder.buildPartial());
16882 return builder.buildPartial();
16886 public static com.google.protobuf.Parser<WeeklySetting> parser() {
16890 @java.lang.Override
16891 public com.google.protobuf.Parser<WeeklySetting> getParserForType() {
16895 @java.lang.Override
16896 public com.daimler.mbcarkit.proto.VehicleEvents.WeeklySetting getDefaultInstanceForType() {
16897 return DEFAULT_INSTANCE;
16902 public interface TemperaturePointsValueOrBuilder extends
16903 // @@protoc_insertion_point(interface_extends:proto.TemperaturePointsValue)
16904 com.google.protobuf.MessageOrBuilder {
16908 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
16909 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
16912 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
16914 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint>
16915 getTemperaturePointsList();
16918 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
16919 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
16922 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
16924 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint getTemperaturePoints(int index);
16927 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
16928 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
16931 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
16933 int getTemperaturePointsCount();
16936 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
16937 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
16940 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
16942 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder>
16943 getTemperaturePointsOrBuilderList();
16946 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
16947 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
16950 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
16952 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder getTemperaturePointsOrBuilder(
16956 * Protobuf type {@code proto.TemperaturePointsValue}
16958 public static final class TemperaturePointsValue extends
16959 com.google.protobuf.GeneratedMessage implements
16960 // @@protoc_insertion_point(message_implements:proto.TemperaturePointsValue)
16961 TemperaturePointsValueOrBuilder {
16962 private static final long serialVersionUID = 0L;
16964 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
16965 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
16970 TemperaturePointsValue.class.getName());
16972 // Use TemperaturePointsValue.newBuilder() to construct.
16973 private TemperaturePointsValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
16976 private TemperaturePointsValue() {
16977 temperaturePoints_ = java.util.Collections.emptyList();
16980 public static final com.google.protobuf.Descriptors.Descriptor
16982 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePointsValue_descriptor;
16985 @java.lang.Override
16986 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
16987 internalGetFieldAccessorTable() {
16988 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePointsValue_fieldAccessorTable
16989 .ensureFieldAccessorsInitialized(
16990 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.class, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder.class);
16993 public static final int TEMPERATURE_POINTS_FIELD_NUMBER = 1;
16994 @SuppressWarnings("serial")
16995 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint> temperaturePoints_;
16998 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
16999 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17002 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17004 @java.lang.Override
17005 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint> getTemperaturePointsList() {
17006 return temperaturePoints_;
17010 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17011 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17014 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17016 @java.lang.Override
17017 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder>
17018 getTemperaturePointsOrBuilderList() {
17019 return temperaturePoints_;
17023 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17024 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17027 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17029 @java.lang.Override
17030 public int getTemperaturePointsCount() {
17031 return temperaturePoints_.size();
17035 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17036 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17039 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17041 @java.lang.Override
17042 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint getTemperaturePoints(int index) {
17043 return temperaturePoints_.get(index);
17047 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17048 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17051 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17053 @java.lang.Override
17054 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder getTemperaturePointsOrBuilder(
17056 return temperaturePoints_.get(index);
17059 private byte memoizedIsInitialized = -1;
17060 @java.lang.Override
17061 public final boolean isInitialized() {
17062 byte isInitialized = memoizedIsInitialized;
17063 if (isInitialized == 1) return true;
17064 if (isInitialized == 0) return false;
17066 memoizedIsInitialized = 1;
17070 @java.lang.Override
17071 public void writeTo(com.google.protobuf.CodedOutputStream output)
17072 throws java.io.IOException {
17073 for (int i = 0; i < temperaturePoints_.size(); i++) {
17074 output.writeMessage(1, temperaturePoints_.get(i));
17076 getUnknownFields().writeTo(output);
17079 @java.lang.Override
17080 public int getSerializedSize() {
17081 int size = memoizedSize;
17082 if (size != -1) return size;
17085 for (int i = 0; i < temperaturePoints_.size(); i++) {
17086 size += com.google.protobuf.CodedOutputStream
17087 .computeMessageSize(1, temperaturePoints_.get(i));
17089 size += getUnknownFields().getSerializedSize();
17090 memoizedSize = size;
17094 @java.lang.Override
17095 public boolean equals(final java.lang.Object obj) {
17099 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue)) {
17100 return super.equals(obj);
17102 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue other = (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) obj;
17104 if (!getTemperaturePointsList()
17105 .equals(other.getTemperaturePointsList())) return false;
17106 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
17110 @java.lang.Override
17111 public int hashCode() {
17112 if (memoizedHashCode != 0) {
17113 return memoizedHashCode;
17116 hash = (19 * hash) + getDescriptor().hashCode();
17117 if (getTemperaturePointsCount() > 0) {
17118 hash = (37 * hash) + TEMPERATURE_POINTS_FIELD_NUMBER;
17119 hash = (53 * hash) + getTemperaturePointsList().hashCode();
17121 hash = (29 * hash) + getUnknownFields().hashCode();
17122 memoizedHashCode = hash;
17126 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17127 java.nio.ByteBuffer data)
17128 throws com.google.protobuf.InvalidProtocolBufferException {
17129 return PARSER.parseFrom(data);
17131 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17132 java.nio.ByteBuffer data,
17133 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17134 throws com.google.protobuf.InvalidProtocolBufferException {
17135 return PARSER.parseFrom(data, extensionRegistry);
17137 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17138 com.google.protobuf.ByteString data)
17139 throws com.google.protobuf.InvalidProtocolBufferException {
17140 return PARSER.parseFrom(data);
17142 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17143 com.google.protobuf.ByteString data,
17144 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17145 throws com.google.protobuf.InvalidProtocolBufferException {
17146 return PARSER.parseFrom(data, extensionRegistry);
17148 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(byte[] data)
17149 throws com.google.protobuf.InvalidProtocolBufferException {
17150 return PARSER.parseFrom(data);
17152 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17154 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17155 throws com.google.protobuf.InvalidProtocolBufferException {
17156 return PARSER.parseFrom(data, extensionRegistry);
17158 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(java.io.InputStream input)
17159 throws java.io.IOException {
17160 return com.google.protobuf.GeneratedMessage
17161 .parseWithIOException(PARSER, input);
17163 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17164 java.io.InputStream input,
17165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17166 throws java.io.IOException {
17167 return com.google.protobuf.GeneratedMessage
17168 .parseWithIOException(PARSER, input, extensionRegistry);
17171 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseDelimitedFrom(java.io.InputStream input)
17172 throws java.io.IOException {
17173 return com.google.protobuf.GeneratedMessage
17174 .parseDelimitedWithIOException(PARSER, input);
17177 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseDelimitedFrom(
17178 java.io.InputStream input,
17179 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17180 throws java.io.IOException {
17181 return com.google.protobuf.GeneratedMessage
17182 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
17184 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17185 com.google.protobuf.CodedInputStream input)
17186 throws java.io.IOException {
17187 return com.google.protobuf.GeneratedMessage
17188 .parseWithIOException(PARSER, input);
17190 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue parseFrom(
17191 com.google.protobuf.CodedInputStream input,
17192 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17193 throws java.io.IOException {
17194 return com.google.protobuf.GeneratedMessage
17195 .parseWithIOException(PARSER, input, extensionRegistry);
17198 @java.lang.Override
17199 public Builder newBuilderForType() { return newBuilder(); }
17200 public static Builder newBuilder() {
17201 return DEFAULT_INSTANCE.toBuilder();
17203 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue prototype) {
17204 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
17206 @java.lang.Override
17207 public Builder toBuilder() {
17208 return this == DEFAULT_INSTANCE
17209 ? new Builder() : new Builder().mergeFrom(this);
17212 @java.lang.Override
17213 protected Builder newBuilderForType(
17214 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
17215 Builder builder = new Builder(parent);
17219 * Protobuf type {@code proto.TemperaturePointsValue}
17221 public static final class Builder extends
17222 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
17223 // @@protoc_insertion_point(builder_implements:proto.TemperaturePointsValue)
17224 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValueOrBuilder {
17225 public static final com.google.protobuf.Descriptors.Descriptor
17227 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePointsValue_descriptor;
17230 @java.lang.Override
17231 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
17232 internalGetFieldAccessorTable() {
17233 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePointsValue_fieldAccessorTable
17234 .ensureFieldAccessorsInitialized(
17235 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.class, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.Builder.class);
17238 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.newBuilder()
17239 private Builder() {
17244 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
17248 @java.lang.Override
17249 public Builder clear() {
17252 if (temperaturePointsBuilder_ == null) {
17253 temperaturePoints_ = java.util.Collections.emptyList();
17255 temperaturePoints_ = null;
17256 temperaturePointsBuilder_.clear();
17258 bitField0_ = (bitField0_ & ~0x00000001);
17262 @java.lang.Override
17263 public com.google.protobuf.Descriptors.Descriptor
17264 getDescriptorForType() {
17265 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePointsValue_descriptor;
17268 @java.lang.Override
17269 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue getDefaultInstanceForType() {
17270 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance();
17273 @java.lang.Override
17274 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue build() {
17275 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue result = buildPartial();
17276 if (!result.isInitialized()) {
17277 throw newUninitializedMessageException(result);
17282 @java.lang.Override
17283 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue buildPartial() {
17284 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue result = new com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue(this);
17285 buildPartialRepeatedFields(result);
17286 if (bitField0_ != 0) { buildPartial0(result); }
17291 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue result) {
17292 if (temperaturePointsBuilder_ == null) {
17293 if (((bitField0_ & 0x00000001) != 0)) {
17294 temperaturePoints_ = java.util.Collections.unmodifiableList(temperaturePoints_);
17295 bitField0_ = (bitField0_ & ~0x00000001);
17297 result.temperaturePoints_ = temperaturePoints_;
17299 result.temperaturePoints_ = temperaturePointsBuilder_.build();
17303 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue result) {
17304 int from_bitField0_ = bitField0_;
17307 @java.lang.Override
17308 public Builder mergeFrom(com.google.protobuf.Message other) {
17309 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue) {
17310 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue)other);
17312 super.mergeFrom(other);
17317 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue other) {
17318 if (other == com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue.getDefaultInstance()) return this;
17319 if (temperaturePointsBuilder_ == null) {
17320 if (!other.temperaturePoints_.isEmpty()) {
17321 if (temperaturePoints_.isEmpty()) {
17322 temperaturePoints_ = other.temperaturePoints_;
17323 bitField0_ = (bitField0_ & ~0x00000001);
17325 ensureTemperaturePointsIsMutable();
17326 temperaturePoints_.addAll(other.temperaturePoints_);
17331 if (!other.temperaturePoints_.isEmpty()) {
17332 if (temperaturePointsBuilder_.isEmpty()) {
17333 temperaturePointsBuilder_.dispose();
17334 temperaturePointsBuilder_ = null;
17335 temperaturePoints_ = other.temperaturePoints_;
17336 bitField0_ = (bitField0_ & ~0x00000001);
17337 temperaturePointsBuilder_ =
17338 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
17339 getTemperaturePointsFieldBuilder() : null;
17341 temperaturePointsBuilder_.addAllMessages(other.temperaturePoints_);
17345 this.mergeUnknownFields(other.getUnknownFields());
17350 @java.lang.Override
17351 public final boolean isInitialized() {
17355 @java.lang.Override
17356 public Builder mergeFrom(
17357 com.google.protobuf.CodedInputStream input,
17358 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17359 throws java.io.IOException {
17360 if (extensionRegistry == null) {
17361 throw new java.lang.NullPointerException();
17364 boolean done = false;
17366 int tag = input.readTag();
17372 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint m =
17374 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.parser(),
17375 extensionRegistry);
17376 if (temperaturePointsBuilder_ == null) {
17377 ensureTemperaturePointsIsMutable();
17378 temperaturePoints_.add(m);
17380 temperaturePointsBuilder_.addMessage(m);
17385 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
17386 done = true; // was an endgroup tag
17392 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
17393 throw e.unwrapIOException();
17399 private int bitField0_;
17401 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint> temperaturePoints_ =
17402 java.util.Collections.emptyList();
17403 private void ensureTemperaturePointsIsMutable() {
17404 if (!((bitField0_ & 0x00000001) != 0)) {
17405 temperaturePoints_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint>(temperaturePoints_);
17406 bitField0_ |= 0x00000001;
17410 private com.google.protobuf.RepeatedFieldBuilder<
17411 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder> temperaturePointsBuilder_;
17415 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17416 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17419 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17421 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint> getTemperaturePointsList() {
17422 if (temperaturePointsBuilder_ == null) {
17423 return java.util.Collections.unmodifiableList(temperaturePoints_);
17425 return temperaturePointsBuilder_.getMessageList();
17430 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17431 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17434 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17436 public int getTemperaturePointsCount() {
17437 if (temperaturePointsBuilder_ == null) {
17438 return temperaturePoints_.size();
17440 return temperaturePointsBuilder_.getCount();
17445 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17446 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17449 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17451 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint getTemperaturePoints(int index) {
17452 if (temperaturePointsBuilder_ == null) {
17453 return temperaturePoints_.get(index);
17455 return temperaturePointsBuilder_.getMessage(index);
17460 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17461 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17464 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17466 public Builder setTemperaturePoints(
17467 int index, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint value) {
17468 if (temperaturePointsBuilder_ == null) {
17469 if (value == null) {
17470 throw new NullPointerException();
17472 ensureTemperaturePointsIsMutable();
17473 temperaturePoints_.set(index, value);
17476 temperaturePointsBuilder_.setMessage(index, value);
17482 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17483 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17486 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17488 public Builder setTemperaturePoints(
17489 int index, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder builderForValue) {
17490 if (temperaturePointsBuilder_ == null) {
17491 ensureTemperaturePointsIsMutable();
17492 temperaturePoints_.set(index, builderForValue.build());
17495 temperaturePointsBuilder_.setMessage(index, builderForValue.build());
17501 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17502 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17505 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17507 public Builder addTemperaturePoints(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint value) {
17508 if (temperaturePointsBuilder_ == null) {
17509 if (value == null) {
17510 throw new NullPointerException();
17512 ensureTemperaturePointsIsMutable();
17513 temperaturePoints_.add(value);
17516 temperaturePointsBuilder_.addMessage(value);
17522 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17523 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17526 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17528 public Builder addTemperaturePoints(
17529 int index, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint value) {
17530 if (temperaturePointsBuilder_ == null) {
17531 if (value == null) {
17532 throw new NullPointerException();
17534 ensureTemperaturePointsIsMutable();
17535 temperaturePoints_.add(index, value);
17538 temperaturePointsBuilder_.addMessage(index, value);
17544 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17545 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17548 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17550 public Builder addTemperaturePoints(
17551 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder builderForValue) {
17552 if (temperaturePointsBuilder_ == null) {
17553 ensureTemperaturePointsIsMutable();
17554 temperaturePoints_.add(builderForValue.build());
17557 temperaturePointsBuilder_.addMessage(builderForValue.build());
17563 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17564 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17567 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17569 public Builder addTemperaturePoints(
17570 int index, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder builderForValue) {
17571 if (temperaturePointsBuilder_ == null) {
17572 ensureTemperaturePointsIsMutable();
17573 temperaturePoints_.add(index, builderForValue.build());
17576 temperaturePointsBuilder_.addMessage(index, builderForValue.build());
17582 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17583 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17586 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17588 public Builder addAllTemperaturePoints(
17589 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint> values) {
17590 if (temperaturePointsBuilder_ == null) {
17591 ensureTemperaturePointsIsMutable();
17592 com.google.protobuf.AbstractMessageLite.Builder.addAll(
17593 values, temperaturePoints_);
17596 temperaturePointsBuilder_.addAllMessages(values);
17602 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17603 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17606 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17608 public Builder clearTemperaturePoints() {
17609 if (temperaturePointsBuilder_ == null) {
17610 temperaturePoints_ = java.util.Collections.emptyList();
17611 bitField0_ = (bitField0_ & ~0x00000001);
17614 temperaturePointsBuilder_.clear();
17620 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17621 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17624 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17626 public Builder removeTemperaturePoints(int index) {
17627 if (temperaturePointsBuilder_ == null) {
17628 ensureTemperaturePointsIsMutable();
17629 temperaturePoints_.remove(index);
17632 temperaturePointsBuilder_.remove(index);
17638 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17639 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17642 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17644 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder getTemperaturePointsBuilder(
17646 return getTemperaturePointsFieldBuilder().getBuilder(index);
17650 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17651 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17654 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17656 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder getTemperaturePointsOrBuilder(
17658 if (temperaturePointsBuilder_ == null) {
17659 return temperaturePoints_.get(index); } else {
17660 return temperaturePointsBuilder_.getMessageOrBuilder(index);
17665 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17666 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17669 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17671 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder>
17672 getTemperaturePointsOrBuilderList() {
17673 if (temperaturePointsBuilder_ != null) {
17674 return temperaturePointsBuilder_.getMessageOrBuilderList();
17676 return java.util.Collections.unmodifiableList(temperaturePoints_);
17681 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17682 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17685 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17687 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder addTemperaturePointsBuilder() {
17688 return getTemperaturePointsFieldBuilder().addBuilder(
17689 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.getDefaultInstance());
17693 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17694 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17697 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17699 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder addTemperaturePointsBuilder(
17701 return getTemperaturePointsFieldBuilder().addBuilder(
17702 index, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.getDefaultInstance());
17706 * Array with 1 to 5 tupels of zone (frontLeft, frontRight, frontCenter, rearRight, rearLeft, rearCenter, rear2center)
17707 * and temperature in °C where 0 means maximum cooling (LOW) and 30 means maximum heating (HIGH)
17710 * <code>repeated .proto.TemperaturePoint temperature_points = 1;</code>
17712 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder>
17713 getTemperaturePointsBuilderList() {
17714 return getTemperaturePointsFieldBuilder().getBuilderList();
17716 private com.google.protobuf.RepeatedFieldBuilder<
17717 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder>
17718 getTemperaturePointsFieldBuilder() {
17719 if (temperaturePointsBuilder_ == null) {
17720 temperaturePointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
17721 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder>(
17722 temperaturePoints_,
17723 ((bitField0_ & 0x00000001) != 0),
17724 getParentForChildren(),
17726 temperaturePoints_ = null;
17728 return temperaturePointsBuilder_;
17731 // @@protoc_insertion_point(builder_scope:proto.TemperaturePointsValue)
17734 // @@protoc_insertion_point(class_scope:proto.TemperaturePointsValue)
17735 private static final com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue DEFAULT_INSTANCE;
17737 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue();
17740 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue getDefaultInstance() {
17741 return DEFAULT_INSTANCE;
17744 private static final com.google.protobuf.Parser<TemperaturePointsValue>
17745 PARSER = new com.google.protobuf.AbstractParser<TemperaturePointsValue>() {
17746 @java.lang.Override
17747 public TemperaturePointsValue parsePartialFrom(
17748 com.google.protobuf.CodedInputStream input,
17749 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
17750 throws com.google.protobuf.InvalidProtocolBufferException {
17751 Builder builder = newBuilder();
17753 builder.mergeFrom(input, extensionRegistry);
17754 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
17755 throw e.setUnfinishedMessage(builder.buildPartial());
17756 } catch (com.google.protobuf.UninitializedMessageException e) {
17757 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
17758 } catch (java.io.IOException e) {
17759 throw new com.google.protobuf.InvalidProtocolBufferException(e)
17760 .setUnfinishedMessage(builder.buildPartial());
17762 return builder.buildPartial();
17766 public static com.google.protobuf.Parser<TemperaturePointsValue> parser() {
17770 @java.lang.Override
17771 public com.google.protobuf.Parser<TemperaturePointsValue> getParserForType() {
17775 @java.lang.Override
17776 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointsValue getDefaultInstanceForType() {
17777 return DEFAULT_INSTANCE;
17782 public interface TemperaturePointOrBuilder extends
17783 // @@protoc_insertion_point(interface_extends:proto.TemperaturePoint)
17784 com.google.protobuf.MessageOrBuilder {
17787 * <code>string zone = 1;</code>
17788 * @return The zone.
17790 java.lang.String getZone();
17792 * <code>string zone = 1;</code>
17793 * @return The bytes for zone.
17795 com.google.protobuf.ByteString
17799 * <code>double temperature = 2;</code>
17800 * @return The temperature.
17802 double getTemperature();
17805 * <code>string temperature_display_value = 3;</code>
17806 * @return The temperatureDisplayValue.
17808 java.lang.String getTemperatureDisplayValue();
17810 * <code>string temperature_display_value = 3;</code>
17811 * @return The bytes for temperatureDisplayValue.
17813 com.google.protobuf.ByteString
17814 getTemperatureDisplayValueBytes();
17817 * Protobuf type {@code proto.TemperaturePoint}
17819 public static final class TemperaturePoint extends
17820 com.google.protobuf.GeneratedMessage implements
17821 // @@protoc_insertion_point(message_implements:proto.TemperaturePoint)
17822 TemperaturePointOrBuilder {
17823 private static final long serialVersionUID = 0L;
17825 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
17826 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
17831 TemperaturePoint.class.getName());
17833 // Use TemperaturePoint.newBuilder() to construct.
17834 private TemperaturePoint(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
17837 private TemperaturePoint() {
17839 temperatureDisplayValue_ = "";
17842 public static final com.google.protobuf.Descriptors.Descriptor
17844 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePoint_descriptor;
17847 @java.lang.Override
17848 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
17849 internalGetFieldAccessorTable() {
17850 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePoint_fieldAccessorTable
17851 .ensureFieldAccessorsInitialized(
17852 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.class, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder.class);
17855 public static final int ZONE_FIELD_NUMBER = 1;
17856 @SuppressWarnings("serial")
17857 private volatile java.lang.Object zone_ = "";
17859 * <code>string zone = 1;</code>
17860 * @return The zone.
17862 @java.lang.Override
17863 public java.lang.String getZone() {
17864 java.lang.Object ref = zone_;
17865 if (ref instanceof java.lang.String) {
17866 return (java.lang.String) ref;
17868 com.google.protobuf.ByteString bs =
17869 (com.google.protobuf.ByteString) ref;
17870 java.lang.String s = bs.toStringUtf8();
17876 * <code>string zone = 1;</code>
17877 * @return The bytes for zone.
17879 @java.lang.Override
17880 public com.google.protobuf.ByteString
17882 java.lang.Object ref = zone_;
17883 if (ref instanceof java.lang.String) {
17884 com.google.protobuf.ByteString b =
17885 com.google.protobuf.ByteString.copyFromUtf8(
17886 (java.lang.String) ref);
17890 return (com.google.protobuf.ByteString) ref;
17894 public static final int TEMPERATURE_FIELD_NUMBER = 2;
17895 private double temperature_ = 0D;
17897 * <code>double temperature = 2;</code>
17898 * @return The temperature.
17900 @java.lang.Override
17901 public double getTemperature() {
17902 return temperature_;
17905 public static final int TEMPERATURE_DISPLAY_VALUE_FIELD_NUMBER = 3;
17906 @SuppressWarnings("serial")
17907 private volatile java.lang.Object temperatureDisplayValue_ = "";
17909 * <code>string temperature_display_value = 3;</code>
17910 * @return The temperatureDisplayValue.
17912 @java.lang.Override
17913 public java.lang.String getTemperatureDisplayValue() {
17914 java.lang.Object ref = temperatureDisplayValue_;
17915 if (ref instanceof java.lang.String) {
17916 return (java.lang.String) ref;
17918 com.google.protobuf.ByteString bs =
17919 (com.google.protobuf.ByteString) ref;
17920 java.lang.String s = bs.toStringUtf8();
17921 temperatureDisplayValue_ = s;
17926 * <code>string temperature_display_value = 3;</code>
17927 * @return The bytes for temperatureDisplayValue.
17929 @java.lang.Override
17930 public com.google.protobuf.ByteString
17931 getTemperatureDisplayValueBytes() {
17932 java.lang.Object ref = temperatureDisplayValue_;
17933 if (ref instanceof java.lang.String) {
17934 com.google.protobuf.ByteString b =
17935 com.google.protobuf.ByteString.copyFromUtf8(
17936 (java.lang.String) ref);
17937 temperatureDisplayValue_ = b;
17940 return (com.google.protobuf.ByteString) ref;
17944 private byte memoizedIsInitialized = -1;
17945 @java.lang.Override
17946 public final boolean isInitialized() {
17947 byte isInitialized = memoizedIsInitialized;
17948 if (isInitialized == 1) return true;
17949 if (isInitialized == 0) return false;
17951 memoizedIsInitialized = 1;
17955 @java.lang.Override
17956 public void writeTo(com.google.protobuf.CodedOutputStream output)
17957 throws java.io.IOException {
17958 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) {
17959 com.google.protobuf.GeneratedMessage.writeString(output, 1, zone_);
17961 if (java.lang.Double.doubleToRawLongBits(temperature_) != 0) {
17962 output.writeDouble(2, temperature_);
17964 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(temperatureDisplayValue_)) {
17965 com.google.protobuf.GeneratedMessage.writeString(output, 3, temperatureDisplayValue_);
17967 getUnknownFields().writeTo(output);
17970 @java.lang.Override
17971 public int getSerializedSize() {
17972 int size = memoizedSize;
17973 if (size != -1) return size;
17976 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) {
17977 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, zone_);
17979 if (java.lang.Double.doubleToRawLongBits(temperature_) != 0) {
17980 size += com.google.protobuf.CodedOutputStream
17981 .computeDoubleSize(2, temperature_);
17983 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(temperatureDisplayValue_)) {
17984 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, temperatureDisplayValue_);
17986 size += getUnknownFields().getSerializedSize();
17987 memoizedSize = size;
17991 @java.lang.Override
17992 public boolean equals(final java.lang.Object obj) {
17996 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint)) {
17997 return super.equals(obj);
17999 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint other = (com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint) obj;
18002 .equals(other.getZone())) return false;
18003 if (java.lang.Double.doubleToLongBits(getTemperature())
18004 != java.lang.Double.doubleToLongBits(
18005 other.getTemperature())) return false;
18006 if (!getTemperatureDisplayValue()
18007 .equals(other.getTemperatureDisplayValue())) return false;
18008 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
18012 @java.lang.Override
18013 public int hashCode() {
18014 if (memoizedHashCode != 0) {
18015 return memoizedHashCode;
18018 hash = (19 * hash) + getDescriptor().hashCode();
18019 hash = (37 * hash) + ZONE_FIELD_NUMBER;
18020 hash = (53 * hash) + getZone().hashCode();
18021 hash = (37 * hash) + TEMPERATURE_FIELD_NUMBER;
18022 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
18023 java.lang.Double.doubleToLongBits(getTemperature()));
18024 hash = (37 * hash) + TEMPERATURE_DISPLAY_VALUE_FIELD_NUMBER;
18025 hash = (53 * hash) + getTemperatureDisplayValue().hashCode();
18026 hash = (29 * hash) + getUnknownFields().hashCode();
18027 memoizedHashCode = hash;
18031 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18032 java.nio.ByteBuffer data)
18033 throws com.google.protobuf.InvalidProtocolBufferException {
18034 return PARSER.parseFrom(data);
18036 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18037 java.nio.ByteBuffer data,
18038 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18039 throws com.google.protobuf.InvalidProtocolBufferException {
18040 return PARSER.parseFrom(data, extensionRegistry);
18042 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18043 com.google.protobuf.ByteString data)
18044 throws com.google.protobuf.InvalidProtocolBufferException {
18045 return PARSER.parseFrom(data);
18047 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18048 com.google.protobuf.ByteString data,
18049 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18050 throws com.google.protobuf.InvalidProtocolBufferException {
18051 return PARSER.parseFrom(data, extensionRegistry);
18053 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(byte[] data)
18054 throws com.google.protobuf.InvalidProtocolBufferException {
18055 return PARSER.parseFrom(data);
18057 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18059 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18060 throws com.google.protobuf.InvalidProtocolBufferException {
18061 return PARSER.parseFrom(data, extensionRegistry);
18063 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(java.io.InputStream input)
18064 throws java.io.IOException {
18065 return com.google.protobuf.GeneratedMessage
18066 .parseWithIOException(PARSER, input);
18068 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18069 java.io.InputStream input,
18070 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18071 throws java.io.IOException {
18072 return com.google.protobuf.GeneratedMessage
18073 .parseWithIOException(PARSER, input, extensionRegistry);
18076 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseDelimitedFrom(java.io.InputStream input)
18077 throws java.io.IOException {
18078 return com.google.protobuf.GeneratedMessage
18079 .parseDelimitedWithIOException(PARSER, input);
18082 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseDelimitedFrom(
18083 java.io.InputStream input,
18084 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18085 throws java.io.IOException {
18086 return com.google.protobuf.GeneratedMessage
18087 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
18089 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18090 com.google.protobuf.CodedInputStream input)
18091 throws java.io.IOException {
18092 return com.google.protobuf.GeneratedMessage
18093 .parseWithIOException(PARSER, input);
18095 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint parseFrom(
18096 com.google.protobuf.CodedInputStream input,
18097 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18098 throws java.io.IOException {
18099 return com.google.protobuf.GeneratedMessage
18100 .parseWithIOException(PARSER, input, extensionRegistry);
18103 @java.lang.Override
18104 public Builder newBuilderForType() { return newBuilder(); }
18105 public static Builder newBuilder() {
18106 return DEFAULT_INSTANCE.toBuilder();
18108 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint prototype) {
18109 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
18111 @java.lang.Override
18112 public Builder toBuilder() {
18113 return this == DEFAULT_INSTANCE
18114 ? new Builder() : new Builder().mergeFrom(this);
18117 @java.lang.Override
18118 protected Builder newBuilderForType(
18119 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
18120 Builder builder = new Builder(parent);
18124 * Protobuf type {@code proto.TemperaturePoint}
18126 public static final class Builder extends
18127 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
18128 // @@protoc_insertion_point(builder_implements:proto.TemperaturePoint)
18129 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePointOrBuilder {
18130 public static final com.google.protobuf.Descriptors.Descriptor
18132 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePoint_descriptor;
18135 @java.lang.Override
18136 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
18137 internalGetFieldAccessorTable() {
18138 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePoint_fieldAccessorTable
18139 .ensureFieldAccessorsInitialized(
18140 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.class, com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.Builder.class);
18143 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.newBuilder()
18144 private Builder() {
18149 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
18153 @java.lang.Override
18154 public Builder clear() {
18159 temperatureDisplayValue_ = "";
18163 @java.lang.Override
18164 public com.google.protobuf.Descriptors.Descriptor
18165 getDescriptorForType() {
18166 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TemperaturePoint_descriptor;
18169 @java.lang.Override
18170 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint getDefaultInstanceForType() {
18171 return com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.getDefaultInstance();
18174 @java.lang.Override
18175 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint build() {
18176 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint result = buildPartial();
18177 if (!result.isInitialized()) {
18178 throw newUninitializedMessageException(result);
18183 @java.lang.Override
18184 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint buildPartial() {
18185 com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint result = new com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint(this);
18186 if (bitField0_ != 0) { buildPartial0(result); }
18191 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint result) {
18192 int from_bitField0_ = bitField0_;
18193 if (((from_bitField0_ & 0x00000001) != 0)) {
18194 result.zone_ = zone_;
18196 if (((from_bitField0_ & 0x00000002) != 0)) {
18197 result.temperature_ = temperature_;
18199 if (((from_bitField0_ & 0x00000004) != 0)) {
18200 result.temperatureDisplayValue_ = temperatureDisplayValue_;
18204 @java.lang.Override
18205 public Builder mergeFrom(com.google.protobuf.Message other) {
18206 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint) {
18207 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint)other);
18209 super.mergeFrom(other);
18214 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint other) {
18215 if (other == com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint.getDefaultInstance()) return this;
18216 if (!other.getZone().isEmpty()) {
18217 zone_ = other.zone_;
18218 bitField0_ |= 0x00000001;
18221 if (other.getTemperature() != 0D) {
18222 setTemperature(other.getTemperature());
18224 if (!other.getTemperatureDisplayValue().isEmpty()) {
18225 temperatureDisplayValue_ = other.temperatureDisplayValue_;
18226 bitField0_ |= 0x00000004;
18229 this.mergeUnknownFields(other.getUnknownFields());
18234 @java.lang.Override
18235 public final boolean isInitialized() {
18239 @java.lang.Override
18240 public Builder mergeFrom(
18241 com.google.protobuf.CodedInputStream input,
18242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18243 throws java.io.IOException {
18244 if (extensionRegistry == null) {
18245 throw new java.lang.NullPointerException();
18248 boolean done = false;
18250 int tag = input.readTag();
18256 zone_ = input.readStringRequireUtf8();
18257 bitField0_ |= 0x00000001;
18261 temperature_ = input.readDouble();
18262 bitField0_ |= 0x00000002;
18266 temperatureDisplayValue_ = input.readStringRequireUtf8();
18267 bitField0_ |= 0x00000004;
18271 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
18272 done = true; // was an endgroup tag
18278 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
18279 throw e.unwrapIOException();
18285 private int bitField0_;
18287 private java.lang.Object zone_ = "";
18289 * <code>string zone = 1;</code>
18290 * @return The zone.
18292 public java.lang.String getZone() {
18293 java.lang.Object ref = zone_;
18294 if (!(ref instanceof java.lang.String)) {
18295 com.google.protobuf.ByteString bs =
18296 (com.google.protobuf.ByteString) ref;
18297 java.lang.String s = bs.toStringUtf8();
18301 return (java.lang.String) ref;
18305 * <code>string zone = 1;</code>
18306 * @return The bytes for zone.
18308 public com.google.protobuf.ByteString
18310 java.lang.Object ref = zone_;
18311 if (ref instanceof String) {
18312 com.google.protobuf.ByteString b =
18313 com.google.protobuf.ByteString.copyFromUtf8(
18314 (java.lang.String) ref);
18318 return (com.google.protobuf.ByteString) ref;
18322 * <code>string zone = 1;</code>
18323 * @param value The zone to set.
18324 * @return This builder for chaining.
18326 public Builder setZone(
18327 java.lang.String value) {
18328 if (value == null) { throw new NullPointerException(); }
18330 bitField0_ |= 0x00000001;
18335 * <code>string zone = 1;</code>
18336 * @return This builder for chaining.
18338 public Builder clearZone() {
18339 zone_ = getDefaultInstance().getZone();
18340 bitField0_ = (bitField0_ & ~0x00000001);
18345 * <code>string zone = 1;</code>
18346 * @param value The bytes for zone to set.
18347 * @return This builder for chaining.
18349 public Builder setZoneBytes(
18350 com.google.protobuf.ByteString value) {
18351 if (value == null) { throw new NullPointerException(); }
18352 checkByteStringIsUtf8(value);
18354 bitField0_ |= 0x00000001;
18359 private double temperature_ ;
18361 * <code>double temperature = 2;</code>
18362 * @return The temperature.
18364 @java.lang.Override
18365 public double getTemperature() {
18366 return temperature_;
18369 * <code>double temperature = 2;</code>
18370 * @param value The temperature to set.
18371 * @return This builder for chaining.
18373 public Builder setTemperature(double value) {
18375 temperature_ = value;
18376 bitField0_ |= 0x00000002;
18381 * <code>double temperature = 2;</code>
18382 * @return This builder for chaining.
18384 public Builder clearTemperature() {
18385 bitField0_ = (bitField0_ & ~0x00000002);
18391 private java.lang.Object temperatureDisplayValue_ = "";
18393 * <code>string temperature_display_value = 3;</code>
18394 * @return The temperatureDisplayValue.
18396 public java.lang.String getTemperatureDisplayValue() {
18397 java.lang.Object ref = temperatureDisplayValue_;
18398 if (!(ref instanceof java.lang.String)) {
18399 com.google.protobuf.ByteString bs =
18400 (com.google.protobuf.ByteString) ref;
18401 java.lang.String s = bs.toStringUtf8();
18402 temperatureDisplayValue_ = s;
18405 return (java.lang.String) ref;
18409 * <code>string temperature_display_value = 3;</code>
18410 * @return The bytes for temperatureDisplayValue.
18412 public com.google.protobuf.ByteString
18413 getTemperatureDisplayValueBytes() {
18414 java.lang.Object ref = temperatureDisplayValue_;
18415 if (ref instanceof String) {
18416 com.google.protobuf.ByteString b =
18417 com.google.protobuf.ByteString.copyFromUtf8(
18418 (java.lang.String) ref);
18419 temperatureDisplayValue_ = b;
18422 return (com.google.protobuf.ByteString) ref;
18426 * <code>string temperature_display_value = 3;</code>
18427 * @param value The temperatureDisplayValue to set.
18428 * @return This builder for chaining.
18430 public Builder setTemperatureDisplayValue(
18431 java.lang.String value) {
18432 if (value == null) { throw new NullPointerException(); }
18433 temperatureDisplayValue_ = value;
18434 bitField0_ |= 0x00000004;
18439 * <code>string temperature_display_value = 3;</code>
18440 * @return This builder for chaining.
18442 public Builder clearTemperatureDisplayValue() {
18443 temperatureDisplayValue_ = getDefaultInstance().getTemperatureDisplayValue();
18444 bitField0_ = (bitField0_ & ~0x00000004);
18449 * <code>string temperature_display_value = 3;</code>
18450 * @param value The bytes for temperatureDisplayValue to set.
18451 * @return This builder for chaining.
18453 public Builder setTemperatureDisplayValueBytes(
18454 com.google.protobuf.ByteString value) {
18455 if (value == null) { throw new NullPointerException(); }
18456 checkByteStringIsUtf8(value);
18457 temperatureDisplayValue_ = value;
18458 bitField0_ |= 0x00000004;
18463 // @@protoc_insertion_point(builder_scope:proto.TemperaturePoint)
18466 // @@protoc_insertion_point(class_scope:proto.TemperaturePoint)
18467 private static final com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint DEFAULT_INSTANCE;
18469 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint();
18472 public static com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint getDefaultInstance() {
18473 return DEFAULT_INSTANCE;
18476 private static final com.google.protobuf.Parser<TemperaturePoint>
18477 PARSER = new com.google.protobuf.AbstractParser<TemperaturePoint>() {
18478 @java.lang.Override
18479 public TemperaturePoint parsePartialFrom(
18480 com.google.protobuf.CodedInputStream input,
18481 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18482 throws com.google.protobuf.InvalidProtocolBufferException {
18483 Builder builder = newBuilder();
18485 builder.mergeFrom(input, extensionRegistry);
18486 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
18487 throw e.setUnfinishedMessage(builder.buildPartial());
18488 } catch (com.google.protobuf.UninitializedMessageException e) {
18489 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
18490 } catch (java.io.IOException e) {
18491 throw new com.google.protobuf.InvalidProtocolBufferException(e)
18492 .setUnfinishedMessage(builder.buildPartial());
18494 return builder.buildPartial();
18498 public static com.google.protobuf.Parser<TemperaturePoint> parser() {
18502 @java.lang.Override
18503 public com.google.protobuf.Parser<TemperaturePoint> getParserForType() {
18507 @java.lang.Override
18508 public com.daimler.mbcarkit.proto.VehicleEvents.TemperaturePoint getDefaultInstanceForType() {
18509 return DEFAULT_INSTANCE;
18514 public interface WeekdayTariffValueOrBuilder extends
18515 // @@protoc_insertion_point(interface_extends:proto.WeekdayTariffValue)
18516 com.google.protobuf.MessageOrBuilder {
18520 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18523 * <code>repeated .proto.Tariff tariffs = 1;</code>
18525 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff>
18529 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18532 * <code>repeated .proto.Tariff tariffs = 1;</code>
18534 com.daimler.mbcarkit.proto.VehicleEvents.Tariff getTariffs(int index);
18537 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18540 * <code>repeated .proto.Tariff tariffs = 1;</code>
18542 int getTariffsCount();
18545 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18548 * <code>repeated .proto.Tariff tariffs = 1;</code>
18550 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
18551 getTariffsOrBuilderList();
18554 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18557 * <code>repeated .proto.Tariff tariffs = 1;</code>
18559 com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder getTariffsOrBuilder(
18563 * Protobuf type {@code proto.WeekdayTariffValue}
18565 public static final class WeekdayTariffValue extends
18566 com.google.protobuf.GeneratedMessage implements
18567 // @@protoc_insertion_point(message_implements:proto.WeekdayTariffValue)
18568 WeekdayTariffValueOrBuilder {
18569 private static final long serialVersionUID = 0L;
18571 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
18572 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
18577 WeekdayTariffValue.class.getName());
18579 // Use WeekdayTariffValue.newBuilder() to construct.
18580 private WeekdayTariffValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
18583 private WeekdayTariffValue() {
18584 tariffs_ = java.util.Collections.emptyList();
18587 public static final com.google.protobuf.Descriptors.Descriptor
18589 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekdayTariffValue_descriptor;
18592 @java.lang.Override
18593 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
18594 internalGetFieldAccessorTable() {
18595 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekdayTariffValue_fieldAccessorTable
18596 .ensureFieldAccessorsInitialized(
18597 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder.class);
18600 public static final int TARIFFS_FIELD_NUMBER = 1;
18601 @SuppressWarnings("serial")
18602 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> tariffs_;
18605 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18608 * <code>repeated .proto.Tariff tariffs = 1;</code>
18610 @java.lang.Override
18611 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> getTariffsList() {
18616 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18619 * <code>repeated .proto.Tariff tariffs = 1;</code>
18621 @java.lang.Override
18622 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
18623 getTariffsOrBuilderList() {
18628 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18631 * <code>repeated .proto.Tariff tariffs = 1;</code>
18633 @java.lang.Override
18634 public int getTariffsCount() {
18635 return tariffs_.size();
18639 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18642 * <code>repeated .proto.Tariff tariffs = 1;</code>
18644 @java.lang.Override
18645 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff getTariffs(int index) {
18646 return tariffs_.get(index);
18650 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
18653 * <code>repeated .proto.Tariff tariffs = 1;</code>
18655 @java.lang.Override
18656 public com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder getTariffsOrBuilder(
18658 return tariffs_.get(index);
18661 private byte memoizedIsInitialized = -1;
18662 @java.lang.Override
18663 public final boolean isInitialized() {
18664 byte isInitialized = memoizedIsInitialized;
18665 if (isInitialized == 1) return true;
18666 if (isInitialized == 0) return false;
18668 memoizedIsInitialized = 1;
18672 @java.lang.Override
18673 public void writeTo(com.google.protobuf.CodedOutputStream output)
18674 throws java.io.IOException {
18675 for (int i = 0; i < tariffs_.size(); i++) {
18676 output.writeMessage(1, tariffs_.get(i));
18678 getUnknownFields().writeTo(output);
18681 @java.lang.Override
18682 public int getSerializedSize() {
18683 int size = memoizedSize;
18684 if (size != -1) return size;
18687 for (int i = 0; i < tariffs_.size(); i++) {
18688 size += com.google.protobuf.CodedOutputStream
18689 .computeMessageSize(1, tariffs_.get(i));
18691 size += getUnknownFields().getSerializedSize();
18692 memoizedSize = size;
18696 @java.lang.Override
18697 public boolean equals(final java.lang.Object obj) {
18701 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue)) {
18702 return super.equals(obj);
18704 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue other = (com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) obj;
18706 if (!getTariffsList()
18707 .equals(other.getTariffsList())) return false;
18708 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
18712 @java.lang.Override
18713 public int hashCode() {
18714 if (memoizedHashCode != 0) {
18715 return memoizedHashCode;
18718 hash = (19 * hash) + getDescriptor().hashCode();
18719 if (getTariffsCount() > 0) {
18720 hash = (37 * hash) + TARIFFS_FIELD_NUMBER;
18721 hash = (53 * hash) + getTariffsList().hashCode();
18723 hash = (29 * hash) + getUnknownFields().hashCode();
18724 memoizedHashCode = hash;
18728 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18729 java.nio.ByteBuffer data)
18730 throws com.google.protobuf.InvalidProtocolBufferException {
18731 return PARSER.parseFrom(data);
18733 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18734 java.nio.ByteBuffer data,
18735 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18736 throws com.google.protobuf.InvalidProtocolBufferException {
18737 return PARSER.parseFrom(data, extensionRegistry);
18739 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18740 com.google.protobuf.ByteString data)
18741 throws com.google.protobuf.InvalidProtocolBufferException {
18742 return PARSER.parseFrom(data);
18744 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18745 com.google.protobuf.ByteString data,
18746 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18747 throws com.google.protobuf.InvalidProtocolBufferException {
18748 return PARSER.parseFrom(data, extensionRegistry);
18750 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(byte[] data)
18751 throws com.google.protobuf.InvalidProtocolBufferException {
18752 return PARSER.parseFrom(data);
18754 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18756 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18757 throws com.google.protobuf.InvalidProtocolBufferException {
18758 return PARSER.parseFrom(data, extensionRegistry);
18760 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(java.io.InputStream input)
18761 throws java.io.IOException {
18762 return com.google.protobuf.GeneratedMessage
18763 .parseWithIOException(PARSER, input);
18765 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18766 java.io.InputStream input,
18767 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18768 throws java.io.IOException {
18769 return com.google.protobuf.GeneratedMessage
18770 .parseWithIOException(PARSER, input, extensionRegistry);
18773 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseDelimitedFrom(java.io.InputStream input)
18774 throws java.io.IOException {
18775 return com.google.protobuf.GeneratedMessage
18776 .parseDelimitedWithIOException(PARSER, input);
18779 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseDelimitedFrom(
18780 java.io.InputStream input,
18781 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18782 throws java.io.IOException {
18783 return com.google.protobuf.GeneratedMessage
18784 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
18786 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18787 com.google.protobuf.CodedInputStream input)
18788 throws java.io.IOException {
18789 return com.google.protobuf.GeneratedMessage
18790 .parseWithIOException(PARSER, input);
18792 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue parseFrom(
18793 com.google.protobuf.CodedInputStream input,
18794 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18795 throws java.io.IOException {
18796 return com.google.protobuf.GeneratedMessage
18797 .parseWithIOException(PARSER, input, extensionRegistry);
18800 @java.lang.Override
18801 public Builder newBuilderForType() { return newBuilder(); }
18802 public static Builder newBuilder() {
18803 return DEFAULT_INSTANCE.toBuilder();
18805 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue prototype) {
18806 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
18808 @java.lang.Override
18809 public Builder toBuilder() {
18810 return this == DEFAULT_INSTANCE
18811 ? new Builder() : new Builder().mergeFrom(this);
18814 @java.lang.Override
18815 protected Builder newBuilderForType(
18816 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
18817 Builder builder = new Builder(parent);
18821 * Protobuf type {@code proto.WeekdayTariffValue}
18823 public static final class Builder extends
18824 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
18825 // @@protoc_insertion_point(builder_implements:proto.WeekdayTariffValue)
18826 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValueOrBuilder {
18827 public static final com.google.protobuf.Descriptors.Descriptor
18829 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekdayTariffValue_descriptor;
18832 @java.lang.Override
18833 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
18834 internalGetFieldAccessorTable() {
18835 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekdayTariffValue_fieldAccessorTable
18836 .ensureFieldAccessorsInitialized(
18837 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.Builder.class);
18840 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.newBuilder()
18841 private Builder() {
18846 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
18850 @java.lang.Override
18851 public Builder clear() {
18854 if (tariffsBuilder_ == null) {
18855 tariffs_ = java.util.Collections.emptyList();
18858 tariffsBuilder_.clear();
18860 bitField0_ = (bitField0_ & ~0x00000001);
18864 @java.lang.Override
18865 public com.google.protobuf.Descriptors.Descriptor
18866 getDescriptorForType() {
18867 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekdayTariffValue_descriptor;
18870 @java.lang.Override
18871 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue getDefaultInstanceForType() {
18872 return com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance();
18875 @java.lang.Override
18876 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue build() {
18877 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue result = buildPartial();
18878 if (!result.isInitialized()) {
18879 throw newUninitializedMessageException(result);
18884 @java.lang.Override
18885 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue buildPartial() {
18886 com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue result = new com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue(this);
18887 buildPartialRepeatedFields(result);
18888 if (bitField0_ != 0) { buildPartial0(result); }
18893 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue result) {
18894 if (tariffsBuilder_ == null) {
18895 if (((bitField0_ & 0x00000001) != 0)) {
18896 tariffs_ = java.util.Collections.unmodifiableList(tariffs_);
18897 bitField0_ = (bitField0_ & ~0x00000001);
18899 result.tariffs_ = tariffs_;
18901 result.tariffs_ = tariffsBuilder_.build();
18905 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue result) {
18906 int from_bitField0_ = bitField0_;
18909 @java.lang.Override
18910 public Builder mergeFrom(com.google.protobuf.Message other) {
18911 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue) {
18912 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue)other);
18914 super.mergeFrom(other);
18919 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue other) {
18920 if (other == com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue.getDefaultInstance()) return this;
18921 if (tariffsBuilder_ == null) {
18922 if (!other.tariffs_.isEmpty()) {
18923 if (tariffs_.isEmpty()) {
18924 tariffs_ = other.tariffs_;
18925 bitField0_ = (bitField0_ & ~0x00000001);
18927 ensureTariffsIsMutable();
18928 tariffs_.addAll(other.tariffs_);
18933 if (!other.tariffs_.isEmpty()) {
18934 if (tariffsBuilder_.isEmpty()) {
18935 tariffsBuilder_.dispose();
18936 tariffsBuilder_ = null;
18937 tariffs_ = other.tariffs_;
18938 bitField0_ = (bitField0_ & ~0x00000001);
18940 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
18941 getTariffsFieldBuilder() : null;
18943 tariffsBuilder_.addAllMessages(other.tariffs_);
18947 this.mergeUnknownFields(other.getUnknownFields());
18952 @java.lang.Override
18953 public final boolean isInitialized() {
18957 @java.lang.Override
18958 public Builder mergeFrom(
18959 com.google.protobuf.CodedInputStream input,
18960 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
18961 throws java.io.IOException {
18962 if (extensionRegistry == null) {
18963 throw new java.lang.NullPointerException();
18966 boolean done = false;
18968 int tag = input.readTag();
18974 com.daimler.mbcarkit.proto.VehicleEvents.Tariff m =
18976 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.parser(),
18977 extensionRegistry);
18978 if (tariffsBuilder_ == null) {
18979 ensureTariffsIsMutable();
18982 tariffsBuilder_.addMessage(m);
18987 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
18988 done = true; // was an endgroup tag
18994 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
18995 throw e.unwrapIOException();
19001 private int bitField0_;
19003 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> tariffs_ =
19004 java.util.Collections.emptyList();
19005 private void ensureTariffsIsMutable() {
19006 if (!((bitField0_ & 0x00000001) != 0)) {
19007 tariffs_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.Tariff>(tariffs_);
19008 bitField0_ |= 0x00000001;
19012 private com.google.protobuf.RepeatedFieldBuilder<
19013 com.daimler.mbcarkit.proto.VehicleEvents.Tariff, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder> tariffsBuilder_;
19017 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19020 * <code>repeated .proto.Tariff tariffs = 1;</code>
19022 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> getTariffsList() {
19023 if (tariffsBuilder_ == null) {
19024 return java.util.Collections.unmodifiableList(tariffs_);
19026 return tariffsBuilder_.getMessageList();
19031 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19034 * <code>repeated .proto.Tariff tariffs = 1;</code>
19036 public int getTariffsCount() {
19037 if (tariffsBuilder_ == null) {
19038 return tariffs_.size();
19040 return tariffsBuilder_.getCount();
19045 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19048 * <code>repeated .proto.Tariff tariffs = 1;</code>
19050 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff getTariffs(int index) {
19051 if (tariffsBuilder_ == null) {
19052 return tariffs_.get(index);
19054 return tariffsBuilder_.getMessage(index);
19059 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19062 * <code>repeated .proto.Tariff tariffs = 1;</code>
19064 public Builder setTariffs(
19065 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff value) {
19066 if (tariffsBuilder_ == null) {
19067 if (value == null) {
19068 throw new NullPointerException();
19070 ensureTariffsIsMutable();
19071 tariffs_.set(index, value);
19074 tariffsBuilder_.setMessage(index, value);
19080 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19083 * <code>repeated .proto.Tariff tariffs = 1;</code>
19085 public Builder setTariffs(
19086 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder builderForValue) {
19087 if (tariffsBuilder_ == null) {
19088 ensureTariffsIsMutable();
19089 tariffs_.set(index, builderForValue.build());
19092 tariffsBuilder_.setMessage(index, builderForValue.build());
19098 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19101 * <code>repeated .proto.Tariff tariffs = 1;</code>
19103 public Builder addTariffs(com.daimler.mbcarkit.proto.VehicleEvents.Tariff value) {
19104 if (tariffsBuilder_ == null) {
19105 if (value == null) {
19106 throw new NullPointerException();
19108 ensureTariffsIsMutable();
19109 tariffs_.add(value);
19112 tariffsBuilder_.addMessage(value);
19118 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19121 * <code>repeated .proto.Tariff tariffs = 1;</code>
19123 public Builder addTariffs(
19124 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff value) {
19125 if (tariffsBuilder_ == null) {
19126 if (value == null) {
19127 throw new NullPointerException();
19129 ensureTariffsIsMutable();
19130 tariffs_.add(index, value);
19133 tariffsBuilder_.addMessage(index, value);
19139 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19142 * <code>repeated .proto.Tariff tariffs = 1;</code>
19144 public Builder addTariffs(
19145 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder builderForValue) {
19146 if (tariffsBuilder_ == null) {
19147 ensureTariffsIsMutable();
19148 tariffs_.add(builderForValue.build());
19151 tariffsBuilder_.addMessage(builderForValue.build());
19157 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19160 * <code>repeated .proto.Tariff tariffs = 1;</code>
19162 public Builder addTariffs(
19163 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder builderForValue) {
19164 if (tariffsBuilder_ == null) {
19165 ensureTariffsIsMutable();
19166 tariffs_.add(index, builderForValue.build());
19169 tariffsBuilder_.addMessage(index, builderForValue.build());
19175 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19178 * <code>repeated .proto.Tariff tariffs = 1;</code>
19180 public Builder addAllTariffs(
19181 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.Tariff> values) {
19182 if (tariffsBuilder_ == null) {
19183 ensureTariffsIsMutable();
19184 com.google.protobuf.AbstractMessageLite.Builder.addAll(
19188 tariffsBuilder_.addAllMessages(values);
19194 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19197 * <code>repeated .proto.Tariff tariffs = 1;</code>
19199 public Builder clearTariffs() {
19200 if (tariffsBuilder_ == null) {
19201 tariffs_ = java.util.Collections.emptyList();
19202 bitField0_ = (bitField0_ & ~0x00000001);
19205 tariffsBuilder_.clear();
19211 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19214 * <code>repeated .proto.Tariff tariffs = 1;</code>
19216 public Builder removeTariffs(int index) {
19217 if (tariffsBuilder_ == null) {
19218 ensureTariffsIsMutable();
19219 tariffs_.remove(index);
19222 tariffsBuilder_.remove(index);
19228 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19231 * <code>repeated .proto.Tariff tariffs = 1;</code>
19233 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder getTariffsBuilder(
19235 return getTariffsFieldBuilder().getBuilder(index);
19239 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19242 * <code>repeated .proto.Tariff tariffs = 1;</code>
19244 public com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder getTariffsOrBuilder(
19246 if (tariffsBuilder_ == null) {
19247 return tariffs_.get(index); } else {
19248 return tariffsBuilder_.getMessageOrBuilder(index);
19253 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19256 * <code>repeated .proto.Tariff tariffs = 1;</code>
19258 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
19259 getTariffsOrBuilderList() {
19260 if (tariffsBuilder_ != null) {
19261 return tariffsBuilder_.getMessageOrBuilderList();
19263 return java.util.Collections.unmodifiableList(tariffs_);
19268 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19271 * <code>repeated .proto.Tariff tariffs = 1;</code>
19273 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder addTariffsBuilder() {
19274 return getTariffsFieldBuilder().addBuilder(
19275 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.getDefaultInstance());
19279 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19282 * <code>repeated .proto.Tariff tariffs = 1;</code>
19284 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder addTariffsBuilder(
19286 return getTariffsFieldBuilder().addBuilder(
19287 index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.getDefaultInstance());
19291 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19294 * <code>repeated .proto.Tariff tariffs = 1;</code>
19296 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder>
19297 getTariffsBuilderList() {
19298 return getTariffsFieldBuilder().getBuilderList();
19300 private com.google.protobuf.RepeatedFieldBuilder<
19301 com.daimler.mbcarkit.proto.VehicleEvents.Tariff, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
19302 getTariffsFieldBuilder() {
19303 if (tariffsBuilder_ == null) {
19304 tariffsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
19305 com.daimler.mbcarkit.proto.VehicleEvents.Tariff, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>(
19307 ((bitField0_ & 0x00000001) != 0),
19308 getParentForChildren(),
19312 return tariffsBuilder_;
19315 // @@protoc_insertion_point(builder_scope:proto.WeekdayTariffValue)
19318 // @@protoc_insertion_point(class_scope:proto.WeekdayTariffValue)
19319 private static final com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue DEFAULT_INSTANCE;
19321 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue();
19324 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue getDefaultInstance() {
19325 return DEFAULT_INSTANCE;
19328 private static final com.google.protobuf.Parser<WeekdayTariffValue>
19329 PARSER = new com.google.protobuf.AbstractParser<WeekdayTariffValue>() {
19330 @java.lang.Override
19331 public WeekdayTariffValue parsePartialFrom(
19332 com.google.protobuf.CodedInputStream input,
19333 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19334 throws com.google.protobuf.InvalidProtocolBufferException {
19335 Builder builder = newBuilder();
19337 builder.mergeFrom(input, extensionRegistry);
19338 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
19339 throw e.setUnfinishedMessage(builder.buildPartial());
19340 } catch (com.google.protobuf.UninitializedMessageException e) {
19341 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
19342 } catch (java.io.IOException e) {
19343 throw new com.google.protobuf.InvalidProtocolBufferException(e)
19344 .setUnfinishedMessage(builder.buildPartial());
19346 return builder.buildPartial();
19350 public static com.google.protobuf.Parser<WeekdayTariffValue> parser() {
19354 @java.lang.Override
19355 public com.google.protobuf.Parser<WeekdayTariffValue> getParserForType() {
19359 @java.lang.Override
19360 public com.daimler.mbcarkit.proto.VehicleEvents.WeekdayTariffValue getDefaultInstanceForType() {
19361 return DEFAULT_INSTANCE;
19366 public interface WeekendTariffValueOrBuilder extends
19367 // @@protoc_insertion_point(interface_extends:proto.WeekendTariffValue)
19368 com.google.protobuf.MessageOrBuilder {
19372 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19375 * <code>repeated .proto.Tariff tariffs = 1;</code>
19377 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff>
19381 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19384 * <code>repeated .proto.Tariff tariffs = 1;</code>
19386 com.daimler.mbcarkit.proto.VehicleEvents.Tariff getTariffs(int index);
19389 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19392 * <code>repeated .proto.Tariff tariffs = 1;</code>
19394 int getTariffsCount();
19397 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19400 * <code>repeated .proto.Tariff tariffs = 1;</code>
19402 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
19403 getTariffsOrBuilderList();
19406 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19409 * <code>repeated .proto.Tariff tariffs = 1;</code>
19411 com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder getTariffsOrBuilder(
19415 * Protobuf type {@code proto.WeekendTariffValue}
19417 public static final class WeekendTariffValue extends
19418 com.google.protobuf.GeneratedMessage implements
19419 // @@protoc_insertion_point(message_implements:proto.WeekendTariffValue)
19420 WeekendTariffValueOrBuilder {
19421 private static final long serialVersionUID = 0L;
19423 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
19424 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
19429 WeekendTariffValue.class.getName());
19431 // Use WeekendTariffValue.newBuilder() to construct.
19432 private WeekendTariffValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
19435 private WeekendTariffValue() {
19436 tariffs_ = java.util.Collections.emptyList();
19439 public static final com.google.protobuf.Descriptors.Descriptor
19441 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekendTariffValue_descriptor;
19444 @java.lang.Override
19445 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
19446 internalGetFieldAccessorTable() {
19447 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekendTariffValue_fieldAccessorTable
19448 .ensureFieldAccessorsInitialized(
19449 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder.class);
19452 public static final int TARIFFS_FIELD_NUMBER = 1;
19453 @SuppressWarnings("serial")
19454 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> tariffs_;
19457 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19460 * <code>repeated .proto.Tariff tariffs = 1;</code>
19462 @java.lang.Override
19463 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> getTariffsList() {
19468 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19471 * <code>repeated .proto.Tariff tariffs = 1;</code>
19473 @java.lang.Override
19474 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
19475 getTariffsOrBuilderList() {
19480 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19483 * <code>repeated .proto.Tariff tariffs = 1;</code>
19485 @java.lang.Override
19486 public int getTariffsCount() {
19487 return tariffs_.size();
19491 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19494 * <code>repeated .proto.Tariff tariffs = 1;</code>
19496 @java.lang.Override
19497 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff getTariffs(int index) {
19498 return tariffs_.get(index);
19502 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19505 * <code>repeated .proto.Tariff tariffs = 1;</code>
19507 @java.lang.Override
19508 public com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder getTariffsOrBuilder(
19510 return tariffs_.get(index);
19513 private byte memoizedIsInitialized = -1;
19514 @java.lang.Override
19515 public final boolean isInitialized() {
19516 byte isInitialized = memoizedIsInitialized;
19517 if (isInitialized == 1) return true;
19518 if (isInitialized == 0) return false;
19520 memoizedIsInitialized = 1;
19524 @java.lang.Override
19525 public void writeTo(com.google.protobuf.CodedOutputStream output)
19526 throws java.io.IOException {
19527 for (int i = 0; i < tariffs_.size(); i++) {
19528 output.writeMessage(1, tariffs_.get(i));
19530 getUnknownFields().writeTo(output);
19533 @java.lang.Override
19534 public int getSerializedSize() {
19535 int size = memoizedSize;
19536 if (size != -1) return size;
19539 for (int i = 0; i < tariffs_.size(); i++) {
19540 size += com.google.protobuf.CodedOutputStream
19541 .computeMessageSize(1, tariffs_.get(i));
19543 size += getUnknownFields().getSerializedSize();
19544 memoizedSize = size;
19548 @java.lang.Override
19549 public boolean equals(final java.lang.Object obj) {
19553 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue)) {
19554 return super.equals(obj);
19556 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue other = (com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) obj;
19558 if (!getTariffsList()
19559 .equals(other.getTariffsList())) return false;
19560 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
19564 @java.lang.Override
19565 public int hashCode() {
19566 if (memoizedHashCode != 0) {
19567 return memoizedHashCode;
19570 hash = (19 * hash) + getDescriptor().hashCode();
19571 if (getTariffsCount() > 0) {
19572 hash = (37 * hash) + TARIFFS_FIELD_NUMBER;
19573 hash = (53 * hash) + getTariffsList().hashCode();
19575 hash = (29 * hash) + getUnknownFields().hashCode();
19576 memoizedHashCode = hash;
19580 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19581 java.nio.ByteBuffer data)
19582 throws com.google.protobuf.InvalidProtocolBufferException {
19583 return PARSER.parseFrom(data);
19585 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19586 java.nio.ByteBuffer data,
19587 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19588 throws com.google.protobuf.InvalidProtocolBufferException {
19589 return PARSER.parseFrom(data, extensionRegistry);
19591 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19592 com.google.protobuf.ByteString data)
19593 throws com.google.protobuf.InvalidProtocolBufferException {
19594 return PARSER.parseFrom(data);
19596 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19597 com.google.protobuf.ByteString data,
19598 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19599 throws com.google.protobuf.InvalidProtocolBufferException {
19600 return PARSER.parseFrom(data, extensionRegistry);
19602 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(byte[] data)
19603 throws com.google.protobuf.InvalidProtocolBufferException {
19604 return PARSER.parseFrom(data);
19606 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19608 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19609 throws com.google.protobuf.InvalidProtocolBufferException {
19610 return PARSER.parseFrom(data, extensionRegistry);
19612 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(java.io.InputStream input)
19613 throws java.io.IOException {
19614 return com.google.protobuf.GeneratedMessage
19615 .parseWithIOException(PARSER, input);
19617 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19618 java.io.InputStream input,
19619 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19620 throws java.io.IOException {
19621 return com.google.protobuf.GeneratedMessage
19622 .parseWithIOException(PARSER, input, extensionRegistry);
19625 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseDelimitedFrom(java.io.InputStream input)
19626 throws java.io.IOException {
19627 return com.google.protobuf.GeneratedMessage
19628 .parseDelimitedWithIOException(PARSER, input);
19631 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseDelimitedFrom(
19632 java.io.InputStream input,
19633 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19634 throws java.io.IOException {
19635 return com.google.protobuf.GeneratedMessage
19636 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
19638 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19639 com.google.protobuf.CodedInputStream input)
19640 throws java.io.IOException {
19641 return com.google.protobuf.GeneratedMessage
19642 .parseWithIOException(PARSER, input);
19644 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue parseFrom(
19645 com.google.protobuf.CodedInputStream input,
19646 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19647 throws java.io.IOException {
19648 return com.google.protobuf.GeneratedMessage
19649 .parseWithIOException(PARSER, input, extensionRegistry);
19652 @java.lang.Override
19653 public Builder newBuilderForType() { return newBuilder(); }
19654 public static Builder newBuilder() {
19655 return DEFAULT_INSTANCE.toBuilder();
19657 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue prototype) {
19658 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
19660 @java.lang.Override
19661 public Builder toBuilder() {
19662 return this == DEFAULT_INSTANCE
19663 ? new Builder() : new Builder().mergeFrom(this);
19666 @java.lang.Override
19667 protected Builder newBuilderForType(
19668 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
19669 Builder builder = new Builder(parent);
19673 * Protobuf type {@code proto.WeekendTariffValue}
19675 public static final class Builder extends
19676 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
19677 // @@protoc_insertion_point(builder_implements:proto.WeekendTariffValue)
19678 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValueOrBuilder {
19679 public static final com.google.protobuf.Descriptors.Descriptor
19681 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekendTariffValue_descriptor;
19684 @java.lang.Override
19685 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
19686 internalGetFieldAccessorTable() {
19687 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekendTariffValue_fieldAccessorTable
19688 .ensureFieldAccessorsInitialized(
19689 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.class, com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.Builder.class);
19692 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.newBuilder()
19693 private Builder() {
19698 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
19702 @java.lang.Override
19703 public Builder clear() {
19706 if (tariffsBuilder_ == null) {
19707 tariffs_ = java.util.Collections.emptyList();
19710 tariffsBuilder_.clear();
19712 bitField0_ = (bitField0_ & ~0x00000001);
19716 @java.lang.Override
19717 public com.google.protobuf.Descriptors.Descriptor
19718 getDescriptorForType() {
19719 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_WeekendTariffValue_descriptor;
19722 @java.lang.Override
19723 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue getDefaultInstanceForType() {
19724 return com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance();
19727 @java.lang.Override
19728 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue build() {
19729 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue result = buildPartial();
19730 if (!result.isInitialized()) {
19731 throw newUninitializedMessageException(result);
19736 @java.lang.Override
19737 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue buildPartial() {
19738 com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue result = new com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue(this);
19739 buildPartialRepeatedFields(result);
19740 if (bitField0_ != 0) { buildPartial0(result); }
19745 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue result) {
19746 if (tariffsBuilder_ == null) {
19747 if (((bitField0_ & 0x00000001) != 0)) {
19748 tariffs_ = java.util.Collections.unmodifiableList(tariffs_);
19749 bitField0_ = (bitField0_ & ~0x00000001);
19751 result.tariffs_ = tariffs_;
19753 result.tariffs_ = tariffsBuilder_.build();
19757 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue result) {
19758 int from_bitField0_ = bitField0_;
19761 @java.lang.Override
19762 public Builder mergeFrom(com.google.protobuf.Message other) {
19763 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue) {
19764 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue)other);
19766 super.mergeFrom(other);
19771 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue other) {
19772 if (other == com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue.getDefaultInstance()) return this;
19773 if (tariffsBuilder_ == null) {
19774 if (!other.tariffs_.isEmpty()) {
19775 if (tariffs_.isEmpty()) {
19776 tariffs_ = other.tariffs_;
19777 bitField0_ = (bitField0_ & ~0x00000001);
19779 ensureTariffsIsMutable();
19780 tariffs_.addAll(other.tariffs_);
19785 if (!other.tariffs_.isEmpty()) {
19786 if (tariffsBuilder_.isEmpty()) {
19787 tariffsBuilder_.dispose();
19788 tariffsBuilder_ = null;
19789 tariffs_ = other.tariffs_;
19790 bitField0_ = (bitField0_ & ~0x00000001);
19792 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
19793 getTariffsFieldBuilder() : null;
19795 tariffsBuilder_.addAllMessages(other.tariffs_);
19799 this.mergeUnknownFields(other.getUnknownFields());
19804 @java.lang.Override
19805 public final boolean isInitialized() {
19809 @java.lang.Override
19810 public Builder mergeFrom(
19811 com.google.protobuf.CodedInputStream input,
19812 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
19813 throws java.io.IOException {
19814 if (extensionRegistry == null) {
19815 throw new java.lang.NullPointerException();
19818 boolean done = false;
19820 int tag = input.readTag();
19826 com.daimler.mbcarkit.proto.VehicleEvents.Tariff m =
19828 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.parser(),
19829 extensionRegistry);
19830 if (tariffsBuilder_ == null) {
19831 ensureTariffsIsMutable();
19834 tariffsBuilder_.addMessage(m);
19839 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
19840 done = true; // was an endgroup tag
19846 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
19847 throw e.unwrapIOException();
19853 private int bitField0_;
19855 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> tariffs_ =
19856 java.util.Collections.emptyList();
19857 private void ensureTariffsIsMutable() {
19858 if (!((bitField0_ & 0x00000001) != 0)) {
19859 tariffs_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.Tariff>(tariffs_);
19860 bitField0_ |= 0x00000001;
19864 private com.google.protobuf.RepeatedFieldBuilder<
19865 com.daimler.mbcarkit.proto.VehicleEvents.Tariff, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder> tariffsBuilder_;
19869 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19872 * <code>repeated .proto.Tariff tariffs = 1;</code>
19874 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff> getTariffsList() {
19875 if (tariffsBuilder_ == null) {
19876 return java.util.Collections.unmodifiableList(tariffs_);
19878 return tariffsBuilder_.getMessageList();
19883 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19886 * <code>repeated .proto.Tariff tariffs = 1;</code>
19888 public int getTariffsCount() {
19889 if (tariffsBuilder_ == null) {
19890 return tariffs_.size();
19892 return tariffsBuilder_.getCount();
19897 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19900 * <code>repeated .proto.Tariff tariffs = 1;</code>
19902 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff getTariffs(int index) {
19903 if (tariffsBuilder_ == null) {
19904 return tariffs_.get(index);
19906 return tariffsBuilder_.getMessage(index);
19911 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19914 * <code>repeated .proto.Tariff tariffs = 1;</code>
19916 public Builder setTariffs(
19917 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff value) {
19918 if (tariffsBuilder_ == null) {
19919 if (value == null) {
19920 throw new NullPointerException();
19922 ensureTariffsIsMutable();
19923 tariffs_.set(index, value);
19926 tariffsBuilder_.setMessage(index, value);
19932 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19935 * <code>repeated .proto.Tariff tariffs = 1;</code>
19937 public Builder setTariffs(
19938 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder builderForValue) {
19939 if (tariffsBuilder_ == null) {
19940 ensureTariffsIsMutable();
19941 tariffs_.set(index, builderForValue.build());
19944 tariffsBuilder_.setMessage(index, builderForValue.build());
19950 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19953 * <code>repeated .proto.Tariff tariffs = 1;</code>
19955 public Builder addTariffs(com.daimler.mbcarkit.proto.VehicleEvents.Tariff value) {
19956 if (tariffsBuilder_ == null) {
19957 if (value == null) {
19958 throw new NullPointerException();
19960 ensureTariffsIsMutable();
19961 tariffs_.add(value);
19964 tariffsBuilder_.addMessage(value);
19970 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19973 * <code>repeated .proto.Tariff tariffs = 1;</code>
19975 public Builder addTariffs(
19976 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff value) {
19977 if (tariffsBuilder_ == null) {
19978 if (value == null) {
19979 throw new NullPointerException();
19981 ensureTariffsIsMutable();
19982 tariffs_.add(index, value);
19985 tariffsBuilder_.addMessage(index, value);
19991 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
19994 * <code>repeated .proto.Tariff tariffs = 1;</code>
19996 public Builder addTariffs(
19997 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder builderForValue) {
19998 if (tariffsBuilder_ == null) {
19999 ensureTariffsIsMutable();
20000 tariffs_.add(builderForValue.build());
20003 tariffsBuilder_.addMessage(builderForValue.build());
20009 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20012 * <code>repeated .proto.Tariff tariffs = 1;</code>
20014 public Builder addTariffs(
20015 int index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder builderForValue) {
20016 if (tariffsBuilder_ == null) {
20017 ensureTariffsIsMutable();
20018 tariffs_.add(index, builderForValue.build());
20021 tariffsBuilder_.addMessage(index, builderForValue.build());
20027 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20030 * <code>repeated .proto.Tariff tariffs = 1;</code>
20032 public Builder addAllTariffs(
20033 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.Tariff> values) {
20034 if (tariffsBuilder_ == null) {
20035 ensureTariffsIsMutable();
20036 com.google.protobuf.AbstractMessageLite.Builder.addAll(
20040 tariffsBuilder_.addAllMessages(values);
20046 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20049 * <code>repeated .proto.Tariff tariffs = 1;</code>
20051 public Builder clearTariffs() {
20052 if (tariffsBuilder_ == null) {
20053 tariffs_ = java.util.Collections.emptyList();
20054 bitField0_ = (bitField0_ & ~0x00000001);
20057 tariffsBuilder_.clear();
20063 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20066 * <code>repeated .proto.Tariff tariffs = 1;</code>
20068 public Builder removeTariffs(int index) {
20069 if (tariffsBuilder_ == null) {
20070 ensureTariffsIsMutable();
20071 tariffs_.remove(index);
20074 tariffsBuilder_.remove(index);
20080 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20083 * <code>repeated .proto.Tariff tariffs = 1;</code>
20085 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder getTariffsBuilder(
20087 return getTariffsFieldBuilder().getBuilder(index);
20091 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20094 * <code>repeated .proto.Tariff tariffs = 1;</code>
20096 public com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder getTariffsOrBuilder(
20098 if (tariffsBuilder_ == null) {
20099 return tariffs_.get(index); } else {
20100 return tariffsBuilder_.getMessageOrBuilder(index);
20105 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20108 * <code>repeated .proto.Tariff tariffs = 1;</code>
20110 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
20111 getTariffsOrBuilderList() {
20112 if (tariffsBuilder_ != null) {
20113 return tariffsBuilder_.getMessageOrBuilderList();
20115 return java.util.Collections.unmodifiableList(tariffs_);
20120 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20123 * <code>repeated .proto.Tariff tariffs = 1;</code>
20125 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder addTariffsBuilder() {
20126 return getTariffsFieldBuilder().addBuilder(
20127 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.getDefaultInstance());
20131 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20134 * <code>repeated .proto.Tariff tariffs = 1;</code>
20136 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder addTariffsBuilder(
20138 return getTariffsFieldBuilder().addBuilder(
20139 index, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.getDefaultInstance());
20143 * List of sampling points. Hint: Array will be empty in initial state. I. e.: rate and time will not be existent in initial state.
20146 * <code>repeated .proto.Tariff tariffs = 1;</code>
20148 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder>
20149 getTariffsBuilderList() {
20150 return getTariffsFieldBuilder().getBuilderList();
20152 private com.google.protobuf.RepeatedFieldBuilder<
20153 com.daimler.mbcarkit.proto.VehicleEvents.Tariff, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>
20154 getTariffsFieldBuilder() {
20155 if (tariffsBuilder_ == null) {
20156 tariffsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
20157 com.daimler.mbcarkit.proto.VehicleEvents.Tariff, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder, com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder>(
20159 ((bitField0_ & 0x00000001) != 0),
20160 getParentForChildren(),
20164 return tariffsBuilder_;
20167 // @@protoc_insertion_point(builder_scope:proto.WeekendTariffValue)
20170 // @@protoc_insertion_point(class_scope:proto.WeekendTariffValue)
20171 private static final com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue DEFAULT_INSTANCE;
20173 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue();
20176 public static com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue getDefaultInstance() {
20177 return DEFAULT_INSTANCE;
20180 private static final com.google.protobuf.Parser<WeekendTariffValue>
20181 PARSER = new com.google.protobuf.AbstractParser<WeekendTariffValue>() {
20182 @java.lang.Override
20183 public WeekendTariffValue parsePartialFrom(
20184 com.google.protobuf.CodedInputStream input,
20185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20186 throws com.google.protobuf.InvalidProtocolBufferException {
20187 Builder builder = newBuilder();
20189 builder.mergeFrom(input, extensionRegistry);
20190 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
20191 throw e.setUnfinishedMessage(builder.buildPartial());
20192 } catch (com.google.protobuf.UninitializedMessageException e) {
20193 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
20194 } catch (java.io.IOException e) {
20195 throw new com.google.protobuf.InvalidProtocolBufferException(e)
20196 .setUnfinishedMessage(builder.buildPartial());
20198 return builder.buildPartial();
20202 public static com.google.protobuf.Parser<WeekendTariffValue> parser() {
20206 @java.lang.Override
20207 public com.google.protobuf.Parser<WeekendTariffValue> getParserForType() {
20211 @java.lang.Override
20212 public com.daimler.mbcarkit.proto.VehicleEvents.WeekendTariffValue getDefaultInstanceForType() {
20213 return DEFAULT_INSTANCE;
20218 public interface TariffOrBuilder extends
20219 // @@protoc_insertion_point(interface_extends:proto.Tariff)
20220 com.google.protobuf.MessageOrBuilder {
20224 * 33 - off-peak, 44 - mid-peak, 66 - on-peak
20227 * <code>int32 rate = 1;</code>
20228 * @return The rate.
20234 * Seconds from midnight
20237 * <code>int32 time = 2;</code>
20238 * @return The time.
20243 * Protobuf type {@code proto.Tariff}
20245 public static final class Tariff extends
20246 com.google.protobuf.GeneratedMessage implements
20247 // @@protoc_insertion_point(message_implements:proto.Tariff)
20249 private static final long serialVersionUID = 0L;
20251 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
20252 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
20257 Tariff.class.getName());
20259 // Use Tariff.newBuilder() to construct.
20260 private Tariff(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
20266 public static final com.google.protobuf.Descriptors.Descriptor
20268 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_Tariff_descriptor;
20271 @java.lang.Override
20272 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
20273 internalGetFieldAccessorTable() {
20274 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_Tariff_fieldAccessorTable
20275 .ensureFieldAccessorsInitialized(
20276 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.class, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder.class);
20279 public static final int RATE_FIELD_NUMBER = 1;
20280 private int rate_ = 0;
20283 * 33 - off-peak, 44 - mid-peak, 66 - on-peak
20286 * <code>int32 rate = 1;</code>
20287 * @return The rate.
20289 @java.lang.Override
20290 public int getRate() {
20294 public static final int TIME_FIELD_NUMBER = 2;
20295 private int time_ = 0;
20298 * Seconds from midnight
20301 * <code>int32 time = 2;</code>
20302 * @return The time.
20304 @java.lang.Override
20305 public int getTime() {
20309 private byte memoizedIsInitialized = -1;
20310 @java.lang.Override
20311 public final boolean isInitialized() {
20312 byte isInitialized = memoizedIsInitialized;
20313 if (isInitialized == 1) return true;
20314 if (isInitialized == 0) return false;
20316 memoizedIsInitialized = 1;
20320 @java.lang.Override
20321 public void writeTo(com.google.protobuf.CodedOutputStream output)
20322 throws java.io.IOException {
20324 output.writeInt32(1, rate_);
20327 output.writeInt32(2, time_);
20329 getUnknownFields().writeTo(output);
20332 @java.lang.Override
20333 public int getSerializedSize() {
20334 int size = memoizedSize;
20335 if (size != -1) return size;
20339 size += com.google.protobuf.CodedOutputStream
20340 .computeInt32Size(1, rate_);
20343 size += com.google.protobuf.CodedOutputStream
20344 .computeInt32Size(2, time_);
20346 size += getUnknownFields().getSerializedSize();
20347 memoizedSize = size;
20351 @java.lang.Override
20352 public boolean equals(final java.lang.Object obj) {
20356 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.Tariff)) {
20357 return super.equals(obj);
20359 com.daimler.mbcarkit.proto.VehicleEvents.Tariff other = (com.daimler.mbcarkit.proto.VehicleEvents.Tariff) obj;
20362 != other.getRate()) return false;
20364 != other.getTime()) return false;
20365 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
20369 @java.lang.Override
20370 public int hashCode() {
20371 if (memoizedHashCode != 0) {
20372 return memoizedHashCode;
20375 hash = (19 * hash) + getDescriptor().hashCode();
20376 hash = (37 * hash) + RATE_FIELD_NUMBER;
20377 hash = (53 * hash) + getRate();
20378 hash = (37 * hash) + TIME_FIELD_NUMBER;
20379 hash = (53 * hash) + getTime();
20380 hash = (29 * hash) + getUnknownFields().hashCode();
20381 memoizedHashCode = hash;
20385 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20386 java.nio.ByteBuffer data)
20387 throws com.google.protobuf.InvalidProtocolBufferException {
20388 return PARSER.parseFrom(data);
20390 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20391 java.nio.ByteBuffer data,
20392 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20393 throws com.google.protobuf.InvalidProtocolBufferException {
20394 return PARSER.parseFrom(data, extensionRegistry);
20396 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20397 com.google.protobuf.ByteString data)
20398 throws com.google.protobuf.InvalidProtocolBufferException {
20399 return PARSER.parseFrom(data);
20401 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20402 com.google.protobuf.ByteString data,
20403 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20404 throws com.google.protobuf.InvalidProtocolBufferException {
20405 return PARSER.parseFrom(data, extensionRegistry);
20407 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(byte[] data)
20408 throws com.google.protobuf.InvalidProtocolBufferException {
20409 return PARSER.parseFrom(data);
20411 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20413 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20414 throws com.google.protobuf.InvalidProtocolBufferException {
20415 return PARSER.parseFrom(data, extensionRegistry);
20417 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(java.io.InputStream input)
20418 throws java.io.IOException {
20419 return com.google.protobuf.GeneratedMessage
20420 .parseWithIOException(PARSER, input);
20422 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20423 java.io.InputStream input,
20424 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20425 throws java.io.IOException {
20426 return com.google.protobuf.GeneratedMessage
20427 .parseWithIOException(PARSER, input, extensionRegistry);
20430 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseDelimitedFrom(java.io.InputStream input)
20431 throws java.io.IOException {
20432 return com.google.protobuf.GeneratedMessage
20433 .parseDelimitedWithIOException(PARSER, input);
20436 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseDelimitedFrom(
20437 java.io.InputStream input,
20438 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20439 throws java.io.IOException {
20440 return com.google.protobuf.GeneratedMessage
20441 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
20443 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20444 com.google.protobuf.CodedInputStream input)
20445 throws java.io.IOException {
20446 return com.google.protobuf.GeneratedMessage
20447 .parseWithIOException(PARSER, input);
20449 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff parseFrom(
20450 com.google.protobuf.CodedInputStream input,
20451 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20452 throws java.io.IOException {
20453 return com.google.protobuf.GeneratedMessage
20454 .parseWithIOException(PARSER, input, extensionRegistry);
20457 @java.lang.Override
20458 public Builder newBuilderForType() { return newBuilder(); }
20459 public static Builder newBuilder() {
20460 return DEFAULT_INSTANCE.toBuilder();
20462 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.Tariff prototype) {
20463 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
20465 @java.lang.Override
20466 public Builder toBuilder() {
20467 return this == DEFAULT_INSTANCE
20468 ? new Builder() : new Builder().mergeFrom(this);
20471 @java.lang.Override
20472 protected Builder newBuilderForType(
20473 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
20474 Builder builder = new Builder(parent);
20478 * Protobuf type {@code proto.Tariff}
20480 public static final class Builder extends
20481 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
20482 // @@protoc_insertion_point(builder_implements:proto.Tariff)
20483 com.daimler.mbcarkit.proto.VehicleEvents.TariffOrBuilder {
20484 public static final com.google.protobuf.Descriptors.Descriptor
20486 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_Tariff_descriptor;
20489 @java.lang.Override
20490 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
20491 internalGetFieldAccessorTable() {
20492 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_Tariff_fieldAccessorTable
20493 .ensureFieldAccessorsInitialized(
20494 com.daimler.mbcarkit.proto.VehicleEvents.Tariff.class, com.daimler.mbcarkit.proto.VehicleEvents.Tariff.Builder.class);
20497 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.Tariff.newBuilder()
20498 private Builder() {
20503 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
20507 @java.lang.Override
20508 public Builder clear() {
20516 @java.lang.Override
20517 public com.google.protobuf.Descriptors.Descriptor
20518 getDescriptorForType() {
20519 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_Tariff_descriptor;
20522 @java.lang.Override
20523 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff getDefaultInstanceForType() {
20524 return com.daimler.mbcarkit.proto.VehicleEvents.Tariff.getDefaultInstance();
20527 @java.lang.Override
20528 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff build() {
20529 com.daimler.mbcarkit.proto.VehicleEvents.Tariff result = buildPartial();
20530 if (!result.isInitialized()) {
20531 throw newUninitializedMessageException(result);
20536 @java.lang.Override
20537 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff buildPartial() {
20538 com.daimler.mbcarkit.proto.VehicleEvents.Tariff result = new com.daimler.mbcarkit.proto.VehicleEvents.Tariff(this);
20539 if (bitField0_ != 0) { buildPartial0(result); }
20544 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.Tariff result) {
20545 int from_bitField0_ = bitField0_;
20546 if (((from_bitField0_ & 0x00000001) != 0)) {
20547 result.rate_ = rate_;
20549 if (((from_bitField0_ & 0x00000002) != 0)) {
20550 result.time_ = time_;
20554 @java.lang.Override
20555 public Builder mergeFrom(com.google.protobuf.Message other) {
20556 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.Tariff) {
20557 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.Tariff)other);
20559 super.mergeFrom(other);
20564 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.Tariff other) {
20565 if (other == com.daimler.mbcarkit.proto.VehicleEvents.Tariff.getDefaultInstance()) return this;
20566 if (other.getRate() != 0) {
20567 setRate(other.getRate());
20569 if (other.getTime() != 0) {
20570 setTime(other.getTime());
20572 this.mergeUnknownFields(other.getUnknownFields());
20577 @java.lang.Override
20578 public final boolean isInitialized() {
20582 @java.lang.Override
20583 public Builder mergeFrom(
20584 com.google.protobuf.CodedInputStream input,
20585 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20586 throws java.io.IOException {
20587 if (extensionRegistry == null) {
20588 throw new java.lang.NullPointerException();
20591 boolean done = false;
20593 int tag = input.readTag();
20599 rate_ = input.readInt32();
20600 bitField0_ |= 0x00000001;
20604 time_ = input.readInt32();
20605 bitField0_ |= 0x00000002;
20609 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
20610 done = true; // was an endgroup tag
20616 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
20617 throw e.unwrapIOException();
20623 private int bitField0_;
20625 private int rate_ ;
20628 * 33 - off-peak, 44 - mid-peak, 66 - on-peak
20631 * <code>int32 rate = 1;</code>
20632 * @return The rate.
20634 @java.lang.Override
20635 public int getRate() {
20640 * 33 - off-peak, 44 - mid-peak, 66 - on-peak
20643 * <code>int32 rate = 1;</code>
20644 * @param value The rate to set.
20645 * @return This builder for chaining.
20647 public Builder setRate(int value) {
20650 bitField0_ |= 0x00000001;
20656 * 33 - off-peak, 44 - mid-peak, 66 - on-peak
20659 * <code>int32 rate = 1;</code>
20660 * @return This builder for chaining.
20662 public Builder clearRate() {
20663 bitField0_ = (bitField0_ & ~0x00000001);
20669 private int time_ ;
20672 * Seconds from midnight
20675 * <code>int32 time = 2;</code>
20676 * @return The time.
20678 @java.lang.Override
20679 public int getTime() {
20684 * Seconds from midnight
20687 * <code>int32 time = 2;</code>
20688 * @param value The time to set.
20689 * @return This builder for chaining.
20691 public Builder setTime(int value) {
20694 bitField0_ |= 0x00000002;
20700 * Seconds from midnight
20703 * <code>int32 time = 2;</code>
20704 * @return This builder for chaining.
20706 public Builder clearTime() {
20707 bitField0_ = (bitField0_ & ~0x00000002);
20713 // @@protoc_insertion_point(builder_scope:proto.Tariff)
20716 // @@protoc_insertion_point(class_scope:proto.Tariff)
20717 private static final com.daimler.mbcarkit.proto.VehicleEvents.Tariff DEFAULT_INSTANCE;
20719 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.Tariff();
20722 public static com.daimler.mbcarkit.proto.VehicleEvents.Tariff getDefaultInstance() {
20723 return DEFAULT_INSTANCE;
20726 private static final com.google.protobuf.Parser<Tariff>
20727 PARSER = new com.google.protobuf.AbstractParser<Tariff>() {
20728 @java.lang.Override
20729 public Tariff parsePartialFrom(
20730 com.google.protobuf.CodedInputStream input,
20731 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20732 throws com.google.protobuf.InvalidProtocolBufferException {
20733 Builder builder = newBuilder();
20735 builder.mergeFrom(input, extensionRegistry);
20736 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
20737 throw e.setUnfinishedMessage(builder.buildPartial());
20738 } catch (com.google.protobuf.UninitializedMessageException e) {
20739 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
20740 } catch (java.io.IOException e) {
20741 throw new com.google.protobuf.InvalidProtocolBufferException(e)
20742 .setUnfinishedMessage(builder.buildPartial());
20744 return builder.buildPartial();
20748 public static com.google.protobuf.Parser<Tariff> parser() {
20752 @java.lang.Override
20753 public com.google.protobuf.Parser<Tariff> getParserForType() {
20757 @java.lang.Override
20758 public com.daimler.mbcarkit.proto.VehicleEvents.Tariff getDefaultInstanceForType() {
20759 return DEFAULT_INSTANCE;
20764 public interface StateOfChargeProfileValueOrBuilder extends
20765 // @@protoc_insertion_point(interface_extends:proto.StateOfChargeProfileValue)
20766 com.google.protobuf.MessageOrBuilder {
20770 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20771 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20774 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20776 java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge>
20777 getStatesOfChargeList();
20780 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20781 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20784 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20786 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge getStatesOfCharge(int index);
20789 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20790 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20793 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20795 int getStatesOfChargeCount();
20798 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20799 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20802 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20804 java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder>
20805 getStatesOfChargeOrBuilderList();
20808 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20809 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20812 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20814 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder getStatesOfChargeOrBuilder(
20818 * Protobuf type {@code proto.StateOfChargeProfileValue}
20820 public static final class StateOfChargeProfileValue extends
20821 com.google.protobuf.GeneratedMessage implements
20822 // @@protoc_insertion_point(message_implements:proto.StateOfChargeProfileValue)
20823 StateOfChargeProfileValueOrBuilder {
20824 private static final long serialVersionUID = 0L;
20826 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
20827 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
20832 StateOfChargeProfileValue.class.getName());
20834 // Use StateOfChargeProfileValue.newBuilder() to construct.
20835 private StateOfChargeProfileValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
20838 private StateOfChargeProfileValue() {
20839 statesOfCharge_ = java.util.Collections.emptyList();
20842 public static final com.google.protobuf.Descriptors.Descriptor
20844 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfChargeProfileValue_descriptor;
20847 @java.lang.Override
20848 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
20849 internalGetFieldAccessorTable() {
20850 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfChargeProfileValue_fieldAccessorTable
20851 .ensureFieldAccessorsInitialized(
20852 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.class, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder.class);
20855 public static final int STATES_OF_CHARGE_FIELD_NUMBER = 1;
20856 @SuppressWarnings("serial")
20857 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge> statesOfCharge_;
20860 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20861 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20864 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20866 @java.lang.Override
20867 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge> getStatesOfChargeList() {
20868 return statesOfCharge_;
20872 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20873 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20876 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20878 @java.lang.Override
20879 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder>
20880 getStatesOfChargeOrBuilderList() {
20881 return statesOfCharge_;
20885 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20886 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20889 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20891 @java.lang.Override
20892 public int getStatesOfChargeCount() {
20893 return statesOfCharge_.size();
20897 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20898 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20901 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20903 @java.lang.Override
20904 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge getStatesOfCharge(int index) {
20905 return statesOfCharge_.get(index);
20909 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
20910 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
20913 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
20915 @java.lang.Override
20916 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder getStatesOfChargeOrBuilder(
20918 return statesOfCharge_.get(index);
20921 private byte memoizedIsInitialized = -1;
20922 @java.lang.Override
20923 public final boolean isInitialized() {
20924 byte isInitialized = memoizedIsInitialized;
20925 if (isInitialized == 1) return true;
20926 if (isInitialized == 0) return false;
20928 memoizedIsInitialized = 1;
20932 @java.lang.Override
20933 public void writeTo(com.google.protobuf.CodedOutputStream output)
20934 throws java.io.IOException {
20935 for (int i = 0; i < statesOfCharge_.size(); i++) {
20936 output.writeMessage(1, statesOfCharge_.get(i));
20938 getUnknownFields().writeTo(output);
20941 @java.lang.Override
20942 public int getSerializedSize() {
20943 int size = memoizedSize;
20944 if (size != -1) return size;
20947 for (int i = 0; i < statesOfCharge_.size(); i++) {
20948 size += com.google.protobuf.CodedOutputStream
20949 .computeMessageSize(1, statesOfCharge_.get(i));
20951 size += getUnknownFields().getSerializedSize();
20952 memoizedSize = size;
20956 @java.lang.Override
20957 public boolean equals(final java.lang.Object obj) {
20961 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue)) {
20962 return super.equals(obj);
20964 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue other = (com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) obj;
20966 if (!getStatesOfChargeList()
20967 .equals(other.getStatesOfChargeList())) return false;
20968 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
20972 @java.lang.Override
20973 public int hashCode() {
20974 if (memoizedHashCode != 0) {
20975 return memoizedHashCode;
20978 hash = (19 * hash) + getDescriptor().hashCode();
20979 if (getStatesOfChargeCount() > 0) {
20980 hash = (37 * hash) + STATES_OF_CHARGE_FIELD_NUMBER;
20981 hash = (53 * hash) + getStatesOfChargeList().hashCode();
20983 hash = (29 * hash) + getUnknownFields().hashCode();
20984 memoizedHashCode = hash;
20988 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
20989 java.nio.ByteBuffer data)
20990 throws com.google.protobuf.InvalidProtocolBufferException {
20991 return PARSER.parseFrom(data);
20993 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
20994 java.nio.ByteBuffer data,
20995 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
20996 throws com.google.protobuf.InvalidProtocolBufferException {
20997 return PARSER.parseFrom(data, extensionRegistry);
20999 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
21000 com.google.protobuf.ByteString data)
21001 throws com.google.protobuf.InvalidProtocolBufferException {
21002 return PARSER.parseFrom(data);
21004 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
21005 com.google.protobuf.ByteString data,
21006 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21007 throws com.google.protobuf.InvalidProtocolBufferException {
21008 return PARSER.parseFrom(data, extensionRegistry);
21010 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(byte[] data)
21011 throws com.google.protobuf.InvalidProtocolBufferException {
21012 return PARSER.parseFrom(data);
21014 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
21016 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21017 throws com.google.protobuf.InvalidProtocolBufferException {
21018 return PARSER.parseFrom(data, extensionRegistry);
21020 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(java.io.InputStream input)
21021 throws java.io.IOException {
21022 return com.google.protobuf.GeneratedMessage
21023 .parseWithIOException(PARSER, input);
21025 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
21026 java.io.InputStream input,
21027 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21028 throws java.io.IOException {
21029 return com.google.protobuf.GeneratedMessage
21030 .parseWithIOException(PARSER, input, extensionRegistry);
21033 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseDelimitedFrom(java.io.InputStream input)
21034 throws java.io.IOException {
21035 return com.google.protobuf.GeneratedMessage
21036 .parseDelimitedWithIOException(PARSER, input);
21039 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseDelimitedFrom(
21040 java.io.InputStream input,
21041 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21042 throws java.io.IOException {
21043 return com.google.protobuf.GeneratedMessage
21044 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
21046 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
21047 com.google.protobuf.CodedInputStream input)
21048 throws java.io.IOException {
21049 return com.google.protobuf.GeneratedMessage
21050 .parseWithIOException(PARSER, input);
21052 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue parseFrom(
21053 com.google.protobuf.CodedInputStream input,
21054 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21055 throws java.io.IOException {
21056 return com.google.protobuf.GeneratedMessage
21057 .parseWithIOException(PARSER, input, extensionRegistry);
21060 @java.lang.Override
21061 public Builder newBuilderForType() { return newBuilder(); }
21062 public static Builder newBuilder() {
21063 return DEFAULT_INSTANCE.toBuilder();
21065 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue prototype) {
21066 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
21068 @java.lang.Override
21069 public Builder toBuilder() {
21070 return this == DEFAULT_INSTANCE
21071 ? new Builder() : new Builder().mergeFrom(this);
21074 @java.lang.Override
21075 protected Builder newBuilderForType(
21076 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
21077 Builder builder = new Builder(parent);
21081 * Protobuf type {@code proto.StateOfChargeProfileValue}
21083 public static final class Builder extends
21084 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
21085 // @@protoc_insertion_point(builder_implements:proto.StateOfChargeProfileValue)
21086 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValueOrBuilder {
21087 public static final com.google.protobuf.Descriptors.Descriptor
21089 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfChargeProfileValue_descriptor;
21092 @java.lang.Override
21093 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
21094 internalGetFieldAccessorTable() {
21095 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfChargeProfileValue_fieldAccessorTable
21096 .ensureFieldAccessorsInitialized(
21097 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.class, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.Builder.class);
21100 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.newBuilder()
21101 private Builder() {
21106 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
21110 @java.lang.Override
21111 public Builder clear() {
21114 if (statesOfChargeBuilder_ == null) {
21115 statesOfCharge_ = java.util.Collections.emptyList();
21117 statesOfCharge_ = null;
21118 statesOfChargeBuilder_.clear();
21120 bitField0_ = (bitField0_ & ~0x00000001);
21124 @java.lang.Override
21125 public com.google.protobuf.Descriptors.Descriptor
21126 getDescriptorForType() {
21127 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfChargeProfileValue_descriptor;
21130 @java.lang.Override
21131 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue getDefaultInstanceForType() {
21132 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance();
21135 @java.lang.Override
21136 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue build() {
21137 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue result = buildPartial();
21138 if (!result.isInitialized()) {
21139 throw newUninitializedMessageException(result);
21144 @java.lang.Override
21145 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue buildPartial() {
21146 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue result = new com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue(this);
21147 buildPartialRepeatedFields(result);
21148 if (bitField0_ != 0) { buildPartial0(result); }
21153 private void buildPartialRepeatedFields(com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue result) {
21154 if (statesOfChargeBuilder_ == null) {
21155 if (((bitField0_ & 0x00000001) != 0)) {
21156 statesOfCharge_ = java.util.Collections.unmodifiableList(statesOfCharge_);
21157 bitField0_ = (bitField0_ & ~0x00000001);
21159 result.statesOfCharge_ = statesOfCharge_;
21161 result.statesOfCharge_ = statesOfChargeBuilder_.build();
21165 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue result) {
21166 int from_bitField0_ = bitField0_;
21169 @java.lang.Override
21170 public Builder mergeFrom(com.google.protobuf.Message other) {
21171 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue) {
21172 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue)other);
21174 super.mergeFrom(other);
21179 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue other) {
21180 if (other == com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue.getDefaultInstance()) return this;
21181 if (statesOfChargeBuilder_ == null) {
21182 if (!other.statesOfCharge_.isEmpty()) {
21183 if (statesOfCharge_.isEmpty()) {
21184 statesOfCharge_ = other.statesOfCharge_;
21185 bitField0_ = (bitField0_ & ~0x00000001);
21187 ensureStatesOfChargeIsMutable();
21188 statesOfCharge_.addAll(other.statesOfCharge_);
21193 if (!other.statesOfCharge_.isEmpty()) {
21194 if (statesOfChargeBuilder_.isEmpty()) {
21195 statesOfChargeBuilder_.dispose();
21196 statesOfChargeBuilder_ = null;
21197 statesOfCharge_ = other.statesOfCharge_;
21198 bitField0_ = (bitField0_ & ~0x00000001);
21199 statesOfChargeBuilder_ =
21200 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
21201 getStatesOfChargeFieldBuilder() : null;
21203 statesOfChargeBuilder_.addAllMessages(other.statesOfCharge_);
21207 this.mergeUnknownFields(other.getUnknownFields());
21212 @java.lang.Override
21213 public final boolean isInitialized() {
21217 @java.lang.Override
21218 public Builder mergeFrom(
21219 com.google.protobuf.CodedInputStream input,
21220 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21221 throws java.io.IOException {
21222 if (extensionRegistry == null) {
21223 throw new java.lang.NullPointerException();
21226 boolean done = false;
21228 int tag = input.readTag();
21234 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge m =
21236 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.parser(),
21237 extensionRegistry);
21238 if (statesOfChargeBuilder_ == null) {
21239 ensureStatesOfChargeIsMutable();
21240 statesOfCharge_.add(m);
21242 statesOfChargeBuilder_.addMessage(m);
21247 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
21248 done = true; // was an endgroup tag
21254 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
21255 throw e.unwrapIOException();
21261 private int bitField0_;
21263 private java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge> statesOfCharge_ =
21264 java.util.Collections.emptyList();
21265 private void ensureStatesOfChargeIsMutable() {
21266 if (!((bitField0_ & 0x00000001) != 0)) {
21267 statesOfCharge_ = new java.util.ArrayList<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge>(statesOfCharge_);
21268 bitField0_ |= 0x00000001;
21272 private com.google.protobuf.RepeatedFieldBuilder<
21273 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder> statesOfChargeBuilder_;
21277 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21278 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21281 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21283 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge> getStatesOfChargeList() {
21284 if (statesOfChargeBuilder_ == null) {
21285 return java.util.Collections.unmodifiableList(statesOfCharge_);
21287 return statesOfChargeBuilder_.getMessageList();
21292 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21293 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21296 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21298 public int getStatesOfChargeCount() {
21299 if (statesOfChargeBuilder_ == null) {
21300 return statesOfCharge_.size();
21302 return statesOfChargeBuilder_.getCount();
21307 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21308 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21311 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21313 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge getStatesOfCharge(int index) {
21314 if (statesOfChargeBuilder_ == null) {
21315 return statesOfCharge_.get(index);
21317 return statesOfChargeBuilder_.getMessage(index);
21322 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21323 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21326 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21328 public Builder setStatesOfCharge(
21329 int index, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge value) {
21330 if (statesOfChargeBuilder_ == null) {
21331 if (value == null) {
21332 throw new NullPointerException();
21334 ensureStatesOfChargeIsMutable();
21335 statesOfCharge_.set(index, value);
21338 statesOfChargeBuilder_.setMessage(index, value);
21344 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21345 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21348 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21350 public Builder setStatesOfCharge(
21351 int index, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder builderForValue) {
21352 if (statesOfChargeBuilder_ == null) {
21353 ensureStatesOfChargeIsMutable();
21354 statesOfCharge_.set(index, builderForValue.build());
21357 statesOfChargeBuilder_.setMessage(index, builderForValue.build());
21363 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21364 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21367 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21369 public Builder addStatesOfCharge(com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge value) {
21370 if (statesOfChargeBuilder_ == null) {
21371 if (value == null) {
21372 throw new NullPointerException();
21374 ensureStatesOfChargeIsMutable();
21375 statesOfCharge_.add(value);
21378 statesOfChargeBuilder_.addMessage(value);
21384 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21385 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21388 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21390 public Builder addStatesOfCharge(
21391 int index, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge value) {
21392 if (statesOfChargeBuilder_ == null) {
21393 if (value == null) {
21394 throw new NullPointerException();
21396 ensureStatesOfChargeIsMutable();
21397 statesOfCharge_.add(index, value);
21400 statesOfChargeBuilder_.addMessage(index, value);
21406 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21407 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21410 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21412 public Builder addStatesOfCharge(
21413 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder builderForValue) {
21414 if (statesOfChargeBuilder_ == null) {
21415 ensureStatesOfChargeIsMutable();
21416 statesOfCharge_.add(builderForValue.build());
21419 statesOfChargeBuilder_.addMessage(builderForValue.build());
21425 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21426 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21429 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21431 public Builder addStatesOfCharge(
21432 int index, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder builderForValue) {
21433 if (statesOfChargeBuilder_ == null) {
21434 ensureStatesOfChargeIsMutable();
21435 statesOfCharge_.add(index, builderForValue.build());
21438 statesOfChargeBuilder_.addMessage(index, builderForValue.build());
21444 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21445 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21448 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21450 public Builder addAllStatesOfCharge(
21451 java.lang.Iterable<? extends com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge> values) {
21452 if (statesOfChargeBuilder_ == null) {
21453 ensureStatesOfChargeIsMutable();
21454 com.google.protobuf.AbstractMessageLite.Builder.addAll(
21455 values, statesOfCharge_);
21458 statesOfChargeBuilder_.addAllMessages(values);
21464 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21465 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21468 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21470 public Builder clearStatesOfCharge() {
21471 if (statesOfChargeBuilder_ == null) {
21472 statesOfCharge_ = java.util.Collections.emptyList();
21473 bitField0_ = (bitField0_ & ~0x00000001);
21476 statesOfChargeBuilder_.clear();
21482 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21483 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21486 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21488 public Builder removeStatesOfCharge(int index) {
21489 if (statesOfChargeBuilder_ == null) {
21490 ensureStatesOfChargeIsMutable();
21491 statesOfCharge_.remove(index);
21494 statesOfChargeBuilder_.remove(index);
21500 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21501 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21504 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21506 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder getStatesOfChargeBuilder(
21508 return getStatesOfChargeFieldBuilder().getBuilder(index);
21512 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21513 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21516 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21518 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder getStatesOfChargeOrBuilder(
21520 if (statesOfChargeBuilder_ == null) {
21521 return statesOfCharge_.get(index); } else {
21522 return statesOfChargeBuilder_.getMessageOrBuilder(index);
21527 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21528 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21531 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21533 public java.util.List<? extends com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder>
21534 getStatesOfChargeOrBuilderList() {
21535 if (statesOfChargeBuilder_ != null) {
21536 return statesOfChargeBuilder_.getMessageOrBuilderList();
21538 return java.util.Collections.unmodifiableList(statesOfCharge_);
21543 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21544 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21547 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21549 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder addStatesOfChargeBuilder() {
21550 return getStatesOfChargeFieldBuilder().addBuilder(
21551 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.getDefaultInstance());
21555 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21556 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21559 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21561 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder addStatesOfChargeBuilder(
21563 return getStatesOfChargeFieldBuilder().addBuilder(
21564 index, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.getDefaultInstance());
21568 * Array with tupels of state of charge and time offset related to the timestamp of the attribute,
21569 * e.g. [{t, soc}, {t, soc}, .., {t, soc}] (every soc with value range 0..100, every timestamp in seconds, UTC)
21572 * <code>repeated .proto.StateOfCharge states_of_charge = 1;</code>
21574 public java.util.List<com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder>
21575 getStatesOfChargeBuilderList() {
21576 return getStatesOfChargeFieldBuilder().getBuilderList();
21578 private com.google.protobuf.RepeatedFieldBuilder<
21579 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder>
21580 getStatesOfChargeFieldBuilder() {
21581 if (statesOfChargeBuilder_ == null) {
21582 statesOfChargeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
21583 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder, com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder>(
21585 ((bitField0_ & 0x00000001) != 0),
21586 getParentForChildren(),
21588 statesOfCharge_ = null;
21590 return statesOfChargeBuilder_;
21593 // @@protoc_insertion_point(builder_scope:proto.StateOfChargeProfileValue)
21596 // @@protoc_insertion_point(class_scope:proto.StateOfChargeProfileValue)
21597 private static final com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue DEFAULT_INSTANCE;
21599 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue();
21602 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue getDefaultInstance() {
21603 return DEFAULT_INSTANCE;
21606 private static final com.google.protobuf.Parser<StateOfChargeProfileValue>
21607 PARSER = new com.google.protobuf.AbstractParser<StateOfChargeProfileValue>() {
21608 @java.lang.Override
21609 public StateOfChargeProfileValue parsePartialFrom(
21610 com.google.protobuf.CodedInputStream input,
21611 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21612 throws com.google.protobuf.InvalidProtocolBufferException {
21613 Builder builder = newBuilder();
21615 builder.mergeFrom(input, extensionRegistry);
21616 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
21617 throw e.setUnfinishedMessage(builder.buildPartial());
21618 } catch (com.google.protobuf.UninitializedMessageException e) {
21619 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
21620 } catch (java.io.IOException e) {
21621 throw new com.google.protobuf.InvalidProtocolBufferException(e)
21622 .setUnfinishedMessage(builder.buildPartial());
21624 return builder.buildPartial();
21628 public static com.google.protobuf.Parser<StateOfChargeProfileValue> parser() {
21632 @java.lang.Override
21633 public com.google.protobuf.Parser<StateOfChargeProfileValue> getParserForType() {
21637 @java.lang.Override
21638 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeProfileValue getDefaultInstanceForType() {
21639 return DEFAULT_INSTANCE;
21644 public interface StateOfChargeOrBuilder extends
21645 // @@protoc_insertion_point(interface_extends:proto.StateOfCharge)
21646 com.google.protobuf.MessageOrBuilder {
21650 * timestamp in seconds, UTC
21653 * <code>int64 timestamp_in_s = 1;</code>
21654 * @return The timestampInS.
21656 long getTimestampInS();
21660 * soc with value range 0..100
21663 * <code>int32 state_of_charge = 2;</code>
21664 * @return The stateOfCharge.
21666 int getStateOfCharge();
21669 * Protobuf type {@code proto.StateOfCharge}
21671 public static final class StateOfCharge extends
21672 com.google.protobuf.GeneratedMessage implements
21673 // @@protoc_insertion_point(message_implements:proto.StateOfCharge)
21674 StateOfChargeOrBuilder {
21675 private static final long serialVersionUID = 0L;
21677 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
21678 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
21683 StateOfCharge.class.getName());
21685 // Use StateOfCharge.newBuilder() to construct.
21686 private StateOfCharge(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
21689 private StateOfCharge() {
21692 public static final com.google.protobuf.Descriptors.Descriptor
21694 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfCharge_descriptor;
21697 @java.lang.Override
21698 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
21699 internalGetFieldAccessorTable() {
21700 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfCharge_fieldAccessorTable
21701 .ensureFieldAccessorsInitialized(
21702 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.class, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder.class);
21705 public static final int TIMESTAMP_IN_S_FIELD_NUMBER = 1;
21706 private long timestampInS_ = 0L;
21709 * timestamp in seconds, UTC
21712 * <code>int64 timestamp_in_s = 1;</code>
21713 * @return The timestampInS.
21715 @java.lang.Override
21716 public long getTimestampInS() {
21717 return timestampInS_;
21720 public static final int STATE_OF_CHARGE_FIELD_NUMBER = 2;
21721 private int stateOfCharge_ = 0;
21724 * soc with value range 0..100
21727 * <code>int32 state_of_charge = 2;</code>
21728 * @return The stateOfCharge.
21730 @java.lang.Override
21731 public int getStateOfCharge() {
21732 return stateOfCharge_;
21735 private byte memoizedIsInitialized = -1;
21736 @java.lang.Override
21737 public final boolean isInitialized() {
21738 byte isInitialized = memoizedIsInitialized;
21739 if (isInitialized == 1) return true;
21740 if (isInitialized == 0) return false;
21742 memoizedIsInitialized = 1;
21746 @java.lang.Override
21747 public void writeTo(com.google.protobuf.CodedOutputStream output)
21748 throws java.io.IOException {
21749 if (timestampInS_ != 0L) {
21750 output.writeInt64(1, timestampInS_);
21752 if (stateOfCharge_ != 0) {
21753 output.writeInt32(2, stateOfCharge_);
21755 getUnknownFields().writeTo(output);
21758 @java.lang.Override
21759 public int getSerializedSize() {
21760 int size = memoizedSize;
21761 if (size != -1) return size;
21764 if (timestampInS_ != 0L) {
21765 size += com.google.protobuf.CodedOutputStream
21766 .computeInt64Size(1, timestampInS_);
21768 if (stateOfCharge_ != 0) {
21769 size += com.google.protobuf.CodedOutputStream
21770 .computeInt32Size(2, stateOfCharge_);
21772 size += getUnknownFields().getSerializedSize();
21773 memoizedSize = size;
21777 @java.lang.Override
21778 public boolean equals(final java.lang.Object obj) {
21782 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge)) {
21783 return super.equals(obj);
21785 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge other = (com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge) obj;
21787 if (getTimestampInS()
21788 != other.getTimestampInS()) return false;
21789 if (getStateOfCharge()
21790 != other.getStateOfCharge()) return false;
21791 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
21795 @java.lang.Override
21796 public int hashCode() {
21797 if (memoizedHashCode != 0) {
21798 return memoizedHashCode;
21801 hash = (19 * hash) + getDescriptor().hashCode();
21802 hash = (37 * hash) + TIMESTAMP_IN_S_FIELD_NUMBER;
21803 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
21804 getTimestampInS());
21805 hash = (37 * hash) + STATE_OF_CHARGE_FIELD_NUMBER;
21806 hash = (53 * hash) + getStateOfCharge();
21807 hash = (29 * hash) + getUnknownFields().hashCode();
21808 memoizedHashCode = hash;
21812 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21813 java.nio.ByteBuffer data)
21814 throws com.google.protobuf.InvalidProtocolBufferException {
21815 return PARSER.parseFrom(data);
21817 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21818 java.nio.ByteBuffer data,
21819 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21820 throws com.google.protobuf.InvalidProtocolBufferException {
21821 return PARSER.parseFrom(data, extensionRegistry);
21823 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21824 com.google.protobuf.ByteString data)
21825 throws com.google.protobuf.InvalidProtocolBufferException {
21826 return PARSER.parseFrom(data);
21828 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21829 com.google.protobuf.ByteString data,
21830 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21831 throws com.google.protobuf.InvalidProtocolBufferException {
21832 return PARSER.parseFrom(data, extensionRegistry);
21834 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(byte[] data)
21835 throws com.google.protobuf.InvalidProtocolBufferException {
21836 return PARSER.parseFrom(data);
21838 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21840 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21841 throws com.google.protobuf.InvalidProtocolBufferException {
21842 return PARSER.parseFrom(data, extensionRegistry);
21844 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(java.io.InputStream input)
21845 throws java.io.IOException {
21846 return com.google.protobuf.GeneratedMessage
21847 .parseWithIOException(PARSER, input);
21849 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21850 java.io.InputStream input,
21851 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21852 throws java.io.IOException {
21853 return com.google.protobuf.GeneratedMessage
21854 .parseWithIOException(PARSER, input, extensionRegistry);
21857 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseDelimitedFrom(java.io.InputStream input)
21858 throws java.io.IOException {
21859 return com.google.protobuf.GeneratedMessage
21860 .parseDelimitedWithIOException(PARSER, input);
21863 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseDelimitedFrom(
21864 java.io.InputStream input,
21865 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21866 throws java.io.IOException {
21867 return com.google.protobuf.GeneratedMessage
21868 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
21870 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21871 com.google.protobuf.CodedInputStream input)
21872 throws java.io.IOException {
21873 return com.google.protobuf.GeneratedMessage
21874 .parseWithIOException(PARSER, input);
21876 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge parseFrom(
21877 com.google.protobuf.CodedInputStream input,
21878 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
21879 throws java.io.IOException {
21880 return com.google.protobuf.GeneratedMessage
21881 .parseWithIOException(PARSER, input, extensionRegistry);
21884 @java.lang.Override
21885 public Builder newBuilderForType() { return newBuilder(); }
21886 public static Builder newBuilder() {
21887 return DEFAULT_INSTANCE.toBuilder();
21889 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge prototype) {
21890 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
21892 @java.lang.Override
21893 public Builder toBuilder() {
21894 return this == DEFAULT_INSTANCE
21895 ? new Builder() : new Builder().mergeFrom(this);
21898 @java.lang.Override
21899 protected Builder newBuilderForType(
21900 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
21901 Builder builder = new Builder(parent);
21905 * Protobuf type {@code proto.StateOfCharge}
21907 public static final class Builder extends
21908 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
21909 // @@protoc_insertion_point(builder_implements:proto.StateOfCharge)
21910 com.daimler.mbcarkit.proto.VehicleEvents.StateOfChargeOrBuilder {
21911 public static final com.google.protobuf.Descriptors.Descriptor
21913 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfCharge_descriptor;
21916 @java.lang.Override
21917 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
21918 internalGetFieldAccessorTable() {
21919 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfCharge_fieldAccessorTable
21920 .ensureFieldAccessorsInitialized(
21921 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.class, com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.Builder.class);
21924 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.newBuilder()
21925 private Builder() {
21930 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
21934 @java.lang.Override
21935 public Builder clear() {
21938 timestampInS_ = 0L;
21939 stateOfCharge_ = 0;
21943 @java.lang.Override
21944 public com.google.protobuf.Descriptors.Descriptor
21945 getDescriptorForType() {
21946 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_StateOfCharge_descriptor;
21949 @java.lang.Override
21950 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge getDefaultInstanceForType() {
21951 return com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.getDefaultInstance();
21954 @java.lang.Override
21955 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge build() {
21956 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge result = buildPartial();
21957 if (!result.isInitialized()) {
21958 throw newUninitializedMessageException(result);
21963 @java.lang.Override
21964 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge buildPartial() {
21965 com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge result = new com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge(this);
21966 if (bitField0_ != 0) { buildPartial0(result); }
21971 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge result) {
21972 int from_bitField0_ = bitField0_;
21973 if (((from_bitField0_ & 0x00000001) != 0)) {
21974 result.timestampInS_ = timestampInS_;
21976 if (((from_bitField0_ & 0x00000002) != 0)) {
21977 result.stateOfCharge_ = stateOfCharge_;
21981 @java.lang.Override
21982 public Builder mergeFrom(com.google.protobuf.Message other) {
21983 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge) {
21984 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge)other);
21986 super.mergeFrom(other);
21991 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge other) {
21992 if (other == com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge.getDefaultInstance()) return this;
21993 if (other.getTimestampInS() != 0L) {
21994 setTimestampInS(other.getTimestampInS());
21996 if (other.getStateOfCharge() != 0) {
21997 setStateOfCharge(other.getStateOfCharge());
21999 this.mergeUnknownFields(other.getUnknownFields());
22004 @java.lang.Override
22005 public final boolean isInitialized() {
22009 @java.lang.Override
22010 public Builder mergeFrom(
22011 com.google.protobuf.CodedInputStream input,
22012 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22013 throws java.io.IOException {
22014 if (extensionRegistry == null) {
22015 throw new java.lang.NullPointerException();
22018 boolean done = false;
22020 int tag = input.readTag();
22026 timestampInS_ = input.readInt64();
22027 bitField0_ |= 0x00000001;
22031 stateOfCharge_ = input.readInt32();
22032 bitField0_ |= 0x00000002;
22036 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
22037 done = true; // was an endgroup tag
22043 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
22044 throw e.unwrapIOException();
22050 private int bitField0_;
22052 private long timestampInS_ ;
22055 * timestamp in seconds, UTC
22058 * <code>int64 timestamp_in_s = 1;</code>
22059 * @return The timestampInS.
22061 @java.lang.Override
22062 public long getTimestampInS() {
22063 return timestampInS_;
22067 * timestamp in seconds, UTC
22070 * <code>int64 timestamp_in_s = 1;</code>
22071 * @param value The timestampInS to set.
22072 * @return This builder for chaining.
22074 public Builder setTimestampInS(long value) {
22076 timestampInS_ = value;
22077 bitField0_ |= 0x00000001;
22083 * timestamp in seconds, UTC
22086 * <code>int64 timestamp_in_s = 1;</code>
22087 * @return This builder for chaining.
22089 public Builder clearTimestampInS() {
22090 bitField0_ = (bitField0_ & ~0x00000001);
22091 timestampInS_ = 0L;
22096 private int stateOfCharge_ ;
22099 * soc with value range 0..100
22102 * <code>int32 state_of_charge = 2;</code>
22103 * @return The stateOfCharge.
22105 @java.lang.Override
22106 public int getStateOfCharge() {
22107 return stateOfCharge_;
22111 * soc with value range 0..100
22114 * <code>int32 state_of_charge = 2;</code>
22115 * @param value The stateOfCharge to set.
22116 * @return This builder for chaining.
22118 public Builder setStateOfCharge(int value) {
22120 stateOfCharge_ = value;
22121 bitField0_ |= 0x00000002;
22127 * soc with value range 0..100
22130 * <code>int32 state_of_charge = 2;</code>
22131 * @return This builder for chaining.
22133 public Builder clearStateOfCharge() {
22134 bitField0_ = (bitField0_ & ~0x00000002);
22135 stateOfCharge_ = 0;
22140 // @@protoc_insertion_point(builder_scope:proto.StateOfCharge)
22143 // @@protoc_insertion_point(class_scope:proto.StateOfCharge)
22144 private static final com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge DEFAULT_INSTANCE;
22146 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge();
22149 public static com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge getDefaultInstance() {
22150 return DEFAULT_INSTANCE;
22153 private static final com.google.protobuf.Parser<StateOfCharge>
22154 PARSER = new com.google.protobuf.AbstractParser<StateOfCharge>() {
22155 @java.lang.Override
22156 public StateOfCharge parsePartialFrom(
22157 com.google.protobuf.CodedInputStream input,
22158 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22159 throws com.google.protobuf.InvalidProtocolBufferException {
22160 Builder builder = newBuilder();
22162 builder.mergeFrom(input, extensionRegistry);
22163 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
22164 throw e.setUnfinishedMessage(builder.buildPartial());
22165 } catch (com.google.protobuf.UninitializedMessageException e) {
22166 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
22167 } catch (java.io.IOException e) {
22168 throw new com.google.protobuf.InvalidProtocolBufferException(e)
22169 .setUnfinishedMessage(builder.buildPartial());
22171 return builder.buildPartial();
22175 public static com.google.protobuf.Parser<StateOfCharge> parser() {
22179 @java.lang.Override
22180 public com.google.protobuf.Parser<StateOfCharge> getParserForType() {
22184 @java.lang.Override
22185 public com.daimler.mbcarkit.proto.VehicleEvents.StateOfCharge getDefaultInstanceForType() {
22186 return DEFAULT_INSTANCE;
22191 public interface VEPUpdatesByVINOrBuilder extends
22192 // @@protoc_insertion_point(interface_extends:proto.VEPUpdatesByVIN)
22193 com.google.protobuf.MessageOrBuilder {
22196 * <code>int32 sequence_number = 2;</code>
22197 * @return The sequenceNumber.
22199 int getSequenceNumber();
22206 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22208 int getUpdatesCount();
22214 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22216 boolean containsUpdates(
22217 java.lang.String key);
22219 * Use {@link #getUpdatesMap()} instead.
22221 @java.lang.Deprecated
22222 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>
22229 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22231 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>
22238 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22241 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getUpdatesOrDefault(
22242 java.lang.String key,
22244 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate defaultValue);
22250 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22252 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getUpdatesOrThrow(
22253 java.lang.String key);
22257 * Sending direction: App <- BFF <- AppTwin
22260 * Protobuf type {@code proto.VEPUpdatesByVIN}
22262 public static final class VEPUpdatesByVIN extends
22263 com.google.protobuf.GeneratedMessage implements
22264 // @@protoc_insertion_point(message_implements:proto.VEPUpdatesByVIN)
22265 VEPUpdatesByVINOrBuilder {
22266 private static final long serialVersionUID = 0L;
22268 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
22269 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
22274 VEPUpdatesByVIN.class.getName());
22276 // Use VEPUpdatesByVIN.newBuilder() to construct.
22277 private VEPUpdatesByVIN(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
22280 private VEPUpdatesByVIN() {
22283 public static final com.google.protobuf.Descriptors.Descriptor
22285 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdatesByVIN_descriptor;
22288 @SuppressWarnings({"rawtypes"})
22289 @java.lang.Override
22290 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
22294 return internalGetUpdates();
22296 throw new RuntimeException(
22297 "Invalid map field number: " + number);
22300 @java.lang.Override
22301 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
22302 internalGetFieldAccessorTable() {
22303 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdatesByVIN_fieldAccessorTable
22304 .ensureFieldAccessorsInitialized(
22305 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.class, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder.class);
22308 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 2;
22309 private int sequenceNumber_ = 0;
22311 * <code>int32 sequence_number = 2;</code>
22312 * @return The sequenceNumber.
22314 @java.lang.Override
22315 public int getSequenceNumber() {
22316 return sequenceNumber_;
22319 public static final int UPDATES_FIELD_NUMBER = 1;
22320 private static final class UpdatesDefaultEntryHolder {
22321 static final com.google.protobuf.MapEntry<
22322 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> defaultEntry =
22323 com.google.protobuf.MapEntry
22324 .<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>newDefaultInstance(
22325 com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdatesByVIN_UpdatesEntry_descriptor,
22326 com.google.protobuf.WireFormat.FieldType.STRING,
22328 com.google.protobuf.WireFormat.FieldType.MESSAGE,
22329 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance());
22331 @SuppressWarnings("serial")
22332 private com.google.protobuf.MapField<
22333 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> updates_;
22334 private com.google.protobuf.MapField<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>
22335 internalGetUpdates() {
22336 if (updates_ == null) {
22337 return com.google.protobuf.MapField.emptyMapField(
22338 UpdatesDefaultEntryHolder.defaultEntry);
22342 public int getUpdatesCount() {
22343 return internalGetUpdates().getMap().size();
22350 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22352 @java.lang.Override
22353 public boolean containsUpdates(
22354 java.lang.String key) {
22355 if (key == null) { throw new NullPointerException("map key"); }
22356 return internalGetUpdates().getMap().containsKey(key);
22359 * Use {@link #getUpdatesMap()} instead.
22361 @java.lang.Override
22362 @java.lang.Deprecated
22363 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> getUpdates() {
22364 return getUpdatesMap();
22371 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22373 @java.lang.Override
22374 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> getUpdatesMap() {
22375 return internalGetUpdates().getMap();
22382 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22384 @java.lang.Override
22385 public /* nullable */
22386 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getUpdatesOrDefault(
22387 java.lang.String key,
22389 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate defaultValue) {
22390 if (key == null) { throw new NullPointerException("map key"); }
22391 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> map =
22392 internalGetUpdates().getMap();
22393 return map.containsKey(key) ? map.get(key) : defaultValue;
22400 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22402 @java.lang.Override
22403 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getUpdatesOrThrow(
22404 java.lang.String key) {
22405 if (key == null) { throw new NullPointerException("map key"); }
22406 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> map =
22407 internalGetUpdates().getMap();
22408 if (!map.containsKey(key)) {
22409 throw new java.lang.IllegalArgumentException();
22411 return map.get(key);
22414 private byte memoizedIsInitialized = -1;
22415 @java.lang.Override
22416 public final boolean isInitialized() {
22417 byte isInitialized = memoizedIsInitialized;
22418 if (isInitialized == 1) return true;
22419 if (isInitialized == 0) return false;
22421 memoizedIsInitialized = 1;
22425 @java.lang.Override
22426 public void writeTo(com.google.protobuf.CodedOutputStream output)
22427 throws java.io.IOException {
22428 com.google.protobuf.GeneratedMessage
22429 .serializeStringMapTo(
22431 internalGetUpdates(),
22432 UpdatesDefaultEntryHolder.defaultEntry,
22434 if (sequenceNumber_ != 0) {
22435 output.writeInt32(2, sequenceNumber_);
22437 getUnknownFields().writeTo(output);
22440 @java.lang.Override
22441 public int getSerializedSize() {
22442 int size = memoizedSize;
22443 if (size != -1) return size;
22446 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> entry
22447 : internalGetUpdates().getMap().entrySet()) {
22448 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>
22449 updates__ = UpdatesDefaultEntryHolder.defaultEntry.newBuilderForType()
22450 .setKey(entry.getKey())
22451 .setValue(entry.getValue())
22453 size += com.google.protobuf.CodedOutputStream
22454 .computeMessageSize(1, updates__);
22456 if (sequenceNumber_ != 0) {
22457 size += com.google.protobuf.CodedOutputStream
22458 .computeInt32Size(2, sequenceNumber_);
22460 size += getUnknownFields().getSerializedSize();
22461 memoizedSize = size;
22465 @java.lang.Override
22466 public boolean equals(final java.lang.Object obj) {
22470 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN)) {
22471 return super.equals(obj);
22473 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN other = (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) obj;
22475 if (getSequenceNumber()
22476 != other.getSequenceNumber()) return false;
22477 if (!internalGetUpdates().equals(
22478 other.internalGetUpdates())) return false;
22479 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
22483 @java.lang.Override
22484 public int hashCode() {
22485 if (memoizedHashCode != 0) {
22486 return memoizedHashCode;
22489 hash = (19 * hash) + getDescriptor().hashCode();
22490 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
22491 hash = (53 * hash) + getSequenceNumber();
22492 if (!internalGetUpdates().getMap().isEmpty()) {
22493 hash = (37 * hash) + UPDATES_FIELD_NUMBER;
22494 hash = (53 * hash) + internalGetUpdates().hashCode();
22496 hash = (29 * hash) + getUnknownFields().hashCode();
22497 memoizedHashCode = hash;
22501 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22502 java.nio.ByteBuffer data)
22503 throws com.google.protobuf.InvalidProtocolBufferException {
22504 return PARSER.parseFrom(data);
22506 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22507 java.nio.ByteBuffer data,
22508 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22509 throws com.google.protobuf.InvalidProtocolBufferException {
22510 return PARSER.parseFrom(data, extensionRegistry);
22512 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22513 com.google.protobuf.ByteString data)
22514 throws com.google.protobuf.InvalidProtocolBufferException {
22515 return PARSER.parseFrom(data);
22517 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22518 com.google.protobuf.ByteString data,
22519 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22520 throws com.google.protobuf.InvalidProtocolBufferException {
22521 return PARSER.parseFrom(data, extensionRegistry);
22523 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(byte[] data)
22524 throws com.google.protobuf.InvalidProtocolBufferException {
22525 return PARSER.parseFrom(data);
22527 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22529 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22530 throws com.google.protobuf.InvalidProtocolBufferException {
22531 return PARSER.parseFrom(data, extensionRegistry);
22533 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(java.io.InputStream input)
22534 throws java.io.IOException {
22535 return com.google.protobuf.GeneratedMessage
22536 .parseWithIOException(PARSER, input);
22538 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22539 java.io.InputStream input,
22540 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22541 throws java.io.IOException {
22542 return com.google.protobuf.GeneratedMessage
22543 .parseWithIOException(PARSER, input, extensionRegistry);
22546 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseDelimitedFrom(java.io.InputStream input)
22547 throws java.io.IOException {
22548 return com.google.protobuf.GeneratedMessage
22549 .parseDelimitedWithIOException(PARSER, input);
22552 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseDelimitedFrom(
22553 java.io.InputStream input,
22554 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22555 throws java.io.IOException {
22556 return com.google.protobuf.GeneratedMessage
22557 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
22559 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22560 com.google.protobuf.CodedInputStream input)
22561 throws java.io.IOException {
22562 return com.google.protobuf.GeneratedMessage
22563 .parseWithIOException(PARSER, input);
22565 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN parseFrom(
22566 com.google.protobuf.CodedInputStream input,
22567 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22568 throws java.io.IOException {
22569 return com.google.protobuf.GeneratedMessage
22570 .parseWithIOException(PARSER, input, extensionRegistry);
22573 @java.lang.Override
22574 public Builder newBuilderForType() { return newBuilder(); }
22575 public static Builder newBuilder() {
22576 return DEFAULT_INSTANCE.toBuilder();
22578 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN prototype) {
22579 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
22581 @java.lang.Override
22582 public Builder toBuilder() {
22583 return this == DEFAULT_INSTANCE
22584 ? new Builder() : new Builder().mergeFrom(this);
22587 @java.lang.Override
22588 protected Builder newBuilderForType(
22589 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
22590 Builder builder = new Builder(parent);
22595 * Sending direction: App <- BFF <- AppTwin
22598 * Protobuf type {@code proto.VEPUpdatesByVIN}
22600 public static final class Builder extends
22601 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
22602 // @@protoc_insertion_point(builder_implements:proto.VEPUpdatesByVIN)
22603 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder {
22604 public static final com.google.protobuf.Descriptors.Descriptor
22606 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdatesByVIN_descriptor;
22609 @SuppressWarnings({"rawtypes"})
22610 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
22614 return internalGetUpdates();
22616 throw new RuntimeException(
22617 "Invalid map field number: " + number);
22620 @SuppressWarnings({"rawtypes"})
22621 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
22625 return internalGetMutableUpdates();
22627 throw new RuntimeException(
22628 "Invalid map field number: " + number);
22631 @java.lang.Override
22632 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
22633 internalGetFieldAccessorTable() {
22634 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdatesByVIN_fieldAccessorTable
22635 .ensureFieldAccessorsInitialized(
22636 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.class, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder.class);
22639 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.newBuilder()
22640 private Builder() {
22645 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
22649 @java.lang.Override
22650 public Builder clear() {
22653 sequenceNumber_ = 0;
22654 internalGetMutableUpdates().clear();
22658 @java.lang.Override
22659 public com.google.protobuf.Descriptors.Descriptor
22660 getDescriptorForType() {
22661 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VEPUpdatesByVIN_descriptor;
22664 @java.lang.Override
22665 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN getDefaultInstanceForType() {
22666 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
22669 @java.lang.Override
22670 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN build() {
22671 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN result = buildPartial();
22672 if (!result.isInitialized()) {
22673 throw newUninitializedMessageException(result);
22678 @java.lang.Override
22679 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN buildPartial() {
22680 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN result = new com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN(this);
22681 if (bitField0_ != 0) { buildPartial0(result); }
22686 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN result) {
22687 int from_bitField0_ = bitField0_;
22688 if (((from_bitField0_ & 0x00000001) != 0)) {
22689 result.sequenceNumber_ = sequenceNumber_;
22691 if (((from_bitField0_ & 0x00000002) != 0)) {
22692 result.updates_ = internalGetUpdates().build(UpdatesDefaultEntryHolder.defaultEntry);
22696 @java.lang.Override
22697 public Builder mergeFrom(com.google.protobuf.Message other) {
22698 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) {
22699 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN)other);
22701 super.mergeFrom(other);
22706 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN other) {
22707 if (other == com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance()) return this;
22708 if (other.getSequenceNumber() != 0) {
22709 setSequenceNumber(other.getSequenceNumber());
22711 internalGetMutableUpdates().mergeFrom(
22712 other.internalGetUpdates());
22713 bitField0_ |= 0x00000002;
22714 this.mergeUnknownFields(other.getUnknownFields());
22719 @java.lang.Override
22720 public final boolean isInitialized() {
22724 @java.lang.Override
22725 public Builder mergeFrom(
22726 com.google.protobuf.CodedInputStream input,
22727 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
22728 throws java.io.IOException {
22729 if (extensionRegistry == null) {
22730 throw new java.lang.NullPointerException();
22733 boolean done = false;
22735 int tag = input.readTag();
22741 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>
22742 updates__ = input.readMessage(
22743 UpdatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
22744 internalGetMutableUpdates().ensureBuilderMap().put(
22745 updates__.getKey(), updates__.getValue());
22746 bitField0_ |= 0x00000002;
22750 sequenceNumber_ = input.readInt32();
22751 bitField0_ |= 0x00000001;
22755 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
22756 done = true; // was an endgroup tag
22762 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
22763 throw e.unwrapIOException();
22769 private int bitField0_;
22771 private int sequenceNumber_ ;
22773 * <code>int32 sequence_number = 2;</code>
22774 * @return The sequenceNumber.
22776 @java.lang.Override
22777 public int getSequenceNumber() {
22778 return sequenceNumber_;
22781 * <code>int32 sequence_number = 2;</code>
22782 * @param value The sequenceNumber to set.
22783 * @return This builder for chaining.
22785 public Builder setSequenceNumber(int value) {
22787 sequenceNumber_ = value;
22788 bitField0_ |= 0x00000001;
22793 * <code>int32 sequence_number = 2;</code>
22794 * @return This builder for chaining.
22796 public Builder clearSequenceNumber() {
22797 bitField0_ = (bitField0_ & ~0x00000001);
22798 sequenceNumber_ = 0;
22803 private static final class UpdatesConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> {
22804 @java.lang.Override
22805 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate build(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder val) {
22806 if (val instanceof com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) { return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) val; }
22807 return ((com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder) val).build();
22810 @java.lang.Override
22811 public com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> defaultEntry() {
22812 return UpdatesDefaultEntryHolder.defaultEntry;
22815 private static final UpdatesConverter updatesConverter = new UpdatesConverter();
22817 private com.google.protobuf.MapFieldBuilder<
22818 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder> updates_;
22819 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder>
22820 internalGetUpdates() {
22821 if (updates_ == null) {
22822 return new com.google.protobuf.MapFieldBuilder<>(updatesConverter);
22826 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder>
22827 internalGetMutableUpdates() {
22828 if (updates_ == null) {
22829 updates_ = new com.google.protobuf.MapFieldBuilder<>(updatesConverter);
22831 bitField0_ |= 0x00000002;
22835 public int getUpdatesCount() {
22836 return internalGetUpdates().ensureBuilderMap().size();
22843 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22845 @java.lang.Override
22846 public boolean containsUpdates(
22847 java.lang.String key) {
22848 if (key == null) { throw new NullPointerException("map key"); }
22849 return internalGetUpdates().ensureBuilderMap().containsKey(key);
22852 * Use {@link #getUpdatesMap()} instead.
22854 @java.lang.Override
22855 @java.lang.Deprecated
22856 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> getUpdates() {
22857 return getUpdatesMap();
22864 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22866 @java.lang.Override
22867 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> getUpdatesMap() {
22868 return internalGetUpdates().getImmutableMap();
22875 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22877 @java.lang.Override
22878 public /* nullable */
22879 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getUpdatesOrDefault(
22880 java.lang.String key,
22882 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate defaultValue) {
22883 if (key == null) { throw new NullPointerException("map key"); }
22884 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder> map = internalGetMutableUpdates().ensureBuilderMap();
22885 return map.containsKey(key) ? updatesConverter.build(map.get(key)) : defaultValue;
22892 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22894 @java.lang.Override
22895 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getUpdatesOrThrow(
22896 java.lang.String key) {
22897 if (key == null) { throw new NullPointerException("map key"); }
22898 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder> map = internalGetMutableUpdates().ensureBuilderMap();
22899 if (!map.containsKey(key)) {
22900 throw new java.lang.IllegalArgumentException();
22902 return updatesConverter.build(map.get(key));
22904 public Builder clearUpdates() {
22905 bitField0_ = (bitField0_ & ~0x00000002);
22906 internalGetMutableUpdates().clear();
22914 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22916 public Builder removeUpdates(
22917 java.lang.String key) {
22918 if (key == null) { throw new NullPointerException("map key"); }
22919 internalGetMutableUpdates().ensureBuilderMap()
22924 * Use alternate mutation accessors instead.
22926 @java.lang.Deprecated
22927 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate>
22928 getMutableUpdates() {
22929 bitField0_ |= 0x00000002;
22930 return internalGetMutableUpdates().ensureMessageMap();
22937 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22939 public Builder putUpdates(
22940 java.lang.String key,
22941 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate value) {
22942 if (key == null) { throw new NullPointerException("map key"); }
22943 if (value == null) { throw new NullPointerException("map value"); }
22944 internalGetMutableUpdates().ensureBuilderMap()
22946 bitField0_ |= 0x00000002;
22954 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22956 public Builder putAllUpdates(
22957 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> values) {
22958 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate> e : values.entrySet()) {
22959 if (e.getKey() == null || e.getValue() == null) {
22960 throw new NullPointerException();
22963 internalGetMutableUpdates().ensureBuilderMap()
22965 bitField0_ |= 0x00000002;
22973 * <code>map<string, .proto.VEPUpdate> updates = 1;</code>
22975 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder putUpdatesBuilderIfAbsent(
22976 java.lang.String key) {
22977 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder> builderMap = internalGetMutableUpdates().ensureBuilderMap();
22978 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder entry = builderMap.get(key);
22979 if (entry == null) {
22980 entry = com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.newBuilder();
22981 builderMap.put(key, entry);
22983 if (entry instanceof com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) {
22984 entry = ((com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) entry).toBuilder();
22985 builderMap.put(key, entry);
22987 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder) entry;
22990 // @@protoc_insertion_point(builder_scope:proto.VEPUpdatesByVIN)
22993 // @@protoc_insertion_point(class_scope:proto.VEPUpdatesByVIN)
22994 private static final com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN DEFAULT_INSTANCE;
22996 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN();
22999 public static com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN getDefaultInstance() {
23000 return DEFAULT_INSTANCE;
23003 private static final com.google.protobuf.Parser<VEPUpdatesByVIN>
23004 PARSER = new com.google.protobuf.AbstractParser<VEPUpdatesByVIN>() {
23005 @java.lang.Override
23006 public VEPUpdatesByVIN parsePartialFrom(
23007 com.google.protobuf.CodedInputStream input,
23008 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23009 throws com.google.protobuf.InvalidProtocolBufferException {
23010 Builder builder = newBuilder();
23012 builder.mergeFrom(input, extensionRegistry);
23013 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
23014 throw e.setUnfinishedMessage(builder.buildPartial());
23015 } catch (com.google.protobuf.UninitializedMessageException e) {
23016 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
23017 } catch (java.io.IOException e) {
23018 throw new com.google.protobuf.InvalidProtocolBufferException(e)
23019 .setUnfinishedMessage(builder.buildPartial());
23021 return builder.buildPartial();
23025 public static com.google.protobuf.Parser<VEPUpdatesByVIN> parser() {
23029 @java.lang.Override
23030 public com.google.protobuf.Parser<VEPUpdatesByVIN> getParserForType() {
23034 @java.lang.Override
23035 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN getDefaultInstanceForType() {
23036 return DEFAULT_INSTANCE;
23041 public interface DebugMessageOrBuilder extends
23042 // @@protoc_insertion_point(interface_extends:proto.DebugMessage)
23043 com.google.protobuf.MessageOrBuilder {
23046 * <code>string message = 1;</code>
23047 * @return The message.
23049 java.lang.String getMessage();
23051 * <code>string message = 1;</code>
23052 * @return The bytes for message.
23054 com.google.protobuf.ByteString
23059 * Sending direction: App <- BFF
23062 * Protobuf type {@code proto.DebugMessage}
23064 public static final class DebugMessage extends
23065 com.google.protobuf.GeneratedMessage implements
23066 // @@protoc_insertion_point(message_implements:proto.DebugMessage)
23067 DebugMessageOrBuilder {
23068 private static final long serialVersionUID = 0L;
23070 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23071 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
23076 DebugMessage.class.getName());
23078 // Use DebugMessage.newBuilder() to construct.
23079 private DebugMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
23082 private DebugMessage() {
23086 public static final com.google.protobuf.Descriptors.Descriptor
23088 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_DebugMessage_descriptor;
23091 @java.lang.Override
23092 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
23093 internalGetFieldAccessorTable() {
23094 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_DebugMessage_fieldAccessorTable
23095 .ensureFieldAccessorsInitialized(
23096 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.class, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder.class);
23099 public static final int MESSAGE_FIELD_NUMBER = 1;
23100 @SuppressWarnings("serial")
23101 private volatile java.lang.Object message_ = "";
23103 * <code>string message = 1;</code>
23104 * @return The message.
23106 @java.lang.Override
23107 public java.lang.String getMessage() {
23108 java.lang.Object ref = message_;
23109 if (ref instanceof java.lang.String) {
23110 return (java.lang.String) ref;
23112 com.google.protobuf.ByteString bs =
23113 (com.google.protobuf.ByteString) ref;
23114 java.lang.String s = bs.toStringUtf8();
23120 * <code>string message = 1;</code>
23121 * @return The bytes for message.
23123 @java.lang.Override
23124 public com.google.protobuf.ByteString
23125 getMessageBytes() {
23126 java.lang.Object ref = message_;
23127 if (ref instanceof java.lang.String) {
23128 com.google.protobuf.ByteString b =
23129 com.google.protobuf.ByteString.copyFromUtf8(
23130 (java.lang.String) ref);
23134 return (com.google.protobuf.ByteString) ref;
23138 private byte memoizedIsInitialized = -1;
23139 @java.lang.Override
23140 public final boolean isInitialized() {
23141 byte isInitialized = memoizedIsInitialized;
23142 if (isInitialized == 1) return true;
23143 if (isInitialized == 0) return false;
23145 memoizedIsInitialized = 1;
23149 @java.lang.Override
23150 public void writeTo(com.google.protobuf.CodedOutputStream output)
23151 throws java.io.IOException {
23152 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) {
23153 com.google.protobuf.GeneratedMessage.writeString(output, 1, message_);
23155 getUnknownFields().writeTo(output);
23158 @java.lang.Override
23159 public int getSerializedSize() {
23160 int size = memoizedSize;
23161 if (size != -1) return size;
23164 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) {
23165 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, message_);
23167 size += getUnknownFields().getSerializedSize();
23168 memoizedSize = size;
23172 @java.lang.Override
23173 public boolean equals(final java.lang.Object obj) {
23177 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage)) {
23178 return super.equals(obj);
23180 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage other = (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) obj;
23183 .equals(other.getMessage())) return false;
23184 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
23188 @java.lang.Override
23189 public int hashCode() {
23190 if (memoizedHashCode != 0) {
23191 return memoizedHashCode;
23194 hash = (19 * hash) + getDescriptor().hashCode();
23195 hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
23196 hash = (53 * hash) + getMessage().hashCode();
23197 hash = (29 * hash) + getUnknownFields().hashCode();
23198 memoizedHashCode = hash;
23202 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23203 java.nio.ByteBuffer data)
23204 throws com.google.protobuf.InvalidProtocolBufferException {
23205 return PARSER.parseFrom(data);
23207 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23208 java.nio.ByteBuffer data,
23209 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23210 throws com.google.protobuf.InvalidProtocolBufferException {
23211 return PARSER.parseFrom(data, extensionRegistry);
23213 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23214 com.google.protobuf.ByteString data)
23215 throws com.google.protobuf.InvalidProtocolBufferException {
23216 return PARSER.parseFrom(data);
23218 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23219 com.google.protobuf.ByteString data,
23220 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23221 throws com.google.protobuf.InvalidProtocolBufferException {
23222 return PARSER.parseFrom(data, extensionRegistry);
23224 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(byte[] data)
23225 throws com.google.protobuf.InvalidProtocolBufferException {
23226 return PARSER.parseFrom(data);
23228 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23230 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23231 throws com.google.protobuf.InvalidProtocolBufferException {
23232 return PARSER.parseFrom(data, extensionRegistry);
23234 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(java.io.InputStream input)
23235 throws java.io.IOException {
23236 return com.google.protobuf.GeneratedMessage
23237 .parseWithIOException(PARSER, input);
23239 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23240 java.io.InputStream input,
23241 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23242 throws java.io.IOException {
23243 return com.google.protobuf.GeneratedMessage
23244 .parseWithIOException(PARSER, input, extensionRegistry);
23247 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseDelimitedFrom(java.io.InputStream input)
23248 throws java.io.IOException {
23249 return com.google.protobuf.GeneratedMessage
23250 .parseDelimitedWithIOException(PARSER, input);
23253 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseDelimitedFrom(
23254 java.io.InputStream input,
23255 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23256 throws java.io.IOException {
23257 return com.google.protobuf.GeneratedMessage
23258 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
23260 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23261 com.google.protobuf.CodedInputStream input)
23262 throws java.io.IOException {
23263 return com.google.protobuf.GeneratedMessage
23264 .parseWithIOException(PARSER, input);
23266 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage parseFrom(
23267 com.google.protobuf.CodedInputStream input,
23268 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23269 throws java.io.IOException {
23270 return com.google.protobuf.GeneratedMessage
23271 .parseWithIOException(PARSER, input, extensionRegistry);
23274 @java.lang.Override
23275 public Builder newBuilderForType() { return newBuilder(); }
23276 public static Builder newBuilder() {
23277 return DEFAULT_INSTANCE.toBuilder();
23279 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage prototype) {
23280 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
23282 @java.lang.Override
23283 public Builder toBuilder() {
23284 return this == DEFAULT_INSTANCE
23285 ? new Builder() : new Builder().mergeFrom(this);
23288 @java.lang.Override
23289 protected Builder newBuilderForType(
23290 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
23291 Builder builder = new Builder(parent);
23296 * Sending direction: App <- BFF
23299 * Protobuf type {@code proto.DebugMessage}
23301 public static final class Builder extends
23302 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
23303 // @@protoc_insertion_point(builder_implements:proto.DebugMessage)
23304 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder {
23305 public static final com.google.protobuf.Descriptors.Descriptor
23307 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_DebugMessage_descriptor;
23310 @java.lang.Override
23311 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
23312 internalGetFieldAccessorTable() {
23313 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_DebugMessage_fieldAccessorTable
23314 .ensureFieldAccessorsInitialized(
23315 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.class, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder.class);
23318 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.newBuilder()
23319 private Builder() {
23324 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
23328 @java.lang.Override
23329 public Builder clear() {
23336 @java.lang.Override
23337 public com.google.protobuf.Descriptors.Descriptor
23338 getDescriptorForType() {
23339 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_DebugMessage_descriptor;
23342 @java.lang.Override
23343 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage getDefaultInstanceForType() {
23344 return com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
23347 @java.lang.Override
23348 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage build() {
23349 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage result = buildPartial();
23350 if (!result.isInitialized()) {
23351 throw newUninitializedMessageException(result);
23356 @java.lang.Override
23357 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage buildPartial() {
23358 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage result = new com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage(this);
23359 if (bitField0_ != 0) { buildPartial0(result); }
23364 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage result) {
23365 int from_bitField0_ = bitField0_;
23366 if (((from_bitField0_ & 0x00000001) != 0)) {
23367 result.message_ = message_;
23371 @java.lang.Override
23372 public Builder mergeFrom(com.google.protobuf.Message other) {
23373 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) {
23374 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage)other);
23376 super.mergeFrom(other);
23381 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage other) {
23382 if (other == com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance()) return this;
23383 if (!other.getMessage().isEmpty()) {
23384 message_ = other.message_;
23385 bitField0_ |= 0x00000001;
23388 this.mergeUnknownFields(other.getUnknownFields());
23393 @java.lang.Override
23394 public final boolean isInitialized() {
23398 @java.lang.Override
23399 public Builder mergeFrom(
23400 com.google.protobuf.CodedInputStream input,
23401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23402 throws java.io.IOException {
23403 if (extensionRegistry == null) {
23404 throw new java.lang.NullPointerException();
23407 boolean done = false;
23409 int tag = input.readTag();
23415 message_ = input.readStringRequireUtf8();
23416 bitField0_ |= 0x00000001;
23420 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
23421 done = true; // was an endgroup tag
23427 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
23428 throw e.unwrapIOException();
23434 private int bitField0_;
23436 private java.lang.Object message_ = "";
23438 * <code>string message = 1;</code>
23439 * @return The message.
23441 public java.lang.String getMessage() {
23442 java.lang.Object ref = message_;
23443 if (!(ref instanceof java.lang.String)) {
23444 com.google.protobuf.ByteString bs =
23445 (com.google.protobuf.ByteString) ref;
23446 java.lang.String s = bs.toStringUtf8();
23450 return (java.lang.String) ref;
23454 * <code>string message = 1;</code>
23455 * @return The bytes for message.
23457 public com.google.protobuf.ByteString
23458 getMessageBytes() {
23459 java.lang.Object ref = message_;
23460 if (ref instanceof String) {
23461 com.google.protobuf.ByteString b =
23462 com.google.protobuf.ByteString.copyFromUtf8(
23463 (java.lang.String) ref);
23467 return (com.google.protobuf.ByteString) ref;
23471 * <code>string message = 1;</code>
23472 * @param value The message to set.
23473 * @return This builder for chaining.
23475 public Builder setMessage(
23476 java.lang.String value) {
23477 if (value == null) { throw new NullPointerException(); }
23479 bitField0_ |= 0x00000001;
23484 * <code>string message = 1;</code>
23485 * @return This builder for chaining.
23487 public Builder clearMessage() {
23488 message_ = getDefaultInstance().getMessage();
23489 bitField0_ = (bitField0_ & ~0x00000001);
23494 * <code>string message = 1;</code>
23495 * @param value The bytes for message to set.
23496 * @return This builder for chaining.
23498 public Builder setMessageBytes(
23499 com.google.protobuf.ByteString value) {
23500 if (value == null) { throw new NullPointerException(); }
23501 checkByteStringIsUtf8(value);
23503 bitField0_ |= 0x00000001;
23508 // @@protoc_insertion_point(builder_scope:proto.DebugMessage)
23511 // @@protoc_insertion_point(class_scope:proto.DebugMessage)
23512 private static final com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage DEFAULT_INSTANCE;
23514 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage();
23517 public static com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage getDefaultInstance() {
23518 return DEFAULT_INSTANCE;
23521 private static final com.google.protobuf.Parser<DebugMessage>
23522 PARSER = new com.google.protobuf.AbstractParser<DebugMessage>() {
23523 @java.lang.Override
23524 public DebugMessage parsePartialFrom(
23525 com.google.protobuf.CodedInputStream input,
23526 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23527 throws com.google.protobuf.InvalidProtocolBufferException {
23528 Builder builder = newBuilder();
23530 builder.mergeFrom(input, extensionRegistry);
23531 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
23532 throw e.setUnfinishedMessage(builder.buildPartial());
23533 } catch (com.google.protobuf.UninitializedMessageException e) {
23534 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
23535 } catch (java.io.IOException e) {
23536 throw new com.google.protobuf.InvalidProtocolBufferException(e)
23537 .setUnfinishedMessage(builder.buildPartial());
23539 return builder.buildPartial();
23543 public static com.google.protobuf.Parser<DebugMessage> parser() {
23547 @java.lang.Override
23548 public com.google.protobuf.Parser<DebugMessage> getParserForType() {
23552 @java.lang.Override
23553 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage getDefaultInstanceForType() {
23554 return DEFAULT_INSTANCE;
23559 public interface VehicleStatusOrBuilder extends
23560 // @@protoc_insertion_point(interface_extends:proto.VehicleStatus)
23561 com.google.protobuf.MessageOrBuilder {
23564 * <code>string vin = 1;</code>
23567 java.lang.String getVin();
23569 * <code>string vin = 1;</code>
23570 * @return The bytes for vin.
23572 com.google.protobuf.ByteString
23576 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23578 int getAttributesCount();
23580 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23582 boolean containsAttributes(
23583 java.lang.String key);
23585 * Use {@link #getAttributesMap()} instead.
23587 @java.lang.Deprecated
23588 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
23591 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23593 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
23594 getAttributesMap();
23596 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23599 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrDefault(
23600 java.lang.String key,
23602 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus defaultValue);
23604 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23606 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrThrow(
23607 java.lang.String key);
23611 * Represents a status response from the
23612 * VVA backend for a given VIN and CIAM ID.
23615 * Protobuf type {@code proto.VehicleStatus}
23617 public static final class VehicleStatus extends
23618 com.google.protobuf.GeneratedMessage implements
23619 // @@protoc_insertion_point(message_implements:proto.VehicleStatus)
23620 VehicleStatusOrBuilder {
23621 private static final long serialVersionUID = 0L;
23623 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23624 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
23629 VehicleStatus.class.getName());
23631 // Use VehicleStatus.newBuilder() to construct.
23632 private VehicleStatus(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
23635 private VehicleStatus() {
23639 public static final com.google.protobuf.Descriptors.Descriptor
23641 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleStatus_descriptor;
23644 @SuppressWarnings({"rawtypes"})
23645 @java.lang.Override
23646 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
23650 return internalGetAttributes();
23652 throw new RuntimeException(
23653 "Invalid map field number: " + number);
23656 @java.lang.Override
23657 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
23658 internalGetFieldAccessorTable() {
23659 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleStatus_fieldAccessorTable
23660 .ensureFieldAccessorsInitialized(
23661 com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.class, com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.Builder.class);
23664 public static final int VIN_FIELD_NUMBER = 1;
23665 @SuppressWarnings("serial")
23666 private volatile java.lang.Object vin_ = "";
23668 * <code>string vin = 1;</code>
23671 @java.lang.Override
23672 public java.lang.String getVin() {
23673 java.lang.Object ref = vin_;
23674 if (ref instanceof java.lang.String) {
23675 return (java.lang.String) ref;
23677 com.google.protobuf.ByteString bs =
23678 (com.google.protobuf.ByteString) ref;
23679 java.lang.String s = bs.toStringUtf8();
23685 * <code>string vin = 1;</code>
23686 * @return The bytes for vin.
23688 @java.lang.Override
23689 public com.google.protobuf.ByteString
23691 java.lang.Object ref = vin_;
23692 if (ref instanceof java.lang.String) {
23693 com.google.protobuf.ByteString b =
23694 com.google.protobuf.ByteString.copyFromUtf8(
23695 (java.lang.String) ref);
23699 return (com.google.protobuf.ByteString) ref;
23703 public static final int ATTRIBUTES_FIELD_NUMBER = 2;
23704 private static final class AttributesDefaultEntryHolder {
23705 static final com.google.protobuf.MapEntry<
23706 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> defaultEntry =
23707 com.google.protobuf.MapEntry
23708 .<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>newDefaultInstance(
23709 com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleStatus_AttributesEntry_descriptor,
23710 com.google.protobuf.WireFormat.FieldType.STRING,
23712 com.google.protobuf.WireFormat.FieldType.MESSAGE,
23713 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.getDefaultInstance());
23715 @SuppressWarnings("serial")
23716 private com.google.protobuf.MapField<
23717 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> attributes_;
23718 private com.google.protobuf.MapField<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
23719 internalGetAttributes() {
23720 if (attributes_ == null) {
23721 return com.google.protobuf.MapField.emptyMapField(
23722 AttributesDefaultEntryHolder.defaultEntry);
23724 return attributes_;
23726 public int getAttributesCount() {
23727 return internalGetAttributes().getMap().size();
23730 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23732 @java.lang.Override
23733 public boolean containsAttributes(
23734 java.lang.String key) {
23735 if (key == null) { throw new NullPointerException("map key"); }
23736 return internalGetAttributes().getMap().containsKey(key);
23739 * Use {@link #getAttributesMap()} instead.
23741 @java.lang.Override
23742 @java.lang.Deprecated
23743 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributes() {
23744 return getAttributesMap();
23747 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23749 @java.lang.Override
23750 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributesMap() {
23751 return internalGetAttributes().getMap();
23754 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23756 @java.lang.Override
23757 public /* nullable */
23758 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrDefault(
23759 java.lang.String key,
23761 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus defaultValue) {
23762 if (key == null) { throw new NullPointerException("map key"); }
23763 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> map =
23764 internalGetAttributes().getMap();
23765 return map.containsKey(key) ? map.get(key) : defaultValue;
23768 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
23770 @java.lang.Override
23771 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrThrow(
23772 java.lang.String key) {
23773 if (key == null) { throw new NullPointerException("map key"); }
23774 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> map =
23775 internalGetAttributes().getMap();
23776 if (!map.containsKey(key)) {
23777 throw new java.lang.IllegalArgumentException();
23779 return map.get(key);
23782 private byte memoizedIsInitialized = -1;
23783 @java.lang.Override
23784 public final boolean isInitialized() {
23785 byte isInitialized = memoizedIsInitialized;
23786 if (isInitialized == 1) return true;
23787 if (isInitialized == 0) return false;
23789 memoizedIsInitialized = 1;
23793 @java.lang.Override
23794 public void writeTo(com.google.protobuf.CodedOutputStream output)
23795 throws java.io.IOException {
23796 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
23797 com.google.protobuf.GeneratedMessage.writeString(output, 1, vin_);
23799 com.google.protobuf.GeneratedMessage
23800 .serializeStringMapTo(
23802 internalGetAttributes(),
23803 AttributesDefaultEntryHolder.defaultEntry,
23805 getUnknownFields().writeTo(output);
23808 @java.lang.Override
23809 public int getSerializedSize() {
23810 int size = memoizedSize;
23811 if (size != -1) return size;
23814 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
23815 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, vin_);
23817 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> entry
23818 : internalGetAttributes().getMap().entrySet()) {
23819 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
23820 attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType()
23821 .setKey(entry.getKey())
23822 .setValue(entry.getValue())
23824 size += com.google.protobuf.CodedOutputStream
23825 .computeMessageSize(2, attributes__);
23827 size += getUnknownFields().getSerializedSize();
23828 memoizedSize = size;
23832 @java.lang.Override
23833 public boolean equals(final java.lang.Object obj) {
23837 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus)) {
23838 return super.equals(obj);
23840 com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus other = (com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus) obj;
23843 .equals(other.getVin())) return false;
23844 if (!internalGetAttributes().equals(
23845 other.internalGetAttributes())) return false;
23846 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
23850 @java.lang.Override
23851 public int hashCode() {
23852 if (memoizedHashCode != 0) {
23853 return memoizedHashCode;
23856 hash = (19 * hash) + getDescriptor().hashCode();
23857 hash = (37 * hash) + VIN_FIELD_NUMBER;
23858 hash = (53 * hash) + getVin().hashCode();
23859 if (!internalGetAttributes().getMap().isEmpty()) {
23860 hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER;
23861 hash = (53 * hash) + internalGetAttributes().hashCode();
23863 hash = (29 * hash) + getUnknownFields().hashCode();
23864 memoizedHashCode = hash;
23868 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23869 java.nio.ByteBuffer data)
23870 throws com.google.protobuf.InvalidProtocolBufferException {
23871 return PARSER.parseFrom(data);
23873 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23874 java.nio.ByteBuffer data,
23875 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23876 throws com.google.protobuf.InvalidProtocolBufferException {
23877 return PARSER.parseFrom(data, extensionRegistry);
23879 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23880 com.google.protobuf.ByteString data)
23881 throws com.google.protobuf.InvalidProtocolBufferException {
23882 return PARSER.parseFrom(data);
23884 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23885 com.google.protobuf.ByteString data,
23886 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23887 throws com.google.protobuf.InvalidProtocolBufferException {
23888 return PARSER.parseFrom(data, extensionRegistry);
23890 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(byte[] data)
23891 throws com.google.protobuf.InvalidProtocolBufferException {
23892 return PARSER.parseFrom(data);
23894 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23896 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23897 throws com.google.protobuf.InvalidProtocolBufferException {
23898 return PARSER.parseFrom(data, extensionRegistry);
23900 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(java.io.InputStream input)
23901 throws java.io.IOException {
23902 return com.google.protobuf.GeneratedMessage
23903 .parseWithIOException(PARSER, input);
23905 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23906 java.io.InputStream input,
23907 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23908 throws java.io.IOException {
23909 return com.google.protobuf.GeneratedMessage
23910 .parseWithIOException(PARSER, input, extensionRegistry);
23913 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseDelimitedFrom(java.io.InputStream input)
23914 throws java.io.IOException {
23915 return com.google.protobuf.GeneratedMessage
23916 .parseDelimitedWithIOException(PARSER, input);
23919 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseDelimitedFrom(
23920 java.io.InputStream input,
23921 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23922 throws java.io.IOException {
23923 return com.google.protobuf.GeneratedMessage
23924 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
23926 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23927 com.google.protobuf.CodedInputStream input)
23928 throws java.io.IOException {
23929 return com.google.protobuf.GeneratedMessage
23930 .parseWithIOException(PARSER, input);
23932 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus parseFrom(
23933 com.google.protobuf.CodedInputStream input,
23934 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
23935 throws java.io.IOException {
23936 return com.google.protobuf.GeneratedMessage
23937 .parseWithIOException(PARSER, input, extensionRegistry);
23940 @java.lang.Override
23941 public Builder newBuilderForType() { return newBuilder(); }
23942 public static Builder newBuilder() {
23943 return DEFAULT_INSTANCE.toBuilder();
23945 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus prototype) {
23946 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
23948 @java.lang.Override
23949 public Builder toBuilder() {
23950 return this == DEFAULT_INSTANCE
23951 ? new Builder() : new Builder().mergeFrom(this);
23954 @java.lang.Override
23955 protected Builder newBuilderForType(
23956 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
23957 Builder builder = new Builder(parent);
23962 * Represents a status response from the
23963 * VVA backend for a given VIN and CIAM ID.
23966 * Protobuf type {@code proto.VehicleStatus}
23968 public static final class Builder extends
23969 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
23970 // @@protoc_insertion_point(builder_implements:proto.VehicleStatus)
23971 com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatusOrBuilder {
23972 public static final com.google.protobuf.Descriptors.Descriptor
23974 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleStatus_descriptor;
23977 @SuppressWarnings({"rawtypes"})
23978 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
23982 return internalGetAttributes();
23984 throw new RuntimeException(
23985 "Invalid map field number: " + number);
23988 @SuppressWarnings({"rawtypes"})
23989 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
23993 return internalGetMutableAttributes();
23995 throw new RuntimeException(
23996 "Invalid map field number: " + number);
23999 @java.lang.Override
24000 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
24001 internalGetFieldAccessorTable() {
24002 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleStatus_fieldAccessorTable
24003 .ensureFieldAccessorsInitialized(
24004 com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.class, com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.Builder.class);
24007 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.newBuilder()
24008 private Builder() {
24013 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
24017 @java.lang.Override
24018 public Builder clear() {
24022 internalGetMutableAttributes().clear();
24026 @java.lang.Override
24027 public com.google.protobuf.Descriptors.Descriptor
24028 getDescriptorForType() {
24029 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleStatus_descriptor;
24032 @java.lang.Override
24033 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus getDefaultInstanceForType() {
24034 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.getDefaultInstance();
24037 @java.lang.Override
24038 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus build() {
24039 com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus result = buildPartial();
24040 if (!result.isInitialized()) {
24041 throw newUninitializedMessageException(result);
24046 @java.lang.Override
24047 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus buildPartial() {
24048 com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus result = new com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus(this);
24049 if (bitField0_ != 0) { buildPartial0(result); }
24054 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus result) {
24055 int from_bitField0_ = bitField0_;
24056 if (((from_bitField0_ & 0x00000001) != 0)) {
24057 result.vin_ = vin_;
24059 if (((from_bitField0_ & 0x00000002) != 0)) {
24060 result.attributes_ = internalGetAttributes().build(AttributesDefaultEntryHolder.defaultEntry);
24064 @java.lang.Override
24065 public Builder mergeFrom(com.google.protobuf.Message other) {
24066 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus) {
24067 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus)other);
24069 super.mergeFrom(other);
24074 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus other) {
24075 if (other == com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus.getDefaultInstance()) return this;
24076 if (!other.getVin().isEmpty()) {
24078 bitField0_ |= 0x00000001;
24081 internalGetMutableAttributes().mergeFrom(
24082 other.internalGetAttributes());
24083 bitField0_ |= 0x00000002;
24084 this.mergeUnknownFields(other.getUnknownFields());
24089 @java.lang.Override
24090 public final boolean isInitialized() {
24094 @java.lang.Override
24095 public Builder mergeFrom(
24096 com.google.protobuf.CodedInputStream input,
24097 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
24098 throws java.io.IOException {
24099 if (extensionRegistry == null) {
24100 throw new java.lang.NullPointerException();
24103 boolean done = false;
24105 int tag = input.readTag();
24111 vin_ = input.readStringRequireUtf8();
24112 bitField0_ |= 0x00000001;
24116 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
24117 attributes__ = input.readMessage(
24118 AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
24119 internalGetMutableAttributes().ensureBuilderMap().put(
24120 attributes__.getKey(), attributes__.getValue());
24121 bitField0_ |= 0x00000002;
24125 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
24126 done = true; // was an endgroup tag
24132 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
24133 throw e.unwrapIOException();
24139 private int bitField0_;
24141 private java.lang.Object vin_ = "";
24143 * <code>string vin = 1;</code>
24146 public java.lang.String getVin() {
24147 java.lang.Object ref = vin_;
24148 if (!(ref instanceof java.lang.String)) {
24149 com.google.protobuf.ByteString bs =
24150 (com.google.protobuf.ByteString) ref;
24151 java.lang.String s = bs.toStringUtf8();
24155 return (java.lang.String) ref;
24159 * <code>string vin = 1;</code>
24160 * @return The bytes for vin.
24162 public com.google.protobuf.ByteString
24164 java.lang.Object ref = vin_;
24165 if (ref instanceof String) {
24166 com.google.protobuf.ByteString b =
24167 com.google.protobuf.ByteString.copyFromUtf8(
24168 (java.lang.String) ref);
24172 return (com.google.protobuf.ByteString) ref;
24176 * <code>string vin = 1;</code>
24177 * @param value The vin to set.
24178 * @return This builder for chaining.
24180 public Builder setVin(
24181 java.lang.String value) {
24182 if (value == null) { throw new NullPointerException(); }
24184 bitField0_ |= 0x00000001;
24189 * <code>string vin = 1;</code>
24190 * @return This builder for chaining.
24192 public Builder clearVin() {
24193 vin_ = getDefaultInstance().getVin();
24194 bitField0_ = (bitField0_ & ~0x00000001);
24199 * <code>string vin = 1;</code>
24200 * @param value The bytes for vin to set.
24201 * @return This builder for chaining.
24203 public Builder setVinBytes(
24204 com.google.protobuf.ByteString value) {
24205 if (value == null) { throw new NullPointerException(); }
24206 checkByteStringIsUtf8(value);
24208 bitField0_ |= 0x00000001;
24213 private static final class AttributesConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> {
24214 @java.lang.Override
24215 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus build(com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder val) {
24216 if (val instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) { return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) val; }
24217 return ((com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder) val).build();
24220 @java.lang.Override
24221 public com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> defaultEntry() {
24222 return AttributesDefaultEntryHolder.defaultEntry;
24225 private static final AttributesConverter attributesConverter = new AttributesConverter();
24227 private com.google.protobuf.MapFieldBuilder<
24228 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder> attributes_;
24229 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder>
24230 internalGetAttributes() {
24231 if (attributes_ == null) {
24232 return new com.google.protobuf.MapFieldBuilder<>(attributesConverter);
24234 return attributes_;
24236 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder>
24237 internalGetMutableAttributes() {
24238 if (attributes_ == null) {
24239 attributes_ = new com.google.protobuf.MapFieldBuilder<>(attributesConverter);
24241 bitField0_ |= 0x00000002;
24243 return attributes_;
24245 public int getAttributesCount() {
24246 return internalGetAttributes().ensureBuilderMap().size();
24249 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24251 @java.lang.Override
24252 public boolean containsAttributes(
24253 java.lang.String key) {
24254 if (key == null) { throw new NullPointerException("map key"); }
24255 return internalGetAttributes().ensureBuilderMap().containsKey(key);
24258 * Use {@link #getAttributesMap()} instead.
24260 @java.lang.Override
24261 @java.lang.Deprecated
24262 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributes() {
24263 return getAttributesMap();
24266 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24268 @java.lang.Override
24269 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> getAttributesMap() {
24270 return internalGetAttributes().getImmutableMap();
24273 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24275 @java.lang.Override
24276 public /* nullable */
24277 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrDefault(
24278 java.lang.String key,
24280 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus defaultValue) {
24281 if (key == null) { throw new NullPointerException("map key"); }
24282 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder> map = internalGetMutableAttributes().ensureBuilderMap();
24283 return map.containsKey(key) ? attributesConverter.build(map.get(key)) : defaultValue;
24286 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24288 @java.lang.Override
24289 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus getAttributesOrThrow(
24290 java.lang.String key) {
24291 if (key == null) { throw new NullPointerException("map key"); }
24292 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder> map = internalGetMutableAttributes().ensureBuilderMap();
24293 if (!map.containsKey(key)) {
24294 throw new java.lang.IllegalArgumentException();
24296 return attributesConverter.build(map.get(key));
24298 public Builder clearAttributes() {
24299 bitField0_ = (bitField0_ & ~0x00000002);
24300 internalGetMutableAttributes().clear();
24304 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24306 public Builder removeAttributes(
24307 java.lang.String key) {
24308 if (key == null) { throw new NullPointerException("map key"); }
24309 internalGetMutableAttributes().ensureBuilderMap()
24314 * Use alternate mutation accessors instead.
24316 @java.lang.Deprecated
24317 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus>
24318 getMutableAttributes() {
24319 bitField0_ |= 0x00000002;
24320 return internalGetMutableAttributes().ensureMessageMap();
24323 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24325 public Builder putAttributes(
24326 java.lang.String key,
24327 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus value) {
24328 if (key == null) { throw new NullPointerException("map key"); }
24329 if (value == null) { throw new NullPointerException("map value"); }
24330 internalGetMutableAttributes().ensureBuilderMap()
24332 bitField0_ |= 0x00000002;
24336 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24338 public Builder putAllAttributes(
24339 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> values) {
24340 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus> e : values.entrySet()) {
24341 if (e.getKey() == null || e.getValue() == null) {
24342 throw new NullPointerException();
24345 internalGetMutableAttributes().ensureBuilderMap()
24347 bitField0_ |= 0x00000002;
24351 * <code>map<string, .proto.VehicleAttributeStatus> attributes = 2;</code>
24353 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder putAttributesBuilderIfAbsent(
24354 java.lang.String key) {
24355 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder> builderMap = internalGetMutableAttributes().ensureBuilderMap();
24356 com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatusOrBuilder entry = builderMap.get(key);
24357 if (entry == null) {
24358 entry = com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.newBuilder();
24359 builderMap.put(key, entry);
24361 if (entry instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) {
24362 entry = ((com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus) entry).toBuilder();
24363 builderMap.put(key, entry);
24365 return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleAttributeStatus.Builder) entry;
24368 // @@protoc_insertion_point(builder_scope:proto.VehicleStatus)
24371 // @@protoc_insertion_point(class_scope:proto.VehicleStatus)
24372 private static final com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus DEFAULT_INSTANCE;
24374 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus();
24377 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus getDefaultInstance() {
24378 return DEFAULT_INSTANCE;
24381 private static final com.google.protobuf.Parser<VehicleStatus>
24382 PARSER = new com.google.protobuf.AbstractParser<VehicleStatus>() {
24383 @java.lang.Override
24384 public VehicleStatus parsePartialFrom(
24385 com.google.protobuf.CodedInputStream input,
24386 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
24387 throws com.google.protobuf.InvalidProtocolBufferException {
24388 Builder builder = newBuilder();
24390 builder.mergeFrom(input, extensionRegistry);
24391 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
24392 throw e.setUnfinishedMessage(builder.buildPartial());
24393 } catch (com.google.protobuf.UninitializedMessageException e) {
24394 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
24395 } catch (java.io.IOException e) {
24396 throw new com.google.protobuf.InvalidProtocolBufferException(e)
24397 .setUnfinishedMessage(builder.buildPartial());
24399 return builder.buildPartial();
24403 public static com.google.protobuf.Parser<VehicleStatus> parser() {
24407 @java.lang.Override
24408 public com.google.protobuf.Parser<VehicleStatus> getParserForType() {
24412 @java.lang.Override
24413 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleStatus getDefaultInstanceForType() {
24414 return DEFAULT_INSTANCE;
24419 public interface PushMessageOrBuilder extends
24420 // @@protoc_insertion_point(interface_extends:proto.PushMessage)
24421 com.google.protobuf.MessageOrBuilder {
24424 * <code>string tracking_id = 5;</code>
24425 * @return The trackingId.
24427 java.lang.String getTrackingId();
24429 * <code>string tracking_id = 5;</code>
24430 * @return The bytes for trackingId.
24432 com.google.protobuf.ByteString
24433 getTrackingIdBytes();
24436 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
24437 * @return Whether the vepUpdate field is set.
24439 boolean hasVepUpdate();
24441 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
24442 * @return The vepUpdate.
24444 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getVepUpdate();
24446 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
24448 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder getVepUpdateOrBuilder();
24451 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
24452 * @return Whether the vepUpdates field is set.
24454 boolean hasVepUpdates();
24456 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
24457 * @return The vepUpdates.
24459 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN getVepUpdates();
24461 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
24463 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder getVepUpdatesOrBuilder();
24466 * <code>.proto.DebugMessage debugMessage = 3;</code>
24467 * @return Whether the debugMessage field is set.
24469 boolean hasDebugMessage();
24471 * <code>.proto.DebugMessage debugMessage = 3;</code>
24472 * @return The debugMessage.
24474 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage getDebugMessage();
24476 * <code>.proto.DebugMessage debugMessage = 3;</code>
24478 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder getDebugMessageOrBuilder();
24481 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
24482 * @return Whether the serviceStatusUpdates field is set.
24484 boolean hasServiceStatusUpdates();
24486 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
24487 * @return The serviceStatusUpdates.
24489 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN getServiceStatusUpdates();
24491 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
24493 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVINOrBuilder getServiceStatusUpdatesOrBuilder();
24496 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
24497 * @return Whether the serviceStatusUpdate field is set.
24499 boolean hasServiceStatusUpdate();
24501 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
24502 * @return The serviceStatusUpdate.
24504 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate getServiceStatusUpdate();
24506 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
24508 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdateOrBuilder getServiceStatusUpdateOrBuilder();
24511 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
24512 * @return Whether the userDataUpdate field is set.
24514 boolean hasUserDataUpdate();
24516 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
24517 * @return The userDataUpdate.
24519 com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate getUserDataUpdate();
24521 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
24523 com.daimler.mbcarkit.proto.UserEvents.UserDataUpdateOrBuilder getUserDataUpdateOrBuilder();
24526 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
24527 * @return Whether the userVehicleAuthChangedUpdate field is set.
24529 boolean hasUserVehicleAuthChangedUpdate();
24531 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
24532 * @return The userVehicleAuthChangedUpdate.
24534 com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate getUserVehicleAuthChangedUpdate();
24536 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
24538 com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdateOrBuilder getUserVehicleAuthChangedUpdateOrBuilder();
24541 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
24542 * @return Whether the userPictureUpdate field is set.
24544 boolean hasUserPictureUpdate();
24546 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
24547 * @return The userPictureUpdate.
24549 com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate getUserPictureUpdate();
24551 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
24553 com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdateOrBuilder getUserPictureUpdateOrBuilder();
24556 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
24557 * @return Whether the userPinUpdate field is set.
24559 boolean hasUserPinUpdate();
24561 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
24562 * @return The userPinUpdate.
24564 com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate getUserPinUpdate();
24566 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
24568 com.daimler.mbcarkit.proto.UserEvents.UserPINUpdateOrBuilder getUserPinUpdateOrBuilder();
24571 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
24572 * @return Whether the vehicleUpdated field is set.
24574 boolean hasVehicleUpdated();
24576 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
24577 * @return The vehicleUpdated.
24579 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated getVehicleUpdated();
24581 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
24583 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder getVehicleUpdatedOrBuilder();
24586 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
24587 * @return Whether the preferredDealerChange field is set.
24589 boolean hasPreferredDealerChange();
24591 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
24592 * @return The preferredDealerChange.
24594 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange getPreferredDealerChange();
24596 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
24598 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder getPreferredDealerChangeOrBuilder();
24601 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
24602 * @return Whether the apptwinCommandStatusUpdatesByVin field is set.
24604 boolean hasApptwinCommandStatusUpdatesByVin();
24606 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
24607 * @return The apptwinCommandStatusUpdatesByVin.
24609 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN getApptwinCommandStatusUpdatesByVin();
24611 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
24613 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVINOrBuilder getApptwinCommandStatusUpdatesByVinOrBuilder();
24616 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
24617 * @return Whether the apptwinPendingCommandRequest field is set.
24619 boolean hasApptwinPendingCommandRequest();
24621 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
24622 * @return The apptwinPendingCommandRequest.
24624 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest getApptwinPendingCommandRequest();
24626 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
24628 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequestOrBuilder getApptwinPendingCommandRequestOrBuilder();
24631 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
24632 * @return Whether the assignedVehicles field is set.
24634 boolean hasAssignedVehicles();
24636 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
24637 * @return The assignedVehicles.
24639 com.daimler.mbcarkit.proto.Protos.AssignedVehicles getAssignedVehicles();
24641 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
24643 com.daimler.mbcarkit.proto.Protos.AssignedVehiclesOrBuilder getAssignedVehiclesOrBuilder();
24645 com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.MsgCase getMsgCase();
24649 * message that is pushed from the vep status service
24650 * Sending direction: App <- BFF
24653 * Protobuf type {@code proto.PushMessage}
24655 public static final class PushMessage extends
24656 com.google.protobuf.GeneratedMessage implements
24657 // @@protoc_insertion_point(message_implements:proto.PushMessage)
24658 PushMessageOrBuilder {
24659 private static final long serialVersionUID = 0L;
24661 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
24662 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
24667 PushMessage.class.getName());
24669 // Use PushMessage.newBuilder() to construct.
24670 private PushMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
24673 private PushMessage() {
24677 public static final com.google.protobuf.Descriptors.Descriptor
24679 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PushMessage_descriptor;
24682 @java.lang.Override
24683 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
24684 internalGetFieldAccessorTable() {
24685 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PushMessage_fieldAccessorTable
24686 .ensureFieldAccessorsInitialized(
24687 com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.class, com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.Builder.class);
24690 private int msgCase_ = 0;
24691 @SuppressWarnings("serial")
24692 private java.lang.Object msg_;
24693 public enum MsgCase
24694 implements com.google.protobuf.Internal.EnumLite,
24695 com.google.protobuf.AbstractMessage.InternalOneOfEnum {
24699 SERVICE_STATUS_UPDATES(9),
24700 SERVICE_STATUS_UPDATE(13),
24701 USER_DATA_UPDATE(10),
24702 USER_VEHICLE_AUTH_CHANGED_UPDATE(14),
24703 USER_PICTURE_UPDATE(11),
24704 USER_PIN_UPDATE(12),
24705 VEHICLE_UPDATED(15),
24706 PREFERRED_DEALER_CHANGE(16),
24707 APPTWIN_COMMAND_STATUS_UPDATES_BY_VIN(17),
24708 APPTWIN_PENDING_COMMAND_REQUEST(18),
24709 ASSIGNED_VEHICLES(19),
24711 private final int value;
24712 private MsgCase(int value) {
24713 this.value = value;
24716 * @param value The number of the enum to look for.
24717 * @return The enum associated with the given number.
24718 * @deprecated Use {@link #forNumber(int)} instead.
24720 @java.lang.Deprecated
24721 public static MsgCase valueOf(int value) {
24722 return forNumber(value);
24725 public static MsgCase forNumber(int value) {
24727 case 1: return VEPUPDATE;
24728 case 2: return VEPUPDATES;
24729 case 3: return DEBUGMESSAGE;
24730 case 9: return SERVICE_STATUS_UPDATES;
24731 case 13: return SERVICE_STATUS_UPDATE;
24732 case 10: return USER_DATA_UPDATE;
24733 case 14: return USER_VEHICLE_AUTH_CHANGED_UPDATE;
24734 case 11: return USER_PICTURE_UPDATE;
24735 case 12: return USER_PIN_UPDATE;
24736 case 15: return VEHICLE_UPDATED;
24737 case 16: return PREFERRED_DEALER_CHANGE;
24738 case 17: return APPTWIN_COMMAND_STATUS_UPDATES_BY_VIN;
24739 case 18: return APPTWIN_PENDING_COMMAND_REQUEST;
24740 case 19: return ASSIGNED_VEHICLES;
24741 case 0: return MSG_NOT_SET;
24742 default: return null;
24745 public int getNumber() {
24752 return MsgCase.forNumber(
24756 public static final int TRACKING_ID_FIELD_NUMBER = 5;
24757 @SuppressWarnings("serial")
24758 private volatile java.lang.Object trackingId_ = "";
24760 * <code>string tracking_id = 5;</code>
24761 * @return The trackingId.
24763 @java.lang.Override
24764 public java.lang.String getTrackingId() {
24765 java.lang.Object ref = trackingId_;
24766 if (ref instanceof java.lang.String) {
24767 return (java.lang.String) ref;
24769 com.google.protobuf.ByteString bs =
24770 (com.google.protobuf.ByteString) ref;
24771 java.lang.String s = bs.toStringUtf8();
24777 * <code>string tracking_id = 5;</code>
24778 * @return The bytes for trackingId.
24780 @java.lang.Override
24781 public com.google.protobuf.ByteString
24782 getTrackingIdBytes() {
24783 java.lang.Object ref = trackingId_;
24784 if (ref instanceof java.lang.String) {
24785 com.google.protobuf.ByteString b =
24786 com.google.protobuf.ByteString.copyFromUtf8(
24787 (java.lang.String) ref);
24791 return (com.google.protobuf.ByteString) ref;
24795 public static final int VEPUPDATE_FIELD_NUMBER = 1;
24797 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
24798 * @return Whether the vepUpdate field is set.
24800 @java.lang.Override
24801 public boolean hasVepUpdate() {
24802 return msgCase_ == 1;
24805 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
24806 * @return The vepUpdate.
24808 @java.lang.Override
24809 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getVepUpdate() {
24810 if (msgCase_ == 1) {
24811 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_;
24813 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
24816 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
24818 @java.lang.Override
24819 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder getVepUpdateOrBuilder() {
24820 if (msgCase_ == 1) {
24821 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_;
24823 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
24826 public static final int VEPUPDATES_FIELD_NUMBER = 2;
24828 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
24829 * @return Whether the vepUpdates field is set.
24831 @java.lang.Override
24832 public boolean hasVepUpdates() {
24833 return msgCase_ == 2;
24836 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
24837 * @return The vepUpdates.
24839 @java.lang.Override
24840 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN getVepUpdates() {
24841 if (msgCase_ == 2) {
24842 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_;
24844 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
24847 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
24849 @java.lang.Override
24850 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder getVepUpdatesOrBuilder() {
24851 if (msgCase_ == 2) {
24852 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_;
24854 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
24857 public static final int DEBUGMESSAGE_FIELD_NUMBER = 3;
24859 * <code>.proto.DebugMessage debugMessage = 3;</code>
24860 * @return Whether the debugMessage field is set.
24862 @java.lang.Override
24863 public boolean hasDebugMessage() {
24864 return msgCase_ == 3;
24867 * <code>.proto.DebugMessage debugMessage = 3;</code>
24868 * @return The debugMessage.
24870 @java.lang.Override
24871 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage getDebugMessage() {
24872 if (msgCase_ == 3) {
24873 return (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_;
24875 return com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
24878 * <code>.proto.DebugMessage debugMessage = 3;</code>
24880 @java.lang.Override
24881 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder getDebugMessageOrBuilder() {
24882 if (msgCase_ == 3) {
24883 return (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_;
24885 return com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
24888 public static final int SERVICE_STATUS_UPDATES_FIELD_NUMBER = 9;
24890 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
24891 * @return Whether the serviceStatusUpdates field is set.
24893 @java.lang.Override
24894 public boolean hasServiceStatusUpdates() {
24895 return msgCase_ == 9;
24898 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
24899 * @return The serviceStatusUpdates.
24901 @java.lang.Override
24902 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN getServiceStatusUpdates() {
24903 if (msgCase_ == 9) {
24904 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_;
24906 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance();
24909 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
24911 @java.lang.Override
24912 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVINOrBuilder getServiceStatusUpdatesOrBuilder() {
24913 if (msgCase_ == 9) {
24914 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_;
24916 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance();
24919 public static final int SERVICE_STATUS_UPDATE_FIELD_NUMBER = 13;
24921 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
24922 * @return Whether the serviceStatusUpdate field is set.
24924 @java.lang.Override
24925 public boolean hasServiceStatusUpdate() {
24926 return msgCase_ == 13;
24929 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
24930 * @return The serviceStatusUpdate.
24932 @java.lang.Override
24933 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate getServiceStatusUpdate() {
24934 if (msgCase_ == 13) {
24935 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_;
24937 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance();
24940 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
24942 @java.lang.Override
24943 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdateOrBuilder getServiceStatusUpdateOrBuilder() {
24944 if (msgCase_ == 13) {
24945 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_;
24947 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance();
24950 public static final int USER_DATA_UPDATE_FIELD_NUMBER = 10;
24952 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
24953 * @return Whether the userDataUpdate field is set.
24955 @java.lang.Override
24956 public boolean hasUserDataUpdate() {
24957 return msgCase_ == 10;
24960 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
24961 * @return The userDataUpdate.
24963 @java.lang.Override
24964 public com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate getUserDataUpdate() {
24965 if (msgCase_ == 10) {
24966 return (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_;
24968 return com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance();
24971 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
24973 @java.lang.Override
24974 public com.daimler.mbcarkit.proto.UserEvents.UserDataUpdateOrBuilder getUserDataUpdateOrBuilder() {
24975 if (msgCase_ == 10) {
24976 return (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_;
24978 return com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance();
24981 public static final int USER_VEHICLE_AUTH_CHANGED_UPDATE_FIELD_NUMBER = 14;
24983 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
24984 * @return Whether the userVehicleAuthChangedUpdate field is set.
24986 @java.lang.Override
24987 public boolean hasUserVehicleAuthChangedUpdate() {
24988 return msgCase_ == 14;
24991 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
24992 * @return The userVehicleAuthChangedUpdate.
24994 @java.lang.Override
24995 public com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate getUserVehicleAuthChangedUpdate() {
24996 if (msgCase_ == 14) {
24997 return (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_;
24999 return com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance();
25002 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
25004 @java.lang.Override
25005 public com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdateOrBuilder getUserVehicleAuthChangedUpdateOrBuilder() {
25006 if (msgCase_ == 14) {
25007 return (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_;
25009 return com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance();
25012 public static final int USER_PICTURE_UPDATE_FIELD_NUMBER = 11;
25014 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
25015 * @return Whether the userPictureUpdate field is set.
25017 @java.lang.Override
25018 public boolean hasUserPictureUpdate() {
25019 return msgCase_ == 11;
25022 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
25023 * @return The userPictureUpdate.
25025 @java.lang.Override
25026 public com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate getUserPictureUpdate() {
25027 if (msgCase_ == 11) {
25028 return (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_;
25030 return com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance();
25033 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
25035 @java.lang.Override
25036 public com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdateOrBuilder getUserPictureUpdateOrBuilder() {
25037 if (msgCase_ == 11) {
25038 return (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_;
25040 return com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance();
25043 public static final int USER_PIN_UPDATE_FIELD_NUMBER = 12;
25045 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
25046 * @return Whether the userPinUpdate field is set.
25048 @java.lang.Override
25049 public boolean hasUserPinUpdate() {
25050 return msgCase_ == 12;
25053 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
25054 * @return The userPinUpdate.
25056 @java.lang.Override
25057 public com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate getUserPinUpdate() {
25058 if (msgCase_ == 12) {
25059 return (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_;
25061 return com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance();
25064 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
25066 @java.lang.Override
25067 public com.daimler.mbcarkit.proto.UserEvents.UserPINUpdateOrBuilder getUserPinUpdateOrBuilder() {
25068 if (msgCase_ == 12) {
25069 return (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_;
25071 return com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance();
25074 public static final int VEHICLE_UPDATED_FIELD_NUMBER = 15;
25076 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
25077 * @return Whether the vehicleUpdated field is set.
25079 @java.lang.Override
25080 public boolean hasVehicleUpdated() {
25081 return msgCase_ == 15;
25084 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
25085 * @return The vehicleUpdated.
25087 @java.lang.Override
25088 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated getVehicleUpdated() {
25089 if (msgCase_ == 15) {
25090 return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_;
25092 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
25095 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
25097 @java.lang.Override
25098 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder getVehicleUpdatedOrBuilder() {
25099 if (msgCase_ == 15) {
25100 return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_;
25102 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
25105 public static final int PREFERRED_DEALER_CHANGE_FIELD_NUMBER = 16;
25107 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
25108 * @return Whether the preferredDealerChange field is set.
25110 @java.lang.Override
25111 public boolean hasPreferredDealerChange() {
25112 return msgCase_ == 16;
25115 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
25116 * @return The preferredDealerChange.
25118 @java.lang.Override
25119 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange getPreferredDealerChange() {
25120 if (msgCase_ == 16) {
25121 return (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_;
25123 return com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
25126 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
25128 @java.lang.Override
25129 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder getPreferredDealerChangeOrBuilder() {
25130 if (msgCase_ == 16) {
25131 return (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_;
25133 return com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
25136 public static final int APPTWIN_COMMAND_STATUS_UPDATES_BY_VIN_FIELD_NUMBER = 17;
25138 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
25139 * @return Whether the apptwinCommandStatusUpdatesByVin field is set.
25141 @java.lang.Override
25142 public boolean hasApptwinCommandStatusUpdatesByVin() {
25143 return msgCase_ == 17;
25146 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
25147 * @return The apptwinCommandStatusUpdatesByVin.
25149 @java.lang.Override
25150 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN getApptwinCommandStatusUpdatesByVin() {
25151 if (msgCase_ == 17) {
25152 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_;
25154 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance();
25157 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
25159 @java.lang.Override
25160 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVINOrBuilder getApptwinCommandStatusUpdatesByVinOrBuilder() {
25161 if (msgCase_ == 17) {
25162 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_;
25164 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance();
25167 public static final int APPTWIN_PENDING_COMMAND_REQUEST_FIELD_NUMBER = 18;
25169 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
25170 * @return Whether the apptwinPendingCommandRequest field is set.
25172 @java.lang.Override
25173 public boolean hasApptwinPendingCommandRequest() {
25174 return msgCase_ == 18;
25177 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
25178 * @return The apptwinPendingCommandRequest.
25180 @java.lang.Override
25181 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest getApptwinPendingCommandRequest() {
25182 if (msgCase_ == 18) {
25183 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_;
25185 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance();
25188 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
25190 @java.lang.Override
25191 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequestOrBuilder getApptwinPendingCommandRequestOrBuilder() {
25192 if (msgCase_ == 18) {
25193 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_;
25195 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance();
25198 public static final int ASSIGNED_VEHICLES_FIELD_NUMBER = 19;
25200 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
25201 * @return Whether the assignedVehicles field is set.
25203 @java.lang.Override
25204 public boolean hasAssignedVehicles() {
25205 return msgCase_ == 19;
25208 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
25209 * @return The assignedVehicles.
25211 @java.lang.Override
25212 public com.daimler.mbcarkit.proto.Protos.AssignedVehicles getAssignedVehicles() {
25213 if (msgCase_ == 19) {
25214 return (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_;
25216 return com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance();
25219 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
25221 @java.lang.Override
25222 public com.daimler.mbcarkit.proto.Protos.AssignedVehiclesOrBuilder getAssignedVehiclesOrBuilder() {
25223 if (msgCase_ == 19) {
25224 return (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_;
25226 return com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance();
25229 private byte memoizedIsInitialized = -1;
25230 @java.lang.Override
25231 public final boolean isInitialized() {
25232 byte isInitialized = memoizedIsInitialized;
25233 if (isInitialized == 1) return true;
25234 if (isInitialized == 0) return false;
25236 memoizedIsInitialized = 1;
25240 @java.lang.Override
25241 public void writeTo(com.google.protobuf.CodedOutputStream output)
25242 throws java.io.IOException {
25243 if (msgCase_ == 1) {
25244 output.writeMessage(1, (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_);
25246 if (msgCase_ == 2) {
25247 output.writeMessage(2, (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_);
25249 if (msgCase_ == 3) {
25250 output.writeMessage(3, (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_);
25252 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trackingId_)) {
25253 com.google.protobuf.GeneratedMessage.writeString(output, 5, trackingId_);
25255 if (msgCase_ == 9) {
25256 output.writeMessage(9, (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_);
25258 if (msgCase_ == 10) {
25259 output.writeMessage(10, (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_);
25261 if (msgCase_ == 11) {
25262 output.writeMessage(11, (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_);
25264 if (msgCase_ == 12) {
25265 output.writeMessage(12, (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_);
25267 if (msgCase_ == 13) {
25268 output.writeMessage(13, (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_);
25270 if (msgCase_ == 14) {
25271 output.writeMessage(14, (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_);
25273 if (msgCase_ == 15) {
25274 output.writeMessage(15, (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_);
25276 if (msgCase_ == 16) {
25277 output.writeMessage(16, (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_);
25279 if (msgCase_ == 17) {
25280 output.writeMessage(17, (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_);
25282 if (msgCase_ == 18) {
25283 output.writeMessage(18, (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_);
25285 if (msgCase_ == 19) {
25286 output.writeMessage(19, (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_);
25288 getUnknownFields().writeTo(output);
25291 @java.lang.Override
25292 public int getSerializedSize() {
25293 int size = memoizedSize;
25294 if (size != -1) return size;
25297 if (msgCase_ == 1) {
25298 size += com.google.protobuf.CodedOutputStream
25299 .computeMessageSize(1, (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_);
25301 if (msgCase_ == 2) {
25302 size += com.google.protobuf.CodedOutputStream
25303 .computeMessageSize(2, (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_);
25305 if (msgCase_ == 3) {
25306 size += com.google.protobuf.CodedOutputStream
25307 .computeMessageSize(3, (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_);
25309 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trackingId_)) {
25310 size += com.google.protobuf.GeneratedMessage.computeStringSize(5, trackingId_);
25312 if (msgCase_ == 9) {
25313 size += com.google.protobuf.CodedOutputStream
25314 .computeMessageSize(9, (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_);
25316 if (msgCase_ == 10) {
25317 size += com.google.protobuf.CodedOutputStream
25318 .computeMessageSize(10, (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_);
25320 if (msgCase_ == 11) {
25321 size += com.google.protobuf.CodedOutputStream
25322 .computeMessageSize(11, (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_);
25324 if (msgCase_ == 12) {
25325 size += com.google.protobuf.CodedOutputStream
25326 .computeMessageSize(12, (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_);
25328 if (msgCase_ == 13) {
25329 size += com.google.protobuf.CodedOutputStream
25330 .computeMessageSize(13, (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_);
25332 if (msgCase_ == 14) {
25333 size += com.google.protobuf.CodedOutputStream
25334 .computeMessageSize(14, (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_);
25336 if (msgCase_ == 15) {
25337 size += com.google.protobuf.CodedOutputStream
25338 .computeMessageSize(15, (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_);
25340 if (msgCase_ == 16) {
25341 size += com.google.protobuf.CodedOutputStream
25342 .computeMessageSize(16, (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_);
25344 if (msgCase_ == 17) {
25345 size += com.google.protobuf.CodedOutputStream
25346 .computeMessageSize(17, (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_);
25348 if (msgCase_ == 18) {
25349 size += com.google.protobuf.CodedOutputStream
25350 .computeMessageSize(18, (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_);
25352 if (msgCase_ == 19) {
25353 size += com.google.protobuf.CodedOutputStream
25354 .computeMessageSize(19, (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_);
25356 size += getUnknownFields().getSerializedSize();
25357 memoizedSize = size;
25361 @java.lang.Override
25362 public boolean equals(final java.lang.Object obj) {
25366 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.PushMessage)) {
25367 return super.equals(obj);
25369 com.daimler.mbcarkit.proto.VehicleEvents.PushMessage other = (com.daimler.mbcarkit.proto.VehicleEvents.PushMessage) obj;
25371 if (!getTrackingId()
25372 .equals(other.getTrackingId())) return false;
25373 if (!getMsgCase().equals(other.getMsgCase())) return false;
25374 switch (msgCase_) {
25376 if (!getVepUpdate()
25377 .equals(other.getVepUpdate())) return false;
25380 if (!getVepUpdates()
25381 .equals(other.getVepUpdates())) return false;
25384 if (!getDebugMessage()
25385 .equals(other.getDebugMessage())) return false;
25388 if (!getServiceStatusUpdates()
25389 .equals(other.getServiceStatusUpdates())) return false;
25392 if (!getServiceStatusUpdate()
25393 .equals(other.getServiceStatusUpdate())) return false;
25396 if (!getUserDataUpdate()
25397 .equals(other.getUserDataUpdate())) return false;
25400 if (!getUserVehicleAuthChangedUpdate()
25401 .equals(other.getUserVehicleAuthChangedUpdate())) return false;
25404 if (!getUserPictureUpdate()
25405 .equals(other.getUserPictureUpdate())) return false;
25408 if (!getUserPinUpdate()
25409 .equals(other.getUserPinUpdate())) return false;
25412 if (!getVehicleUpdated()
25413 .equals(other.getVehicleUpdated())) return false;
25416 if (!getPreferredDealerChange()
25417 .equals(other.getPreferredDealerChange())) return false;
25420 if (!getApptwinCommandStatusUpdatesByVin()
25421 .equals(other.getApptwinCommandStatusUpdatesByVin())) return false;
25424 if (!getApptwinPendingCommandRequest()
25425 .equals(other.getApptwinPendingCommandRequest())) return false;
25428 if (!getAssignedVehicles()
25429 .equals(other.getAssignedVehicles())) return false;
25434 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
25438 @java.lang.Override
25439 public int hashCode() {
25440 if (memoizedHashCode != 0) {
25441 return memoizedHashCode;
25444 hash = (19 * hash) + getDescriptor().hashCode();
25445 hash = (37 * hash) + TRACKING_ID_FIELD_NUMBER;
25446 hash = (53 * hash) + getTrackingId().hashCode();
25447 switch (msgCase_) {
25449 hash = (37 * hash) + VEPUPDATE_FIELD_NUMBER;
25450 hash = (53 * hash) + getVepUpdate().hashCode();
25453 hash = (37 * hash) + VEPUPDATES_FIELD_NUMBER;
25454 hash = (53 * hash) + getVepUpdates().hashCode();
25457 hash = (37 * hash) + DEBUGMESSAGE_FIELD_NUMBER;
25458 hash = (53 * hash) + getDebugMessage().hashCode();
25461 hash = (37 * hash) + SERVICE_STATUS_UPDATES_FIELD_NUMBER;
25462 hash = (53 * hash) + getServiceStatusUpdates().hashCode();
25465 hash = (37 * hash) + SERVICE_STATUS_UPDATE_FIELD_NUMBER;
25466 hash = (53 * hash) + getServiceStatusUpdate().hashCode();
25469 hash = (37 * hash) + USER_DATA_UPDATE_FIELD_NUMBER;
25470 hash = (53 * hash) + getUserDataUpdate().hashCode();
25473 hash = (37 * hash) + USER_VEHICLE_AUTH_CHANGED_UPDATE_FIELD_NUMBER;
25474 hash = (53 * hash) + getUserVehicleAuthChangedUpdate().hashCode();
25477 hash = (37 * hash) + USER_PICTURE_UPDATE_FIELD_NUMBER;
25478 hash = (53 * hash) + getUserPictureUpdate().hashCode();
25481 hash = (37 * hash) + USER_PIN_UPDATE_FIELD_NUMBER;
25482 hash = (53 * hash) + getUserPinUpdate().hashCode();
25485 hash = (37 * hash) + VEHICLE_UPDATED_FIELD_NUMBER;
25486 hash = (53 * hash) + getVehicleUpdated().hashCode();
25489 hash = (37 * hash) + PREFERRED_DEALER_CHANGE_FIELD_NUMBER;
25490 hash = (53 * hash) + getPreferredDealerChange().hashCode();
25493 hash = (37 * hash) + APPTWIN_COMMAND_STATUS_UPDATES_BY_VIN_FIELD_NUMBER;
25494 hash = (53 * hash) + getApptwinCommandStatusUpdatesByVin().hashCode();
25497 hash = (37 * hash) + APPTWIN_PENDING_COMMAND_REQUEST_FIELD_NUMBER;
25498 hash = (53 * hash) + getApptwinPendingCommandRequest().hashCode();
25501 hash = (37 * hash) + ASSIGNED_VEHICLES_FIELD_NUMBER;
25502 hash = (53 * hash) + getAssignedVehicles().hashCode();
25507 hash = (29 * hash) + getUnknownFields().hashCode();
25508 memoizedHashCode = hash;
25512 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25513 java.nio.ByteBuffer data)
25514 throws com.google.protobuf.InvalidProtocolBufferException {
25515 return PARSER.parseFrom(data);
25517 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25518 java.nio.ByteBuffer data,
25519 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25520 throws com.google.protobuf.InvalidProtocolBufferException {
25521 return PARSER.parseFrom(data, extensionRegistry);
25523 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25524 com.google.protobuf.ByteString data)
25525 throws com.google.protobuf.InvalidProtocolBufferException {
25526 return PARSER.parseFrom(data);
25528 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25529 com.google.protobuf.ByteString data,
25530 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25531 throws com.google.protobuf.InvalidProtocolBufferException {
25532 return PARSER.parseFrom(data, extensionRegistry);
25534 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(byte[] data)
25535 throws com.google.protobuf.InvalidProtocolBufferException {
25536 return PARSER.parseFrom(data);
25538 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25540 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25541 throws com.google.protobuf.InvalidProtocolBufferException {
25542 return PARSER.parseFrom(data, extensionRegistry);
25544 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(java.io.InputStream input)
25545 throws java.io.IOException {
25546 return com.google.protobuf.GeneratedMessage
25547 .parseWithIOException(PARSER, input);
25549 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25550 java.io.InputStream input,
25551 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25552 throws java.io.IOException {
25553 return com.google.protobuf.GeneratedMessage
25554 .parseWithIOException(PARSER, input, extensionRegistry);
25557 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseDelimitedFrom(java.io.InputStream input)
25558 throws java.io.IOException {
25559 return com.google.protobuf.GeneratedMessage
25560 .parseDelimitedWithIOException(PARSER, input);
25563 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseDelimitedFrom(
25564 java.io.InputStream input,
25565 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25566 throws java.io.IOException {
25567 return com.google.protobuf.GeneratedMessage
25568 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
25570 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25571 com.google.protobuf.CodedInputStream input)
25572 throws java.io.IOException {
25573 return com.google.protobuf.GeneratedMessage
25574 .parseWithIOException(PARSER, input);
25576 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage parseFrom(
25577 com.google.protobuf.CodedInputStream input,
25578 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25579 throws java.io.IOException {
25580 return com.google.protobuf.GeneratedMessage
25581 .parseWithIOException(PARSER, input, extensionRegistry);
25584 @java.lang.Override
25585 public Builder newBuilderForType() { return newBuilder(); }
25586 public static Builder newBuilder() {
25587 return DEFAULT_INSTANCE.toBuilder();
25589 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.PushMessage prototype) {
25590 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
25592 @java.lang.Override
25593 public Builder toBuilder() {
25594 return this == DEFAULT_INSTANCE
25595 ? new Builder() : new Builder().mergeFrom(this);
25598 @java.lang.Override
25599 protected Builder newBuilderForType(
25600 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
25601 Builder builder = new Builder(parent);
25606 * message that is pushed from the vep status service
25607 * Sending direction: App <- BFF
25610 * Protobuf type {@code proto.PushMessage}
25612 public static final class Builder extends
25613 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
25614 // @@protoc_insertion_point(builder_implements:proto.PushMessage)
25615 com.daimler.mbcarkit.proto.VehicleEvents.PushMessageOrBuilder {
25616 public static final com.google.protobuf.Descriptors.Descriptor
25618 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PushMessage_descriptor;
25621 @java.lang.Override
25622 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
25623 internalGetFieldAccessorTable() {
25624 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PushMessage_fieldAccessorTable
25625 .ensureFieldAccessorsInitialized(
25626 com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.class, com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.Builder.class);
25629 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.newBuilder()
25630 private Builder() {
25635 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
25639 @java.lang.Override
25640 public Builder clear() {
25644 if (vepUpdateBuilder_ != null) {
25645 vepUpdateBuilder_.clear();
25647 if (vepUpdatesBuilder_ != null) {
25648 vepUpdatesBuilder_.clear();
25650 if (debugMessageBuilder_ != null) {
25651 debugMessageBuilder_.clear();
25653 if (serviceStatusUpdatesBuilder_ != null) {
25654 serviceStatusUpdatesBuilder_.clear();
25656 if (serviceStatusUpdateBuilder_ != null) {
25657 serviceStatusUpdateBuilder_.clear();
25659 if (userDataUpdateBuilder_ != null) {
25660 userDataUpdateBuilder_.clear();
25662 if (userVehicleAuthChangedUpdateBuilder_ != null) {
25663 userVehicleAuthChangedUpdateBuilder_.clear();
25665 if (userPictureUpdateBuilder_ != null) {
25666 userPictureUpdateBuilder_.clear();
25668 if (userPinUpdateBuilder_ != null) {
25669 userPinUpdateBuilder_.clear();
25671 if (vehicleUpdatedBuilder_ != null) {
25672 vehicleUpdatedBuilder_.clear();
25674 if (preferredDealerChangeBuilder_ != null) {
25675 preferredDealerChangeBuilder_.clear();
25677 if (apptwinCommandStatusUpdatesByVinBuilder_ != null) {
25678 apptwinCommandStatusUpdatesByVinBuilder_.clear();
25680 if (apptwinPendingCommandRequestBuilder_ != null) {
25681 apptwinPendingCommandRequestBuilder_.clear();
25683 if (assignedVehiclesBuilder_ != null) {
25684 assignedVehiclesBuilder_.clear();
25691 @java.lang.Override
25692 public com.google.protobuf.Descriptors.Descriptor
25693 getDescriptorForType() {
25694 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PushMessage_descriptor;
25697 @java.lang.Override
25698 public com.daimler.mbcarkit.proto.VehicleEvents.PushMessage getDefaultInstanceForType() {
25699 return com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.getDefaultInstance();
25702 @java.lang.Override
25703 public com.daimler.mbcarkit.proto.VehicleEvents.PushMessage build() {
25704 com.daimler.mbcarkit.proto.VehicleEvents.PushMessage result = buildPartial();
25705 if (!result.isInitialized()) {
25706 throw newUninitializedMessageException(result);
25711 @java.lang.Override
25712 public com.daimler.mbcarkit.proto.VehicleEvents.PushMessage buildPartial() {
25713 com.daimler.mbcarkit.proto.VehicleEvents.PushMessage result = new com.daimler.mbcarkit.proto.VehicleEvents.PushMessage(this);
25714 if (bitField0_ != 0) { buildPartial0(result); }
25715 buildPartialOneofs(result);
25720 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.PushMessage result) {
25721 int from_bitField0_ = bitField0_;
25722 if (((from_bitField0_ & 0x00000001) != 0)) {
25723 result.trackingId_ = trackingId_;
25727 private void buildPartialOneofs(com.daimler.mbcarkit.proto.VehicleEvents.PushMessage result) {
25728 result.msgCase_ = msgCase_;
25729 result.msg_ = this.msg_;
25730 if (msgCase_ == 1 &&
25731 vepUpdateBuilder_ != null) {
25732 result.msg_ = vepUpdateBuilder_.build();
25734 if (msgCase_ == 2 &&
25735 vepUpdatesBuilder_ != null) {
25736 result.msg_ = vepUpdatesBuilder_.build();
25738 if (msgCase_ == 3 &&
25739 debugMessageBuilder_ != null) {
25740 result.msg_ = debugMessageBuilder_.build();
25742 if (msgCase_ == 9 &&
25743 serviceStatusUpdatesBuilder_ != null) {
25744 result.msg_ = serviceStatusUpdatesBuilder_.build();
25746 if (msgCase_ == 13 &&
25747 serviceStatusUpdateBuilder_ != null) {
25748 result.msg_ = serviceStatusUpdateBuilder_.build();
25750 if (msgCase_ == 10 &&
25751 userDataUpdateBuilder_ != null) {
25752 result.msg_ = userDataUpdateBuilder_.build();
25754 if (msgCase_ == 14 &&
25755 userVehicleAuthChangedUpdateBuilder_ != null) {
25756 result.msg_ = userVehicleAuthChangedUpdateBuilder_.build();
25758 if (msgCase_ == 11 &&
25759 userPictureUpdateBuilder_ != null) {
25760 result.msg_ = userPictureUpdateBuilder_.build();
25762 if (msgCase_ == 12 &&
25763 userPinUpdateBuilder_ != null) {
25764 result.msg_ = userPinUpdateBuilder_.build();
25766 if (msgCase_ == 15 &&
25767 vehicleUpdatedBuilder_ != null) {
25768 result.msg_ = vehicleUpdatedBuilder_.build();
25770 if (msgCase_ == 16 &&
25771 preferredDealerChangeBuilder_ != null) {
25772 result.msg_ = preferredDealerChangeBuilder_.build();
25774 if (msgCase_ == 17 &&
25775 apptwinCommandStatusUpdatesByVinBuilder_ != null) {
25776 result.msg_ = apptwinCommandStatusUpdatesByVinBuilder_.build();
25778 if (msgCase_ == 18 &&
25779 apptwinPendingCommandRequestBuilder_ != null) {
25780 result.msg_ = apptwinPendingCommandRequestBuilder_.build();
25782 if (msgCase_ == 19 &&
25783 assignedVehiclesBuilder_ != null) {
25784 result.msg_ = assignedVehiclesBuilder_.build();
25788 @java.lang.Override
25789 public Builder mergeFrom(com.google.protobuf.Message other) {
25790 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.PushMessage) {
25791 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.PushMessage)other);
25793 super.mergeFrom(other);
25798 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.PushMessage other) {
25799 if (other == com.daimler.mbcarkit.proto.VehicleEvents.PushMessage.getDefaultInstance()) return this;
25800 if (!other.getTrackingId().isEmpty()) {
25801 trackingId_ = other.trackingId_;
25802 bitField0_ |= 0x00000001;
25805 switch (other.getMsgCase()) {
25807 mergeVepUpdate(other.getVepUpdate());
25811 mergeVepUpdates(other.getVepUpdates());
25814 case DEBUGMESSAGE: {
25815 mergeDebugMessage(other.getDebugMessage());
25818 case SERVICE_STATUS_UPDATES: {
25819 mergeServiceStatusUpdates(other.getServiceStatusUpdates());
25822 case SERVICE_STATUS_UPDATE: {
25823 mergeServiceStatusUpdate(other.getServiceStatusUpdate());
25826 case USER_DATA_UPDATE: {
25827 mergeUserDataUpdate(other.getUserDataUpdate());
25830 case USER_VEHICLE_AUTH_CHANGED_UPDATE: {
25831 mergeUserVehicleAuthChangedUpdate(other.getUserVehicleAuthChangedUpdate());
25834 case USER_PICTURE_UPDATE: {
25835 mergeUserPictureUpdate(other.getUserPictureUpdate());
25838 case USER_PIN_UPDATE: {
25839 mergeUserPinUpdate(other.getUserPinUpdate());
25842 case VEHICLE_UPDATED: {
25843 mergeVehicleUpdated(other.getVehicleUpdated());
25846 case PREFERRED_DEALER_CHANGE: {
25847 mergePreferredDealerChange(other.getPreferredDealerChange());
25850 case APPTWIN_COMMAND_STATUS_UPDATES_BY_VIN: {
25851 mergeApptwinCommandStatusUpdatesByVin(other.getApptwinCommandStatusUpdatesByVin());
25854 case APPTWIN_PENDING_COMMAND_REQUEST: {
25855 mergeApptwinPendingCommandRequest(other.getApptwinPendingCommandRequest());
25858 case ASSIGNED_VEHICLES: {
25859 mergeAssignedVehicles(other.getAssignedVehicles());
25862 case MSG_NOT_SET: {
25866 this.mergeUnknownFields(other.getUnknownFields());
25871 @java.lang.Override
25872 public final boolean isInitialized() {
25876 @java.lang.Override
25877 public Builder mergeFrom(
25878 com.google.protobuf.CodedInputStream input,
25879 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
25880 throws java.io.IOException {
25881 if (extensionRegistry == null) {
25882 throw new java.lang.NullPointerException();
25885 boolean done = false;
25887 int tag = input.readTag();
25894 getVepUpdateFieldBuilder().getBuilder(),
25895 extensionRegistry);
25901 getVepUpdatesFieldBuilder().getBuilder(),
25902 extensionRegistry);
25908 getDebugMessageFieldBuilder().getBuilder(),
25909 extensionRegistry);
25914 trackingId_ = input.readStringRequireUtf8();
25915 bitField0_ |= 0x00000001;
25920 getServiceStatusUpdatesFieldBuilder().getBuilder(),
25921 extensionRegistry);
25927 getUserDataUpdateFieldBuilder().getBuilder(),
25928 extensionRegistry);
25934 getUserPictureUpdateFieldBuilder().getBuilder(),
25935 extensionRegistry);
25941 getUserPinUpdateFieldBuilder().getBuilder(),
25942 extensionRegistry);
25948 getServiceStatusUpdateFieldBuilder().getBuilder(),
25949 extensionRegistry);
25955 getUserVehicleAuthChangedUpdateFieldBuilder().getBuilder(),
25956 extensionRegistry);
25962 getVehicleUpdatedFieldBuilder().getBuilder(),
25963 extensionRegistry);
25969 getPreferredDealerChangeFieldBuilder().getBuilder(),
25970 extensionRegistry);
25976 getApptwinCommandStatusUpdatesByVinFieldBuilder().getBuilder(),
25977 extensionRegistry);
25983 getApptwinPendingCommandRequestFieldBuilder().getBuilder(),
25984 extensionRegistry);
25990 getAssignedVehiclesFieldBuilder().getBuilder(),
25991 extensionRegistry);
25996 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
25997 done = true; // was an endgroup tag
26003 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
26004 throw e.unwrapIOException();
26010 private int msgCase_ = 0;
26011 private java.lang.Object msg_;
26014 return MsgCase.forNumber(
26018 public Builder clearMsg() {
26025 private int bitField0_;
26027 private java.lang.Object trackingId_ = "";
26029 * <code>string tracking_id = 5;</code>
26030 * @return The trackingId.
26032 public java.lang.String getTrackingId() {
26033 java.lang.Object ref = trackingId_;
26034 if (!(ref instanceof java.lang.String)) {
26035 com.google.protobuf.ByteString bs =
26036 (com.google.protobuf.ByteString) ref;
26037 java.lang.String s = bs.toStringUtf8();
26041 return (java.lang.String) ref;
26045 * <code>string tracking_id = 5;</code>
26046 * @return The bytes for trackingId.
26048 public com.google.protobuf.ByteString
26049 getTrackingIdBytes() {
26050 java.lang.Object ref = trackingId_;
26051 if (ref instanceof String) {
26052 com.google.protobuf.ByteString b =
26053 com.google.protobuf.ByteString.copyFromUtf8(
26054 (java.lang.String) ref);
26058 return (com.google.protobuf.ByteString) ref;
26062 * <code>string tracking_id = 5;</code>
26063 * @param value The trackingId to set.
26064 * @return This builder for chaining.
26066 public Builder setTrackingId(
26067 java.lang.String value) {
26068 if (value == null) { throw new NullPointerException(); }
26069 trackingId_ = value;
26070 bitField0_ |= 0x00000001;
26075 * <code>string tracking_id = 5;</code>
26076 * @return This builder for chaining.
26078 public Builder clearTrackingId() {
26079 trackingId_ = getDefaultInstance().getTrackingId();
26080 bitField0_ = (bitField0_ & ~0x00000001);
26085 * <code>string tracking_id = 5;</code>
26086 * @param value The bytes for trackingId to set.
26087 * @return This builder for chaining.
26089 public Builder setTrackingIdBytes(
26090 com.google.protobuf.ByteString value) {
26091 if (value == null) { throw new NullPointerException(); }
26092 checkByteStringIsUtf8(value);
26093 trackingId_ = value;
26094 bitField0_ |= 0x00000001;
26099 private com.google.protobuf.SingleFieldBuilder<
26100 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder> vepUpdateBuilder_;
26102 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26103 * @return Whether the vepUpdate field is set.
26105 @java.lang.Override
26106 public boolean hasVepUpdate() {
26107 return msgCase_ == 1;
26110 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26111 * @return The vepUpdate.
26113 @java.lang.Override
26114 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate getVepUpdate() {
26115 if (vepUpdateBuilder_ == null) {
26116 if (msgCase_ == 1) {
26117 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_;
26119 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
26121 if (msgCase_ == 1) {
26122 return vepUpdateBuilder_.getMessage();
26124 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
26128 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26130 public Builder setVepUpdate(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate value) {
26131 if (vepUpdateBuilder_ == null) {
26132 if (value == null) {
26133 throw new NullPointerException();
26138 vepUpdateBuilder_.setMessage(value);
26144 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26146 public Builder setVepUpdate(
26147 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder builderForValue) {
26148 if (vepUpdateBuilder_ == null) {
26149 msg_ = builderForValue.build();
26152 vepUpdateBuilder_.setMessage(builderForValue.build());
26158 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26160 public Builder mergeVepUpdate(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate value) {
26161 if (vepUpdateBuilder_ == null) {
26162 if (msgCase_ == 1 &&
26163 msg_ != com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance()) {
26164 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_)
26165 .mergeFrom(value).buildPartial();
26171 if (msgCase_ == 1) {
26172 vepUpdateBuilder_.mergeFrom(value);
26174 vepUpdateBuilder_.setMessage(value);
26181 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26183 public Builder clearVepUpdate() {
26184 if (vepUpdateBuilder_ == null) {
26185 if (msgCase_ == 1) {
26191 if (msgCase_ == 1) {
26195 vepUpdateBuilder_.clear();
26200 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26202 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder getVepUpdateBuilder() {
26203 return getVepUpdateFieldBuilder().getBuilder();
26206 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26208 @java.lang.Override
26209 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder getVepUpdateOrBuilder() {
26210 if ((msgCase_ == 1) && (vepUpdateBuilder_ != null)) {
26211 return vepUpdateBuilder_.getMessageOrBuilder();
26213 if (msgCase_ == 1) {
26214 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_;
26216 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
26220 * <code>.proto.VEPUpdate vepUpdate = 1;</code>
26222 private com.google.protobuf.SingleFieldBuilder<
26223 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder>
26224 getVepUpdateFieldBuilder() {
26225 if (vepUpdateBuilder_ == null) {
26226 if (!(msgCase_ == 1)) {
26227 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.getDefaultInstance();
26229 vepUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
26230 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdateOrBuilder>(
26231 (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdate) msg_,
26232 getParentForChildren(),
26238 return vepUpdateBuilder_;
26241 private com.google.protobuf.SingleFieldBuilder<
26242 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder> vepUpdatesBuilder_;
26244 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26245 * @return Whether the vepUpdates field is set.
26247 @java.lang.Override
26248 public boolean hasVepUpdates() {
26249 return msgCase_ == 2;
26252 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26253 * @return The vepUpdates.
26255 @java.lang.Override
26256 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN getVepUpdates() {
26257 if (vepUpdatesBuilder_ == null) {
26258 if (msgCase_ == 2) {
26259 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_;
26261 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
26263 if (msgCase_ == 2) {
26264 return vepUpdatesBuilder_.getMessage();
26266 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
26270 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26272 public Builder setVepUpdates(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN value) {
26273 if (vepUpdatesBuilder_ == null) {
26274 if (value == null) {
26275 throw new NullPointerException();
26280 vepUpdatesBuilder_.setMessage(value);
26286 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26288 public Builder setVepUpdates(
26289 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder builderForValue) {
26290 if (vepUpdatesBuilder_ == null) {
26291 msg_ = builderForValue.build();
26294 vepUpdatesBuilder_.setMessage(builderForValue.build());
26300 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26302 public Builder mergeVepUpdates(com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN value) {
26303 if (vepUpdatesBuilder_ == null) {
26304 if (msgCase_ == 2 &&
26305 msg_ != com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance()) {
26306 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_)
26307 .mergeFrom(value).buildPartial();
26313 if (msgCase_ == 2) {
26314 vepUpdatesBuilder_.mergeFrom(value);
26316 vepUpdatesBuilder_.setMessage(value);
26323 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26325 public Builder clearVepUpdates() {
26326 if (vepUpdatesBuilder_ == null) {
26327 if (msgCase_ == 2) {
26333 if (msgCase_ == 2) {
26337 vepUpdatesBuilder_.clear();
26342 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26344 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder getVepUpdatesBuilder() {
26345 return getVepUpdatesFieldBuilder().getBuilder();
26348 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26350 @java.lang.Override
26351 public com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder getVepUpdatesOrBuilder() {
26352 if ((msgCase_ == 2) && (vepUpdatesBuilder_ != null)) {
26353 return vepUpdatesBuilder_.getMessageOrBuilder();
26355 if (msgCase_ == 2) {
26356 return (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_;
26358 return com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
26362 * <code>.proto.VEPUpdatesByVIN vepUpdates = 2;</code>
26364 private com.google.protobuf.SingleFieldBuilder<
26365 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder>
26366 getVepUpdatesFieldBuilder() {
26367 if (vepUpdatesBuilder_ == null) {
26368 if (!(msgCase_ == 2)) {
26369 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.getDefaultInstance();
26371 vepUpdatesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
26372 com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVINOrBuilder>(
26373 (com.daimler.mbcarkit.proto.VehicleEvents.VEPUpdatesByVIN) msg_,
26374 getParentForChildren(),
26380 return vepUpdatesBuilder_;
26383 private com.google.protobuf.SingleFieldBuilder<
26384 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder> debugMessageBuilder_;
26386 * <code>.proto.DebugMessage debugMessage = 3;</code>
26387 * @return Whether the debugMessage field is set.
26389 @java.lang.Override
26390 public boolean hasDebugMessage() {
26391 return msgCase_ == 3;
26394 * <code>.proto.DebugMessage debugMessage = 3;</code>
26395 * @return The debugMessage.
26397 @java.lang.Override
26398 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage getDebugMessage() {
26399 if (debugMessageBuilder_ == null) {
26400 if (msgCase_ == 3) {
26401 return (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_;
26403 return com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
26405 if (msgCase_ == 3) {
26406 return debugMessageBuilder_.getMessage();
26408 return com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
26412 * <code>.proto.DebugMessage debugMessage = 3;</code>
26414 public Builder setDebugMessage(com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage value) {
26415 if (debugMessageBuilder_ == null) {
26416 if (value == null) {
26417 throw new NullPointerException();
26422 debugMessageBuilder_.setMessage(value);
26428 * <code>.proto.DebugMessage debugMessage = 3;</code>
26430 public Builder setDebugMessage(
26431 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder builderForValue) {
26432 if (debugMessageBuilder_ == null) {
26433 msg_ = builderForValue.build();
26436 debugMessageBuilder_.setMessage(builderForValue.build());
26442 * <code>.proto.DebugMessage debugMessage = 3;</code>
26444 public Builder mergeDebugMessage(com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage value) {
26445 if (debugMessageBuilder_ == null) {
26446 if (msgCase_ == 3 &&
26447 msg_ != com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance()) {
26448 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_)
26449 .mergeFrom(value).buildPartial();
26455 if (msgCase_ == 3) {
26456 debugMessageBuilder_.mergeFrom(value);
26458 debugMessageBuilder_.setMessage(value);
26465 * <code>.proto.DebugMessage debugMessage = 3;</code>
26467 public Builder clearDebugMessage() {
26468 if (debugMessageBuilder_ == null) {
26469 if (msgCase_ == 3) {
26475 if (msgCase_ == 3) {
26479 debugMessageBuilder_.clear();
26484 * <code>.proto.DebugMessage debugMessage = 3;</code>
26486 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder getDebugMessageBuilder() {
26487 return getDebugMessageFieldBuilder().getBuilder();
26490 * <code>.proto.DebugMessage debugMessage = 3;</code>
26492 @java.lang.Override
26493 public com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder getDebugMessageOrBuilder() {
26494 if ((msgCase_ == 3) && (debugMessageBuilder_ != null)) {
26495 return debugMessageBuilder_.getMessageOrBuilder();
26497 if (msgCase_ == 3) {
26498 return (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_;
26500 return com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
26504 * <code>.proto.DebugMessage debugMessage = 3;</code>
26506 private com.google.protobuf.SingleFieldBuilder<
26507 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder>
26508 getDebugMessageFieldBuilder() {
26509 if (debugMessageBuilder_ == null) {
26510 if (!(msgCase_ == 3)) {
26511 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.getDefaultInstance();
26513 debugMessageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
26514 com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage.Builder, com.daimler.mbcarkit.proto.VehicleEvents.DebugMessageOrBuilder>(
26515 (com.daimler.mbcarkit.proto.VehicleEvents.DebugMessage) msg_,
26516 getParentForChildren(),
26522 return debugMessageBuilder_;
26525 private com.google.protobuf.SingleFieldBuilder<
26526 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVINOrBuilder> serviceStatusUpdatesBuilder_;
26528 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26529 * @return Whether the serviceStatusUpdates field is set.
26531 @java.lang.Override
26532 public boolean hasServiceStatusUpdates() {
26533 return msgCase_ == 9;
26536 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26537 * @return The serviceStatusUpdates.
26539 @java.lang.Override
26540 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN getServiceStatusUpdates() {
26541 if (serviceStatusUpdatesBuilder_ == null) {
26542 if (msgCase_ == 9) {
26543 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_;
26545 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance();
26547 if (msgCase_ == 9) {
26548 return serviceStatusUpdatesBuilder_.getMessage();
26550 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance();
26554 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26556 public Builder setServiceStatusUpdates(com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN value) {
26557 if (serviceStatusUpdatesBuilder_ == null) {
26558 if (value == null) {
26559 throw new NullPointerException();
26564 serviceStatusUpdatesBuilder_.setMessage(value);
26570 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26572 public Builder setServiceStatusUpdates(
26573 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.Builder builderForValue) {
26574 if (serviceStatusUpdatesBuilder_ == null) {
26575 msg_ = builderForValue.build();
26578 serviceStatusUpdatesBuilder_.setMessage(builderForValue.build());
26584 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26586 public Builder mergeServiceStatusUpdates(com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN value) {
26587 if (serviceStatusUpdatesBuilder_ == null) {
26588 if (msgCase_ == 9 &&
26589 msg_ != com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance()) {
26590 msg_ = com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.newBuilder((com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_)
26591 .mergeFrom(value).buildPartial();
26597 if (msgCase_ == 9) {
26598 serviceStatusUpdatesBuilder_.mergeFrom(value);
26600 serviceStatusUpdatesBuilder_.setMessage(value);
26607 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26609 public Builder clearServiceStatusUpdates() {
26610 if (serviceStatusUpdatesBuilder_ == null) {
26611 if (msgCase_ == 9) {
26617 if (msgCase_ == 9) {
26621 serviceStatusUpdatesBuilder_.clear();
26626 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26628 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.Builder getServiceStatusUpdatesBuilder() {
26629 return getServiceStatusUpdatesFieldBuilder().getBuilder();
26632 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26634 @java.lang.Override
26635 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVINOrBuilder getServiceStatusUpdatesOrBuilder() {
26636 if ((msgCase_ == 9) && (serviceStatusUpdatesBuilder_ != null)) {
26637 return serviceStatusUpdatesBuilder_.getMessageOrBuilder();
26639 if (msgCase_ == 9) {
26640 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_;
26642 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance();
26646 * <code>.proto.ServiceStatusUpdatesByVIN service_status_updates = 9;</code>
26648 private com.google.protobuf.SingleFieldBuilder<
26649 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVINOrBuilder>
26650 getServiceStatusUpdatesFieldBuilder() {
26651 if (serviceStatusUpdatesBuilder_ == null) {
26652 if (!(msgCase_ == 9)) {
26653 msg_ = com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.getDefaultInstance();
26655 serviceStatusUpdatesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
26656 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVINOrBuilder>(
26657 (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdatesByVIN) msg_,
26658 getParentForChildren(),
26664 return serviceStatusUpdatesBuilder_;
26667 private com.google.protobuf.SingleFieldBuilder<
26668 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.Builder, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdateOrBuilder> serviceStatusUpdateBuilder_;
26670 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26671 * @return Whether the serviceStatusUpdate field is set.
26673 @java.lang.Override
26674 public boolean hasServiceStatusUpdate() {
26675 return msgCase_ == 13;
26678 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26679 * @return The serviceStatusUpdate.
26681 @java.lang.Override
26682 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate getServiceStatusUpdate() {
26683 if (serviceStatusUpdateBuilder_ == null) {
26684 if (msgCase_ == 13) {
26685 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_;
26687 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance();
26689 if (msgCase_ == 13) {
26690 return serviceStatusUpdateBuilder_.getMessage();
26692 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance();
26696 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26698 public Builder setServiceStatusUpdate(com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate value) {
26699 if (serviceStatusUpdateBuilder_ == null) {
26700 if (value == null) {
26701 throw new NullPointerException();
26706 serviceStatusUpdateBuilder_.setMessage(value);
26712 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26714 public Builder setServiceStatusUpdate(
26715 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.Builder builderForValue) {
26716 if (serviceStatusUpdateBuilder_ == null) {
26717 msg_ = builderForValue.build();
26720 serviceStatusUpdateBuilder_.setMessage(builderForValue.build());
26726 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26728 public Builder mergeServiceStatusUpdate(com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate value) {
26729 if (serviceStatusUpdateBuilder_ == null) {
26730 if (msgCase_ == 13 &&
26731 msg_ != com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance()) {
26732 msg_ = com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.newBuilder((com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_)
26733 .mergeFrom(value).buildPartial();
26739 if (msgCase_ == 13) {
26740 serviceStatusUpdateBuilder_.mergeFrom(value);
26742 serviceStatusUpdateBuilder_.setMessage(value);
26749 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26751 public Builder clearServiceStatusUpdate() {
26752 if (serviceStatusUpdateBuilder_ == null) {
26753 if (msgCase_ == 13) {
26759 if (msgCase_ == 13) {
26763 serviceStatusUpdateBuilder_.clear();
26768 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26770 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.Builder getServiceStatusUpdateBuilder() {
26771 return getServiceStatusUpdateFieldBuilder().getBuilder();
26774 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26776 @java.lang.Override
26777 public com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdateOrBuilder getServiceStatusUpdateOrBuilder() {
26778 if ((msgCase_ == 13) && (serviceStatusUpdateBuilder_ != null)) {
26779 return serviceStatusUpdateBuilder_.getMessageOrBuilder();
26781 if (msgCase_ == 13) {
26782 return (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_;
26784 return com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance();
26788 * <code>.proto.ServiceStatusUpdate service_status_update = 13;</code>
26790 private com.google.protobuf.SingleFieldBuilder<
26791 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.Builder, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdateOrBuilder>
26792 getServiceStatusUpdateFieldBuilder() {
26793 if (serviceStatusUpdateBuilder_ == null) {
26794 if (!(msgCase_ == 13)) {
26795 msg_ = com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.getDefaultInstance();
26797 serviceStatusUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
26798 com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate.Builder, com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdateOrBuilder>(
26799 (com.daimler.mbcarkit.proto.ServiceActivation.ServiceStatusUpdate) msg_,
26800 getParentForChildren(),
26806 return serviceStatusUpdateBuilder_;
26809 private com.google.protobuf.SingleFieldBuilder<
26810 com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate, com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserDataUpdateOrBuilder> userDataUpdateBuilder_;
26812 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26813 * @return Whether the userDataUpdate field is set.
26815 @java.lang.Override
26816 public boolean hasUserDataUpdate() {
26817 return msgCase_ == 10;
26820 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26821 * @return The userDataUpdate.
26823 @java.lang.Override
26824 public com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate getUserDataUpdate() {
26825 if (userDataUpdateBuilder_ == null) {
26826 if (msgCase_ == 10) {
26827 return (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_;
26829 return com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance();
26831 if (msgCase_ == 10) {
26832 return userDataUpdateBuilder_.getMessage();
26834 return com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance();
26838 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26840 public Builder setUserDataUpdate(com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate value) {
26841 if (userDataUpdateBuilder_ == null) {
26842 if (value == null) {
26843 throw new NullPointerException();
26848 userDataUpdateBuilder_.setMessage(value);
26854 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26856 public Builder setUserDataUpdate(
26857 com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.Builder builderForValue) {
26858 if (userDataUpdateBuilder_ == null) {
26859 msg_ = builderForValue.build();
26862 userDataUpdateBuilder_.setMessage(builderForValue.build());
26868 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26870 public Builder mergeUserDataUpdate(com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate value) {
26871 if (userDataUpdateBuilder_ == null) {
26872 if (msgCase_ == 10 &&
26873 msg_ != com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance()) {
26874 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.newBuilder((com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_)
26875 .mergeFrom(value).buildPartial();
26881 if (msgCase_ == 10) {
26882 userDataUpdateBuilder_.mergeFrom(value);
26884 userDataUpdateBuilder_.setMessage(value);
26891 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26893 public Builder clearUserDataUpdate() {
26894 if (userDataUpdateBuilder_ == null) {
26895 if (msgCase_ == 10) {
26901 if (msgCase_ == 10) {
26905 userDataUpdateBuilder_.clear();
26910 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26912 public com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.Builder getUserDataUpdateBuilder() {
26913 return getUserDataUpdateFieldBuilder().getBuilder();
26916 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26918 @java.lang.Override
26919 public com.daimler.mbcarkit.proto.UserEvents.UserDataUpdateOrBuilder getUserDataUpdateOrBuilder() {
26920 if ((msgCase_ == 10) && (userDataUpdateBuilder_ != null)) {
26921 return userDataUpdateBuilder_.getMessageOrBuilder();
26923 if (msgCase_ == 10) {
26924 return (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_;
26926 return com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance();
26930 * <code>.proto.UserDataUpdate user_data_update = 10;</code>
26932 private com.google.protobuf.SingleFieldBuilder<
26933 com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate, com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserDataUpdateOrBuilder>
26934 getUserDataUpdateFieldBuilder() {
26935 if (userDataUpdateBuilder_ == null) {
26936 if (!(msgCase_ == 10)) {
26937 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.getDefaultInstance();
26939 userDataUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
26940 com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate, com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserDataUpdateOrBuilder>(
26941 (com.daimler.mbcarkit.proto.UserEvents.UserDataUpdate) msg_,
26942 getParentForChildren(),
26948 return userDataUpdateBuilder_;
26951 private com.google.protobuf.SingleFieldBuilder<
26952 com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate, com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdateOrBuilder> userVehicleAuthChangedUpdateBuilder_;
26954 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
26955 * @return Whether the userVehicleAuthChangedUpdate field is set.
26957 @java.lang.Override
26958 public boolean hasUserVehicleAuthChangedUpdate() {
26959 return msgCase_ == 14;
26962 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
26963 * @return The userVehicleAuthChangedUpdate.
26965 @java.lang.Override
26966 public com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate getUserVehicleAuthChangedUpdate() {
26967 if (userVehicleAuthChangedUpdateBuilder_ == null) {
26968 if (msgCase_ == 14) {
26969 return (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_;
26971 return com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance();
26973 if (msgCase_ == 14) {
26974 return userVehicleAuthChangedUpdateBuilder_.getMessage();
26976 return com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance();
26980 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
26982 public Builder setUserVehicleAuthChangedUpdate(com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate value) {
26983 if (userVehicleAuthChangedUpdateBuilder_ == null) {
26984 if (value == null) {
26985 throw new NullPointerException();
26990 userVehicleAuthChangedUpdateBuilder_.setMessage(value);
26996 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
26998 public Builder setUserVehicleAuthChangedUpdate(
26999 com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.Builder builderForValue) {
27000 if (userVehicleAuthChangedUpdateBuilder_ == null) {
27001 msg_ = builderForValue.build();
27004 userVehicleAuthChangedUpdateBuilder_.setMessage(builderForValue.build());
27010 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
27012 public Builder mergeUserVehicleAuthChangedUpdate(com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate value) {
27013 if (userVehicleAuthChangedUpdateBuilder_ == null) {
27014 if (msgCase_ == 14 &&
27015 msg_ != com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance()) {
27016 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.newBuilder((com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_)
27017 .mergeFrom(value).buildPartial();
27023 if (msgCase_ == 14) {
27024 userVehicleAuthChangedUpdateBuilder_.mergeFrom(value);
27026 userVehicleAuthChangedUpdateBuilder_.setMessage(value);
27033 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
27035 public Builder clearUserVehicleAuthChangedUpdate() {
27036 if (userVehicleAuthChangedUpdateBuilder_ == null) {
27037 if (msgCase_ == 14) {
27043 if (msgCase_ == 14) {
27047 userVehicleAuthChangedUpdateBuilder_.clear();
27052 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
27054 public com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.Builder getUserVehicleAuthChangedUpdateBuilder() {
27055 return getUserVehicleAuthChangedUpdateFieldBuilder().getBuilder();
27058 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
27060 @java.lang.Override
27061 public com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdateOrBuilder getUserVehicleAuthChangedUpdateOrBuilder() {
27062 if ((msgCase_ == 14) && (userVehicleAuthChangedUpdateBuilder_ != null)) {
27063 return userVehicleAuthChangedUpdateBuilder_.getMessageOrBuilder();
27065 if (msgCase_ == 14) {
27066 return (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_;
27068 return com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance();
27072 * <code>.proto.UserVehicleAuthChangedUpdate user_vehicle_auth_changed_update = 14;</code>
27074 private com.google.protobuf.SingleFieldBuilder<
27075 com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate, com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdateOrBuilder>
27076 getUserVehicleAuthChangedUpdateFieldBuilder() {
27077 if (userVehicleAuthChangedUpdateBuilder_ == null) {
27078 if (!(msgCase_ == 14)) {
27079 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.getDefaultInstance();
27081 userVehicleAuthChangedUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27082 com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate, com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdateOrBuilder>(
27083 (com.daimler.mbcarkit.proto.UserEvents.UserVehicleAuthChangedUpdate) msg_,
27084 getParentForChildren(),
27090 return userVehicleAuthChangedUpdateBuilder_;
27093 private com.google.protobuf.SingleFieldBuilder<
27094 com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate, com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdateOrBuilder> userPictureUpdateBuilder_;
27096 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27097 * @return Whether the userPictureUpdate field is set.
27099 @java.lang.Override
27100 public boolean hasUserPictureUpdate() {
27101 return msgCase_ == 11;
27104 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27105 * @return The userPictureUpdate.
27107 @java.lang.Override
27108 public com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate getUserPictureUpdate() {
27109 if (userPictureUpdateBuilder_ == null) {
27110 if (msgCase_ == 11) {
27111 return (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_;
27113 return com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance();
27115 if (msgCase_ == 11) {
27116 return userPictureUpdateBuilder_.getMessage();
27118 return com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance();
27122 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27124 public Builder setUserPictureUpdate(com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate value) {
27125 if (userPictureUpdateBuilder_ == null) {
27126 if (value == null) {
27127 throw new NullPointerException();
27132 userPictureUpdateBuilder_.setMessage(value);
27138 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27140 public Builder setUserPictureUpdate(
27141 com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.Builder builderForValue) {
27142 if (userPictureUpdateBuilder_ == null) {
27143 msg_ = builderForValue.build();
27146 userPictureUpdateBuilder_.setMessage(builderForValue.build());
27152 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27154 public Builder mergeUserPictureUpdate(com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate value) {
27155 if (userPictureUpdateBuilder_ == null) {
27156 if (msgCase_ == 11 &&
27157 msg_ != com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance()) {
27158 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.newBuilder((com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_)
27159 .mergeFrom(value).buildPartial();
27165 if (msgCase_ == 11) {
27166 userPictureUpdateBuilder_.mergeFrom(value);
27168 userPictureUpdateBuilder_.setMessage(value);
27175 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27177 public Builder clearUserPictureUpdate() {
27178 if (userPictureUpdateBuilder_ == null) {
27179 if (msgCase_ == 11) {
27185 if (msgCase_ == 11) {
27189 userPictureUpdateBuilder_.clear();
27194 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27196 public com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.Builder getUserPictureUpdateBuilder() {
27197 return getUserPictureUpdateFieldBuilder().getBuilder();
27200 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27202 @java.lang.Override
27203 public com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdateOrBuilder getUserPictureUpdateOrBuilder() {
27204 if ((msgCase_ == 11) && (userPictureUpdateBuilder_ != null)) {
27205 return userPictureUpdateBuilder_.getMessageOrBuilder();
27207 if (msgCase_ == 11) {
27208 return (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_;
27210 return com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance();
27214 * <code>.proto.UserPictureUpdate user_picture_update = 11;</code>
27216 private com.google.protobuf.SingleFieldBuilder<
27217 com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate, com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdateOrBuilder>
27218 getUserPictureUpdateFieldBuilder() {
27219 if (userPictureUpdateBuilder_ == null) {
27220 if (!(msgCase_ == 11)) {
27221 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.getDefaultInstance();
27223 userPictureUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27224 com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate, com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdateOrBuilder>(
27225 (com.daimler.mbcarkit.proto.UserEvents.UserPictureUpdate) msg_,
27226 getParentForChildren(),
27232 return userPictureUpdateBuilder_;
27235 private com.google.protobuf.SingleFieldBuilder<
27236 com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate, com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserPINUpdateOrBuilder> userPinUpdateBuilder_;
27238 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27239 * @return Whether the userPinUpdate field is set.
27241 @java.lang.Override
27242 public boolean hasUserPinUpdate() {
27243 return msgCase_ == 12;
27246 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27247 * @return The userPinUpdate.
27249 @java.lang.Override
27250 public com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate getUserPinUpdate() {
27251 if (userPinUpdateBuilder_ == null) {
27252 if (msgCase_ == 12) {
27253 return (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_;
27255 return com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance();
27257 if (msgCase_ == 12) {
27258 return userPinUpdateBuilder_.getMessage();
27260 return com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance();
27264 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27266 public Builder setUserPinUpdate(com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate value) {
27267 if (userPinUpdateBuilder_ == null) {
27268 if (value == null) {
27269 throw new NullPointerException();
27274 userPinUpdateBuilder_.setMessage(value);
27280 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27282 public Builder setUserPinUpdate(
27283 com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.Builder builderForValue) {
27284 if (userPinUpdateBuilder_ == null) {
27285 msg_ = builderForValue.build();
27288 userPinUpdateBuilder_.setMessage(builderForValue.build());
27294 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27296 public Builder mergeUserPinUpdate(com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate value) {
27297 if (userPinUpdateBuilder_ == null) {
27298 if (msgCase_ == 12 &&
27299 msg_ != com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance()) {
27300 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.newBuilder((com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_)
27301 .mergeFrom(value).buildPartial();
27307 if (msgCase_ == 12) {
27308 userPinUpdateBuilder_.mergeFrom(value);
27310 userPinUpdateBuilder_.setMessage(value);
27317 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27319 public Builder clearUserPinUpdate() {
27320 if (userPinUpdateBuilder_ == null) {
27321 if (msgCase_ == 12) {
27327 if (msgCase_ == 12) {
27331 userPinUpdateBuilder_.clear();
27336 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27338 public com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.Builder getUserPinUpdateBuilder() {
27339 return getUserPinUpdateFieldBuilder().getBuilder();
27342 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27344 @java.lang.Override
27345 public com.daimler.mbcarkit.proto.UserEvents.UserPINUpdateOrBuilder getUserPinUpdateOrBuilder() {
27346 if ((msgCase_ == 12) && (userPinUpdateBuilder_ != null)) {
27347 return userPinUpdateBuilder_.getMessageOrBuilder();
27349 if (msgCase_ == 12) {
27350 return (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_;
27352 return com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance();
27356 * <code>.proto.UserPINUpdate user_pin_update = 12;</code>
27358 private com.google.protobuf.SingleFieldBuilder<
27359 com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate, com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserPINUpdateOrBuilder>
27360 getUserPinUpdateFieldBuilder() {
27361 if (userPinUpdateBuilder_ == null) {
27362 if (!(msgCase_ == 12)) {
27363 msg_ = com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.getDefaultInstance();
27365 userPinUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27366 com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate, com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate.Builder, com.daimler.mbcarkit.proto.UserEvents.UserPINUpdateOrBuilder>(
27367 (com.daimler.mbcarkit.proto.UserEvents.UserPINUpdate) msg_,
27368 getParentForChildren(),
27374 return userPinUpdateBuilder_;
27377 private com.google.protobuf.SingleFieldBuilder<
27378 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder> vehicleUpdatedBuilder_;
27380 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27381 * @return Whether the vehicleUpdated field is set.
27383 @java.lang.Override
27384 public boolean hasVehicleUpdated() {
27385 return msgCase_ == 15;
27388 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27389 * @return The vehicleUpdated.
27391 @java.lang.Override
27392 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated getVehicleUpdated() {
27393 if (vehicleUpdatedBuilder_ == null) {
27394 if (msgCase_ == 15) {
27395 return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_;
27397 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
27399 if (msgCase_ == 15) {
27400 return vehicleUpdatedBuilder_.getMessage();
27402 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
27406 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27408 public Builder setVehicleUpdated(com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated value) {
27409 if (vehicleUpdatedBuilder_ == null) {
27410 if (value == null) {
27411 throw new NullPointerException();
27416 vehicleUpdatedBuilder_.setMessage(value);
27422 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27424 public Builder setVehicleUpdated(
27425 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder builderForValue) {
27426 if (vehicleUpdatedBuilder_ == null) {
27427 msg_ = builderForValue.build();
27430 vehicleUpdatedBuilder_.setMessage(builderForValue.build());
27436 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27438 public Builder mergeVehicleUpdated(com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated value) {
27439 if (vehicleUpdatedBuilder_ == null) {
27440 if (msgCase_ == 15 &&
27441 msg_ != com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance()) {
27442 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_)
27443 .mergeFrom(value).buildPartial();
27449 if (msgCase_ == 15) {
27450 vehicleUpdatedBuilder_.mergeFrom(value);
27452 vehicleUpdatedBuilder_.setMessage(value);
27459 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27461 public Builder clearVehicleUpdated() {
27462 if (vehicleUpdatedBuilder_ == null) {
27463 if (msgCase_ == 15) {
27469 if (msgCase_ == 15) {
27473 vehicleUpdatedBuilder_.clear();
27478 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27480 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder getVehicleUpdatedBuilder() {
27481 return getVehicleUpdatedFieldBuilder().getBuilder();
27484 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27486 @java.lang.Override
27487 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder getVehicleUpdatedOrBuilder() {
27488 if ((msgCase_ == 15) && (vehicleUpdatedBuilder_ != null)) {
27489 return vehicleUpdatedBuilder_.getMessageOrBuilder();
27491 if (msgCase_ == 15) {
27492 return (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_;
27494 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
27498 * <code>.proto.VehicleUpdated vehicle_updated = 15;</code>
27500 private com.google.protobuf.SingleFieldBuilder<
27501 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder>
27502 getVehicleUpdatedFieldBuilder() {
27503 if (vehicleUpdatedBuilder_ == null) {
27504 if (!(msgCase_ == 15)) {
27505 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
27507 vehicleUpdatedBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27508 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder>(
27509 (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) msg_,
27510 getParentForChildren(),
27516 return vehicleUpdatedBuilder_;
27519 private com.google.protobuf.SingleFieldBuilder<
27520 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder> preferredDealerChangeBuilder_;
27522 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27523 * @return Whether the preferredDealerChange field is set.
27525 @java.lang.Override
27526 public boolean hasPreferredDealerChange() {
27527 return msgCase_ == 16;
27530 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27531 * @return The preferredDealerChange.
27533 @java.lang.Override
27534 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange getPreferredDealerChange() {
27535 if (preferredDealerChangeBuilder_ == null) {
27536 if (msgCase_ == 16) {
27537 return (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_;
27539 return com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
27541 if (msgCase_ == 16) {
27542 return preferredDealerChangeBuilder_.getMessage();
27544 return com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
27548 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27550 public Builder setPreferredDealerChange(com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange value) {
27551 if (preferredDealerChangeBuilder_ == null) {
27552 if (value == null) {
27553 throw new NullPointerException();
27558 preferredDealerChangeBuilder_.setMessage(value);
27564 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27566 public Builder setPreferredDealerChange(
27567 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder builderForValue) {
27568 if (preferredDealerChangeBuilder_ == null) {
27569 msg_ = builderForValue.build();
27572 preferredDealerChangeBuilder_.setMessage(builderForValue.build());
27578 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27580 public Builder mergePreferredDealerChange(com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange value) {
27581 if (preferredDealerChangeBuilder_ == null) {
27582 if (msgCase_ == 16 &&
27583 msg_ != com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance()) {
27584 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.newBuilder((com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_)
27585 .mergeFrom(value).buildPartial();
27591 if (msgCase_ == 16) {
27592 preferredDealerChangeBuilder_.mergeFrom(value);
27594 preferredDealerChangeBuilder_.setMessage(value);
27601 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27603 public Builder clearPreferredDealerChange() {
27604 if (preferredDealerChangeBuilder_ == null) {
27605 if (msgCase_ == 16) {
27611 if (msgCase_ == 16) {
27615 preferredDealerChangeBuilder_.clear();
27620 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27622 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder getPreferredDealerChangeBuilder() {
27623 return getPreferredDealerChangeFieldBuilder().getBuilder();
27626 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27628 @java.lang.Override
27629 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder getPreferredDealerChangeOrBuilder() {
27630 if ((msgCase_ == 16) && (preferredDealerChangeBuilder_ != null)) {
27631 return preferredDealerChangeBuilder_.getMessageOrBuilder();
27633 if (msgCase_ == 16) {
27634 return (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_;
27636 return com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
27640 * <code>.proto.PreferredDealerChange preferred_dealer_change = 16;</code>
27642 private com.google.protobuf.SingleFieldBuilder<
27643 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder>
27644 getPreferredDealerChangeFieldBuilder() {
27645 if (preferredDealerChangeBuilder_ == null) {
27646 if (!(msgCase_ == 16)) {
27647 msg_ = com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
27649 preferredDealerChangeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27650 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder>(
27651 (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) msg_,
27652 getParentForChildren(),
27658 return preferredDealerChangeBuilder_;
27661 private com.google.protobuf.SingleFieldBuilder<
27662 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVINOrBuilder> apptwinCommandStatusUpdatesByVinBuilder_;
27664 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27665 * @return Whether the apptwinCommandStatusUpdatesByVin field is set.
27667 @java.lang.Override
27668 public boolean hasApptwinCommandStatusUpdatesByVin() {
27669 return msgCase_ == 17;
27672 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27673 * @return The apptwinCommandStatusUpdatesByVin.
27675 @java.lang.Override
27676 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN getApptwinCommandStatusUpdatesByVin() {
27677 if (apptwinCommandStatusUpdatesByVinBuilder_ == null) {
27678 if (msgCase_ == 17) {
27679 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_;
27681 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance();
27683 if (msgCase_ == 17) {
27684 return apptwinCommandStatusUpdatesByVinBuilder_.getMessage();
27686 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance();
27690 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27692 public Builder setApptwinCommandStatusUpdatesByVin(com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN value) {
27693 if (apptwinCommandStatusUpdatesByVinBuilder_ == null) {
27694 if (value == null) {
27695 throw new NullPointerException();
27700 apptwinCommandStatusUpdatesByVinBuilder_.setMessage(value);
27706 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27708 public Builder setApptwinCommandStatusUpdatesByVin(
27709 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.Builder builderForValue) {
27710 if (apptwinCommandStatusUpdatesByVinBuilder_ == null) {
27711 msg_ = builderForValue.build();
27714 apptwinCommandStatusUpdatesByVinBuilder_.setMessage(builderForValue.build());
27720 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27722 public Builder mergeApptwinCommandStatusUpdatesByVin(com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN value) {
27723 if (apptwinCommandStatusUpdatesByVinBuilder_ == null) {
27724 if (msgCase_ == 17 &&
27725 msg_ != com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance()) {
27726 msg_ = com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.newBuilder((com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_)
27727 .mergeFrom(value).buildPartial();
27733 if (msgCase_ == 17) {
27734 apptwinCommandStatusUpdatesByVinBuilder_.mergeFrom(value);
27736 apptwinCommandStatusUpdatesByVinBuilder_.setMessage(value);
27743 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27745 public Builder clearApptwinCommandStatusUpdatesByVin() {
27746 if (apptwinCommandStatusUpdatesByVinBuilder_ == null) {
27747 if (msgCase_ == 17) {
27753 if (msgCase_ == 17) {
27757 apptwinCommandStatusUpdatesByVinBuilder_.clear();
27762 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27764 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.Builder getApptwinCommandStatusUpdatesByVinBuilder() {
27765 return getApptwinCommandStatusUpdatesByVinFieldBuilder().getBuilder();
27768 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27770 @java.lang.Override
27771 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVINOrBuilder getApptwinCommandStatusUpdatesByVinOrBuilder() {
27772 if ((msgCase_ == 17) && (apptwinCommandStatusUpdatesByVinBuilder_ != null)) {
27773 return apptwinCommandStatusUpdatesByVinBuilder_.getMessageOrBuilder();
27775 if (msgCase_ == 17) {
27776 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_;
27778 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance();
27782 * <code>.proto.AppTwinCommandStatusUpdatesByVIN apptwin_command_status_updates_by_vin = 17;</code>
27784 private com.google.protobuf.SingleFieldBuilder<
27785 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVINOrBuilder>
27786 getApptwinCommandStatusUpdatesByVinFieldBuilder() {
27787 if (apptwinCommandStatusUpdatesByVinBuilder_ == null) {
27788 if (!(msgCase_ == 17)) {
27789 msg_ = com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.getDefaultInstance();
27791 apptwinCommandStatusUpdatesByVinBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27792 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN.Builder, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVINOrBuilder>(
27793 (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinCommandStatusUpdatesByVIN) msg_,
27794 getParentForChildren(),
27800 return apptwinCommandStatusUpdatesByVinBuilder_;
27803 private com.google.protobuf.SingleFieldBuilder<
27804 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.Builder, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequestOrBuilder> apptwinPendingCommandRequestBuilder_;
27806 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27807 * @return Whether the apptwinPendingCommandRequest field is set.
27809 @java.lang.Override
27810 public boolean hasApptwinPendingCommandRequest() {
27811 return msgCase_ == 18;
27814 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27815 * @return The apptwinPendingCommandRequest.
27817 @java.lang.Override
27818 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest getApptwinPendingCommandRequest() {
27819 if (apptwinPendingCommandRequestBuilder_ == null) {
27820 if (msgCase_ == 18) {
27821 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_;
27823 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance();
27825 if (msgCase_ == 18) {
27826 return apptwinPendingCommandRequestBuilder_.getMessage();
27828 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance();
27832 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27834 public Builder setApptwinPendingCommandRequest(com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest value) {
27835 if (apptwinPendingCommandRequestBuilder_ == null) {
27836 if (value == null) {
27837 throw new NullPointerException();
27842 apptwinPendingCommandRequestBuilder_.setMessage(value);
27848 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27850 public Builder setApptwinPendingCommandRequest(
27851 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.Builder builderForValue) {
27852 if (apptwinPendingCommandRequestBuilder_ == null) {
27853 msg_ = builderForValue.build();
27856 apptwinPendingCommandRequestBuilder_.setMessage(builderForValue.build());
27862 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27864 public Builder mergeApptwinPendingCommandRequest(com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest value) {
27865 if (apptwinPendingCommandRequestBuilder_ == null) {
27866 if (msgCase_ == 18 &&
27867 msg_ != com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance()) {
27868 msg_ = com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.newBuilder((com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_)
27869 .mergeFrom(value).buildPartial();
27875 if (msgCase_ == 18) {
27876 apptwinPendingCommandRequestBuilder_.mergeFrom(value);
27878 apptwinPendingCommandRequestBuilder_.setMessage(value);
27885 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27887 public Builder clearApptwinPendingCommandRequest() {
27888 if (apptwinPendingCommandRequestBuilder_ == null) {
27889 if (msgCase_ == 18) {
27895 if (msgCase_ == 18) {
27899 apptwinPendingCommandRequestBuilder_.clear();
27904 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27906 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.Builder getApptwinPendingCommandRequestBuilder() {
27907 return getApptwinPendingCommandRequestFieldBuilder().getBuilder();
27910 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27912 @java.lang.Override
27913 public com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequestOrBuilder getApptwinPendingCommandRequestOrBuilder() {
27914 if ((msgCase_ == 18) && (apptwinPendingCommandRequestBuilder_ != null)) {
27915 return apptwinPendingCommandRequestBuilder_.getMessageOrBuilder();
27917 if (msgCase_ == 18) {
27918 return (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_;
27920 return com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance();
27924 * <code>.proto.AppTwinPendingCommandsRequest apptwin_pending_command_request = 18;</code>
27926 private com.google.protobuf.SingleFieldBuilder<
27927 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.Builder, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequestOrBuilder>
27928 getApptwinPendingCommandRequestFieldBuilder() {
27929 if (apptwinPendingCommandRequestBuilder_ == null) {
27930 if (!(msgCase_ == 18)) {
27931 msg_ = com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.getDefaultInstance();
27933 apptwinPendingCommandRequestBuilder_ = new com.google.protobuf.SingleFieldBuilder<
27934 com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest.Builder, com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequestOrBuilder>(
27935 (com.daimler.mbcarkit.proto.Vehicleapi.AppTwinPendingCommandsRequest) msg_,
27936 getParentForChildren(),
27942 return apptwinPendingCommandRequestBuilder_;
27945 private com.google.protobuf.SingleFieldBuilder<
27946 com.daimler.mbcarkit.proto.Protos.AssignedVehicles, com.daimler.mbcarkit.proto.Protos.AssignedVehicles.Builder, com.daimler.mbcarkit.proto.Protos.AssignedVehiclesOrBuilder> assignedVehiclesBuilder_;
27948 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
27949 * @return Whether the assignedVehicles field is set.
27951 @java.lang.Override
27952 public boolean hasAssignedVehicles() {
27953 return msgCase_ == 19;
27956 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
27957 * @return The assignedVehicles.
27959 @java.lang.Override
27960 public com.daimler.mbcarkit.proto.Protos.AssignedVehicles getAssignedVehicles() {
27961 if (assignedVehiclesBuilder_ == null) {
27962 if (msgCase_ == 19) {
27963 return (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_;
27965 return com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance();
27967 if (msgCase_ == 19) {
27968 return assignedVehiclesBuilder_.getMessage();
27970 return com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance();
27974 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
27976 public Builder setAssignedVehicles(com.daimler.mbcarkit.proto.Protos.AssignedVehicles value) {
27977 if (assignedVehiclesBuilder_ == null) {
27978 if (value == null) {
27979 throw new NullPointerException();
27984 assignedVehiclesBuilder_.setMessage(value);
27990 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
27992 public Builder setAssignedVehicles(
27993 com.daimler.mbcarkit.proto.Protos.AssignedVehicles.Builder builderForValue) {
27994 if (assignedVehiclesBuilder_ == null) {
27995 msg_ = builderForValue.build();
27998 assignedVehiclesBuilder_.setMessage(builderForValue.build());
28004 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
28006 public Builder mergeAssignedVehicles(com.daimler.mbcarkit.proto.Protos.AssignedVehicles value) {
28007 if (assignedVehiclesBuilder_ == null) {
28008 if (msgCase_ == 19 &&
28009 msg_ != com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance()) {
28010 msg_ = com.daimler.mbcarkit.proto.Protos.AssignedVehicles.newBuilder((com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_)
28011 .mergeFrom(value).buildPartial();
28017 if (msgCase_ == 19) {
28018 assignedVehiclesBuilder_.mergeFrom(value);
28020 assignedVehiclesBuilder_.setMessage(value);
28027 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
28029 public Builder clearAssignedVehicles() {
28030 if (assignedVehiclesBuilder_ == null) {
28031 if (msgCase_ == 19) {
28037 if (msgCase_ == 19) {
28041 assignedVehiclesBuilder_.clear();
28046 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
28048 public com.daimler.mbcarkit.proto.Protos.AssignedVehicles.Builder getAssignedVehiclesBuilder() {
28049 return getAssignedVehiclesFieldBuilder().getBuilder();
28052 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
28054 @java.lang.Override
28055 public com.daimler.mbcarkit.proto.Protos.AssignedVehiclesOrBuilder getAssignedVehiclesOrBuilder() {
28056 if ((msgCase_ == 19) && (assignedVehiclesBuilder_ != null)) {
28057 return assignedVehiclesBuilder_.getMessageOrBuilder();
28059 if (msgCase_ == 19) {
28060 return (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_;
28062 return com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance();
28066 * <code>.proto.AssignedVehicles assigned_vehicles = 19;</code>
28068 private com.google.protobuf.SingleFieldBuilder<
28069 com.daimler.mbcarkit.proto.Protos.AssignedVehicles, com.daimler.mbcarkit.proto.Protos.AssignedVehicles.Builder, com.daimler.mbcarkit.proto.Protos.AssignedVehiclesOrBuilder>
28070 getAssignedVehiclesFieldBuilder() {
28071 if (assignedVehiclesBuilder_ == null) {
28072 if (!(msgCase_ == 19)) {
28073 msg_ = com.daimler.mbcarkit.proto.Protos.AssignedVehicles.getDefaultInstance();
28075 assignedVehiclesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
28076 com.daimler.mbcarkit.proto.Protos.AssignedVehicles, com.daimler.mbcarkit.proto.Protos.AssignedVehicles.Builder, com.daimler.mbcarkit.proto.Protos.AssignedVehiclesOrBuilder>(
28077 (com.daimler.mbcarkit.proto.Protos.AssignedVehicles) msg_,
28078 getParentForChildren(),
28084 return assignedVehiclesBuilder_;
28087 // @@protoc_insertion_point(builder_scope:proto.PushMessage)
28090 // @@protoc_insertion_point(class_scope:proto.PushMessage)
28091 private static final com.daimler.mbcarkit.proto.VehicleEvents.PushMessage DEFAULT_INSTANCE;
28093 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.PushMessage();
28096 public static com.daimler.mbcarkit.proto.VehicleEvents.PushMessage getDefaultInstance() {
28097 return DEFAULT_INSTANCE;
28100 private static final com.google.protobuf.Parser<PushMessage>
28101 PARSER = new com.google.protobuf.AbstractParser<PushMessage>() {
28102 @java.lang.Override
28103 public PushMessage parsePartialFrom(
28104 com.google.protobuf.CodedInputStream input,
28105 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28106 throws com.google.protobuf.InvalidProtocolBufferException {
28107 Builder builder = newBuilder();
28109 builder.mergeFrom(input, extensionRegistry);
28110 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
28111 throw e.setUnfinishedMessage(builder.buildPartial());
28112 } catch (com.google.protobuf.UninitializedMessageException e) {
28113 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
28114 } catch (java.io.IOException e) {
28115 throw new com.google.protobuf.InvalidProtocolBufferException(e)
28116 .setUnfinishedMessage(builder.buildPartial());
28118 return builder.buildPartial();
28122 public static com.google.protobuf.Parser<PushMessage> parser() {
28126 @java.lang.Override
28127 public com.google.protobuf.Parser<PushMessage> getParserForType() {
28131 @java.lang.Override
28132 public com.daimler.mbcarkit.proto.VehicleEvents.PushMessage getDefaultInstanceForType() {
28133 return DEFAULT_INSTANCE;
28138 public interface TrackingEventOrBuilder extends
28139 // @@protoc_insertion_point(interface_extends:proto.TrackingEvent)
28140 com.google.protobuf.MessageOrBuilder {
28144 * a unique id associated with this event
28147 * <code>string tracking_id = 1;</code>
28148 * @return The trackingId.
28150 java.lang.String getTrackingId();
28153 * a unique id associated with this event
28156 * <code>string tracking_id = 1;</code>
28157 * @return The bytes for trackingId.
28159 com.google.protobuf.ByteString
28160 getTrackingIdBytes();
28164 * the unix epoch time in nanoseconds when the event occurred
28167 * <code>int64 timestamp = 2;</code>
28168 * @return The timestamp.
28170 long getTimestamp();
28174 * a unique identifier describing a single interaction or event
28177 * <code>string event_type = 3;</code>
28178 * @return The eventType.
28180 java.lang.String getEventType();
28183 * a unique identifier describing a single interaction or event
28186 * <code>string event_type = 3;</code>
28187 * @return The bytes for eventType.
28189 com.google.protobuf.ByteString
28190 getEventTypeBytes();
28194 * additional meta data describing the event
28197 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28199 int getPayloadCount();
28202 * additional meta data describing the event
28205 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28207 boolean containsPayload(
28208 java.lang.String key);
28210 * Use {@link #getPayloadMap()} instead.
28212 @java.lang.Deprecated
28213 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>
28217 * additional meta data describing the event
28220 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28222 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>
28226 * additional meta data describing the event
28229 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28232 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getPayloadOrDefault(
28233 java.lang.String key,
28235 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue defaultValue);
28238 * additional meta data describing the event
28241 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28243 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getPayloadOrThrow(
28244 java.lang.String key);
28248 * message type to track an event, e.g. a user interaction with content
28249 * Sending direction: App -> BFF
28252 * Protobuf type {@code proto.TrackingEvent}
28254 public static final class TrackingEvent extends
28255 com.google.protobuf.GeneratedMessage implements
28256 // @@protoc_insertion_point(message_implements:proto.TrackingEvent)
28257 TrackingEventOrBuilder {
28258 private static final long serialVersionUID = 0L;
28260 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
28261 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
28266 TrackingEvent.class.getName());
28268 // Use TrackingEvent.newBuilder() to construct.
28269 private TrackingEvent(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
28272 private TrackingEvent() {
28277 public static final com.google.protobuf.Descriptors.Descriptor
28279 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TrackingEvent_descriptor;
28282 @SuppressWarnings({"rawtypes"})
28283 @java.lang.Override
28284 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
28288 return internalGetPayload();
28290 throw new RuntimeException(
28291 "Invalid map field number: " + number);
28294 @java.lang.Override
28295 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
28296 internalGetFieldAccessorTable() {
28297 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TrackingEvent_fieldAccessorTable
28298 .ensureFieldAccessorsInitialized(
28299 com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.class, com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.Builder.class);
28302 public static final int TRACKING_ID_FIELD_NUMBER = 1;
28303 @SuppressWarnings("serial")
28304 private volatile java.lang.Object trackingId_ = "";
28307 * a unique id associated with this event
28310 * <code>string tracking_id = 1;</code>
28311 * @return The trackingId.
28313 @java.lang.Override
28314 public java.lang.String getTrackingId() {
28315 java.lang.Object ref = trackingId_;
28316 if (ref instanceof java.lang.String) {
28317 return (java.lang.String) ref;
28319 com.google.protobuf.ByteString bs =
28320 (com.google.protobuf.ByteString) ref;
28321 java.lang.String s = bs.toStringUtf8();
28328 * a unique id associated with this event
28331 * <code>string tracking_id = 1;</code>
28332 * @return The bytes for trackingId.
28334 @java.lang.Override
28335 public com.google.protobuf.ByteString
28336 getTrackingIdBytes() {
28337 java.lang.Object ref = trackingId_;
28338 if (ref instanceof java.lang.String) {
28339 com.google.protobuf.ByteString b =
28340 com.google.protobuf.ByteString.copyFromUtf8(
28341 (java.lang.String) ref);
28345 return (com.google.protobuf.ByteString) ref;
28349 public static final int TIMESTAMP_FIELD_NUMBER = 2;
28350 private long timestamp_ = 0L;
28353 * the unix epoch time in nanoseconds when the event occurred
28356 * <code>int64 timestamp = 2;</code>
28357 * @return The timestamp.
28359 @java.lang.Override
28360 public long getTimestamp() {
28364 public static final int EVENT_TYPE_FIELD_NUMBER = 3;
28365 @SuppressWarnings("serial")
28366 private volatile java.lang.Object eventType_ = "";
28369 * a unique identifier describing a single interaction or event
28372 * <code>string event_type = 3;</code>
28373 * @return The eventType.
28375 @java.lang.Override
28376 public java.lang.String getEventType() {
28377 java.lang.Object ref = eventType_;
28378 if (ref instanceof java.lang.String) {
28379 return (java.lang.String) ref;
28381 com.google.protobuf.ByteString bs =
28382 (com.google.protobuf.ByteString) ref;
28383 java.lang.String s = bs.toStringUtf8();
28390 * a unique identifier describing a single interaction or event
28393 * <code>string event_type = 3;</code>
28394 * @return The bytes for eventType.
28396 @java.lang.Override
28397 public com.google.protobuf.ByteString
28398 getEventTypeBytes() {
28399 java.lang.Object ref = eventType_;
28400 if (ref instanceof java.lang.String) {
28401 com.google.protobuf.ByteString b =
28402 com.google.protobuf.ByteString.copyFromUtf8(
28403 (java.lang.String) ref);
28407 return (com.google.protobuf.ByteString) ref;
28411 public static final int PAYLOAD_FIELD_NUMBER = 4;
28412 private static final class PayloadDefaultEntryHolder {
28413 static final com.google.protobuf.MapEntry<
28414 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> defaultEntry =
28415 com.google.protobuf.MapEntry
28416 .<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>newDefaultInstance(
28417 com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TrackingEvent_PayloadEntry_descriptor,
28418 com.google.protobuf.WireFormat.FieldType.STRING,
28420 com.google.protobuf.WireFormat.FieldType.MESSAGE,
28421 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.getDefaultInstance());
28423 @SuppressWarnings("serial")
28424 private com.google.protobuf.MapField<
28425 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> payload_;
28426 private com.google.protobuf.MapField<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>
28427 internalGetPayload() {
28428 if (payload_ == null) {
28429 return com.google.protobuf.MapField.emptyMapField(
28430 PayloadDefaultEntryHolder.defaultEntry);
28434 public int getPayloadCount() {
28435 return internalGetPayload().getMap().size();
28439 * additional meta data describing the event
28442 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28444 @java.lang.Override
28445 public boolean containsPayload(
28446 java.lang.String key) {
28447 if (key == null) { throw new NullPointerException("map key"); }
28448 return internalGetPayload().getMap().containsKey(key);
28451 * Use {@link #getPayloadMap()} instead.
28453 @java.lang.Override
28454 @java.lang.Deprecated
28455 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> getPayload() {
28456 return getPayloadMap();
28460 * additional meta data describing the event
28463 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28465 @java.lang.Override
28466 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> getPayloadMap() {
28467 return internalGetPayload().getMap();
28471 * additional meta data describing the event
28474 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28476 @java.lang.Override
28477 public /* nullable */
28478 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getPayloadOrDefault(
28479 java.lang.String key,
28481 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue defaultValue) {
28482 if (key == null) { throw new NullPointerException("map key"); }
28483 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> map =
28484 internalGetPayload().getMap();
28485 return map.containsKey(key) ? map.get(key) : defaultValue;
28489 * additional meta data describing the event
28492 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
28494 @java.lang.Override
28495 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getPayloadOrThrow(
28496 java.lang.String key) {
28497 if (key == null) { throw new NullPointerException("map key"); }
28498 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> map =
28499 internalGetPayload().getMap();
28500 if (!map.containsKey(key)) {
28501 throw new java.lang.IllegalArgumentException();
28503 return map.get(key);
28506 private byte memoizedIsInitialized = -1;
28507 @java.lang.Override
28508 public final boolean isInitialized() {
28509 byte isInitialized = memoizedIsInitialized;
28510 if (isInitialized == 1) return true;
28511 if (isInitialized == 0) return false;
28513 memoizedIsInitialized = 1;
28517 @java.lang.Override
28518 public void writeTo(com.google.protobuf.CodedOutputStream output)
28519 throws java.io.IOException {
28520 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trackingId_)) {
28521 com.google.protobuf.GeneratedMessage.writeString(output, 1, trackingId_);
28523 if (timestamp_ != 0L) {
28524 output.writeInt64(2, timestamp_);
28526 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventType_)) {
28527 com.google.protobuf.GeneratedMessage.writeString(output, 3, eventType_);
28529 com.google.protobuf.GeneratedMessage
28530 .serializeStringMapTo(
28532 internalGetPayload(),
28533 PayloadDefaultEntryHolder.defaultEntry,
28535 getUnknownFields().writeTo(output);
28538 @java.lang.Override
28539 public int getSerializedSize() {
28540 int size = memoizedSize;
28541 if (size != -1) return size;
28544 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trackingId_)) {
28545 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, trackingId_);
28547 if (timestamp_ != 0L) {
28548 size += com.google.protobuf.CodedOutputStream
28549 .computeInt64Size(2, timestamp_);
28551 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventType_)) {
28552 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, eventType_);
28554 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> entry
28555 : internalGetPayload().getMap().entrySet()) {
28556 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>
28557 payload__ = PayloadDefaultEntryHolder.defaultEntry.newBuilderForType()
28558 .setKey(entry.getKey())
28559 .setValue(entry.getValue())
28561 size += com.google.protobuf.CodedOutputStream
28562 .computeMessageSize(4, payload__);
28564 size += getUnknownFields().getSerializedSize();
28565 memoizedSize = size;
28569 @java.lang.Override
28570 public boolean equals(final java.lang.Object obj) {
28574 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent)) {
28575 return super.equals(obj);
28577 com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent other = (com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent) obj;
28579 if (!getTrackingId()
28580 .equals(other.getTrackingId())) return false;
28582 != other.getTimestamp()) return false;
28583 if (!getEventType()
28584 .equals(other.getEventType())) return false;
28585 if (!internalGetPayload().equals(
28586 other.internalGetPayload())) return false;
28587 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
28591 @java.lang.Override
28592 public int hashCode() {
28593 if (memoizedHashCode != 0) {
28594 return memoizedHashCode;
28597 hash = (19 * hash) + getDescriptor().hashCode();
28598 hash = (37 * hash) + TRACKING_ID_FIELD_NUMBER;
28599 hash = (53 * hash) + getTrackingId().hashCode();
28600 hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
28601 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
28603 hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
28604 hash = (53 * hash) + getEventType().hashCode();
28605 if (!internalGetPayload().getMap().isEmpty()) {
28606 hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
28607 hash = (53 * hash) + internalGetPayload().hashCode();
28609 hash = (29 * hash) + getUnknownFields().hashCode();
28610 memoizedHashCode = hash;
28614 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28615 java.nio.ByteBuffer data)
28616 throws com.google.protobuf.InvalidProtocolBufferException {
28617 return PARSER.parseFrom(data);
28619 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28620 java.nio.ByteBuffer data,
28621 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28622 throws com.google.protobuf.InvalidProtocolBufferException {
28623 return PARSER.parseFrom(data, extensionRegistry);
28625 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28626 com.google.protobuf.ByteString data)
28627 throws com.google.protobuf.InvalidProtocolBufferException {
28628 return PARSER.parseFrom(data);
28630 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28631 com.google.protobuf.ByteString data,
28632 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28633 throws com.google.protobuf.InvalidProtocolBufferException {
28634 return PARSER.parseFrom(data, extensionRegistry);
28636 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(byte[] data)
28637 throws com.google.protobuf.InvalidProtocolBufferException {
28638 return PARSER.parseFrom(data);
28640 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28642 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28643 throws com.google.protobuf.InvalidProtocolBufferException {
28644 return PARSER.parseFrom(data, extensionRegistry);
28646 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(java.io.InputStream input)
28647 throws java.io.IOException {
28648 return com.google.protobuf.GeneratedMessage
28649 .parseWithIOException(PARSER, input);
28651 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28652 java.io.InputStream input,
28653 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28654 throws java.io.IOException {
28655 return com.google.protobuf.GeneratedMessage
28656 .parseWithIOException(PARSER, input, extensionRegistry);
28659 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseDelimitedFrom(java.io.InputStream input)
28660 throws java.io.IOException {
28661 return com.google.protobuf.GeneratedMessage
28662 .parseDelimitedWithIOException(PARSER, input);
28665 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseDelimitedFrom(
28666 java.io.InputStream input,
28667 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28668 throws java.io.IOException {
28669 return com.google.protobuf.GeneratedMessage
28670 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
28672 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28673 com.google.protobuf.CodedInputStream input)
28674 throws java.io.IOException {
28675 return com.google.protobuf.GeneratedMessage
28676 .parseWithIOException(PARSER, input);
28678 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent parseFrom(
28679 com.google.protobuf.CodedInputStream input,
28680 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28681 throws java.io.IOException {
28682 return com.google.protobuf.GeneratedMessage
28683 .parseWithIOException(PARSER, input, extensionRegistry);
28686 @java.lang.Override
28687 public Builder newBuilderForType() { return newBuilder(); }
28688 public static Builder newBuilder() {
28689 return DEFAULT_INSTANCE.toBuilder();
28691 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent prototype) {
28692 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
28694 @java.lang.Override
28695 public Builder toBuilder() {
28696 return this == DEFAULT_INSTANCE
28697 ? new Builder() : new Builder().mergeFrom(this);
28700 @java.lang.Override
28701 protected Builder newBuilderForType(
28702 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
28703 Builder builder = new Builder(parent);
28708 * message type to track an event, e.g. a user interaction with content
28709 * Sending direction: App -> BFF
28712 * Protobuf type {@code proto.TrackingEvent}
28714 public static final class Builder extends
28715 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
28716 // @@protoc_insertion_point(builder_implements:proto.TrackingEvent)
28717 com.daimler.mbcarkit.proto.VehicleEvents.TrackingEventOrBuilder {
28718 public static final com.google.protobuf.Descriptors.Descriptor
28720 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TrackingEvent_descriptor;
28723 @SuppressWarnings({"rawtypes"})
28724 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
28728 return internalGetPayload();
28730 throw new RuntimeException(
28731 "Invalid map field number: " + number);
28734 @SuppressWarnings({"rawtypes"})
28735 protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
28739 return internalGetMutablePayload();
28741 throw new RuntimeException(
28742 "Invalid map field number: " + number);
28745 @java.lang.Override
28746 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
28747 internalGetFieldAccessorTable() {
28748 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TrackingEvent_fieldAccessorTable
28749 .ensureFieldAccessorsInitialized(
28750 com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.class, com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.Builder.class);
28753 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.newBuilder()
28754 private Builder() {
28759 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
28763 @java.lang.Override
28764 public Builder clear() {
28770 internalGetMutablePayload().clear();
28774 @java.lang.Override
28775 public com.google.protobuf.Descriptors.Descriptor
28776 getDescriptorForType() {
28777 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_TrackingEvent_descriptor;
28780 @java.lang.Override
28781 public com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent getDefaultInstanceForType() {
28782 return com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.getDefaultInstance();
28785 @java.lang.Override
28786 public com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent build() {
28787 com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent result = buildPartial();
28788 if (!result.isInitialized()) {
28789 throw newUninitializedMessageException(result);
28794 @java.lang.Override
28795 public com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent buildPartial() {
28796 com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent result = new com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent(this);
28797 if (bitField0_ != 0) { buildPartial0(result); }
28802 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent result) {
28803 int from_bitField0_ = bitField0_;
28804 if (((from_bitField0_ & 0x00000001) != 0)) {
28805 result.trackingId_ = trackingId_;
28807 if (((from_bitField0_ & 0x00000002) != 0)) {
28808 result.timestamp_ = timestamp_;
28810 if (((from_bitField0_ & 0x00000004) != 0)) {
28811 result.eventType_ = eventType_;
28813 if (((from_bitField0_ & 0x00000008) != 0)) {
28814 result.payload_ = internalGetPayload().build(PayloadDefaultEntryHolder.defaultEntry);
28818 @java.lang.Override
28819 public Builder mergeFrom(com.google.protobuf.Message other) {
28820 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent) {
28821 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent)other);
28823 super.mergeFrom(other);
28828 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent other) {
28829 if (other == com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent.getDefaultInstance()) return this;
28830 if (!other.getTrackingId().isEmpty()) {
28831 trackingId_ = other.trackingId_;
28832 bitField0_ |= 0x00000001;
28835 if (other.getTimestamp() != 0L) {
28836 setTimestamp(other.getTimestamp());
28838 if (!other.getEventType().isEmpty()) {
28839 eventType_ = other.eventType_;
28840 bitField0_ |= 0x00000004;
28843 internalGetMutablePayload().mergeFrom(
28844 other.internalGetPayload());
28845 bitField0_ |= 0x00000008;
28846 this.mergeUnknownFields(other.getUnknownFields());
28851 @java.lang.Override
28852 public final boolean isInitialized() {
28856 @java.lang.Override
28857 public Builder mergeFrom(
28858 com.google.protobuf.CodedInputStream input,
28859 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
28860 throws java.io.IOException {
28861 if (extensionRegistry == null) {
28862 throw new java.lang.NullPointerException();
28865 boolean done = false;
28867 int tag = input.readTag();
28873 trackingId_ = input.readStringRequireUtf8();
28874 bitField0_ |= 0x00000001;
28878 timestamp_ = input.readInt64();
28879 bitField0_ |= 0x00000002;
28883 eventType_ = input.readStringRequireUtf8();
28884 bitField0_ |= 0x00000004;
28888 com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>
28889 payload__ = input.readMessage(
28890 PayloadDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
28891 internalGetMutablePayload().ensureBuilderMap().put(
28892 payload__.getKey(), payload__.getValue());
28893 bitField0_ |= 0x00000008;
28897 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
28898 done = true; // was an endgroup tag
28904 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
28905 throw e.unwrapIOException();
28911 private int bitField0_;
28913 private java.lang.Object trackingId_ = "";
28916 * a unique id associated with this event
28919 * <code>string tracking_id = 1;</code>
28920 * @return The trackingId.
28922 public java.lang.String getTrackingId() {
28923 java.lang.Object ref = trackingId_;
28924 if (!(ref instanceof java.lang.String)) {
28925 com.google.protobuf.ByteString bs =
28926 (com.google.protobuf.ByteString) ref;
28927 java.lang.String s = bs.toStringUtf8();
28931 return (java.lang.String) ref;
28936 * a unique id associated with this event
28939 * <code>string tracking_id = 1;</code>
28940 * @return The bytes for trackingId.
28942 public com.google.protobuf.ByteString
28943 getTrackingIdBytes() {
28944 java.lang.Object ref = trackingId_;
28945 if (ref instanceof String) {
28946 com.google.protobuf.ByteString b =
28947 com.google.protobuf.ByteString.copyFromUtf8(
28948 (java.lang.String) ref);
28952 return (com.google.protobuf.ByteString) ref;
28957 * a unique id associated with this event
28960 * <code>string tracking_id = 1;</code>
28961 * @param value The trackingId to set.
28962 * @return This builder for chaining.
28964 public Builder setTrackingId(
28965 java.lang.String value) {
28966 if (value == null) { throw new NullPointerException(); }
28967 trackingId_ = value;
28968 bitField0_ |= 0x00000001;
28974 * a unique id associated with this event
28977 * <code>string tracking_id = 1;</code>
28978 * @return This builder for chaining.
28980 public Builder clearTrackingId() {
28981 trackingId_ = getDefaultInstance().getTrackingId();
28982 bitField0_ = (bitField0_ & ~0x00000001);
28988 * a unique id associated with this event
28991 * <code>string tracking_id = 1;</code>
28992 * @param value The bytes for trackingId to set.
28993 * @return This builder for chaining.
28995 public Builder setTrackingIdBytes(
28996 com.google.protobuf.ByteString value) {
28997 if (value == null) { throw new NullPointerException(); }
28998 checkByteStringIsUtf8(value);
28999 trackingId_ = value;
29000 bitField0_ |= 0x00000001;
29005 private long timestamp_ ;
29008 * the unix epoch time in nanoseconds when the event occurred
29011 * <code>int64 timestamp = 2;</code>
29012 * @return The timestamp.
29014 @java.lang.Override
29015 public long getTimestamp() {
29020 * the unix epoch time in nanoseconds when the event occurred
29023 * <code>int64 timestamp = 2;</code>
29024 * @param value The timestamp to set.
29025 * @return This builder for chaining.
29027 public Builder setTimestamp(long value) {
29029 timestamp_ = value;
29030 bitField0_ |= 0x00000002;
29036 * the unix epoch time in nanoseconds when the event occurred
29039 * <code>int64 timestamp = 2;</code>
29040 * @return This builder for chaining.
29042 public Builder clearTimestamp() {
29043 bitField0_ = (bitField0_ & ~0x00000002);
29049 private java.lang.Object eventType_ = "";
29052 * a unique identifier describing a single interaction or event
29055 * <code>string event_type = 3;</code>
29056 * @return The eventType.
29058 public java.lang.String getEventType() {
29059 java.lang.Object ref = eventType_;
29060 if (!(ref instanceof java.lang.String)) {
29061 com.google.protobuf.ByteString bs =
29062 (com.google.protobuf.ByteString) ref;
29063 java.lang.String s = bs.toStringUtf8();
29067 return (java.lang.String) ref;
29072 * a unique identifier describing a single interaction or event
29075 * <code>string event_type = 3;</code>
29076 * @return The bytes for eventType.
29078 public com.google.protobuf.ByteString
29079 getEventTypeBytes() {
29080 java.lang.Object ref = eventType_;
29081 if (ref instanceof String) {
29082 com.google.protobuf.ByteString b =
29083 com.google.protobuf.ByteString.copyFromUtf8(
29084 (java.lang.String) ref);
29088 return (com.google.protobuf.ByteString) ref;
29093 * a unique identifier describing a single interaction or event
29096 * <code>string event_type = 3;</code>
29097 * @param value The eventType to set.
29098 * @return This builder for chaining.
29100 public Builder setEventType(
29101 java.lang.String value) {
29102 if (value == null) { throw new NullPointerException(); }
29103 eventType_ = value;
29104 bitField0_ |= 0x00000004;
29110 * a unique identifier describing a single interaction or event
29113 * <code>string event_type = 3;</code>
29114 * @return This builder for chaining.
29116 public Builder clearEventType() {
29117 eventType_ = getDefaultInstance().getEventType();
29118 bitField0_ = (bitField0_ & ~0x00000004);
29124 * a unique identifier describing a single interaction or event
29127 * <code>string event_type = 3;</code>
29128 * @param value The bytes for eventType to set.
29129 * @return This builder for chaining.
29131 public Builder setEventTypeBytes(
29132 com.google.protobuf.ByteString value) {
29133 if (value == null) { throw new NullPointerException(); }
29134 checkByteStringIsUtf8(value);
29135 eventType_ = value;
29136 bitField0_ |= 0x00000004;
29141 private static final class PayloadConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> {
29142 @java.lang.Override
29143 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue build(com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder val) {
29144 if (val instanceof com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue) { return (com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue) val; }
29145 return ((com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder) val).build();
29148 @java.lang.Override
29149 public com.google.protobuf.MapEntry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> defaultEntry() {
29150 return PayloadDefaultEntryHolder.defaultEntry;
29153 private static final PayloadConverter payloadConverter = new PayloadConverter();
29155 private com.google.protobuf.MapFieldBuilder<
29156 java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder> payload_;
29157 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder>
29158 internalGetPayload() {
29159 if (payload_ == null) {
29160 return new com.google.protobuf.MapFieldBuilder<>(payloadConverter);
29164 private com.google.protobuf.MapFieldBuilder<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder>
29165 internalGetMutablePayload() {
29166 if (payload_ == null) {
29167 payload_ = new com.google.protobuf.MapFieldBuilder<>(payloadConverter);
29169 bitField0_ |= 0x00000008;
29173 public int getPayloadCount() {
29174 return internalGetPayload().ensureBuilderMap().size();
29178 * additional meta data describing the event
29181 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29183 @java.lang.Override
29184 public boolean containsPayload(
29185 java.lang.String key) {
29186 if (key == null) { throw new NullPointerException("map key"); }
29187 return internalGetPayload().ensureBuilderMap().containsKey(key);
29190 * Use {@link #getPayloadMap()} instead.
29192 @java.lang.Override
29193 @java.lang.Deprecated
29194 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> getPayload() {
29195 return getPayloadMap();
29199 * additional meta data describing the event
29202 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29204 @java.lang.Override
29205 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> getPayloadMap() {
29206 return internalGetPayload().getImmutableMap();
29210 * additional meta data describing the event
29213 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29215 @java.lang.Override
29216 public /* nullable */
29217 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getPayloadOrDefault(
29218 java.lang.String key,
29220 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue defaultValue) {
29221 if (key == null) { throw new NullPointerException("map key"); }
29222 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder> map = internalGetMutablePayload().ensureBuilderMap();
29223 return map.containsKey(key) ? payloadConverter.build(map.get(key)) : defaultValue;
29227 * additional meta data describing the event
29230 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29232 @java.lang.Override
29233 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getPayloadOrThrow(
29234 java.lang.String key) {
29235 if (key == null) { throw new NullPointerException("map key"); }
29236 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder> map = internalGetMutablePayload().ensureBuilderMap();
29237 if (!map.containsKey(key)) {
29238 throw new java.lang.IllegalArgumentException();
29240 return payloadConverter.build(map.get(key));
29242 public Builder clearPayload() {
29243 bitField0_ = (bitField0_ & ~0x00000008);
29244 internalGetMutablePayload().clear();
29249 * additional meta data describing the event
29252 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29254 public Builder removePayload(
29255 java.lang.String key) {
29256 if (key == null) { throw new NullPointerException("map key"); }
29257 internalGetMutablePayload().ensureBuilderMap()
29262 * Use alternate mutation accessors instead.
29264 @java.lang.Deprecated
29265 public java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue>
29266 getMutablePayload() {
29267 bitField0_ |= 0x00000008;
29268 return internalGetMutablePayload().ensureMessageMap();
29272 * additional meta data describing the event
29275 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29277 public Builder putPayload(
29278 java.lang.String key,
29279 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue value) {
29280 if (key == null) { throw new NullPointerException("map key"); }
29281 if (value == null) { throw new NullPointerException("map value"); }
29282 internalGetMutablePayload().ensureBuilderMap()
29284 bitField0_ |= 0x00000008;
29289 * additional meta data describing the event
29292 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29294 public Builder putAllPayload(
29295 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> values) {
29296 for (java.util.Map.Entry<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue> e : values.entrySet()) {
29297 if (e.getKey() == null || e.getValue() == null) {
29298 throw new NullPointerException();
29301 internalGetMutablePayload().ensureBuilderMap()
29303 bitField0_ |= 0x00000008;
29308 * additional meta data describing the event
29311 * <code>map<string, .proto.PayloadValue> payload = 4;</code>
29313 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder putPayloadBuilderIfAbsent(
29314 java.lang.String key) {
29315 java.util.Map<java.lang.String, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder> builderMap = internalGetMutablePayload().ensureBuilderMap();
29316 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder entry = builderMap.get(key);
29317 if (entry == null) {
29318 entry = com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.newBuilder();
29319 builderMap.put(key, entry);
29321 if (entry instanceof com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue) {
29322 entry = ((com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue) entry).toBuilder();
29323 builderMap.put(key, entry);
29325 return (com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder) entry;
29328 // @@protoc_insertion_point(builder_scope:proto.TrackingEvent)
29331 // @@protoc_insertion_point(class_scope:proto.TrackingEvent)
29332 private static final com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent DEFAULT_INSTANCE;
29334 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent();
29337 public static com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent getDefaultInstance() {
29338 return DEFAULT_INSTANCE;
29341 private static final com.google.protobuf.Parser<TrackingEvent>
29342 PARSER = new com.google.protobuf.AbstractParser<TrackingEvent>() {
29343 @java.lang.Override
29344 public TrackingEvent parsePartialFrom(
29345 com.google.protobuf.CodedInputStream input,
29346 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29347 throws com.google.protobuf.InvalidProtocolBufferException {
29348 Builder builder = newBuilder();
29350 builder.mergeFrom(input, extensionRegistry);
29351 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
29352 throw e.setUnfinishedMessage(builder.buildPartial());
29353 } catch (com.google.protobuf.UninitializedMessageException e) {
29354 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
29355 } catch (java.io.IOException e) {
29356 throw new com.google.protobuf.InvalidProtocolBufferException(e)
29357 .setUnfinishedMessage(builder.buildPartial());
29359 return builder.buildPartial();
29363 public static com.google.protobuf.Parser<TrackingEvent> parser() {
29367 @java.lang.Override
29368 public com.google.protobuf.Parser<TrackingEvent> getParserForType() {
29372 @java.lang.Override
29373 public com.daimler.mbcarkit.proto.VehicleEvents.TrackingEvent getDefaultInstanceForType() {
29374 return DEFAULT_INSTANCE;
29379 public interface PayloadValueOrBuilder extends
29380 // @@protoc_insertion_point(interface_extends:proto.PayloadValue)
29381 com.google.protobuf.MessageOrBuilder {
29384 * <code>string string_value = 1;</code>
29385 * @return Whether the stringValue field is set.
29387 boolean hasStringValue();
29389 * <code>string string_value = 1;</code>
29390 * @return The stringValue.
29392 java.lang.String getStringValue();
29394 * <code>string string_value = 1;</code>
29395 * @return The bytes for stringValue.
29397 com.google.protobuf.ByteString
29398 getStringValueBytes();
29401 * <code>int32 int_value = 2;</code>
29402 * @return Whether the intValue field is set.
29404 boolean hasIntValue();
29406 * <code>int32 int_value = 2;</code>
29407 * @return The intValue.
29412 * <code>bool bool_value = 3;</code>
29413 * @return Whether the boolValue field is set.
29415 boolean hasBoolValue();
29417 * <code>bool bool_value = 3;</code>
29418 * @return The boolValue.
29420 boolean getBoolValue();
29423 * <code>double double_value = 4;</code>
29424 * @return Whether the doubleValue field is set.
29426 boolean hasDoubleValue();
29428 * <code>double double_value = 4;</code>
29429 * @return The doubleValue.
29431 double getDoubleValue();
29433 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.MsgCase getMsgCase();
29436 * Protobuf type {@code proto.PayloadValue}
29438 public static final class PayloadValue extends
29439 com.google.protobuf.GeneratedMessage implements
29440 // @@protoc_insertion_point(message_implements:proto.PayloadValue)
29441 PayloadValueOrBuilder {
29442 private static final long serialVersionUID = 0L;
29444 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
29445 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
29450 PayloadValue.class.getName());
29452 // Use PayloadValue.newBuilder() to construct.
29453 private PayloadValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
29456 private PayloadValue() {
29459 public static final com.google.protobuf.Descriptors.Descriptor
29461 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PayloadValue_descriptor;
29464 @java.lang.Override
29465 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
29466 internalGetFieldAccessorTable() {
29467 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PayloadValue_fieldAccessorTable
29468 .ensureFieldAccessorsInitialized(
29469 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.class, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder.class);
29472 private int msgCase_ = 0;
29473 @SuppressWarnings("serial")
29474 private java.lang.Object msg_;
29475 public enum MsgCase
29476 implements com.google.protobuf.Internal.EnumLite,
29477 com.google.protobuf.AbstractMessage.InternalOneOfEnum {
29483 private final int value;
29484 private MsgCase(int value) {
29485 this.value = value;
29488 * @param value The number of the enum to look for.
29489 * @return The enum associated with the given number.
29490 * @deprecated Use {@link #forNumber(int)} instead.
29492 @java.lang.Deprecated
29493 public static MsgCase valueOf(int value) {
29494 return forNumber(value);
29497 public static MsgCase forNumber(int value) {
29499 case 1: return STRING_VALUE;
29500 case 2: return INT_VALUE;
29501 case 3: return BOOL_VALUE;
29502 case 4: return DOUBLE_VALUE;
29503 case 0: return MSG_NOT_SET;
29504 default: return null;
29507 public int getNumber() {
29514 return MsgCase.forNumber(
29518 public static final int STRING_VALUE_FIELD_NUMBER = 1;
29520 * <code>string string_value = 1;</code>
29521 * @return Whether the stringValue field is set.
29523 public boolean hasStringValue() {
29524 return msgCase_ == 1;
29527 * <code>string string_value = 1;</code>
29528 * @return The stringValue.
29530 public java.lang.String getStringValue() {
29531 java.lang.Object ref = "";
29532 if (msgCase_ == 1) {
29535 if (ref instanceof java.lang.String) {
29536 return (java.lang.String) ref;
29538 com.google.protobuf.ByteString bs =
29539 (com.google.protobuf.ByteString) ref;
29540 java.lang.String s = bs.toStringUtf8();
29541 if (msgCase_ == 1) {
29548 * <code>string string_value = 1;</code>
29549 * @return The bytes for stringValue.
29551 public com.google.protobuf.ByteString
29552 getStringValueBytes() {
29553 java.lang.Object ref = "";
29554 if (msgCase_ == 1) {
29557 if (ref instanceof java.lang.String) {
29558 com.google.protobuf.ByteString b =
29559 com.google.protobuf.ByteString.copyFromUtf8(
29560 (java.lang.String) ref);
29561 if (msgCase_ == 1) {
29566 return (com.google.protobuf.ByteString) ref;
29570 public static final int INT_VALUE_FIELD_NUMBER = 2;
29572 * <code>int32 int_value = 2;</code>
29573 * @return Whether the intValue field is set.
29575 @java.lang.Override
29576 public boolean hasIntValue() {
29577 return msgCase_ == 2;
29580 * <code>int32 int_value = 2;</code>
29581 * @return The intValue.
29583 @java.lang.Override
29584 public int getIntValue() {
29585 if (msgCase_ == 2) {
29586 return (java.lang.Integer) msg_;
29591 public static final int BOOL_VALUE_FIELD_NUMBER = 3;
29593 * <code>bool bool_value = 3;</code>
29594 * @return Whether the boolValue field is set.
29596 @java.lang.Override
29597 public boolean hasBoolValue() {
29598 return msgCase_ == 3;
29601 * <code>bool bool_value = 3;</code>
29602 * @return The boolValue.
29604 @java.lang.Override
29605 public boolean getBoolValue() {
29606 if (msgCase_ == 3) {
29607 return (java.lang.Boolean) msg_;
29612 public static final int DOUBLE_VALUE_FIELD_NUMBER = 4;
29614 * <code>double double_value = 4;</code>
29615 * @return Whether the doubleValue field is set.
29617 @java.lang.Override
29618 public boolean hasDoubleValue() {
29619 return msgCase_ == 4;
29622 * <code>double double_value = 4;</code>
29623 * @return The doubleValue.
29625 @java.lang.Override
29626 public double getDoubleValue() {
29627 if (msgCase_ == 4) {
29628 return (java.lang.Double) msg_;
29633 private byte memoizedIsInitialized = -1;
29634 @java.lang.Override
29635 public final boolean isInitialized() {
29636 byte isInitialized = memoizedIsInitialized;
29637 if (isInitialized == 1) return true;
29638 if (isInitialized == 0) return false;
29640 memoizedIsInitialized = 1;
29644 @java.lang.Override
29645 public void writeTo(com.google.protobuf.CodedOutputStream output)
29646 throws java.io.IOException {
29647 if (msgCase_ == 1) {
29648 com.google.protobuf.GeneratedMessage.writeString(output, 1, msg_);
29650 if (msgCase_ == 2) {
29652 2, (int)((java.lang.Integer) msg_));
29654 if (msgCase_ == 3) {
29656 3, (boolean)((java.lang.Boolean) msg_));
29658 if (msgCase_ == 4) {
29659 output.writeDouble(
29660 4, (double)((java.lang.Double) msg_));
29662 getUnknownFields().writeTo(output);
29665 @java.lang.Override
29666 public int getSerializedSize() {
29667 int size = memoizedSize;
29668 if (size != -1) return size;
29671 if (msgCase_ == 1) {
29672 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, msg_);
29674 if (msgCase_ == 2) {
29675 size += com.google.protobuf.CodedOutputStream
29677 2, (int)((java.lang.Integer) msg_));
29679 if (msgCase_ == 3) {
29680 size += com.google.protobuf.CodedOutputStream
29682 3, (boolean)((java.lang.Boolean) msg_));
29684 if (msgCase_ == 4) {
29685 size += com.google.protobuf.CodedOutputStream
29686 .computeDoubleSize(
29687 4, (double)((java.lang.Double) msg_));
29689 size += getUnknownFields().getSerializedSize();
29690 memoizedSize = size;
29694 @java.lang.Override
29695 public boolean equals(final java.lang.Object obj) {
29699 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue)) {
29700 return super.equals(obj);
29702 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue other = (com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue) obj;
29704 if (!getMsgCase().equals(other.getMsgCase())) return false;
29705 switch (msgCase_) {
29707 if (!getStringValue()
29708 .equals(other.getStringValue())) return false;
29712 != other.getIntValue()) return false;
29716 != other.getBoolValue()) return false;
29719 if (java.lang.Double.doubleToLongBits(getDoubleValue())
29720 != java.lang.Double.doubleToLongBits(
29721 other.getDoubleValue())) return false;
29726 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
29730 @java.lang.Override
29731 public int hashCode() {
29732 if (memoizedHashCode != 0) {
29733 return memoizedHashCode;
29736 hash = (19 * hash) + getDescriptor().hashCode();
29737 switch (msgCase_) {
29739 hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER;
29740 hash = (53 * hash) + getStringValue().hashCode();
29743 hash = (37 * hash) + INT_VALUE_FIELD_NUMBER;
29744 hash = (53 * hash) + getIntValue();
29747 hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER;
29748 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
29752 hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER;
29753 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
29754 java.lang.Double.doubleToLongBits(getDoubleValue()));
29759 hash = (29 * hash) + getUnknownFields().hashCode();
29760 memoizedHashCode = hash;
29764 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29765 java.nio.ByteBuffer data)
29766 throws com.google.protobuf.InvalidProtocolBufferException {
29767 return PARSER.parseFrom(data);
29769 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29770 java.nio.ByteBuffer data,
29771 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29772 throws com.google.protobuf.InvalidProtocolBufferException {
29773 return PARSER.parseFrom(data, extensionRegistry);
29775 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29776 com.google.protobuf.ByteString data)
29777 throws com.google.protobuf.InvalidProtocolBufferException {
29778 return PARSER.parseFrom(data);
29780 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29781 com.google.protobuf.ByteString data,
29782 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29783 throws com.google.protobuf.InvalidProtocolBufferException {
29784 return PARSER.parseFrom(data, extensionRegistry);
29786 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(byte[] data)
29787 throws com.google.protobuf.InvalidProtocolBufferException {
29788 return PARSER.parseFrom(data);
29790 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29792 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29793 throws com.google.protobuf.InvalidProtocolBufferException {
29794 return PARSER.parseFrom(data, extensionRegistry);
29796 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(java.io.InputStream input)
29797 throws java.io.IOException {
29798 return com.google.protobuf.GeneratedMessage
29799 .parseWithIOException(PARSER, input);
29801 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29802 java.io.InputStream input,
29803 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29804 throws java.io.IOException {
29805 return com.google.protobuf.GeneratedMessage
29806 .parseWithIOException(PARSER, input, extensionRegistry);
29809 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseDelimitedFrom(java.io.InputStream input)
29810 throws java.io.IOException {
29811 return com.google.protobuf.GeneratedMessage
29812 .parseDelimitedWithIOException(PARSER, input);
29815 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseDelimitedFrom(
29816 java.io.InputStream input,
29817 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29818 throws java.io.IOException {
29819 return com.google.protobuf.GeneratedMessage
29820 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
29822 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29823 com.google.protobuf.CodedInputStream input)
29824 throws java.io.IOException {
29825 return com.google.protobuf.GeneratedMessage
29826 .parseWithIOException(PARSER, input);
29828 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue parseFrom(
29829 com.google.protobuf.CodedInputStream input,
29830 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29831 throws java.io.IOException {
29832 return com.google.protobuf.GeneratedMessage
29833 .parseWithIOException(PARSER, input, extensionRegistry);
29836 @java.lang.Override
29837 public Builder newBuilderForType() { return newBuilder(); }
29838 public static Builder newBuilder() {
29839 return DEFAULT_INSTANCE.toBuilder();
29841 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue prototype) {
29842 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
29844 @java.lang.Override
29845 public Builder toBuilder() {
29846 return this == DEFAULT_INSTANCE
29847 ? new Builder() : new Builder().mergeFrom(this);
29850 @java.lang.Override
29851 protected Builder newBuilderForType(
29852 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
29853 Builder builder = new Builder(parent);
29857 * Protobuf type {@code proto.PayloadValue}
29859 public static final class Builder extends
29860 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
29861 // @@protoc_insertion_point(builder_implements:proto.PayloadValue)
29862 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValueOrBuilder {
29863 public static final com.google.protobuf.Descriptors.Descriptor
29865 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PayloadValue_descriptor;
29868 @java.lang.Override
29869 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
29870 internalGetFieldAccessorTable() {
29871 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PayloadValue_fieldAccessorTable
29872 .ensureFieldAccessorsInitialized(
29873 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.class, com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.Builder.class);
29876 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.newBuilder()
29877 private Builder() {
29882 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
29886 @java.lang.Override
29887 public Builder clear() {
29895 @java.lang.Override
29896 public com.google.protobuf.Descriptors.Descriptor
29897 getDescriptorForType() {
29898 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PayloadValue_descriptor;
29901 @java.lang.Override
29902 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getDefaultInstanceForType() {
29903 return com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.getDefaultInstance();
29906 @java.lang.Override
29907 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue build() {
29908 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue result = buildPartial();
29909 if (!result.isInitialized()) {
29910 throw newUninitializedMessageException(result);
29915 @java.lang.Override
29916 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue buildPartial() {
29917 com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue result = new com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue(this);
29918 if (bitField0_ != 0) { buildPartial0(result); }
29919 buildPartialOneofs(result);
29924 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue result) {
29925 int from_bitField0_ = bitField0_;
29928 private void buildPartialOneofs(com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue result) {
29929 result.msgCase_ = msgCase_;
29930 result.msg_ = this.msg_;
29933 @java.lang.Override
29934 public Builder mergeFrom(com.google.protobuf.Message other) {
29935 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue) {
29936 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue)other);
29938 super.mergeFrom(other);
29943 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue other) {
29944 if (other == com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue.getDefaultInstance()) return this;
29945 switch (other.getMsgCase()) {
29946 case STRING_VALUE: {
29953 setIntValue(other.getIntValue());
29957 setBoolValue(other.getBoolValue());
29960 case DOUBLE_VALUE: {
29961 setDoubleValue(other.getDoubleValue());
29964 case MSG_NOT_SET: {
29968 this.mergeUnknownFields(other.getUnknownFields());
29973 @java.lang.Override
29974 public final boolean isInitialized() {
29978 @java.lang.Override
29979 public Builder mergeFrom(
29980 com.google.protobuf.CodedInputStream input,
29981 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
29982 throws java.io.IOException {
29983 if (extensionRegistry == null) {
29984 throw new java.lang.NullPointerException();
29987 boolean done = false;
29989 int tag = input.readTag();
29995 java.lang.String s = input.readStringRequireUtf8();
30001 msg_ = input.readInt32();
30006 msg_ = input.readBool();
30011 msg_ = input.readDouble();
30016 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
30017 done = true; // was an endgroup tag
30023 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
30024 throw e.unwrapIOException();
30030 private int msgCase_ = 0;
30031 private java.lang.Object msg_;
30034 return MsgCase.forNumber(
30038 public Builder clearMsg() {
30045 private int bitField0_;
30048 * <code>string string_value = 1;</code>
30049 * @return Whether the stringValue field is set.
30051 @java.lang.Override
30052 public boolean hasStringValue() {
30053 return msgCase_ == 1;
30056 * <code>string string_value = 1;</code>
30057 * @return The stringValue.
30059 @java.lang.Override
30060 public java.lang.String getStringValue() {
30061 java.lang.Object ref = "";
30062 if (msgCase_ == 1) {
30065 if (!(ref instanceof java.lang.String)) {
30066 com.google.protobuf.ByteString bs =
30067 (com.google.protobuf.ByteString) ref;
30068 java.lang.String s = bs.toStringUtf8();
30069 if (msgCase_ == 1) {
30074 return (java.lang.String) ref;
30078 * <code>string string_value = 1;</code>
30079 * @return The bytes for stringValue.
30081 @java.lang.Override
30082 public com.google.protobuf.ByteString
30083 getStringValueBytes() {
30084 java.lang.Object ref = "";
30085 if (msgCase_ == 1) {
30088 if (ref instanceof String) {
30089 com.google.protobuf.ByteString b =
30090 com.google.protobuf.ByteString.copyFromUtf8(
30091 (java.lang.String) ref);
30092 if (msgCase_ == 1) {
30097 return (com.google.protobuf.ByteString) ref;
30101 * <code>string string_value = 1;</code>
30102 * @param value The stringValue to set.
30103 * @return This builder for chaining.
30105 public Builder setStringValue(
30106 java.lang.String value) {
30107 if (value == null) { throw new NullPointerException(); }
30114 * <code>string string_value = 1;</code>
30115 * @return This builder for chaining.
30117 public Builder clearStringValue() {
30118 if (msgCase_ == 1) {
30126 * <code>string string_value = 1;</code>
30127 * @param value The bytes for stringValue to set.
30128 * @return This builder for chaining.
30130 public Builder setStringValueBytes(
30131 com.google.protobuf.ByteString value) {
30132 if (value == null) { throw new NullPointerException(); }
30133 checkByteStringIsUtf8(value);
30141 * <code>int32 int_value = 2;</code>
30142 * @return Whether the intValue field is set.
30144 public boolean hasIntValue() {
30145 return msgCase_ == 2;
30148 * <code>int32 int_value = 2;</code>
30149 * @return The intValue.
30151 public int getIntValue() {
30152 if (msgCase_ == 2) {
30153 return (java.lang.Integer) msg_;
30158 * <code>int32 int_value = 2;</code>
30159 * @param value The intValue to set.
30160 * @return This builder for chaining.
30162 public Builder setIntValue(int value) {
30170 * <code>int32 int_value = 2;</code>
30171 * @return This builder for chaining.
30173 public Builder clearIntValue() {
30174 if (msgCase_ == 2) {
30183 * <code>bool bool_value = 3;</code>
30184 * @return Whether the boolValue field is set.
30186 public boolean hasBoolValue() {
30187 return msgCase_ == 3;
30190 * <code>bool bool_value = 3;</code>
30191 * @return The boolValue.
30193 public boolean getBoolValue() {
30194 if (msgCase_ == 3) {
30195 return (java.lang.Boolean) msg_;
30200 * <code>bool bool_value = 3;</code>
30201 * @param value The boolValue to set.
30202 * @return This builder for chaining.
30204 public Builder setBoolValue(boolean value) {
30212 * <code>bool bool_value = 3;</code>
30213 * @return This builder for chaining.
30215 public Builder clearBoolValue() {
30216 if (msgCase_ == 3) {
30225 * <code>double double_value = 4;</code>
30226 * @return Whether the doubleValue field is set.
30228 public boolean hasDoubleValue() {
30229 return msgCase_ == 4;
30232 * <code>double double_value = 4;</code>
30233 * @return The doubleValue.
30235 public double getDoubleValue() {
30236 if (msgCase_ == 4) {
30237 return (java.lang.Double) msg_;
30242 * <code>double double_value = 4;</code>
30243 * @param value The doubleValue to set.
30244 * @return This builder for chaining.
30246 public Builder setDoubleValue(double value) {
30254 * <code>double double_value = 4;</code>
30255 * @return This builder for chaining.
30257 public Builder clearDoubleValue() {
30258 if (msgCase_ == 4) {
30266 // @@protoc_insertion_point(builder_scope:proto.PayloadValue)
30269 // @@protoc_insertion_point(class_scope:proto.PayloadValue)
30270 private static final com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue DEFAULT_INSTANCE;
30272 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue();
30275 public static com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getDefaultInstance() {
30276 return DEFAULT_INSTANCE;
30279 private static final com.google.protobuf.Parser<PayloadValue>
30280 PARSER = new com.google.protobuf.AbstractParser<PayloadValue>() {
30281 @java.lang.Override
30282 public PayloadValue parsePartialFrom(
30283 com.google.protobuf.CodedInputStream input,
30284 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30285 throws com.google.protobuf.InvalidProtocolBufferException {
30286 Builder builder = newBuilder();
30288 builder.mergeFrom(input, extensionRegistry);
30289 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
30290 throw e.setUnfinishedMessage(builder.buildPartial());
30291 } catch (com.google.protobuf.UninitializedMessageException e) {
30292 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
30293 } catch (java.io.IOException e) {
30294 throw new com.google.protobuf.InvalidProtocolBufferException(e)
30295 .setUnfinishedMessage(builder.buildPartial());
30297 return builder.buildPartial();
30301 public static com.google.protobuf.Parser<PayloadValue> parser() {
30305 @java.lang.Override
30306 public com.google.protobuf.Parser<PayloadValue> getParserForType() {
30310 @java.lang.Override
30311 public com.daimler.mbcarkit.proto.VehicleEvents.PayloadValue getDefaultInstanceForType() {
30312 return DEFAULT_INSTANCE;
30317 @java.lang.Deprecated public interface AcknowledgeVEPRequestOrBuilder extends
30318 // @@protoc_insertion_point(interface_extends:proto.AcknowledgeVEPRequest)
30319 com.google.protobuf.MessageOrBuilder {
30322 * <code>int32 sequence_number = 1;</code>
30323 * @return The sequenceNumber.
30325 int getSequenceNumber();
30329 * acknowledge that the VEP updates of up to `sequenceNumber` have been received
30330 * Sending direction: App -> BFF -> AppTwin
30333 * Protobuf type {@code proto.AcknowledgeVEPRequest}
30335 @java.lang.Deprecated public static final class AcknowledgeVEPRequest extends
30336 com.google.protobuf.GeneratedMessage implements
30337 // @@protoc_insertion_point(message_implements:proto.AcknowledgeVEPRequest)
30338 AcknowledgeVEPRequestOrBuilder {
30339 private static final long serialVersionUID = 0L;
30341 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
30342 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
30347 AcknowledgeVEPRequest.class.getName());
30349 // Use AcknowledgeVEPRequest.newBuilder() to construct.
30350 private AcknowledgeVEPRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
30353 private AcknowledgeVEPRequest() {
30356 public static final com.google.protobuf.Descriptors.Descriptor
30358 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPRequest_descriptor;
30361 @java.lang.Override
30362 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
30363 internalGetFieldAccessorTable() {
30364 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPRequest_fieldAccessorTable
30365 .ensureFieldAccessorsInitialized(
30366 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.Builder.class);
30369 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
30370 private int sequenceNumber_ = 0;
30372 * <code>int32 sequence_number = 1;</code>
30373 * @return The sequenceNumber.
30375 @java.lang.Override
30376 public int getSequenceNumber() {
30377 return sequenceNumber_;
30380 private byte memoizedIsInitialized = -1;
30381 @java.lang.Override
30382 public final boolean isInitialized() {
30383 byte isInitialized = memoizedIsInitialized;
30384 if (isInitialized == 1) return true;
30385 if (isInitialized == 0) return false;
30387 memoizedIsInitialized = 1;
30391 @java.lang.Override
30392 public void writeTo(com.google.protobuf.CodedOutputStream output)
30393 throws java.io.IOException {
30394 if (sequenceNumber_ != 0) {
30395 output.writeInt32(1, sequenceNumber_);
30397 getUnknownFields().writeTo(output);
30400 @java.lang.Override
30401 public int getSerializedSize() {
30402 int size = memoizedSize;
30403 if (size != -1) return size;
30406 if (sequenceNumber_ != 0) {
30407 size += com.google.protobuf.CodedOutputStream
30408 .computeInt32Size(1, sequenceNumber_);
30410 size += getUnknownFields().getSerializedSize();
30411 memoizedSize = size;
30415 @java.lang.Override
30416 public boolean equals(final java.lang.Object obj) {
30420 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest)) {
30421 return super.equals(obj);
30423 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest other = (com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest) obj;
30425 if (getSequenceNumber()
30426 != other.getSequenceNumber()) return false;
30427 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
30431 @java.lang.Override
30432 public int hashCode() {
30433 if (memoizedHashCode != 0) {
30434 return memoizedHashCode;
30437 hash = (19 * hash) + getDescriptor().hashCode();
30438 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
30439 hash = (53 * hash) + getSequenceNumber();
30440 hash = (29 * hash) + getUnknownFields().hashCode();
30441 memoizedHashCode = hash;
30445 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30446 java.nio.ByteBuffer data)
30447 throws com.google.protobuf.InvalidProtocolBufferException {
30448 return PARSER.parseFrom(data);
30450 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30451 java.nio.ByteBuffer data,
30452 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30453 throws com.google.protobuf.InvalidProtocolBufferException {
30454 return PARSER.parseFrom(data, extensionRegistry);
30456 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30457 com.google.protobuf.ByteString data)
30458 throws com.google.protobuf.InvalidProtocolBufferException {
30459 return PARSER.parseFrom(data);
30461 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30462 com.google.protobuf.ByteString data,
30463 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30464 throws com.google.protobuf.InvalidProtocolBufferException {
30465 return PARSER.parseFrom(data, extensionRegistry);
30467 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(byte[] data)
30468 throws com.google.protobuf.InvalidProtocolBufferException {
30469 return PARSER.parseFrom(data);
30471 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30473 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30474 throws com.google.protobuf.InvalidProtocolBufferException {
30475 return PARSER.parseFrom(data, extensionRegistry);
30477 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(java.io.InputStream input)
30478 throws java.io.IOException {
30479 return com.google.protobuf.GeneratedMessage
30480 .parseWithIOException(PARSER, input);
30482 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30483 java.io.InputStream input,
30484 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30485 throws java.io.IOException {
30486 return com.google.protobuf.GeneratedMessage
30487 .parseWithIOException(PARSER, input, extensionRegistry);
30490 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseDelimitedFrom(java.io.InputStream input)
30491 throws java.io.IOException {
30492 return com.google.protobuf.GeneratedMessage
30493 .parseDelimitedWithIOException(PARSER, input);
30496 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseDelimitedFrom(
30497 java.io.InputStream input,
30498 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30499 throws java.io.IOException {
30500 return com.google.protobuf.GeneratedMessage
30501 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
30503 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30504 com.google.protobuf.CodedInputStream input)
30505 throws java.io.IOException {
30506 return com.google.protobuf.GeneratedMessage
30507 .parseWithIOException(PARSER, input);
30509 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest parseFrom(
30510 com.google.protobuf.CodedInputStream input,
30511 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30512 throws java.io.IOException {
30513 return com.google.protobuf.GeneratedMessage
30514 .parseWithIOException(PARSER, input, extensionRegistry);
30517 @java.lang.Override
30518 public Builder newBuilderForType() { return newBuilder(); }
30519 public static Builder newBuilder() {
30520 return DEFAULT_INSTANCE.toBuilder();
30522 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest prototype) {
30523 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
30525 @java.lang.Override
30526 public Builder toBuilder() {
30527 return this == DEFAULT_INSTANCE
30528 ? new Builder() : new Builder().mergeFrom(this);
30531 @java.lang.Override
30532 protected Builder newBuilderForType(
30533 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
30534 Builder builder = new Builder(parent);
30539 * acknowledge that the VEP updates of up to `sequenceNumber` have been received
30540 * Sending direction: App -> BFF -> AppTwin
30543 * Protobuf type {@code proto.AcknowledgeVEPRequest}
30545 public static final class Builder extends
30546 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
30547 // @@protoc_insertion_point(builder_implements:proto.AcknowledgeVEPRequest)
30548 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequestOrBuilder {
30549 public static final com.google.protobuf.Descriptors.Descriptor
30551 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPRequest_descriptor;
30554 @java.lang.Override
30555 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
30556 internalGetFieldAccessorTable() {
30557 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPRequest_fieldAccessorTable
30558 .ensureFieldAccessorsInitialized(
30559 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.Builder.class);
30562 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.newBuilder()
30563 private Builder() {
30568 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
30572 @java.lang.Override
30573 public Builder clear() {
30576 sequenceNumber_ = 0;
30580 @java.lang.Override
30581 public com.google.protobuf.Descriptors.Descriptor
30582 getDescriptorForType() {
30583 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPRequest_descriptor;
30586 @java.lang.Override
30587 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest getDefaultInstanceForType() {
30588 return com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.getDefaultInstance();
30591 @java.lang.Override
30592 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest build() {
30593 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest result = buildPartial();
30594 if (!result.isInitialized()) {
30595 throw newUninitializedMessageException(result);
30600 @java.lang.Override
30601 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest buildPartial() {
30602 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest result = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest(this);
30603 if (bitField0_ != 0) { buildPartial0(result); }
30608 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest result) {
30609 int from_bitField0_ = bitField0_;
30610 if (((from_bitField0_ & 0x00000001) != 0)) {
30611 result.sequenceNumber_ = sequenceNumber_;
30615 @java.lang.Override
30616 public Builder mergeFrom(com.google.protobuf.Message other) {
30617 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest) {
30618 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest)other);
30620 super.mergeFrom(other);
30625 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest other) {
30626 if (other == com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest.getDefaultInstance()) return this;
30627 if (other.getSequenceNumber() != 0) {
30628 setSequenceNumber(other.getSequenceNumber());
30630 this.mergeUnknownFields(other.getUnknownFields());
30635 @java.lang.Override
30636 public final boolean isInitialized() {
30640 @java.lang.Override
30641 public Builder mergeFrom(
30642 com.google.protobuf.CodedInputStream input,
30643 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30644 throws java.io.IOException {
30645 if (extensionRegistry == null) {
30646 throw new java.lang.NullPointerException();
30649 boolean done = false;
30651 int tag = input.readTag();
30657 sequenceNumber_ = input.readInt32();
30658 bitField0_ |= 0x00000001;
30662 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
30663 done = true; // was an endgroup tag
30669 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
30670 throw e.unwrapIOException();
30676 private int bitField0_;
30678 private int sequenceNumber_ ;
30680 * <code>int32 sequence_number = 1;</code>
30681 * @return The sequenceNumber.
30683 @java.lang.Override
30684 public int getSequenceNumber() {
30685 return sequenceNumber_;
30688 * <code>int32 sequence_number = 1;</code>
30689 * @param value The sequenceNumber to set.
30690 * @return This builder for chaining.
30692 public Builder setSequenceNumber(int value) {
30694 sequenceNumber_ = value;
30695 bitField0_ |= 0x00000001;
30700 * <code>int32 sequence_number = 1;</code>
30701 * @return This builder for chaining.
30703 public Builder clearSequenceNumber() {
30704 bitField0_ = (bitField0_ & ~0x00000001);
30705 sequenceNumber_ = 0;
30710 // @@protoc_insertion_point(builder_scope:proto.AcknowledgeVEPRequest)
30713 // @@protoc_insertion_point(class_scope:proto.AcknowledgeVEPRequest)
30714 private static final com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest DEFAULT_INSTANCE;
30716 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest();
30719 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest getDefaultInstance() {
30720 return DEFAULT_INSTANCE;
30723 private static final com.google.protobuf.Parser<AcknowledgeVEPRequest>
30724 PARSER = new com.google.protobuf.AbstractParser<AcknowledgeVEPRequest>() {
30725 @java.lang.Override
30726 public AcknowledgeVEPRequest parsePartialFrom(
30727 com.google.protobuf.CodedInputStream input,
30728 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30729 throws com.google.protobuf.InvalidProtocolBufferException {
30730 Builder builder = newBuilder();
30732 builder.mergeFrom(input, extensionRegistry);
30733 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
30734 throw e.setUnfinishedMessage(builder.buildPartial());
30735 } catch (com.google.protobuf.UninitializedMessageException e) {
30736 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
30737 } catch (java.io.IOException e) {
30738 throw new com.google.protobuf.InvalidProtocolBufferException(e)
30739 .setUnfinishedMessage(builder.buildPartial());
30741 return builder.buildPartial();
30745 public static com.google.protobuf.Parser<AcknowledgeVEPRequest> parser() {
30749 @java.lang.Override
30750 public com.google.protobuf.Parser<AcknowledgeVEPRequest> getParserForType() {
30754 @java.lang.Override
30755 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPRequest getDefaultInstanceForType() {
30756 return DEFAULT_INSTANCE;
30761 public interface AcknowledgeVEPUpdatesByVINOrBuilder extends
30762 // @@protoc_insertion_point(interface_extends:proto.AcknowledgeVEPUpdatesByVIN)
30763 com.google.protobuf.MessageOrBuilder {
30766 * <code>int32 sequence_number = 1;</code>
30767 * @return The sequenceNumber.
30769 int getSequenceNumber();
30773 * acknowledge that the VEP updates by vin of up to `sequenceNumber` have been received
30774 * Sending direction: App -> BFF -> AppTwin
30775 * This message should replace the AcknowledgeVEPRequest
30778 * Protobuf type {@code proto.AcknowledgeVEPUpdatesByVIN}
30780 public static final class AcknowledgeVEPUpdatesByVIN extends
30781 com.google.protobuf.GeneratedMessage implements
30782 // @@protoc_insertion_point(message_implements:proto.AcknowledgeVEPUpdatesByVIN)
30783 AcknowledgeVEPUpdatesByVINOrBuilder {
30784 private static final long serialVersionUID = 0L;
30786 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
30787 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
30792 AcknowledgeVEPUpdatesByVIN.class.getName());
30794 // Use AcknowledgeVEPUpdatesByVIN.newBuilder() to construct.
30795 private AcknowledgeVEPUpdatesByVIN(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
30798 private AcknowledgeVEPUpdatesByVIN() {
30801 public static final com.google.protobuf.Descriptors.Descriptor
30803 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPUpdatesByVIN_descriptor;
30806 @java.lang.Override
30807 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
30808 internalGetFieldAccessorTable() {
30809 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPUpdatesByVIN_fieldAccessorTable
30810 .ensureFieldAccessorsInitialized(
30811 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.Builder.class);
30814 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
30815 private int sequenceNumber_ = 0;
30817 * <code>int32 sequence_number = 1;</code>
30818 * @return The sequenceNumber.
30820 @java.lang.Override
30821 public int getSequenceNumber() {
30822 return sequenceNumber_;
30825 private byte memoizedIsInitialized = -1;
30826 @java.lang.Override
30827 public final boolean isInitialized() {
30828 byte isInitialized = memoizedIsInitialized;
30829 if (isInitialized == 1) return true;
30830 if (isInitialized == 0) return false;
30832 memoizedIsInitialized = 1;
30836 @java.lang.Override
30837 public void writeTo(com.google.protobuf.CodedOutputStream output)
30838 throws java.io.IOException {
30839 if (sequenceNumber_ != 0) {
30840 output.writeInt32(1, sequenceNumber_);
30842 getUnknownFields().writeTo(output);
30845 @java.lang.Override
30846 public int getSerializedSize() {
30847 int size = memoizedSize;
30848 if (size != -1) return size;
30851 if (sequenceNumber_ != 0) {
30852 size += com.google.protobuf.CodedOutputStream
30853 .computeInt32Size(1, sequenceNumber_);
30855 size += getUnknownFields().getSerializedSize();
30856 memoizedSize = size;
30860 @java.lang.Override
30861 public boolean equals(final java.lang.Object obj) {
30865 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN)) {
30866 return super.equals(obj);
30868 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN other = (com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN) obj;
30870 if (getSequenceNumber()
30871 != other.getSequenceNumber()) return false;
30872 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
30876 @java.lang.Override
30877 public int hashCode() {
30878 if (memoizedHashCode != 0) {
30879 return memoizedHashCode;
30882 hash = (19 * hash) + getDescriptor().hashCode();
30883 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
30884 hash = (53 * hash) + getSequenceNumber();
30885 hash = (29 * hash) + getUnknownFields().hashCode();
30886 memoizedHashCode = hash;
30890 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30891 java.nio.ByteBuffer data)
30892 throws com.google.protobuf.InvalidProtocolBufferException {
30893 return PARSER.parseFrom(data);
30895 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30896 java.nio.ByteBuffer data,
30897 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30898 throws com.google.protobuf.InvalidProtocolBufferException {
30899 return PARSER.parseFrom(data, extensionRegistry);
30901 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30902 com.google.protobuf.ByteString data)
30903 throws com.google.protobuf.InvalidProtocolBufferException {
30904 return PARSER.parseFrom(data);
30906 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30907 com.google.protobuf.ByteString data,
30908 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30909 throws com.google.protobuf.InvalidProtocolBufferException {
30910 return PARSER.parseFrom(data, extensionRegistry);
30912 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(byte[] data)
30913 throws com.google.protobuf.InvalidProtocolBufferException {
30914 return PARSER.parseFrom(data);
30916 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30918 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30919 throws com.google.protobuf.InvalidProtocolBufferException {
30920 return PARSER.parseFrom(data, extensionRegistry);
30922 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(java.io.InputStream input)
30923 throws java.io.IOException {
30924 return com.google.protobuf.GeneratedMessage
30925 .parseWithIOException(PARSER, input);
30927 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30928 java.io.InputStream input,
30929 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30930 throws java.io.IOException {
30931 return com.google.protobuf.GeneratedMessage
30932 .parseWithIOException(PARSER, input, extensionRegistry);
30935 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseDelimitedFrom(java.io.InputStream input)
30936 throws java.io.IOException {
30937 return com.google.protobuf.GeneratedMessage
30938 .parseDelimitedWithIOException(PARSER, input);
30941 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseDelimitedFrom(
30942 java.io.InputStream input,
30943 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30944 throws java.io.IOException {
30945 return com.google.protobuf.GeneratedMessage
30946 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
30948 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30949 com.google.protobuf.CodedInputStream input)
30950 throws java.io.IOException {
30951 return com.google.protobuf.GeneratedMessage
30952 .parseWithIOException(PARSER, input);
30954 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN parseFrom(
30955 com.google.protobuf.CodedInputStream input,
30956 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
30957 throws java.io.IOException {
30958 return com.google.protobuf.GeneratedMessage
30959 .parseWithIOException(PARSER, input, extensionRegistry);
30962 @java.lang.Override
30963 public Builder newBuilderForType() { return newBuilder(); }
30964 public static Builder newBuilder() {
30965 return DEFAULT_INSTANCE.toBuilder();
30967 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN prototype) {
30968 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
30970 @java.lang.Override
30971 public Builder toBuilder() {
30972 return this == DEFAULT_INSTANCE
30973 ? new Builder() : new Builder().mergeFrom(this);
30976 @java.lang.Override
30977 protected Builder newBuilderForType(
30978 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
30979 Builder builder = new Builder(parent);
30984 * acknowledge that the VEP updates by vin of up to `sequenceNumber` have been received
30985 * Sending direction: App -> BFF -> AppTwin
30986 * This message should replace the AcknowledgeVEPRequest
30989 * Protobuf type {@code proto.AcknowledgeVEPUpdatesByVIN}
30991 public static final class Builder extends
30992 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
30993 // @@protoc_insertion_point(builder_implements:proto.AcknowledgeVEPUpdatesByVIN)
30994 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVINOrBuilder {
30995 public static final com.google.protobuf.Descriptors.Descriptor
30997 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPUpdatesByVIN_descriptor;
31000 @java.lang.Override
31001 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
31002 internalGetFieldAccessorTable() {
31003 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPUpdatesByVIN_fieldAccessorTable
31004 .ensureFieldAccessorsInitialized(
31005 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.Builder.class);
31008 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.newBuilder()
31009 private Builder() {
31014 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
31018 @java.lang.Override
31019 public Builder clear() {
31022 sequenceNumber_ = 0;
31026 @java.lang.Override
31027 public com.google.protobuf.Descriptors.Descriptor
31028 getDescriptorForType() {
31029 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVEPUpdatesByVIN_descriptor;
31032 @java.lang.Override
31033 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN getDefaultInstanceForType() {
31034 return com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.getDefaultInstance();
31037 @java.lang.Override
31038 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN build() {
31039 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN result = buildPartial();
31040 if (!result.isInitialized()) {
31041 throw newUninitializedMessageException(result);
31046 @java.lang.Override
31047 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN buildPartial() {
31048 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN result = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN(this);
31049 if (bitField0_ != 0) { buildPartial0(result); }
31054 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN result) {
31055 int from_bitField0_ = bitField0_;
31056 if (((from_bitField0_ & 0x00000001) != 0)) {
31057 result.sequenceNumber_ = sequenceNumber_;
31061 @java.lang.Override
31062 public Builder mergeFrom(com.google.protobuf.Message other) {
31063 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN) {
31064 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN)other);
31066 super.mergeFrom(other);
31071 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN other) {
31072 if (other == com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN.getDefaultInstance()) return this;
31073 if (other.getSequenceNumber() != 0) {
31074 setSequenceNumber(other.getSequenceNumber());
31076 this.mergeUnknownFields(other.getUnknownFields());
31081 @java.lang.Override
31082 public final boolean isInitialized() {
31086 @java.lang.Override
31087 public Builder mergeFrom(
31088 com.google.protobuf.CodedInputStream input,
31089 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31090 throws java.io.IOException {
31091 if (extensionRegistry == null) {
31092 throw new java.lang.NullPointerException();
31095 boolean done = false;
31097 int tag = input.readTag();
31103 sequenceNumber_ = input.readInt32();
31104 bitField0_ |= 0x00000001;
31108 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
31109 done = true; // was an endgroup tag
31115 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
31116 throw e.unwrapIOException();
31122 private int bitField0_;
31124 private int sequenceNumber_ ;
31126 * <code>int32 sequence_number = 1;</code>
31127 * @return The sequenceNumber.
31129 @java.lang.Override
31130 public int getSequenceNumber() {
31131 return sequenceNumber_;
31134 * <code>int32 sequence_number = 1;</code>
31135 * @param value The sequenceNumber to set.
31136 * @return This builder for chaining.
31138 public Builder setSequenceNumber(int value) {
31140 sequenceNumber_ = value;
31141 bitField0_ |= 0x00000001;
31146 * <code>int32 sequence_number = 1;</code>
31147 * @return This builder for chaining.
31149 public Builder clearSequenceNumber() {
31150 bitField0_ = (bitField0_ & ~0x00000001);
31151 sequenceNumber_ = 0;
31156 // @@protoc_insertion_point(builder_scope:proto.AcknowledgeVEPUpdatesByVIN)
31159 // @@protoc_insertion_point(class_scope:proto.AcknowledgeVEPUpdatesByVIN)
31160 private static final com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN DEFAULT_INSTANCE;
31162 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN();
31165 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN getDefaultInstance() {
31166 return DEFAULT_INSTANCE;
31169 private static final com.google.protobuf.Parser<AcknowledgeVEPUpdatesByVIN>
31170 PARSER = new com.google.protobuf.AbstractParser<AcknowledgeVEPUpdatesByVIN>() {
31171 @java.lang.Override
31172 public AcknowledgeVEPUpdatesByVIN parsePartialFrom(
31173 com.google.protobuf.CodedInputStream input,
31174 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31175 throws com.google.protobuf.InvalidProtocolBufferException {
31176 Builder builder = newBuilder();
31178 builder.mergeFrom(input, extensionRegistry);
31179 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
31180 throw e.setUnfinishedMessage(builder.buildPartial());
31181 } catch (com.google.protobuf.UninitializedMessageException e) {
31182 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
31183 } catch (java.io.IOException e) {
31184 throw new com.google.protobuf.InvalidProtocolBufferException(e)
31185 .setUnfinishedMessage(builder.buildPartial());
31187 return builder.buildPartial();
31191 public static com.google.protobuf.Parser<AcknowledgeVEPUpdatesByVIN> parser() {
31195 @java.lang.Override
31196 public com.google.protobuf.Parser<AcknowledgeVEPUpdatesByVIN> getParserForType() {
31200 @java.lang.Override
31201 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVEPUpdatesByVIN getDefaultInstanceForType() {
31202 return DEFAULT_INSTANCE;
31207 public interface ConfigurePingIntervalOrBuilder extends
31208 // @@protoc_insertion_point(interface_extends:proto.ConfigurePingInterval)
31209 com.google.protobuf.MessageOrBuilder {
31212 * <code>int32 ping_time_millis = 1;</code>
31213 * @return The pingTimeMillis.
31215 int getPingTimeMillis();
31219 * the client can optionally send this message to reconfigure the ping interval
31220 * Sending direction: App -> BFF
31223 * Protobuf type {@code proto.ConfigurePingInterval}
31225 public static final class ConfigurePingInterval extends
31226 com.google.protobuf.GeneratedMessage implements
31227 // @@protoc_insertion_point(message_implements:proto.ConfigurePingInterval)
31228 ConfigurePingIntervalOrBuilder {
31229 private static final long serialVersionUID = 0L;
31231 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
31232 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
31237 ConfigurePingInterval.class.getName());
31239 // Use ConfigurePingInterval.newBuilder() to construct.
31240 private ConfigurePingInterval(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
31243 private ConfigurePingInterval() {
31246 public static final com.google.protobuf.Descriptors.Descriptor
31248 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ConfigurePingInterval_descriptor;
31251 @java.lang.Override
31252 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
31253 internalGetFieldAccessorTable() {
31254 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ConfigurePingInterval_fieldAccessorTable
31255 .ensureFieldAccessorsInitialized(
31256 com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.class, com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.Builder.class);
31259 public static final int PING_TIME_MILLIS_FIELD_NUMBER = 1;
31260 private int pingTimeMillis_ = 0;
31262 * <code>int32 ping_time_millis = 1;</code>
31263 * @return The pingTimeMillis.
31265 @java.lang.Override
31266 public int getPingTimeMillis() {
31267 return pingTimeMillis_;
31270 private byte memoizedIsInitialized = -1;
31271 @java.lang.Override
31272 public final boolean isInitialized() {
31273 byte isInitialized = memoizedIsInitialized;
31274 if (isInitialized == 1) return true;
31275 if (isInitialized == 0) return false;
31277 memoizedIsInitialized = 1;
31281 @java.lang.Override
31282 public void writeTo(com.google.protobuf.CodedOutputStream output)
31283 throws java.io.IOException {
31284 if (pingTimeMillis_ != 0) {
31285 output.writeInt32(1, pingTimeMillis_);
31287 getUnknownFields().writeTo(output);
31290 @java.lang.Override
31291 public int getSerializedSize() {
31292 int size = memoizedSize;
31293 if (size != -1) return size;
31296 if (pingTimeMillis_ != 0) {
31297 size += com.google.protobuf.CodedOutputStream
31298 .computeInt32Size(1, pingTimeMillis_);
31300 size += getUnknownFields().getSerializedSize();
31301 memoizedSize = size;
31305 @java.lang.Override
31306 public boolean equals(final java.lang.Object obj) {
31310 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval)) {
31311 return super.equals(obj);
31313 com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval other = (com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval) obj;
31315 if (getPingTimeMillis()
31316 != other.getPingTimeMillis()) return false;
31317 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
31321 @java.lang.Override
31322 public int hashCode() {
31323 if (memoizedHashCode != 0) {
31324 return memoizedHashCode;
31327 hash = (19 * hash) + getDescriptor().hashCode();
31328 hash = (37 * hash) + PING_TIME_MILLIS_FIELD_NUMBER;
31329 hash = (53 * hash) + getPingTimeMillis();
31330 hash = (29 * hash) + getUnknownFields().hashCode();
31331 memoizedHashCode = hash;
31335 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31336 java.nio.ByteBuffer data)
31337 throws com.google.protobuf.InvalidProtocolBufferException {
31338 return PARSER.parseFrom(data);
31340 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31341 java.nio.ByteBuffer data,
31342 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31343 throws com.google.protobuf.InvalidProtocolBufferException {
31344 return PARSER.parseFrom(data, extensionRegistry);
31346 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31347 com.google.protobuf.ByteString data)
31348 throws com.google.protobuf.InvalidProtocolBufferException {
31349 return PARSER.parseFrom(data);
31351 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31352 com.google.protobuf.ByteString data,
31353 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31354 throws com.google.protobuf.InvalidProtocolBufferException {
31355 return PARSER.parseFrom(data, extensionRegistry);
31357 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(byte[] data)
31358 throws com.google.protobuf.InvalidProtocolBufferException {
31359 return PARSER.parseFrom(data);
31361 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31363 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31364 throws com.google.protobuf.InvalidProtocolBufferException {
31365 return PARSER.parseFrom(data, extensionRegistry);
31367 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(java.io.InputStream input)
31368 throws java.io.IOException {
31369 return com.google.protobuf.GeneratedMessage
31370 .parseWithIOException(PARSER, input);
31372 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31373 java.io.InputStream input,
31374 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31375 throws java.io.IOException {
31376 return com.google.protobuf.GeneratedMessage
31377 .parseWithIOException(PARSER, input, extensionRegistry);
31380 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseDelimitedFrom(java.io.InputStream input)
31381 throws java.io.IOException {
31382 return com.google.protobuf.GeneratedMessage
31383 .parseDelimitedWithIOException(PARSER, input);
31386 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseDelimitedFrom(
31387 java.io.InputStream input,
31388 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31389 throws java.io.IOException {
31390 return com.google.protobuf.GeneratedMessage
31391 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
31393 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31394 com.google.protobuf.CodedInputStream input)
31395 throws java.io.IOException {
31396 return com.google.protobuf.GeneratedMessage
31397 .parseWithIOException(PARSER, input);
31399 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval parseFrom(
31400 com.google.protobuf.CodedInputStream input,
31401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31402 throws java.io.IOException {
31403 return com.google.protobuf.GeneratedMessage
31404 .parseWithIOException(PARSER, input, extensionRegistry);
31407 @java.lang.Override
31408 public Builder newBuilderForType() { return newBuilder(); }
31409 public static Builder newBuilder() {
31410 return DEFAULT_INSTANCE.toBuilder();
31412 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval prototype) {
31413 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
31415 @java.lang.Override
31416 public Builder toBuilder() {
31417 return this == DEFAULT_INSTANCE
31418 ? new Builder() : new Builder().mergeFrom(this);
31421 @java.lang.Override
31422 protected Builder newBuilderForType(
31423 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
31424 Builder builder = new Builder(parent);
31429 * the client can optionally send this message to reconfigure the ping interval
31430 * Sending direction: App -> BFF
31433 * Protobuf type {@code proto.ConfigurePingInterval}
31435 public static final class Builder extends
31436 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
31437 // @@protoc_insertion_point(builder_implements:proto.ConfigurePingInterval)
31438 com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingIntervalOrBuilder {
31439 public static final com.google.protobuf.Descriptors.Descriptor
31441 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ConfigurePingInterval_descriptor;
31444 @java.lang.Override
31445 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
31446 internalGetFieldAccessorTable() {
31447 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ConfigurePingInterval_fieldAccessorTable
31448 .ensureFieldAccessorsInitialized(
31449 com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.class, com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.Builder.class);
31452 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.newBuilder()
31453 private Builder() {
31458 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
31462 @java.lang.Override
31463 public Builder clear() {
31466 pingTimeMillis_ = 0;
31470 @java.lang.Override
31471 public com.google.protobuf.Descriptors.Descriptor
31472 getDescriptorForType() {
31473 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_ConfigurePingInterval_descriptor;
31476 @java.lang.Override
31477 public com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval getDefaultInstanceForType() {
31478 return com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.getDefaultInstance();
31481 @java.lang.Override
31482 public com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval build() {
31483 com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval result = buildPartial();
31484 if (!result.isInitialized()) {
31485 throw newUninitializedMessageException(result);
31490 @java.lang.Override
31491 public com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval buildPartial() {
31492 com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval result = new com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval(this);
31493 if (bitField0_ != 0) { buildPartial0(result); }
31498 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval result) {
31499 int from_bitField0_ = bitField0_;
31500 if (((from_bitField0_ & 0x00000001) != 0)) {
31501 result.pingTimeMillis_ = pingTimeMillis_;
31505 @java.lang.Override
31506 public Builder mergeFrom(com.google.protobuf.Message other) {
31507 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval) {
31508 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval)other);
31510 super.mergeFrom(other);
31515 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval other) {
31516 if (other == com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval.getDefaultInstance()) return this;
31517 if (other.getPingTimeMillis() != 0) {
31518 setPingTimeMillis(other.getPingTimeMillis());
31520 this.mergeUnknownFields(other.getUnknownFields());
31525 @java.lang.Override
31526 public final boolean isInitialized() {
31530 @java.lang.Override
31531 public Builder mergeFrom(
31532 com.google.protobuf.CodedInputStream input,
31533 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31534 throws java.io.IOException {
31535 if (extensionRegistry == null) {
31536 throw new java.lang.NullPointerException();
31539 boolean done = false;
31541 int tag = input.readTag();
31547 pingTimeMillis_ = input.readInt32();
31548 bitField0_ |= 0x00000001;
31552 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
31553 done = true; // was an endgroup tag
31559 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
31560 throw e.unwrapIOException();
31566 private int bitField0_;
31568 private int pingTimeMillis_ ;
31570 * <code>int32 ping_time_millis = 1;</code>
31571 * @return The pingTimeMillis.
31573 @java.lang.Override
31574 public int getPingTimeMillis() {
31575 return pingTimeMillis_;
31578 * <code>int32 ping_time_millis = 1;</code>
31579 * @param value The pingTimeMillis to set.
31580 * @return This builder for chaining.
31582 public Builder setPingTimeMillis(int value) {
31584 pingTimeMillis_ = value;
31585 bitField0_ |= 0x00000001;
31590 * <code>int32 ping_time_millis = 1;</code>
31591 * @return This builder for chaining.
31593 public Builder clearPingTimeMillis() {
31594 bitField0_ = (bitField0_ & ~0x00000001);
31595 pingTimeMillis_ = 0;
31600 // @@protoc_insertion_point(builder_scope:proto.ConfigurePingInterval)
31603 // @@protoc_insertion_point(class_scope:proto.ConfigurePingInterval)
31604 private static final com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval DEFAULT_INSTANCE;
31606 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval();
31609 public static com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval getDefaultInstance() {
31610 return DEFAULT_INSTANCE;
31613 private static final com.google.protobuf.Parser<ConfigurePingInterval>
31614 PARSER = new com.google.protobuf.AbstractParser<ConfigurePingInterval>() {
31615 @java.lang.Override
31616 public ConfigurePingInterval parsePartialFrom(
31617 com.google.protobuf.CodedInputStream input,
31618 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31619 throws com.google.protobuf.InvalidProtocolBufferException {
31620 Builder builder = newBuilder();
31622 builder.mergeFrom(input, extensionRegistry);
31623 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
31624 throw e.setUnfinishedMessage(builder.buildPartial());
31625 } catch (com.google.protobuf.UninitializedMessageException e) {
31626 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
31627 } catch (java.io.IOException e) {
31628 throw new com.google.protobuf.InvalidProtocolBufferException(e)
31629 .setUnfinishedMessage(builder.buildPartial());
31631 return builder.buildPartial();
31635 public static com.google.protobuf.Parser<ConfigurePingInterval> parser() {
31639 @java.lang.Override
31640 public com.google.protobuf.Parser<ConfigurePingInterval> getParserForType() {
31644 @java.lang.Override
31645 public com.daimler.mbcarkit.proto.VehicleEvents.ConfigurePingInterval getDefaultInstanceForType() {
31646 return DEFAULT_INSTANCE;
31651 public interface AcknowledgeVehicleUpdatedOrBuilder extends
31652 // @@protoc_insertion_point(interface_extends:proto.AcknowledgeVehicleUpdated)
31653 com.google.protobuf.MessageOrBuilder {
31656 * <code>int32 sequence_number = 1;</code>
31657 * @return The sequenceNumber.
31659 int getSequenceNumber();
31662 * Protobuf type {@code proto.AcknowledgeVehicleUpdated}
31664 public static final class AcknowledgeVehicleUpdated extends
31665 com.google.protobuf.GeneratedMessage implements
31666 // @@protoc_insertion_point(message_implements:proto.AcknowledgeVehicleUpdated)
31667 AcknowledgeVehicleUpdatedOrBuilder {
31668 private static final long serialVersionUID = 0L;
31670 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
31671 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
31676 AcknowledgeVehicleUpdated.class.getName());
31678 // Use AcknowledgeVehicleUpdated.newBuilder() to construct.
31679 private AcknowledgeVehicleUpdated(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
31682 private AcknowledgeVehicleUpdated() {
31685 public static final com.google.protobuf.Descriptors.Descriptor
31687 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVehicleUpdated_descriptor;
31690 @java.lang.Override
31691 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
31692 internalGetFieldAccessorTable() {
31693 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVehicleUpdated_fieldAccessorTable
31694 .ensureFieldAccessorsInitialized(
31695 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.Builder.class);
31698 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
31699 private int sequenceNumber_ = 0;
31701 * <code>int32 sequence_number = 1;</code>
31702 * @return The sequenceNumber.
31704 @java.lang.Override
31705 public int getSequenceNumber() {
31706 return sequenceNumber_;
31709 private byte memoizedIsInitialized = -1;
31710 @java.lang.Override
31711 public final boolean isInitialized() {
31712 byte isInitialized = memoizedIsInitialized;
31713 if (isInitialized == 1) return true;
31714 if (isInitialized == 0) return false;
31716 memoizedIsInitialized = 1;
31720 @java.lang.Override
31721 public void writeTo(com.google.protobuf.CodedOutputStream output)
31722 throws java.io.IOException {
31723 if (sequenceNumber_ != 0) {
31724 output.writeInt32(1, sequenceNumber_);
31726 getUnknownFields().writeTo(output);
31729 @java.lang.Override
31730 public int getSerializedSize() {
31731 int size = memoizedSize;
31732 if (size != -1) return size;
31735 if (sequenceNumber_ != 0) {
31736 size += com.google.protobuf.CodedOutputStream
31737 .computeInt32Size(1, sequenceNumber_);
31739 size += getUnknownFields().getSerializedSize();
31740 memoizedSize = size;
31744 @java.lang.Override
31745 public boolean equals(final java.lang.Object obj) {
31749 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated)) {
31750 return super.equals(obj);
31752 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated other = (com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated) obj;
31754 if (getSequenceNumber()
31755 != other.getSequenceNumber()) return false;
31756 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
31760 @java.lang.Override
31761 public int hashCode() {
31762 if (memoizedHashCode != 0) {
31763 return memoizedHashCode;
31766 hash = (19 * hash) + getDescriptor().hashCode();
31767 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
31768 hash = (53 * hash) + getSequenceNumber();
31769 hash = (29 * hash) + getUnknownFields().hashCode();
31770 memoizedHashCode = hash;
31774 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31775 java.nio.ByteBuffer data)
31776 throws com.google.protobuf.InvalidProtocolBufferException {
31777 return PARSER.parseFrom(data);
31779 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31780 java.nio.ByteBuffer data,
31781 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31782 throws com.google.protobuf.InvalidProtocolBufferException {
31783 return PARSER.parseFrom(data, extensionRegistry);
31785 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31786 com.google.protobuf.ByteString data)
31787 throws com.google.protobuf.InvalidProtocolBufferException {
31788 return PARSER.parseFrom(data);
31790 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31791 com.google.protobuf.ByteString data,
31792 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31793 throws com.google.protobuf.InvalidProtocolBufferException {
31794 return PARSER.parseFrom(data, extensionRegistry);
31796 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(byte[] data)
31797 throws com.google.protobuf.InvalidProtocolBufferException {
31798 return PARSER.parseFrom(data);
31800 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31802 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31803 throws com.google.protobuf.InvalidProtocolBufferException {
31804 return PARSER.parseFrom(data, extensionRegistry);
31806 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(java.io.InputStream input)
31807 throws java.io.IOException {
31808 return com.google.protobuf.GeneratedMessage
31809 .parseWithIOException(PARSER, input);
31811 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31812 java.io.InputStream input,
31813 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31814 throws java.io.IOException {
31815 return com.google.protobuf.GeneratedMessage
31816 .parseWithIOException(PARSER, input, extensionRegistry);
31819 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseDelimitedFrom(java.io.InputStream input)
31820 throws java.io.IOException {
31821 return com.google.protobuf.GeneratedMessage
31822 .parseDelimitedWithIOException(PARSER, input);
31825 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseDelimitedFrom(
31826 java.io.InputStream input,
31827 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31828 throws java.io.IOException {
31829 return com.google.protobuf.GeneratedMessage
31830 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
31832 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31833 com.google.protobuf.CodedInputStream input)
31834 throws java.io.IOException {
31835 return com.google.protobuf.GeneratedMessage
31836 .parseWithIOException(PARSER, input);
31838 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated parseFrom(
31839 com.google.protobuf.CodedInputStream input,
31840 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31841 throws java.io.IOException {
31842 return com.google.protobuf.GeneratedMessage
31843 .parseWithIOException(PARSER, input, extensionRegistry);
31846 @java.lang.Override
31847 public Builder newBuilderForType() { return newBuilder(); }
31848 public static Builder newBuilder() {
31849 return DEFAULT_INSTANCE.toBuilder();
31851 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated prototype) {
31852 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
31854 @java.lang.Override
31855 public Builder toBuilder() {
31856 return this == DEFAULT_INSTANCE
31857 ? new Builder() : new Builder().mergeFrom(this);
31860 @java.lang.Override
31861 protected Builder newBuilderForType(
31862 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
31863 Builder builder = new Builder(parent);
31867 * Protobuf type {@code proto.AcknowledgeVehicleUpdated}
31869 public static final class Builder extends
31870 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
31871 // @@protoc_insertion_point(builder_implements:proto.AcknowledgeVehicleUpdated)
31872 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdatedOrBuilder {
31873 public static final com.google.protobuf.Descriptors.Descriptor
31875 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVehicleUpdated_descriptor;
31878 @java.lang.Override
31879 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
31880 internalGetFieldAccessorTable() {
31881 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVehicleUpdated_fieldAccessorTable
31882 .ensureFieldAccessorsInitialized(
31883 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.Builder.class);
31886 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.newBuilder()
31887 private Builder() {
31892 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
31896 @java.lang.Override
31897 public Builder clear() {
31900 sequenceNumber_ = 0;
31904 @java.lang.Override
31905 public com.google.protobuf.Descriptors.Descriptor
31906 getDescriptorForType() {
31907 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgeVehicleUpdated_descriptor;
31910 @java.lang.Override
31911 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated getDefaultInstanceForType() {
31912 return com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.getDefaultInstance();
31915 @java.lang.Override
31916 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated build() {
31917 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated result = buildPartial();
31918 if (!result.isInitialized()) {
31919 throw newUninitializedMessageException(result);
31924 @java.lang.Override
31925 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated buildPartial() {
31926 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated result = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated(this);
31927 if (bitField0_ != 0) { buildPartial0(result); }
31932 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated result) {
31933 int from_bitField0_ = bitField0_;
31934 if (((from_bitField0_ & 0x00000001) != 0)) {
31935 result.sequenceNumber_ = sequenceNumber_;
31939 @java.lang.Override
31940 public Builder mergeFrom(com.google.protobuf.Message other) {
31941 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated) {
31942 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated)other);
31944 super.mergeFrom(other);
31949 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated other) {
31950 if (other == com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated.getDefaultInstance()) return this;
31951 if (other.getSequenceNumber() != 0) {
31952 setSequenceNumber(other.getSequenceNumber());
31954 this.mergeUnknownFields(other.getUnknownFields());
31959 @java.lang.Override
31960 public final boolean isInitialized() {
31964 @java.lang.Override
31965 public Builder mergeFrom(
31966 com.google.protobuf.CodedInputStream input,
31967 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
31968 throws java.io.IOException {
31969 if (extensionRegistry == null) {
31970 throw new java.lang.NullPointerException();
31973 boolean done = false;
31975 int tag = input.readTag();
31981 sequenceNumber_ = input.readInt32();
31982 bitField0_ |= 0x00000001;
31986 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
31987 done = true; // was an endgroup tag
31993 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
31994 throw e.unwrapIOException();
32000 private int bitField0_;
32002 private int sequenceNumber_ ;
32004 * <code>int32 sequence_number = 1;</code>
32005 * @return The sequenceNumber.
32007 @java.lang.Override
32008 public int getSequenceNumber() {
32009 return sequenceNumber_;
32012 * <code>int32 sequence_number = 1;</code>
32013 * @param value The sequenceNumber to set.
32014 * @return This builder for chaining.
32016 public Builder setSequenceNumber(int value) {
32018 sequenceNumber_ = value;
32019 bitField0_ |= 0x00000001;
32024 * <code>int32 sequence_number = 1;</code>
32025 * @return This builder for chaining.
32027 public Builder clearSequenceNumber() {
32028 bitField0_ = (bitField0_ & ~0x00000001);
32029 sequenceNumber_ = 0;
32034 // @@protoc_insertion_point(builder_scope:proto.AcknowledgeVehicleUpdated)
32037 // @@protoc_insertion_point(class_scope:proto.AcknowledgeVehicleUpdated)
32038 private static final com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated DEFAULT_INSTANCE;
32040 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated();
32043 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated getDefaultInstance() {
32044 return DEFAULT_INSTANCE;
32047 private static final com.google.protobuf.Parser<AcknowledgeVehicleUpdated>
32048 PARSER = new com.google.protobuf.AbstractParser<AcknowledgeVehicleUpdated>() {
32049 @java.lang.Override
32050 public AcknowledgeVehicleUpdated parsePartialFrom(
32051 com.google.protobuf.CodedInputStream input,
32052 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32053 throws com.google.protobuf.InvalidProtocolBufferException {
32054 Builder builder = newBuilder();
32056 builder.mergeFrom(input, extensionRegistry);
32057 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
32058 throw e.setUnfinishedMessage(builder.buildPartial());
32059 } catch (com.google.protobuf.UninitializedMessageException e) {
32060 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
32061 } catch (java.io.IOException e) {
32062 throw new com.google.protobuf.InvalidProtocolBufferException(e)
32063 .setUnfinishedMessage(builder.buildPartial());
32065 return builder.buildPartial();
32069 public static com.google.protobuf.Parser<AcknowledgeVehicleUpdated> parser() {
32073 @java.lang.Override
32074 public com.google.protobuf.Parser<AcknowledgeVehicleUpdated> getParserForType() {
32078 @java.lang.Override
32079 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgeVehicleUpdated getDefaultInstanceForType() {
32080 return DEFAULT_INSTANCE;
32085 public interface AcknowledgePreferredDealerChangeOrBuilder extends
32086 // @@protoc_insertion_point(interface_extends:proto.AcknowledgePreferredDealerChange)
32087 com.google.protobuf.MessageOrBuilder {
32090 * <code>int32 sequence_number = 1;</code>
32091 * @return The sequenceNumber.
32093 int getSequenceNumber();
32096 * Protobuf type {@code proto.AcknowledgePreferredDealerChange}
32098 public static final class AcknowledgePreferredDealerChange extends
32099 com.google.protobuf.GeneratedMessage implements
32100 // @@protoc_insertion_point(message_implements:proto.AcknowledgePreferredDealerChange)
32101 AcknowledgePreferredDealerChangeOrBuilder {
32102 private static final long serialVersionUID = 0L;
32104 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
32105 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
32110 AcknowledgePreferredDealerChange.class.getName());
32112 // Use AcknowledgePreferredDealerChange.newBuilder() to construct.
32113 private AcknowledgePreferredDealerChange(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32116 private AcknowledgePreferredDealerChange() {
32119 public static final com.google.protobuf.Descriptors.Descriptor
32121 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgePreferredDealerChange_descriptor;
32124 @java.lang.Override
32125 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
32126 internalGetFieldAccessorTable() {
32127 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgePreferredDealerChange_fieldAccessorTable
32128 .ensureFieldAccessorsInitialized(
32129 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.Builder.class);
32132 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
32133 private int sequenceNumber_ = 0;
32135 * <code>int32 sequence_number = 1;</code>
32136 * @return The sequenceNumber.
32138 @java.lang.Override
32139 public int getSequenceNumber() {
32140 return sequenceNumber_;
32143 private byte memoizedIsInitialized = -1;
32144 @java.lang.Override
32145 public final boolean isInitialized() {
32146 byte isInitialized = memoizedIsInitialized;
32147 if (isInitialized == 1) return true;
32148 if (isInitialized == 0) return false;
32150 memoizedIsInitialized = 1;
32154 @java.lang.Override
32155 public void writeTo(com.google.protobuf.CodedOutputStream output)
32156 throws java.io.IOException {
32157 if (sequenceNumber_ != 0) {
32158 output.writeInt32(1, sequenceNumber_);
32160 getUnknownFields().writeTo(output);
32163 @java.lang.Override
32164 public int getSerializedSize() {
32165 int size = memoizedSize;
32166 if (size != -1) return size;
32169 if (sequenceNumber_ != 0) {
32170 size += com.google.protobuf.CodedOutputStream
32171 .computeInt32Size(1, sequenceNumber_);
32173 size += getUnknownFields().getSerializedSize();
32174 memoizedSize = size;
32178 @java.lang.Override
32179 public boolean equals(final java.lang.Object obj) {
32183 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange)) {
32184 return super.equals(obj);
32186 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange other = (com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange) obj;
32188 if (getSequenceNumber()
32189 != other.getSequenceNumber()) return false;
32190 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
32194 @java.lang.Override
32195 public int hashCode() {
32196 if (memoizedHashCode != 0) {
32197 return memoizedHashCode;
32200 hash = (19 * hash) + getDescriptor().hashCode();
32201 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
32202 hash = (53 * hash) + getSequenceNumber();
32203 hash = (29 * hash) + getUnknownFields().hashCode();
32204 memoizedHashCode = hash;
32208 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32209 java.nio.ByteBuffer data)
32210 throws com.google.protobuf.InvalidProtocolBufferException {
32211 return PARSER.parseFrom(data);
32213 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32214 java.nio.ByteBuffer data,
32215 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32216 throws com.google.protobuf.InvalidProtocolBufferException {
32217 return PARSER.parseFrom(data, extensionRegistry);
32219 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32220 com.google.protobuf.ByteString data)
32221 throws com.google.protobuf.InvalidProtocolBufferException {
32222 return PARSER.parseFrom(data);
32224 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32225 com.google.protobuf.ByteString data,
32226 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32227 throws com.google.protobuf.InvalidProtocolBufferException {
32228 return PARSER.parseFrom(data, extensionRegistry);
32230 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(byte[] data)
32231 throws com.google.protobuf.InvalidProtocolBufferException {
32232 return PARSER.parseFrom(data);
32234 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32236 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32237 throws com.google.protobuf.InvalidProtocolBufferException {
32238 return PARSER.parseFrom(data, extensionRegistry);
32240 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(java.io.InputStream input)
32241 throws java.io.IOException {
32242 return com.google.protobuf.GeneratedMessage
32243 .parseWithIOException(PARSER, input);
32245 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32246 java.io.InputStream input,
32247 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32248 throws java.io.IOException {
32249 return com.google.protobuf.GeneratedMessage
32250 .parseWithIOException(PARSER, input, extensionRegistry);
32253 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseDelimitedFrom(java.io.InputStream input)
32254 throws java.io.IOException {
32255 return com.google.protobuf.GeneratedMessage
32256 .parseDelimitedWithIOException(PARSER, input);
32259 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseDelimitedFrom(
32260 java.io.InputStream input,
32261 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32262 throws java.io.IOException {
32263 return com.google.protobuf.GeneratedMessage
32264 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
32266 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32267 com.google.protobuf.CodedInputStream input)
32268 throws java.io.IOException {
32269 return com.google.protobuf.GeneratedMessage
32270 .parseWithIOException(PARSER, input);
32272 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange parseFrom(
32273 com.google.protobuf.CodedInputStream input,
32274 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32275 throws java.io.IOException {
32276 return com.google.protobuf.GeneratedMessage
32277 .parseWithIOException(PARSER, input, extensionRegistry);
32280 @java.lang.Override
32281 public Builder newBuilderForType() { return newBuilder(); }
32282 public static Builder newBuilder() {
32283 return DEFAULT_INSTANCE.toBuilder();
32285 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange prototype) {
32286 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
32288 @java.lang.Override
32289 public Builder toBuilder() {
32290 return this == DEFAULT_INSTANCE
32291 ? new Builder() : new Builder().mergeFrom(this);
32294 @java.lang.Override
32295 protected Builder newBuilderForType(
32296 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
32297 Builder builder = new Builder(parent);
32301 * Protobuf type {@code proto.AcknowledgePreferredDealerChange}
32303 public static final class Builder extends
32304 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
32305 // @@protoc_insertion_point(builder_implements:proto.AcknowledgePreferredDealerChange)
32306 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChangeOrBuilder {
32307 public static final com.google.protobuf.Descriptors.Descriptor
32309 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgePreferredDealerChange_descriptor;
32312 @java.lang.Override
32313 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
32314 internalGetFieldAccessorTable() {
32315 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgePreferredDealerChange_fieldAccessorTable
32316 .ensureFieldAccessorsInitialized(
32317 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.class, com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.Builder.class);
32320 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.newBuilder()
32321 private Builder() {
32326 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
32330 @java.lang.Override
32331 public Builder clear() {
32334 sequenceNumber_ = 0;
32338 @java.lang.Override
32339 public com.google.protobuf.Descriptors.Descriptor
32340 getDescriptorForType() {
32341 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_AcknowledgePreferredDealerChange_descriptor;
32344 @java.lang.Override
32345 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange getDefaultInstanceForType() {
32346 return com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.getDefaultInstance();
32349 @java.lang.Override
32350 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange build() {
32351 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange result = buildPartial();
32352 if (!result.isInitialized()) {
32353 throw newUninitializedMessageException(result);
32358 @java.lang.Override
32359 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange buildPartial() {
32360 com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange result = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange(this);
32361 if (bitField0_ != 0) { buildPartial0(result); }
32366 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange result) {
32367 int from_bitField0_ = bitField0_;
32368 if (((from_bitField0_ & 0x00000001) != 0)) {
32369 result.sequenceNumber_ = sequenceNumber_;
32373 @java.lang.Override
32374 public Builder mergeFrom(com.google.protobuf.Message other) {
32375 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange) {
32376 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange)other);
32378 super.mergeFrom(other);
32383 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange other) {
32384 if (other == com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange.getDefaultInstance()) return this;
32385 if (other.getSequenceNumber() != 0) {
32386 setSequenceNumber(other.getSequenceNumber());
32388 this.mergeUnknownFields(other.getUnknownFields());
32393 @java.lang.Override
32394 public final boolean isInitialized() {
32398 @java.lang.Override
32399 public Builder mergeFrom(
32400 com.google.protobuf.CodedInputStream input,
32401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32402 throws java.io.IOException {
32403 if (extensionRegistry == null) {
32404 throw new java.lang.NullPointerException();
32407 boolean done = false;
32409 int tag = input.readTag();
32415 sequenceNumber_ = input.readInt32();
32416 bitField0_ |= 0x00000001;
32420 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
32421 done = true; // was an endgroup tag
32427 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
32428 throw e.unwrapIOException();
32434 private int bitField0_;
32436 private int sequenceNumber_ ;
32438 * <code>int32 sequence_number = 1;</code>
32439 * @return The sequenceNumber.
32441 @java.lang.Override
32442 public int getSequenceNumber() {
32443 return sequenceNumber_;
32446 * <code>int32 sequence_number = 1;</code>
32447 * @param value The sequenceNumber to set.
32448 * @return This builder for chaining.
32450 public Builder setSequenceNumber(int value) {
32452 sequenceNumber_ = value;
32453 bitField0_ |= 0x00000001;
32458 * <code>int32 sequence_number = 1;</code>
32459 * @return This builder for chaining.
32461 public Builder clearSequenceNumber() {
32462 bitField0_ = (bitField0_ & ~0x00000001);
32463 sequenceNumber_ = 0;
32468 // @@protoc_insertion_point(builder_scope:proto.AcknowledgePreferredDealerChange)
32471 // @@protoc_insertion_point(class_scope:proto.AcknowledgePreferredDealerChange)
32472 private static final com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange DEFAULT_INSTANCE;
32474 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange();
32477 public static com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange getDefaultInstance() {
32478 return DEFAULT_INSTANCE;
32481 private static final com.google.protobuf.Parser<AcknowledgePreferredDealerChange>
32482 PARSER = new com.google.protobuf.AbstractParser<AcknowledgePreferredDealerChange>() {
32483 @java.lang.Override
32484 public AcknowledgePreferredDealerChange parsePartialFrom(
32485 com.google.protobuf.CodedInputStream input,
32486 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32487 throws com.google.protobuf.InvalidProtocolBufferException {
32488 Builder builder = newBuilder();
32490 builder.mergeFrom(input, extensionRegistry);
32491 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
32492 throw e.setUnfinishedMessage(builder.buildPartial());
32493 } catch (com.google.protobuf.UninitializedMessageException e) {
32494 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
32495 } catch (java.io.IOException e) {
32496 throw new com.google.protobuf.InvalidProtocolBufferException(e)
32497 .setUnfinishedMessage(builder.buildPartial());
32499 return builder.buildPartial();
32503 public static com.google.protobuf.Parser<AcknowledgePreferredDealerChange> parser() {
32507 @java.lang.Override
32508 public com.google.protobuf.Parser<AcknowledgePreferredDealerChange> getParserForType() {
32512 @java.lang.Override
32513 public com.daimler.mbcarkit.proto.VehicleEvents.AcknowledgePreferredDealerChange getDefaultInstanceForType() {
32514 return DEFAULT_INSTANCE;
32519 public interface VehicleUpdatedOrBuilder extends
32520 // @@protoc_insertion_point(interface_extends:proto.VehicleUpdated)
32521 com.google.protobuf.MessageOrBuilder {
32524 * <code>int32 sequence_number = 1;</code>
32525 * @return The sequenceNumber.
32527 int getSequenceNumber();
32530 * <code>string ciam_id = 2;</code>
32531 * @return The ciamId.
32533 java.lang.String getCiamId();
32535 * <code>string ciam_id = 2;</code>
32536 * @return The bytes for ciamId.
32538 com.google.protobuf.ByteString
32542 * <code>string vin = 3;</code>
32545 java.lang.String getVin();
32547 * <code>string vin = 3;</code>
32548 * @return The bytes for vin.
32550 com.google.protobuf.ByteString
32555 * When was the event emitted (milliseconds in Unix time)
32558 * <code>int64 emit_timestamp_in_ms = 10;</code>
32559 * @return The emitTimestampInMs.
32561 long getEmitTimestampInMs();
32564 * Protobuf type {@code proto.VehicleUpdated}
32566 public static final class VehicleUpdated extends
32567 com.google.protobuf.GeneratedMessage implements
32568 // @@protoc_insertion_point(message_implements:proto.VehicleUpdated)
32569 VehicleUpdatedOrBuilder {
32570 private static final long serialVersionUID = 0L;
32572 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
32573 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
32578 VehicleUpdated.class.getName());
32580 // Use VehicleUpdated.newBuilder() to construct.
32581 private VehicleUpdated(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32584 private VehicleUpdated() {
32589 public static final com.google.protobuf.Descriptors.Descriptor
32591 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleUpdated_descriptor;
32594 @java.lang.Override
32595 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
32596 internalGetFieldAccessorTable() {
32597 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleUpdated_fieldAccessorTable
32598 .ensureFieldAccessorsInitialized(
32599 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.class, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder.class);
32602 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
32603 private int sequenceNumber_ = 0;
32605 * <code>int32 sequence_number = 1;</code>
32606 * @return The sequenceNumber.
32608 @java.lang.Override
32609 public int getSequenceNumber() {
32610 return sequenceNumber_;
32613 public static final int CIAM_ID_FIELD_NUMBER = 2;
32614 @SuppressWarnings("serial")
32615 private volatile java.lang.Object ciamId_ = "";
32617 * <code>string ciam_id = 2;</code>
32618 * @return The ciamId.
32620 @java.lang.Override
32621 public java.lang.String getCiamId() {
32622 java.lang.Object ref = ciamId_;
32623 if (ref instanceof java.lang.String) {
32624 return (java.lang.String) ref;
32626 com.google.protobuf.ByteString bs =
32627 (com.google.protobuf.ByteString) ref;
32628 java.lang.String s = bs.toStringUtf8();
32634 * <code>string ciam_id = 2;</code>
32635 * @return The bytes for ciamId.
32637 @java.lang.Override
32638 public com.google.protobuf.ByteString
32640 java.lang.Object ref = ciamId_;
32641 if (ref instanceof java.lang.String) {
32642 com.google.protobuf.ByteString b =
32643 com.google.protobuf.ByteString.copyFromUtf8(
32644 (java.lang.String) ref);
32648 return (com.google.protobuf.ByteString) ref;
32652 public static final int VIN_FIELD_NUMBER = 3;
32653 @SuppressWarnings("serial")
32654 private volatile java.lang.Object vin_ = "";
32656 * <code>string vin = 3;</code>
32659 @java.lang.Override
32660 public java.lang.String getVin() {
32661 java.lang.Object ref = vin_;
32662 if (ref instanceof java.lang.String) {
32663 return (java.lang.String) ref;
32665 com.google.protobuf.ByteString bs =
32666 (com.google.protobuf.ByteString) ref;
32667 java.lang.String s = bs.toStringUtf8();
32673 * <code>string vin = 3;</code>
32674 * @return The bytes for vin.
32676 @java.lang.Override
32677 public com.google.protobuf.ByteString
32679 java.lang.Object ref = vin_;
32680 if (ref instanceof java.lang.String) {
32681 com.google.protobuf.ByteString b =
32682 com.google.protobuf.ByteString.copyFromUtf8(
32683 (java.lang.String) ref);
32687 return (com.google.protobuf.ByteString) ref;
32691 public static final int EMIT_TIMESTAMP_IN_MS_FIELD_NUMBER = 10;
32692 private long emitTimestampInMs_ = 0L;
32695 * When was the event emitted (milliseconds in Unix time)
32698 * <code>int64 emit_timestamp_in_ms = 10;</code>
32699 * @return The emitTimestampInMs.
32701 @java.lang.Override
32702 public long getEmitTimestampInMs() {
32703 return emitTimestampInMs_;
32706 private byte memoizedIsInitialized = -1;
32707 @java.lang.Override
32708 public final boolean isInitialized() {
32709 byte isInitialized = memoizedIsInitialized;
32710 if (isInitialized == 1) return true;
32711 if (isInitialized == 0) return false;
32713 memoizedIsInitialized = 1;
32717 @java.lang.Override
32718 public void writeTo(com.google.protobuf.CodedOutputStream output)
32719 throws java.io.IOException {
32720 if (sequenceNumber_ != 0) {
32721 output.writeInt32(1, sequenceNumber_);
32723 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ciamId_)) {
32724 com.google.protobuf.GeneratedMessage.writeString(output, 2, ciamId_);
32726 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
32727 com.google.protobuf.GeneratedMessage.writeString(output, 3, vin_);
32729 if (emitTimestampInMs_ != 0L) {
32730 output.writeInt64(10, emitTimestampInMs_);
32732 getUnknownFields().writeTo(output);
32735 @java.lang.Override
32736 public int getSerializedSize() {
32737 int size = memoizedSize;
32738 if (size != -1) return size;
32741 if (sequenceNumber_ != 0) {
32742 size += com.google.protobuf.CodedOutputStream
32743 .computeInt32Size(1, sequenceNumber_);
32745 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ciamId_)) {
32746 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, ciamId_);
32748 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
32749 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, vin_);
32751 if (emitTimestampInMs_ != 0L) {
32752 size += com.google.protobuf.CodedOutputStream
32753 .computeInt64Size(10, emitTimestampInMs_);
32755 size += getUnknownFields().getSerializedSize();
32756 memoizedSize = size;
32760 @java.lang.Override
32761 public boolean equals(final java.lang.Object obj) {
32765 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated)) {
32766 return super.equals(obj);
32768 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated other = (com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) obj;
32770 if (getSequenceNumber()
32771 != other.getSequenceNumber()) return false;
32773 .equals(other.getCiamId())) return false;
32775 .equals(other.getVin())) return false;
32776 if (getEmitTimestampInMs()
32777 != other.getEmitTimestampInMs()) return false;
32778 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
32782 @java.lang.Override
32783 public int hashCode() {
32784 if (memoizedHashCode != 0) {
32785 return memoizedHashCode;
32788 hash = (19 * hash) + getDescriptor().hashCode();
32789 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
32790 hash = (53 * hash) + getSequenceNumber();
32791 hash = (37 * hash) + CIAM_ID_FIELD_NUMBER;
32792 hash = (53 * hash) + getCiamId().hashCode();
32793 hash = (37 * hash) + VIN_FIELD_NUMBER;
32794 hash = (53 * hash) + getVin().hashCode();
32795 hash = (37 * hash) + EMIT_TIMESTAMP_IN_MS_FIELD_NUMBER;
32796 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
32797 getEmitTimestampInMs());
32798 hash = (29 * hash) + getUnknownFields().hashCode();
32799 memoizedHashCode = hash;
32803 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32804 java.nio.ByteBuffer data)
32805 throws com.google.protobuf.InvalidProtocolBufferException {
32806 return PARSER.parseFrom(data);
32808 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32809 java.nio.ByteBuffer data,
32810 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32811 throws com.google.protobuf.InvalidProtocolBufferException {
32812 return PARSER.parseFrom(data, extensionRegistry);
32814 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32815 com.google.protobuf.ByteString data)
32816 throws com.google.protobuf.InvalidProtocolBufferException {
32817 return PARSER.parseFrom(data);
32819 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32820 com.google.protobuf.ByteString data,
32821 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32822 throws com.google.protobuf.InvalidProtocolBufferException {
32823 return PARSER.parseFrom(data, extensionRegistry);
32825 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(byte[] data)
32826 throws com.google.protobuf.InvalidProtocolBufferException {
32827 return PARSER.parseFrom(data);
32829 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32831 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32832 throws com.google.protobuf.InvalidProtocolBufferException {
32833 return PARSER.parseFrom(data, extensionRegistry);
32835 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(java.io.InputStream input)
32836 throws java.io.IOException {
32837 return com.google.protobuf.GeneratedMessage
32838 .parseWithIOException(PARSER, input);
32840 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32841 java.io.InputStream input,
32842 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32843 throws java.io.IOException {
32844 return com.google.protobuf.GeneratedMessage
32845 .parseWithIOException(PARSER, input, extensionRegistry);
32848 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseDelimitedFrom(java.io.InputStream input)
32849 throws java.io.IOException {
32850 return com.google.protobuf.GeneratedMessage
32851 .parseDelimitedWithIOException(PARSER, input);
32854 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseDelimitedFrom(
32855 java.io.InputStream input,
32856 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32857 throws java.io.IOException {
32858 return com.google.protobuf.GeneratedMessage
32859 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
32861 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32862 com.google.protobuf.CodedInputStream input)
32863 throws java.io.IOException {
32864 return com.google.protobuf.GeneratedMessage
32865 .parseWithIOException(PARSER, input);
32867 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated parseFrom(
32868 com.google.protobuf.CodedInputStream input,
32869 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
32870 throws java.io.IOException {
32871 return com.google.protobuf.GeneratedMessage
32872 .parseWithIOException(PARSER, input, extensionRegistry);
32875 @java.lang.Override
32876 public Builder newBuilderForType() { return newBuilder(); }
32877 public static Builder newBuilder() {
32878 return DEFAULT_INSTANCE.toBuilder();
32880 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated prototype) {
32881 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
32883 @java.lang.Override
32884 public Builder toBuilder() {
32885 return this == DEFAULT_INSTANCE
32886 ? new Builder() : new Builder().mergeFrom(this);
32889 @java.lang.Override
32890 protected Builder newBuilderForType(
32891 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
32892 Builder builder = new Builder(parent);
32896 * Protobuf type {@code proto.VehicleUpdated}
32898 public static final class Builder extends
32899 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
32900 // @@protoc_insertion_point(builder_implements:proto.VehicleUpdated)
32901 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdatedOrBuilder {
32902 public static final com.google.protobuf.Descriptors.Descriptor
32904 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleUpdated_descriptor;
32907 @java.lang.Override
32908 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
32909 internalGetFieldAccessorTable() {
32910 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleUpdated_fieldAccessorTable
32911 .ensureFieldAccessorsInitialized(
32912 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.class, com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.Builder.class);
32915 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.newBuilder()
32916 private Builder() {
32921 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
32925 @java.lang.Override
32926 public Builder clear() {
32929 sequenceNumber_ = 0;
32932 emitTimestampInMs_ = 0L;
32936 @java.lang.Override
32937 public com.google.protobuf.Descriptors.Descriptor
32938 getDescriptorForType() {
32939 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_VehicleUpdated_descriptor;
32942 @java.lang.Override
32943 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated getDefaultInstanceForType() {
32944 return com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance();
32947 @java.lang.Override
32948 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated build() {
32949 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated result = buildPartial();
32950 if (!result.isInitialized()) {
32951 throw newUninitializedMessageException(result);
32956 @java.lang.Override
32957 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated buildPartial() {
32958 com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated result = new com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated(this);
32959 if (bitField0_ != 0) { buildPartial0(result); }
32964 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated result) {
32965 int from_bitField0_ = bitField0_;
32966 if (((from_bitField0_ & 0x00000001) != 0)) {
32967 result.sequenceNumber_ = sequenceNumber_;
32969 if (((from_bitField0_ & 0x00000002) != 0)) {
32970 result.ciamId_ = ciamId_;
32972 if (((from_bitField0_ & 0x00000004) != 0)) {
32973 result.vin_ = vin_;
32975 if (((from_bitField0_ & 0x00000008) != 0)) {
32976 result.emitTimestampInMs_ = emitTimestampInMs_;
32980 @java.lang.Override
32981 public Builder mergeFrom(com.google.protobuf.Message other) {
32982 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated) {
32983 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated)other);
32985 super.mergeFrom(other);
32990 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated other) {
32991 if (other == com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated.getDefaultInstance()) return this;
32992 if (other.getSequenceNumber() != 0) {
32993 setSequenceNumber(other.getSequenceNumber());
32995 if (!other.getCiamId().isEmpty()) {
32996 ciamId_ = other.ciamId_;
32997 bitField0_ |= 0x00000002;
33000 if (!other.getVin().isEmpty()) {
33002 bitField0_ |= 0x00000004;
33005 if (other.getEmitTimestampInMs() != 0L) {
33006 setEmitTimestampInMs(other.getEmitTimestampInMs());
33008 this.mergeUnknownFields(other.getUnknownFields());
33013 @java.lang.Override
33014 public final boolean isInitialized() {
33018 @java.lang.Override
33019 public Builder mergeFrom(
33020 com.google.protobuf.CodedInputStream input,
33021 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33022 throws java.io.IOException {
33023 if (extensionRegistry == null) {
33024 throw new java.lang.NullPointerException();
33027 boolean done = false;
33029 int tag = input.readTag();
33035 sequenceNumber_ = input.readInt32();
33036 bitField0_ |= 0x00000001;
33040 ciamId_ = input.readStringRequireUtf8();
33041 bitField0_ |= 0x00000002;
33045 vin_ = input.readStringRequireUtf8();
33046 bitField0_ |= 0x00000004;
33050 emitTimestampInMs_ = input.readInt64();
33051 bitField0_ |= 0x00000008;
33055 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
33056 done = true; // was an endgroup tag
33062 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
33063 throw e.unwrapIOException();
33069 private int bitField0_;
33071 private int sequenceNumber_ ;
33073 * <code>int32 sequence_number = 1;</code>
33074 * @return The sequenceNumber.
33076 @java.lang.Override
33077 public int getSequenceNumber() {
33078 return sequenceNumber_;
33081 * <code>int32 sequence_number = 1;</code>
33082 * @param value The sequenceNumber to set.
33083 * @return This builder for chaining.
33085 public Builder setSequenceNumber(int value) {
33087 sequenceNumber_ = value;
33088 bitField0_ |= 0x00000001;
33093 * <code>int32 sequence_number = 1;</code>
33094 * @return This builder for chaining.
33096 public Builder clearSequenceNumber() {
33097 bitField0_ = (bitField0_ & ~0x00000001);
33098 sequenceNumber_ = 0;
33103 private java.lang.Object ciamId_ = "";
33105 * <code>string ciam_id = 2;</code>
33106 * @return The ciamId.
33108 public java.lang.String getCiamId() {
33109 java.lang.Object ref = ciamId_;
33110 if (!(ref instanceof java.lang.String)) {
33111 com.google.protobuf.ByteString bs =
33112 (com.google.protobuf.ByteString) ref;
33113 java.lang.String s = bs.toStringUtf8();
33117 return (java.lang.String) ref;
33121 * <code>string ciam_id = 2;</code>
33122 * @return The bytes for ciamId.
33124 public com.google.protobuf.ByteString
33126 java.lang.Object ref = ciamId_;
33127 if (ref instanceof String) {
33128 com.google.protobuf.ByteString b =
33129 com.google.protobuf.ByteString.copyFromUtf8(
33130 (java.lang.String) ref);
33134 return (com.google.protobuf.ByteString) ref;
33138 * <code>string ciam_id = 2;</code>
33139 * @param value The ciamId to set.
33140 * @return This builder for chaining.
33142 public Builder setCiamId(
33143 java.lang.String value) {
33144 if (value == null) { throw new NullPointerException(); }
33146 bitField0_ |= 0x00000002;
33151 * <code>string ciam_id = 2;</code>
33152 * @return This builder for chaining.
33154 public Builder clearCiamId() {
33155 ciamId_ = getDefaultInstance().getCiamId();
33156 bitField0_ = (bitField0_ & ~0x00000002);
33161 * <code>string ciam_id = 2;</code>
33162 * @param value The bytes for ciamId to set.
33163 * @return This builder for chaining.
33165 public Builder setCiamIdBytes(
33166 com.google.protobuf.ByteString value) {
33167 if (value == null) { throw new NullPointerException(); }
33168 checkByteStringIsUtf8(value);
33170 bitField0_ |= 0x00000002;
33175 private java.lang.Object vin_ = "";
33177 * <code>string vin = 3;</code>
33180 public java.lang.String getVin() {
33181 java.lang.Object ref = vin_;
33182 if (!(ref instanceof java.lang.String)) {
33183 com.google.protobuf.ByteString bs =
33184 (com.google.protobuf.ByteString) ref;
33185 java.lang.String s = bs.toStringUtf8();
33189 return (java.lang.String) ref;
33193 * <code>string vin = 3;</code>
33194 * @return The bytes for vin.
33196 public com.google.protobuf.ByteString
33198 java.lang.Object ref = vin_;
33199 if (ref instanceof String) {
33200 com.google.protobuf.ByteString b =
33201 com.google.protobuf.ByteString.copyFromUtf8(
33202 (java.lang.String) ref);
33206 return (com.google.protobuf.ByteString) ref;
33210 * <code>string vin = 3;</code>
33211 * @param value The vin to set.
33212 * @return This builder for chaining.
33214 public Builder setVin(
33215 java.lang.String value) {
33216 if (value == null) { throw new NullPointerException(); }
33218 bitField0_ |= 0x00000004;
33223 * <code>string vin = 3;</code>
33224 * @return This builder for chaining.
33226 public Builder clearVin() {
33227 vin_ = getDefaultInstance().getVin();
33228 bitField0_ = (bitField0_ & ~0x00000004);
33233 * <code>string vin = 3;</code>
33234 * @param value The bytes for vin to set.
33235 * @return This builder for chaining.
33237 public Builder setVinBytes(
33238 com.google.protobuf.ByteString value) {
33239 if (value == null) { throw new NullPointerException(); }
33240 checkByteStringIsUtf8(value);
33242 bitField0_ |= 0x00000004;
33247 private long emitTimestampInMs_ ;
33250 * When was the event emitted (milliseconds in Unix time)
33253 * <code>int64 emit_timestamp_in_ms = 10;</code>
33254 * @return The emitTimestampInMs.
33256 @java.lang.Override
33257 public long getEmitTimestampInMs() {
33258 return emitTimestampInMs_;
33262 * When was the event emitted (milliseconds in Unix time)
33265 * <code>int64 emit_timestamp_in_ms = 10;</code>
33266 * @param value The emitTimestampInMs to set.
33267 * @return This builder for chaining.
33269 public Builder setEmitTimestampInMs(long value) {
33271 emitTimestampInMs_ = value;
33272 bitField0_ |= 0x00000008;
33278 * When was the event emitted (milliseconds in Unix time)
33281 * <code>int64 emit_timestamp_in_ms = 10;</code>
33282 * @return This builder for chaining.
33284 public Builder clearEmitTimestampInMs() {
33285 bitField0_ = (bitField0_ & ~0x00000008);
33286 emitTimestampInMs_ = 0L;
33291 // @@protoc_insertion_point(builder_scope:proto.VehicleUpdated)
33294 // @@protoc_insertion_point(class_scope:proto.VehicleUpdated)
33295 private static final com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated DEFAULT_INSTANCE;
33297 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated();
33300 public static com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated getDefaultInstance() {
33301 return DEFAULT_INSTANCE;
33304 private static final com.google.protobuf.Parser<VehicleUpdated>
33305 PARSER = new com.google.protobuf.AbstractParser<VehicleUpdated>() {
33306 @java.lang.Override
33307 public VehicleUpdated parsePartialFrom(
33308 com.google.protobuf.CodedInputStream input,
33309 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33310 throws com.google.protobuf.InvalidProtocolBufferException {
33311 Builder builder = newBuilder();
33313 builder.mergeFrom(input, extensionRegistry);
33314 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
33315 throw e.setUnfinishedMessage(builder.buildPartial());
33316 } catch (com.google.protobuf.UninitializedMessageException e) {
33317 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
33318 } catch (java.io.IOException e) {
33319 throw new com.google.protobuf.InvalidProtocolBufferException(e)
33320 .setUnfinishedMessage(builder.buildPartial());
33322 return builder.buildPartial();
33326 public static com.google.protobuf.Parser<VehicleUpdated> parser() {
33330 @java.lang.Override
33331 public com.google.protobuf.Parser<VehicleUpdated> getParserForType() {
33335 @java.lang.Override
33336 public com.daimler.mbcarkit.proto.VehicleEvents.VehicleUpdated getDefaultInstanceForType() {
33337 return DEFAULT_INSTANCE;
33342 public interface PreferredDealerChangeOrBuilder extends
33343 // @@protoc_insertion_point(interface_extends:proto.PreferredDealerChange)
33344 com.google.protobuf.MessageOrBuilder {
33347 * <code>int32 sequence_number = 1;</code>
33348 * @return The sequenceNumber.
33350 int getSequenceNumber();
33353 * <code>string ciam_id = 2;</code>
33354 * @return The ciamId.
33356 java.lang.String getCiamId();
33358 * <code>string ciam_id = 2;</code>
33359 * @return The bytes for ciamId.
33361 com.google.protobuf.ByteString
33365 * <code>string vin = 3;</code>
33368 java.lang.String getVin();
33370 * <code>string vin = 3;</code>
33371 * @return The bytes for vin.
33373 com.google.protobuf.ByteString
33378 * When was the event emitted (milliseconds in Unix time)
33381 * <code>int64 emit_timestamp_in_ms = 10;</code>
33382 * @return The emitTimestampInMs.
33384 long getEmitTimestampInMs();
33387 * Protobuf type {@code proto.PreferredDealerChange}
33389 public static final class PreferredDealerChange extends
33390 com.google.protobuf.GeneratedMessage implements
33391 // @@protoc_insertion_point(message_implements:proto.PreferredDealerChange)
33392 PreferredDealerChangeOrBuilder {
33393 private static final long serialVersionUID = 0L;
33395 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
33396 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
33401 PreferredDealerChange.class.getName());
33403 // Use PreferredDealerChange.newBuilder() to construct.
33404 private PreferredDealerChange(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
33407 private PreferredDealerChange() {
33412 public static final com.google.protobuf.Descriptors.Descriptor
33414 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PreferredDealerChange_descriptor;
33417 @java.lang.Override
33418 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
33419 internalGetFieldAccessorTable() {
33420 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PreferredDealerChange_fieldAccessorTable
33421 .ensureFieldAccessorsInitialized(
33422 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.class, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder.class);
33425 public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
33426 private int sequenceNumber_ = 0;
33428 * <code>int32 sequence_number = 1;</code>
33429 * @return The sequenceNumber.
33431 @java.lang.Override
33432 public int getSequenceNumber() {
33433 return sequenceNumber_;
33436 public static final int CIAM_ID_FIELD_NUMBER = 2;
33437 @SuppressWarnings("serial")
33438 private volatile java.lang.Object ciamId_ = "";
33440 * <code>string ciam_id = 2;</code>
33441 * @return The ciamId.
33443 @java.lang.Override
33444 public java.lang.String getCiamId() {
33445 java.lang.Object ref = ciamId_;
33446 if (ref instanceof java.lang.String) {
33447 return (java.lang.String) ref;
33449 com.google.protobuf.ByteString bs =
33450 (com.google.protobuf.ByteString) ref;
33451 java.lang.String s = bs.toStringUtf8();
33457 * <code>string ciam_id = 2;</code>
33458 * @return The bytes for ciamId.
33460 @java.lang.Override
33461 public com.google.protobuf.ByteString
33463 java.lang.Object ref = ciamId_;
33464 if (ref instanceof java.lang.String) {
33465 com.google.protobuf.ByteString b =
33466 com.google.protobuf.ByteString.copyFromUtf8(
33467 (java.lang.String) ref);
33471 return (com.google.protobuf.ByteString) ref;
33475 public static final int VIN_FIELD_NUMBER = 3;
33476 @SuppressWarnings("serial")
33477 private volatile java.lang.Object vin_ = "";
33479 * <code>string vin = 3;</code>
33482 @java.lang.Override
33483 public java.lang.String getVin() {
33484 java.lang.Object ref = vin_;
33485 if (ref instanceof java.lang.String) {
33486 return (java.lang.String) ref;
33488 com.google.protobuf.ByteString bs =
33489 (com.google.protobuf.ByteString) ref;
33490 java.lang.String s = bs.toStringUtf8();
33496 * <code>string vin = 3;</code>
33497 * @return The bytes for vin.
33499 @java.lang.Override
33500 public com.google.protobuf.ByteString
33502 java.lang.Object ref = vin_;
33503 if (ref instanceof java.lang.String) {
33504 com.google.protobuf.ByteString b =
33505 com.google.protobuf.ByteString.copyFromUtf8(
33506 (java.lang.String) ref);
33510 return (com.google.protobuf.ByteString) ref;
33514 public static final int EMIT_TIMESTAMP_IN_MS_FIELD_NUMBER = 10;
33515 private long emitTimestampInMs_ = 0L;
33518 * When was the event emitted (milliseconds in Unix time)
33521 * <code>int64 emit_timestamp_in_ms = 10;</code>
33522 * @return The emitTimestampInMs.
33524 @java.lang.Override
33525 public long getEmitTimestampInMs() {
33526 return emitTimestampInMs_;
33529 private byte memoizedIsInitialized = -1;
33530 @java.lang.Override
33531 public final boolean isInitialized() {
33532 byte isInitialized = memoizedIsInitialized;
33533 if (isInitialized == 1) return true;
33534 if (isInitialized == 0) return false;
33536 memoizedIsInitialized = 1;
33540 @java.lang.Override
33541 public void writeTo(com.google.protobuf.CodedOutputStream output)
33542 throws java.io.IOException {
33543 if (sequenceNumber_ != 0) {
33544 output.writeInt32(1, sequenceNumber_);
33546 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ciamId_)) {
33547 com.google.protobuf.GeneratedMessage.writeString(output, 2, ciamId_);
33549 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
33550 com.google.protobuf.GeneratedMessage.writeString(output, 3, vin_);
33552 if (emitTimestampInMs_ != 0L) {
33553 output.writeInt64(10, emitTimestampInMs_);
33555 getUnknownFields().writeTo(output);
33558 @java.lang.Override
33559 public int getSerializedSize() {
33560 int size = memoizedSize;
33561 if (size != -1) return size;
33564 if (sequenceNumber_ != 0) {
33565 size += com.google.protobuf.CodedOutputStream
33566 .computeInt32Size(1, sequenceNumber_);
33568 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ciamId_)) {
33569 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, ciamId_);
33571 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(vin_)) {
33572 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, vin_);
33574 if (emitTimestampInMs_ != 0L) {
33575 size += com.google.protobuf.CodedOutputStream
33576 .computeInt64Size(10, emitTimestampInMs_);
33578 size += getUnknownFields().getSerializedSize();
33579 memoizedSize = size;
33583 @java.lang.Override
33584 public boolean equals(final java.lang.Object obj) {
33588 if (!(obj instanceof com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange)) {
33589 return super.equals(obj);
33591 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange other = (com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) obj;
33593 if (getSequenceNumber()
33594 != other.getSequenceNumber()) return false;
33596 .equals(other.getCiamId())) return false;
33598 .equals(other.getVin())) return false;
33599 if (getEmitTimestampInMs()
33600 != other.getEmitTimestampInMs()) return false;
33601 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
33605 @java.lang.Override
33606 public int hashCode() {
33607 if (memoizedHashCode != 0) {
33608 return memoizedHashCode;
33611 hash = (19 * hash) + getDescriptor().hashCode();
33612 hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
33613 hash = (53 * hash) + getSequenceNumber();
33614 hash = (37 * hash) + CIAM_ID_FIELD_NUMBER;
33615 hash = (53 * hash) + getCiamId().hashCode();
33616 hash = (37 * hash) + VIN_FIELD_NUMBER;
33617 hash = (53 * hash) + getVin().hashCode();
33618 hash = (37 * hash) + EMIT_TIMESTAMP_IN_MS_FIELD_NUMBER;
33619 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
33620 getEmitTimestampInMs());
33621 hash = (29 * hash) + getUnknownFields().hashCode();
33622 memoizedHashCode = hash;
33626 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33627 java.nio.ByteBuffer data)
33628 throws com.google.protobuf.InvalidProtocolBufferException {
33629 return PARSER.parseFrom(data);
33631 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33632 java.nio.ByteBuffer data,
33633 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33634 throws com.google.protobuf.InvalidProtocolBufferException {
33635 return PARSER.parseFrom(data, extensionRegistry);
33637 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33638 com.google.protobuf.ByteString data)
33639 throws com.google.protobuf.InvalidProtocolBufferException {
33640 return PARSER.parseFrom(data);
33642 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33643 com.google.protobuf.ByteString data,
33644 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33645 throws com.google.protobuf.InvalidProtocolBufferException {
33646 return PARSER.parseFrom(data, extensionRegistry);
33648 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(byte[] data)
33649 throws com.google.protobuf.InvalidProtocolBufferException {
33650 return PARSER.parseFrom(data);
33652 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33654 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33655 throws com.google.protobuf.InvalidProtocolBufferException {
33656 return PARSER.parseFrom(data, extensionRegistry);
33658 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(java.io.InputStream input)
33659 throws java.io.IOException {
33660 return com.google.protobuf.GeneratedMessage
33661 .parseWithIOException(PARSER, input);
33663 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33664 java.io.InputStream input,
33665 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33666 throws java.io.IOException {
33667 return com.google.protobuf.GeneratedMessage
33668 .parseWithIOException(PARSER, input, extensionRegistry);
33671 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseDelimitedFrom(java.io.InputStream input)
33672 throws java.io.IOException {
33673 return com.google.protobuf.GeneratedMessage
33674 .parseDelimitedWithIOException(PARSER, input);
33677 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseDelimitedFrom(
33678 java.io.InputStream input,
33679 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33680 throws java.io.IOException {
33681 return com.google.protobuf.GeneratedMessage
33682 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
33684 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33685 com.google.protobuf.CodedInputStream input)
33686 throws java.io.IOException {
33687 return com.google.protobuf.GeneratedMessage
33688 .parseWithIOException(PARSER, input);
33690 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange parseFrom(
33691 com.google.protobuf.CodedInputStream input,
33692 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33693 throws java.io.IOException {
33694 return com.google.protobuf.GeneratedMessage
33695 .parseWithIOException(PARSER, input, extensionRegistry);
33698 @java.lang.Override
33699 public Builder newBuilderForType() { return newBuilder(); }
33700 public static Builder newBuilder() {
33701 return DEFAULT_INSTANCE.toBuilder();
33703 public static Builder newBuilder(com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange prototype) {
33704 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
33706 @java.lang.Override
33707 public Builder toBuilder() {
33708 return this == DEFAULT_INSTANCE
33709 ? new Builder() : new Builder().mergeFrom(this);
33712 @java.lang.Override
33713 protected Builder newBuilderForType(
33714 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
33715 Builder builder = new Builder(parent);
33719 * Protobuf type {@code proto.PreferredDealerChange}
33721 public static final class Builder extends
33722 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
33723 // @@protoc_insertion_point(builder_implements:proto.PreferredDealerChange)
33724 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChangeOrBuilder {
33725 public static final com.google.protobuf.Descriptors.Descriptor
33727 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PreferredDealerChange_descriptor;
33730 @java.lang.Override
33731 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
33732 internalGetFieldAccessorTable() {
33733 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PreferredDealerChange_fieldAccessorTable
33734 .ensureFieldAccessorsInitialized(
33735 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.class, com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.Builder.class);
33738 // Construct using com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.newBuilder()
33739 private Builder() {
33744 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
33748 @java.lang.Override
33749 public Builder clear() {
33752 sequenceNumber_ = 0;
33755 emitTimestampInMs_ = 0L;
33759 @java.lang.Override
33760 public com.google.protobuf.Descriptors.Descriptor
33761 getDescriptorForType() {
33762 return com.daimler.mbcarkit.proto.VehicleEvents.internal_static_proto_PreferredDealerChange_descriptor;
33765 @java.lang.Override
33766 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange getDefaultInstanceForType() {
33767 return com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance();
33770 @java.lang.Override
33771 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange build() {
33772 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange result = buildPartial();
33773 if (!result.isInitialized()) {
33774 throw newUninitializedMessageException(result);
33779 @java.lang.Override
33780 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange buildPartial() {
33781 com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange result = new com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange(this);
33782 if (bitField0_ != 0) { buildPartial0(result); }
33787 private void buildPartial0(com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange result) {
33788 int from_bitField0_ = bitField0_;
33789 if (((from_bitField0_ & 0x00000001) != 0)) {
33790 result.sequenceNumber_ = sequenceNumber_;
33792 if (((from_bitField0_ & 0x00000002) != 0)) {
33793 result.ciamId_ = ciamId_;
33795 if (((from_bitField0_ & 0x00000004) != 0)) {
33796 result.vin_ = vin_;
33798 if (((from_bitField0_ & 0x00000008) != 0)) {
33799 result.emitTimestampInMs_ = emitTimestampInMs_;
33803 @java.lang.Override
33804 public Builder mergeFrom(com.google.protobuf.Message other) {
33805 if (other instanceof com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange) {
33806 return mergeFrom((com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange)other);
33808 super.mergeFrom(other);
33813 public Builder mergeFrom(com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange other) {
33814 if (other == com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange.getDefaultInstance()) return this;
33815 if (other.getSequenceNumber() != 0) {
33816 setSequenceNumber(other.getSequenceNumber());
33818 if (!other.getCiamId().isEmpty()) {
33819 ciamId_ = other.ciamId_;
33820 bitField0_ |= 0x00000002;
33823 if (!other.getVin().isEmpty()) {
33825 bitField0_ |= 0x00000004;
33828 if (other.getEmitTimestampInMs() != 0L) {
33829 setEmitTimestampInMs(other.getEmitTimestampInMs());
33831 this.mergeUnknownFields(other.getUnknownFields());
33836 @java.lang.Override
33837 public final boolean isInitialized() {
33841 @java.lang.Override
33842 public Builder mergeFrom(
33843 com.google.protobuf.CodedInputStream input,
33844 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
33845 throws java.io.IOException {
33846 if (extensionRegistry == null) {
33847 throw new java.lang.NullPointerException();
33850 boolean done = false;
33852 int tag = input.readTag();
33858 sequenceNumber_ = input.readInt32();
33859 bitField0_ |= 0x00000001;
33863 ciamId_ = input.readStringRequireUtf8();
33864 bitField0_ |= 0x00000002;
33868 vin_ = input.readStringRequireUtf8();
33869 bitField0_ |= 0x00000004;
33873 emitTimestampInMs_ = input.readInt64();
33874 bitField0_ |= 0x00000008;
33878 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
33879 done = true; // was an endgroup tag
33885 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
33886 throw e.unwrapIOException();
33892 private int bitField0_;
33894 private int sequenceNumber_ ;
33896 * <code>int32 sequence_number = 1;</code>
33897 * @return The sequenceNumber.
33899 @java.lang.Override
33900 public int getSequenceNumber() {
33901 return sequenceNumber_;
33904 * <code>int32 sequence_number = 1;</code>
33905 * @param value The sequenceNumber to set.
33906 * @return This builder for chaining.
33908 public Builder setSequenceNumber(int value) {
33910 sequenceNumber_ = value;
33911 bitField0_ |= 0x00000001;
33916 * <code>int32 sequence_number = 1;</code>
33917 * @return This builder for chaining.
33919 public Builder clearSequenceNumber() {
33920 bitField0_ = (bitField0_ & ~0x00000001);
33921 sequenceNumber_ = 0;
33926 private java.lang.Object ciamId_ = "";
33928 * <code>string ciam_id = 2;</code>
33929 * @return The ciamId.
33931 public java.lang.String getCiamId() {
33932 java.lang.Object ref = ciamId_;
33933 if (!(ref instanceof java.lang.String)) {
33934 com.google.protobuf.ByteString bs =
33935 (com.google.protobuf.ByteString) ref;
33936 java.lang.String s = bs.toStringUtf8();
33940 return (java.lang.String) ref;
33944 * <code>string ciam_id = 2;</code>
33945 * @return The bytes for ciamId.
33947 public com.google.protobuf.ByteString
33949 java.lang.Object ref = ciamId_;
33950 if (ref instanceof String) {
33951 com.google.protobuf.ByteString b =
33952 com.google.protobuf.ByteString.copyFromUtf8(
33953 (java.lang.String) ref);
33957 return (com.google.protobuf.ByteString) ref;
33961 * <code>string ciam_id = 2;</code>
33962 * @param value The ciamId to set.
33963 * @return This builder for chaining.
33965 public Builder setCiamId(
33966 java.lang.String value) {
33967 if (value == null) { throw new NullPointerException(); }
33969 bitField0_ |= 0x00000002;
33974 * <code>string ciam_id = 2;</code>
33975 * @return This builder for chaining.
33977 public Builder clearCiamId() {
33978 ciamId_ = getDefaultInstance().getCiamId();
33979 bitField0_ = (bitField0_ & ~0x00000002);
33984 * <code>string ciam_id = 2;</code>
33985 * @param value The bytes for ciamId to set.
33986 * @return This builder for chaining.
33988 public Builder setCiamIdBytes(
33989 com.google.protobuf.ByteString value) {
33990 if (value == null) { throw new NullPointerException(); }
33991 checkByteStringIsUtf8(value);
33993 bitField0_ |= 0x00000002;
33998 private java.lang.Object vin_ = "";
34000 * <code>string vin = 3;</code>
34003 public java.lang.String getVin() {
34004 java.lang.Object ref = vin_;
34005 if (!(ref instanceof java.lang.String)) {
34006 com.google.protobuf.ByteString bs =
34007 (com.google.protobuf.ByteString) ref;
34008 java.lang.String s = bs.toStringUtf8();
34012 return (java.lang.String) ref;
34016 * <code>string vin = 3;</code>
34017 * @return The bytes for vin.
34019 public com.google.protobuf.ByteString
34021 java.lang.Object ref = vin_;
34022 if (ref instanceof String) {
34023 com.google.protobuf.ByteString b =
34024 com.google.protobuf.ByteString.copyFromUtf8(
34025 (java.lang.String) ref);
34029 return (com.google.protobuf.ByteString) ref;
34033 * <code>string vin = 3;</code>
34034 * @param value The vin to set.
34035 * @return This builder for chaining.
34037 public Builder setVin(
34038 java.lang.String value) {
34039 if (value == null) { throw new NullPointerException(); }
34041 bitField0_ |= 0x00000004;
34046 * <code>string vin = 3;</code>
34047 * @return This builder for chaining.
34049 public Builder clearVin() {
34050 vin_ = getDefaultInstance().getVin();
34051 bitField0_ = (bitField0_ & ~0x00000004);
34056 * <code>string vin = 3;</code>
34057 * @param value The bytes for vin to set.
34058 * @return This builder for chaining.
34060 public Builder setVinBytes(
34061 com.google.protobuf.ByteString value) {
34062 if (value == null) { throw new NullPointerException(); }
34063 checkByteStringIsUtf8(value);
34065 bitField0_ |= 0x00000004;
34070 private long emitTimestampInMs_ ;
34073 * When was the event emitted (milliseconds in Unix time)
34076 * <code>int64 emit_timestamp_in_ms = 10;</code>
34077 * @return The emitTimestampInMs.
34079 @java.lang.Override
34080 public long getEmitTimestampInMs() {
34081 return emitTimestampInMs_;
34085 * When was the event emitted (milliseconds in Unix time)
34088 * <code>int64 emit_timestamp_in_ms = 10;</code>
34089 * @param value The emitTimestampInMs to set.
34090 * @return This builder for chaining.
34092 public Builder setEmitTimestampInMs(long value) {
34094 emitTimestampInMs_ = value;
34095 bitField0_ |= 0x00000008;
34101 * When was the event emitted (milliseconds in Unix time)
34104 * <code>int64 emit_timestamp_in_ms = 10;</code>
34105 * @return This builder for chaining.
34107 public Builder clearEmitTimestampInMs() {
34108 bitField0_ = (bitField0_ & ~0x00000008);
34109 emitTimestampInMs_ = 0L;
34114 // @@protoc_insertion_point(builder_scope:proto.PreferredDealerChange)
34117 // @@protoc_insertion_point(class_scope:proto.PreferredDealerChange)
34118 private static final com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange DEFAULT_INSTANCE;
34120 DEFAULT_INSTANCE = new com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange();
34123 public static com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange getDefaultInstance() {
34124 return DEFAULT_INSTANCE;
34127 private static final com.google.protobuf.Parser<PreferredDealerChange>
34128 PARSER = new com.google.protobuf.AbstractParser<PreferredDealerChange>() {
34129 @java.lang.Override
34130 public PreferredDealerChange parsePartialFrom(
34131 com.google.protobuf.CodedInputStream input,
34132 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
34133 throws com.google.protobuf.InvalidProtocolBufferException {
34134 Builder builder = newBuilder();
34136 builder.mergeFrom(input, extensionRegistry);
34137 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
34138 throw e.setUnfinishedMessage(builder.buildPartial());
34139 } catch (com.google.protobuf.UninitializedMessageException e) {
34140 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
34141 } catch (java.io.IOException e) {
34142 throw new com.google.protobuf.InvalidProtocolBufferException(e)
34143 .setUnfinishedMessage(builder.buildPartial());
34145 return builder.buildPartial();
34149 public static com.google.protobuf.Parser<PreferredDealerChange> parser() {
34153 @java.lang.Override
34154 public com.google.protobuf.Parser<PreferredDealerChange> getParserForType() {
34158 @java.lang.Override
34159 public com.daimler.mbcarkit.proto.VehicleEvents.PreferredDealerChange getDefaultInstanceForType() {
34160 return DEFAULT_INSTANCE;
34165 private static final com.google.protobuf.Descriptors.Descriptor
34166 internal_static_proto_VEPUpdate_descriptor;
34167 private static final
34168 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34169 internal_static_proto_VEPUpdate_fieldAccessorTable;
34170 private static final com.google.protobuf.Descriptors.Descriptor
34171 internal_static_proto_VEPUpdate_AttributesEntry_descriptor;
34172 private static final
34173 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34174 internal_static_proto_VEPUpdate_AttributesEntry_fieldAccessorTable;
34175 private static final com.google.protobuf.Descriptors.Descriptor
34176 internal_static_proto_VehicleAttributeStatus_descriptor;
34177 private static final
34178 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34179 internal_static_proto_VehicleAttributeStatus_fieldAccessorTable;
34180 private static final com.google.protobuf.Descriptors.Descriptor
34181 internal_static_proto_ChargeProgramsValue_descriptor;
34182 private static final
34183 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34184 internal_static_proto_ChargeProgramsValue_fieldAccessorTable;
34185 private static final com.google.protobuf.Descriptors.Descriptor
34186 internal_static_proto_ChargeProgramParameters_descriptor;
34187 private static final
34188 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34189 internal_static_proto_ChargeProgramParameters_fieldAccessorTable;
34190 private static final com.google.protobuf.Descriptors.Descriptor
34191 internal_static_proto_WeeklyProfileValue_descriptor;
34192 private static final
34193 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34194 internal_static_proto_WeeklyProfileValue_fieldAccessorTable;
34195 private static final com.google.protobuf.Descriptors.Descriptor
34196 internal_static_proto_VVRTimeProfile_descriptor;
34197 private static final
34198 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34199 internal_static_proto_VVRTimeProfile_fieldAccessorTable;
34200 private static final com.google.protobuf.Descriptors.Descriptor
34201 internal_static_proto_EcoHistogramValue_descriptor;
34202 private static final
34203 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34204 internal_static_proto_EcoHistogramValue_fieldAccessorTable;
34205 private static final com.google.protobuf.Descriptors.Descriptor
34206 internal_static_proto_EcoHistogramBin_descriptor;
34207 private static final
34208 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34209 internal_static_proto_EcoHistogramBin_fieldAccessorTable;
34210 private static final com.google.protobuf.Descriptors.Descriptor
34211 internal_static_proto_SpeedAlertConfigurationValue_descriptor;
34212 private static final
34213 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34214 internal_static_proto_SpeedAlertConfigurationValue_fieldAccessorTable;
34215 private static final com.google.protobuf.Descriptors.Descriptor
34216 internal_static_proto_SpeedAlertConfiguration_descriptor;
34217 private static final
34218 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34219 internal_static_proto_SpeedAlertConfiguration_fieldAccessorTable;
34220 private static final com.google.protobuf.Descriptors.Descriptor
34221 internal_static_proto_WeeklySettingsHeadUnitValue_descriptor;
34222 private static final
34223 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34224 internal_static_proto_WeeklySettingsHeadUnitValue_fieldAccessorTable;
34225 private static final com.google.protobuf.Descriptors.Descriptor
34226 internal_static_proto_WeeklySetting_descriptor;
34227 private static final
34228 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34229 internal_static_proto_WeeklySetting_fieldAccessorTable;
34230 private static final com.google.protobuf.Descriptors.Descriptor
34231 internal_static_proto_TemperaturePointsValue_descriptor;
34232 private static final
34233 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34234 internal_static_proto_TemperaturePointsValue_fieldAccessorTable;
34235 private static final com.google.protobuf.Descriptors.Descriptor
34236 internal_static_proto_TemperaturePoint_descriptor;
34237 private static final
34238 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34239 internal_static_proto_TemperaturePoint_fieldAccessorTable;
34240 private static final com.google.protobuf.Descriptors.Descriptor
34241 internal_static_proto_WeekdayTariffValue_descriptor;
34242 private static final
34243 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34244 internal_static_proto_WeekdayTariffValue_fieldAccessorTable;
34245 private static final com.google.protobuf.Descriptors.Descriptor
34246 internal_static_proto_WeekendTariffValue_descriptor;
34247 private static final
34248 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34249 internal_static_proto_WeekendTariffValue_fieldAccessorTable;
34250 private static final com.google.protobuf.Descriptors.Descriptor
34251 internal_static_proto_Tariff_descriptor;
34252 private static final
34253 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34254 internal_static_proto_Tariff_fieldAccessorTable;
34255 private static final com.google.protobuf.Descriptors.Descriptor
34256 internal_static_proto_StateOfChargeProfileValue_descriptor;
34257 private static final
34258 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34259 internal_static_proto_StateOfChargeProfileValue_fieldAccessorTable;
34260 private static final com.google.protobuf.Descriptors.Descriptor
34261 internal_static_proto_StateOfCharge_descriptor;
34262 private static final
34263 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34264 internal_static_proto_StateOfCharge_fieldAccessorTable;
34265 private static final com.google.protobuf.Descriptors.Descriptor
34266 internal_static_proto_VEPUpdatesByVIN_descriptor;
34267 private static final
34268 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34269 internal_static_proto_VEPUpdatesByVIN_fieldAccessorTable;
34270 private static final com.google.protobuf.Descriptors.Descriptor
34271 internal_static_proto_VEPUpdatesByVIN_UpdatesEntry_descriptor;
34272 private static final
34273 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34274 internal_static_proto_VEPUpdatesByVIN_UpdatesEntry_fieldAccessorTable;
34275 private static final com.google.protobuf.Descriptors.Descriptor
34276 internal_static_proto_DebugMessage_descriptor;
34277 private static final
34278 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34279 internal_static_proto_DebugMessage_fieldAccessorTable;
34280 private static final com.google.protobuf.Descriptors.Descriptor
34281 internal_static_proto_VehicleStatus_descriptor;
34282 private static final
34283 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34284 internal_static_proto_VehicleStatus_fieldAccessorTable;
34285 private static final com.google.protobuf.Descriptors.Descriptor
34286 internal_static_proto_VehicleStatus_AttributesEntry_descriptor;
34287 private static final
34288 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34289 internal_static_proto_VehicleStatus_AttributesEntry_fieldAccessorTable;
34290 private static final com.google.protobuf.Descriptors.Descriptor
34291 internal_static_proto_PushMessage_descriptor;
34292 private static final
34293 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34294 internal_static_proto_PushMessage_fieldAccessorTable;
34295 private static final com.google.protobuf.Descriptors.Descriptor
34296 internal_static_proto_TrackingEvent_descriptor;
34297 private static final
34298 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34299 internal_static_proto_TrackingEvent_fieldAccessorTable;
34300 private static final com.google.protobuf.Descriptors.Descriptor
34301 internal_static_proto_TrackingEvent_PayloadEntry_descriptor;
34302 private static final
34303 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34304 internal_static_proto_TrackingEvent_PayloadEntry_fieldAccessorTable;
34305 private static final com.google.protobuf.Descriptors.Descriptor
34306 internal_static_proto_PayloadValue_descriptor;
34307 private static final
34308 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34309 internal_static_proto_PayloadValue_fieldAccessorTable;
34310 private static final com.google.protobuf.Descriptors.Descriptor
34311 internal_static_proto_AcknowledgeVEPRequest_descriptor;
34312 private static final
34313 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34314 internal_static_proto_AcknowledgeVEPRequest_fieldAccessorTable;
34315 private static final com.google.protobuf.Descriptors.Descriptor
34316 internal_static_proto_AcknowledgeVEPUpdatesByVIN_descriptor;
34317 private static final
34318 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34319 internal_static_proto_AcknowledgeVEPUpdatesByVIN_fieldAccessorTable;
34320 private static final com.google.protobuf.Descriptors.Descriptor
34321 internal_static_proto_ConfigurePingInterval_descriptor;
34322 private static final
34323 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34324 internal_static_proto_ConfigurePingInterval_fieldAccessorTable;
34325 private static final com.google.protobuf.Descriptors.Descriptor
34326 internal_static_proto_AcknowledgeVehicleUpdated_descriptor;
34327 private static final
34328 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34329 internal_static_proto_AcknowledgeVehicleUpdated_fieldAccessorTable;
34330 private static final com.google.protobuf.Descriptors.Descriptor
34331 internal_static_proto_AcknowledgePreferredDealerChange_descriptor;
34332 private static final
34333 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34334 internal_static_proto_AcknowledgePreferredDealerChange_fieldAccessorTable;
34335 private static final com.google.protobuf.Descriptors.Descriptor
34336 internal_static_proto_VehicleUpdated_descriptor;
34337 private static final
34338 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34339 internal_static_proto_VehicleUpdated_fieldAccessorTable;
34340 private static final com.google.protobuf.Descriptors.Descriptor
34341 internal_static_proto_PreferredDealerChange_descriptor;
34342 private static final
34343 com.google.protobuf.GeneratedMessage.FieldAccessorTable
34344 internal_static_proto_PreferredDealerChange_fieldAccessorTable;
34346 public static com.google.protobuf.Descriptors.FileDescriptor
34350 private static com.google.protobuf.Descriptors.FileDescriptor
34353 java.lang.String[] descriptorData = {
34354 "\n\024vehicle-events.proto\022\005proto\032\030service-a" +
34355 "ctivation.proto\032\021user-events.proto\032\026vehi" +
34356 "cle-commands.proto\032\014protos.proto\032\020vehicl" +
34357 "eapi.proto\"\204\002\n\tVEPUpdate\022\027\n\017sequence_num" +
34358 "ber\030\001 \001(\005\022\013\n\003vin\030\002 \001(\t\022\023\n\013full_update\030\017 " +
34359 "\001(\010\022\026\n\016emit_timestamp\030\n \001(\003\022\034\n\024emit_time" +
34360 "stamp_in_ms\030\016 \001(\003\0224\n\nattributes\030\013 \003(\0132 ." +
34361 "proto.VEPUpdate.AttributesEntry\032P\n\017Attri" +
34362 "butesEntry\022\013\n\003key\030\001 \001(\t\022,\n\005value\030\002 \001(\0132\035" +
34363 ".proto.VehicleAttributeStatus:\0028\001\"\261\024\n\026Ve" +
34364 "hicleAttributeStatus\022\025\n\ttimestamp\030\001 \001(\003B" +
34365 "\002\030\001\022\027\n\017timestamp_in_ms\030\n \001(\003\022\017\n\007changed\030" +
34366 "\002 \001(\010\022\016\n\006status\030\003 \001(\005\022\023\n\013service_ids\030\036 \003" +
34367 "(\005\022\025\n\rdisplay_value\030\013 \001(\t\022^\n\033combustion_" +
34368 "consumption_unit\030\014 \001(\01627.proto.VehicleAt" +
34369 "tributeStatus.CombustionConsumptionUnitH" +
34370 "\000\022P\n\024gas_consumption_unit\030\r \001(\01620.proto." +
34371 "VehicleAttributeStatus.GasConsumptionUni" +
34372 "tH\000\022`\n\034electricity_consumption_unit\030\016 \001(" +
34373 "\01628.proto.VehicleAttributeStatus.Electri" +
34374 "cityConsumptionUnitH\000\022R\n\023speed_distance_" +
34375 "unit\030\017 \001(\0162/.proto.VehicleAttributeStatu" +
34376 "s.SpeedDistanceUnitB\002\030\001H\000\022=\n\nspeed_unit\030" +
34377 "\031 \001(\0162\'.proto.VehicleAttributeStatus.Spe" +
34378 "edUnitH\000\022C\n\rdistance_unit\030\032 \001(\0162*.proto." +
34379 "VehicleAttributeStatus.DistanceUnitH\000\022I\n" +
34380 "\020temperature_unit\030\020 \001(\0162-.proto.VehicleA" +
34381 "ttributeStatus.TemperatureUnitH\000\022C\n\rpres" +
34382 "sure_unit\030\021 \001(\0162*.proto.VehicleAttribute" +
34383 "Status.PressureUnitH\000\022=\n\nratio_unit\030\022 \001(" +
34384 "\0162\'.proto.VehicleAttributeStatus.RatioUn" +
34385 "itH\000\022F\n\017clock_hour_unit\030\023 \001(\0162+.proto.Ve" +
34386 "hicleAttributeStatus.ClockHourUnitH\000\022\023\n\t" +
34387 "int_value\030\004 \001(\003H\001\022\024\n\nbool_value\030\005 \001(\010H\001\022" +
34388 "\026\n\014string_value\030\006 \001(\tH\001\022\026\n\014double_value\030" +
34389 "\007 \001(\001H\001\022\023\n\tnil_value\030\010 \001(\010H\001\022\033\n\021unsuppor" +
34390 "ted_value\030\t \001(\tH\001\022A\n\030temperature_points_" +
34391 "value\030\024 \001(\0132\035.proto.TemperaturePointsVal" +
34392 "ueH\001\0229\n\024weekday_tariff_value\030\025 \001(\0132\031.pro" +
34393 "to.WeekdayTariffValueH\001\0229\n\024weekend_tarif" +
34394 "f_value\030\026 \001(\0132\031.proto.WeekendTariffValue" +
34395 "H\001\022I\n\035state_of_charge_profile_value\030\027 \001(" +
34396 "\0132 .proto.StateOfChargeProfileValueH\001\022M\n" +
34397 "\037weekly_settings_head_unit_value\030\030 \001(\0132\"" +
34398 ".proto.WeeklySettingsHeadUnitValueH\001\022N\n\037" +
34399 "speed_alert_configuration_value\030\033 \001(\0132#." +
34400 "proto.SpeedAlertConfigurationValueH\001\0227\n\023" +
34401 "eco_histogram_value\030\034 \001(\0132\030.proto.EcoHis" +
34402 "togramValueH\001\0229\n\024weekly_profile_value\030\035 " +
34403 "\001(\0132\031.proto.WeeklyProfileValueH\001\022;\n\025char" +
34404 "ge_programs_value\030\037 \001(\0132\032.proto.ChargePr" +
34405 "ogramsValueH\001\"\207\001\n\031CombustionConsumptionU" +
34406 "nit\022+\n\'UNSPECIFIED_COMBUSTION_CONSUMPTIO" +
34407 "N_UNIT\020\000\022\023\n\017LITER_PER_100KM\020\001\022\020\n\014KM_PER_" +
34408 "LITER\020\002\022\n\n\006MPG_UK\020\003\022\n\n\006MPG_US\020\004\"\231\001\n\032Elec" +
34409 "tricityConsumptionUnit\022,\n(UNSPECIFIED_EL" +
34410 "ECTRICITY_CONSUMPTION_UNIT\020\000\022\021\n\rKWH_PER_" +
34411 "100KM\020\001\022\016\n\nKM_PER_KWH\020\002\022\021\n\rKWH_PER_100MI" +
34412 "\020\003\022\r\n\tM_PER_KWH\020\004\022\010\n\004MPGE\020\005\"i\n\022GasConsum" +
34413 "ptionUnit\022$\n UNSPECIFIED_GAS_CONSUMPTION" +
34414 "_UNIT\020\000\022\020\n\014KG_PER_100KM\020\001\022\r\n\tKM_PER_KG\020\002" +
34415 "\022\014\n\010M_PER_KG\020\003\"W\n\021SpeedDistanceUnit\022#\n\037U" +
34416 "NSPECIFIED_SPEED_DISTANCE_UNIT\020\000\022\014\n\010KM_P" +
34417 "ER_H\020\001\022\013\n\007M_PER_H\020\002\032\002\030\001\"H\n\tSpeedUnit\022\032\n\026" +
34418 "UNSPECIFIED_SPEED_UNIT\020\000\022\017\n\013KM_PER_HOUR\020" +
34419 "\001\022\016\n\nM_PER_HOUR\020\002\"H\n\014DistanceUnit\022\035\n\031UNS" +
34420 "PECIFIED_DISTANCE_UNIT\020\000\022\016\n\nKILOMETERS\020\001" +
34421 "\022\t\n\005MILES\020\002\"P\n\017TemperatureUnit\022 \n\034UNSPEC" +
34422 "IFIED_TEMPERATURE_UNIT\020\000\022\013\n\007CELSIUS\020\001\022\016\n" +
34423 "\nFAHRENHEIT\020\002\"H\n\014PressureUnit\022\035\n\031UNSPECI" +
34424 "FIED_PRESSURE_UNIT\020\000\022\007\n\003KPA\020\001\022\007\n\003BAR\020\002\022\007" +
34425 "\n\003PSI\020\003\"4\n\tRatioUnit\022\032\n\026UNSPECIFIED_RATI" +
34426 "O_UNIT\020\000\022\013\n\007PERCENT\020\001\"D\n\rClockHourUnit\022\037" +
34427 "\n\033UNSPECIFIED_CLOCK_HOUR_UNIT\020\000\022\010\n\004T12H\020" +
34428 "\001\022\010\n\004T24H\020\002B\016\n\014display_unitB\020\n\016attribute" +
34429 "_type\"X\n\023ChargeProgramsValue\022A\n\031charge_p" +
34430 "rogram_parameters\030\001 \003(\0132\036.proto.ChargePr" +
34431 "ogramParameters\"\344\002\n\027ChargeProgramParamet" +
34432 "ers\022;\n\016charge_program\030\001 \001(\0162\024.proto.Char" +
34433 "geProgramR\rchargeprogram\022\027\n\007max_soc\030\002 \001(" +
34434 "\005R\006maxSoc\022\037\n\013auto_unlock\030\003 \001(\010R\nautounlo" +
34435 "ck\0226\n\027location_based_charging\030\004 \001(\010R\025loc" +
34436 "ationbasedcharging\022%\n\016weekly_profile\030\005 \001" +
34437 "(\010R\rweeklyprofile\022\036\n\nclockTimer\030\006 \001(\010R\nc" +
34438 "lockTimer\0220\n\024max_charging_current\030\007 \001(\005R" +
34439 "\022MaxChargingCurrent\022!\n\014eco_charging\030\010 \001(" +
34440 "\010R\013EcoCharging\"\315\003\n\022WeeklyProfileValue\022T\n" +
34441 "\'single_time_profile_entries_activatable" +
34442 "\030\001 \001(\010R#singleTimeProfileEntriesActivata" +
34443 "ble\022R\n\'max_number_of_weekly_time_profile" +
34444 "_slots\030\002 \001(\005R!maxNumberOfWeeklyTimeProfi" +
34445 "leSlots\022<\n\033max_number_of_time_profiles\030\003" +
34446 " \001(\005R\027maxNumberOfTimeProfiles\022M\n$current" +
34447 "_number_of_time_profile_slots\030\004 \001(\005R\037cur" +
34448 "rentNumberOfTimeProfileSlots\022D\n\037current_" +
34449 "number_of_time_profiles\030\005 \001(\005R\033currentNu" +
34450 "mberOfTimeProfiles\022:\n\rtime_profiles\030\006 \003(" +
34451 "\0132\025.proto.VVRTimeProfileR\014timeProfiles\"\302" +
34452 "\001\n\016VVRTimeProfile\022\026\n\nidentifier\030\001 \001(\005R\002i" +
34453 "d\022\022\n\004hour\030\002 \001(\005R\004hour\022\023\n\006minute\030\003 \001(\005R\003m" +
34454 "in\022(\n\004days\030\004 \003(\0162\025.proto.TimeProfileDayR" +
34455 "\003day\022\026\n\006active\030\005 \001(\010R\006active\022-\n\026applicat" +
34456 "ion_identifier\030\006 \001(\005R\rapplicationId\"G\n\021E" +
34457 "coHistogramValue\0222\n\022eco_histogram_bins\030\001" +
34458 " \003(\0132\026.proto.EcoHistogramBin\"2\n\017EcoHisto" +
34459 "gramBin\022\020\n\010interval\030\001 \001(\001\022\r\n\005value\030\002 \001(\001" +
34460 "\"b\n\034SpeedAlertConfigurationValue\022B\n\032spee" +
34461 "d_alert_configurations\030\001 \003(\0132\036.proto.Spe" +
34462 "edAlertConfiguration\"p\n\027SpeedAlertConfig" +
34463 "uration\022\032\n\022end_timestamp_in_s\030\001 \001(\003\022\030\n\020t" +
34464 "hreshold_in_kph\030\002 \001(\005\022\037\n\027threshold_displ" +
34465 "ay_value\030\003 \001(\t\"L\n\033WeeklySettingsHeadUnit" +
34466 "Value\022-\n\017weekly_settings\030\001 \003(\0132\024.proto.W" +
34467 "eeklySetting\"<\n\rWeeklySetting\022\013\n\003day\030\001 \001" +
34468 "(\005\022\036\n\026minutes_since_midnight\030\002 \001(\005\"M\n\026Te" +
34469 "mperaturePointsValue\0223\n\022temperature_poin" +
34470 "ts\030\001 \003(\0132\027.proto.TemperaturePoint\"X\n\020Tem" +
34471 "peraturePoint\022\014\n\004zone\030\001 \001(\t\022\023\n\013temperatu" +
34472 "re\030\002 \001(\001\022!\n\031temperature_display_value\030\003 " +
34473 "\001(\t\"4\n\022WeekdayTariffValue\022\036\n\007tariffs\030\001 \003" +
34474 "(\0132\r.proto.Tariff\"4\n\022WeekendTariffValue\022" +
34475 "\036\n\007tariffs\030\001 \003(\0132\r.proto.Tariff\"$\n\006Tarif" +
34476 "f\022\014\n\004rate\030\001 \001(\005\022\014\n\004time\030\002 \001(\005\"K\n\031StateOf" +
34477 "ChargeProfileValue\022.\n\020states_of_charge\030\001" +
34478 " \003(\0132\024.proto.StateOfCharge\"@\n\rStateOfCha" +
34479 "rge\022\026\n\016timestamp_in_s\030\001 \001(\003\022\027\n\017state_of_" +
34480 "charge\030\002 \001(\005\"\242\001\n\017VEPUpdatesByVIN\022\027\n\017sequ" +
34481 "ence_number\030\002 \001(\005\0224\n\007updates\030\001 \003(\0132#.pro" +
34482 "to.VEPUpdatesByVIN.UpdatesEntry\032@\n\014Updat" +
34483 "esEntry\022\013\n\003key\030\001 \001(\t\022\037\n\005value\030\002 \001(\0132\020.pr" +
34484 "oto.VEPUpdate:\0028\001\"\037\n\014DebugMessage\022\017\n\007mes" +
34485 "sage\030\001 \001(\t\"\250\001\n\rVehicleStatus\022\013\n\003vin\030\001 \001(" +
34486 "\t\0228\n\nattributes\030\002 \003(\0132$.proto.VehicleSta" +
34487 "tus.AttributesEntry\032P\n\017AttributesEntry\022\013" +
34488 "\n\003key\030\001 \001(\t\022,\n\005value\030\002 \001(\0132\035.proto.Vehic" +
34489 "leAttributeStatus:\0028\001\"\372\006\n\013PushMessage\022\023\n" +
34490 "\013tracking_id\030\005 \001(\t\022%\n\tvepUpdate\030\001 \001(\0132\020." +
34491 "proto.VEPUpdateH\000\022,\n\nvepUpdates\030\002 \001(\0132\026." +
34492 "proto.VEPUpdatesByVINH\000\022+\n\014debugMessage\030" +
34493 "\003 \001(\0132\023.proto.DebugMessageH\000\022B\n\026service_" +
34494 "status_updates\030\t \001(\0132 .proto.ServiceStat" +
34495 "usUpdatesByVINH\000\022;\n\025service_status_updat" +
34496 "e\030\r \001(\0132\032.proto.ServiceStatusUpdateH\000\0221\n" +
34497 "\020user_data_update\030\n \001(\0132\025.proto.UserData" +
34498 "UpdateH\000\022O\n user_vehicle_auth_changed_up" +
34499 "date\030\016 \001(\0132#.proto.UserVehicleAuthChange" +
34500 "dUpdateH\000\0227\n\023user_picture_update\030\013 \001(\0132\030" +
34501 ".proto.UserPictureUpdateH\000\022/\n\017user_pin_u" +
34502 "pdate\030\014 \001(\0132\024.proto.UserPINUpdateH\000\0220\n\017v" +
34503 "ehicle_updated\030\017 \001(\0132\025.proto.VehicleUpda" +
34504 "tedH\000\022?\n\027preferred_dealer_change\030\020 \001(\0132\034" +
34505 ".proto.PreferredDealerChangeH\000\022X\n%apptwi" +
34506 "n_command_status_updates_by_vin\030\021 \001(\0132\'." +
34507 "proto.AppTwinCommandStatusUpdatesByVINH\000" +
34508 "\022O\n\037apptwin_pending_command_request\030\022 \001(" +
34509 "\0132$.proto.AppTwinPendingCommandsRequestH" +
34510 "\000\0224\n\021assigned_vehicles\030\023 \001(\0132\027.proto.Ass" +
34511 "ignedVehiclesH\000B\005\n\003msgJ\004\010\007\020\010J\004\010\010\020\t\"\304\001\n\rT" +
34512 "rackingEvent\022\023\n\013tracking_id\030\001 \001(\t\022\021\n\ttim" +
34513 "estamp\030\002 \001(\003\022\022\n\nevent_type\030\003 \001(\t\0222\n\007payl" +
34514 "oad\030\004 \003(\0132!.proto.TrackingEvent.PayloadE" +
34515 "ntry\032C\n\014PayloadEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005val" +
34516 "ue\030\002 \001(\0132\023.proto.PayloadValue:\0028\001\"p\n\014Pay" +
34517 "loadValue\022\026\n\014string_value\030\001 \001(\tH\000\022\023\n\tint" +
34518 "_value\030\002 \001(\005H\000\022\024\n\nbool_value\030\003 \001(\010H\000\022\026\n\014" +
34519 "double_value\030\004 \001(\001H\000B\005\n\003msg\"4\n\025Acknowled" +
34520 "geVEPRequest\022\027\n\017sequence_number\030\001 \001(\005:\002\030" +
34521 "\001\"5\n\032AcknowledgeVEPUpdatesByVIN\022\027\n\017seque" +
34522 "nce_number\030\001 \001(\005\"1\n\025ConfigurePingInterva" +
34523 "l\022\030\n\020ping_time_millis\030\001 \001(\005\"4\n\031Acknowled" +
34524 "geVehicleUpdated\022\027\n\017sequence_number\030\001 \001(" +
34525 "\005\";\n AcknowledgePreferredDealerChange\022\027\n" +
34526 "\017sequence_number\030\001 \001(\005\"e\n\016VehicleUpdated" +
34527 "\022\027\n\017sequence_number\030\001 \001(\005\022\017\n\007ciam_id\030\002 \001" +
34528 "(\t\022\013\n\003vin\030\003 \001(\t\022\034\n\024emit_timestamp_in_ms\030" +
34529 "\n \001(\003\"l\n\025PreferredDealerChange\022\027\n\017sequen" +
34530 "ce_number\030\001 \001(\005\022\017\n\007ciam_id\030\002 \001(\t\022\013\n\003vin\030" +
34531 "\003 \001(\t\022\034\n\024emit_timestamp_in_ms\030\n \001(\003*y\n\rC" +
34532 "hargeProgram\022\032\n\026DEFAULT_CHARGE_PROGRAM\020\000" +
34533 "\022\032\n\026INSTANT_CHARGE_PROGRAM\020\001\022\027\n\023HOME_CHA" +
34534 "RGE_PROGRAM\020\002\022\027\n\023WORK_CHARGE_PROGRAM\020\003*f" +
34535 "\n\017AttributeStatus\022\017\n\013VALUE_VALID\020\000\022\026\n\022VA" +
34536 "LUE_NOT_RECEIVED\020\001\022\021\n\rVALUE_INVALID\020\003\022\027\n" +
34537 "\023VALUE_NOT_AVAILABLE\020\004B\034\n\032com.daimler.mb" +
34538 "carkit.protob\006proto3"
34540 descriptor = com.google.protobuf.Descriptors.FileDescriptor
34541 .internalBuildGeneratedFileFrom(descriptorData,
34542 new com.google.protobuf.Descriptors.FileDescriptor[] {
34543 com.daimler.mbcarkit.proto.ServiceActivation.getDescriptor(),
34544 com.daimler.mbcarkit.proto.UserEvents.getDescriptor(),
34545 com.daimler.mbcarkit.proto.VehicleCommands.getDescriptor(),
34546 com.daimler.mbcarkit.proto.Protos.getDescriptor(),
34547 com.daimler.mbcarkit.proto.Vehicleapi.getDescriptor(),
34549 internal_static_proto_VEPUpdate_descriptor =
34550 getDescriptor().getMessageTypes().get(0);
34551 internal_static_proto_VEPUpdate_fieldAccessorTable = new
34552 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34553 internal_static_proto_VEPUpdate_descriptor,
34554 new java.lang.String[] { "SequenceNumber", "Vin", "FullUpdate", "EmitTimestamp", "EmitTimestampInMs", "Attributes", });
34555 internal_static_proto_VEPUpdate_AttributesEntry_descriptor =
34556 internal_static_proto_VEPUpdate_descriptor.getNestedTypes().get(0);
34557 internal_static_proto_VEPUpdate_AttributesEntry_fieldAccessorTable = new
34558 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34559 internal_static_proto_VEPUpdate_AttributesEntry_descriptor,
34560 new java.lang.String[] { "Key", "Value", });
34561 internal_static_proto_VehicleAttributeStatus_descriptor =
34562 getDescriptor().getMessageTypes().get(1);
34563 internal_static_proto_VehicleAttributeStatus_fieldAccessorTable = new
34564 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34565 internal_static_proto_VehicleAttributeStatus_descriptor,
34566 new java.lang.String[] { "Timestamp", "TimestampInMs", "Changed", "Status", "ServiceIds", "DisplayValue", "CombustionConsumptionUnit", "GasConsumptionUnit", "ElectricityConsumptionUnit", "SpeedDistanceUnit", "SpeedUnit", "DistanceUnit", "TemperatureUnit", "PressureUnit", "RatioUnit", "ClockHourUnit", "IntValue", "BoolValue", "StringValue", "DoubleValue", "NilValue", "UnsupportedValue", "TemperaturePointsValue", "WeekdayTariffValue", "WeekendTariffValue", "StateOfChargeProfileValue", "WeeklySettingsHeadUnitValue", "SpeedAlertConfigurationValue", "EcoHistogramValue", "WeeklyProfileValue", "ChargeProgramsValue", "DisplayUnit", "AttributeType", });
34567 internal_static_proto_ChargeProgramsValue_descriptor =
34568 getDescriptor().getMessageTypes().get(2);
34569 internal_static_proto_ChargeProgramsValue_fieldAccessorTable = new
34570 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34571 internal_static_proto_ChargeProgramsValue_descriptor,
34572 new java.lang.String[] { "ChargeProgramParameters", });
34573 internal_static_proto_ChargeProgramParameters_descriptor =
34574 getDescriptor().getMessageTypes().get(3);
34575 internal_static_proto_ChargeProgramParameters_fieldAccessorTable = new
34576 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34577 internal_static_proto_ChargeProgramParameters_descriptor,
34578 new java.lang.String[] { "ChargeProgram", "MaxSoc", "AutoUnlock", "LocationBasedCharging", "WeeklyProfile", "ClockTimer", "MaxChargingCurrent", "EcoCharging", });
34579 internal_static_proto_WeeklyProfileValue_descriptor =
34580 getDescriptor().getMessageTypes().get(4);
34581 internal_static_proto_WeeklyProfileValue_fieldAccessorTable = new
34582 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34583 internal_static_proto_WeeklyProfileValue_descriptor,
34584 new java.lang.String[] { "SingleTimeProfileEntriesActivatable", "MaxNumberOfWeeklyTimeProfileSlots", "MaxNumberOfTimeProfiles", "CurrentNumberOfTimeProfileSlots", "CurrentNumberOfTimeProfiles", "TimeProfiles", });
34585 internal_static_proto_VVRTimeProfile_descriptor =
34586 getDescriptor().getMessageTypes().get(5);
34587 internal_static_proto_VVRTimeProfile_fieldAccessorTable = new
34588 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34589 internal_static_proto_VVRTimeProfile_descriptor,
34590 new java.lang.String[] { "Identifier", "Hour", "Minute", "Days", "Active", "ApplicationIdentifier", });
34591 internal_static_proto_EcoHistogramValue_descriptor =
34592 getDescriptor().getMessageTypes().get(6);
34593 internal_static_proto_EcoHistogramValue_fieldAccessorTable = new
34594 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34595 internal_static_proto_EcoHistogramValue_descriptor,
34596 new java.lang.String[] { "EcoHistogramBins", });
34597 internal_static_proto_EcoHistogramBin_descriptor =
34598 getDescriptor().getMessageTypes().get(7);
34599 internal_static_proto_EcoHistogramBin_fieldAccessorTable = new
34600 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34601 internal_static_proto_EcoHistogramBin_descriptor,
34602 new java.lang.String[] { "Interval", "Value", });
34603 internal_static_proto_SpeedAlertConfigurationValue_descriptor =
34604 getDescriptor().getMessageTypes().get(8);
34605 internal_static_proto_SpeedAlertConfigurationValue_fieldAccessorTable = new
34606 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34607 internal_static_proto_SpeedAlertConfigurationValue_descriptor,
34608 new java.lang.String[] { "SpeedAlertConfigurations", });
34609 internal_static_proto_SpeedAlertConfiguration_descriptor =
34610 getDescriptor().getMessageTypes().get(9);
34611 internal_static_proto_SpeedAlertConfiguration_fieldAccessorTable = new
34612 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34613 internal_static_proto_SpeedAlertConfiguration_descriptor,
34614 new java.lang.String[] { "EndTimestampInS", "ThresholdInKph", "ThresholdDisplayValue", });
34615 internal_static_proto_WeeklySettingsHeadUnitValue_descriptor =
34616 getDescriptor().getMessageTypes().get(10);
34617 internal_static_proto_WeeklySettingsHeadUnitValue_fieldAccessorTable = new
34618 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34619 internal_static_proto_WeeklySettingsHeadUnitValue_descriptor,
34620 new java.lang.String[] { "WeeklySettings", });
34621 internal_static_proto_WeeklySetting_descriptor =
34622 getDescriptor().getMessageTypes().get(11);
34623 internal_static_proto_WeeklySetting_fieldAccessorTable = new
34624 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34625 internal_static_proto_WeeklySetting_descriptor,
34626 new java.lang.String[] { "Day", "MinutesSinceMidnight", });
34627 internal_static_proto_TemperaturePointsValue_descriptor =
34628 getDescriptor().getMessageTypes().get(12);
34629 internal_static_proto_TemperaturePointsValue_fieldAccessorTable = new
34630 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34631 internal_static_proto_TemperaturePointsValue_descriptor,
34632 new java.lang.String[] { "TemperaturePoints", });
34633 internal_static_proto_TemperaturePoint_descriptor =
34634 getDescriptor().getMessageTypes().get(13);
34635 internal_static_proto_TemperaturePoint_fieldAccessorTable = new
34636 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34637 internal_static_proto_TemperaturePoint_descriptor,
34638 new java.lang.String[] { "Zone", "Temperature", "TemperatureDisplayValue", });
34639 internal_static_proto_WeekdayTariffValue_descriptor =
34640 getDescriptor().getMessageTypes().get(14);
34641 internal_static_proto_WeekdayTariffValue_fieldAccessorTable = new
34642 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34643 internal_static_proto_WeekdayTariffValue_descriptor,
34644 new java.lang.String[] { "Tariffs", });
34645 internal_static_proto_WeekendTariffValue_descriptor =
34646 getDescriptor().getMessageTypes().get(15);
34647 internal_static_proto_WeekendTariffValue_fieldAccessorTable = new
34648 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34649 internal_static_proto_WeekendTariffValue_descriptor,
34650 new java.lang.String[] { "Tariffs", });
34651 internal_static_proto_Tariff_descriptor =
34652 getDescriptor().getMessageTypes().get(16);
34653 internal_static_proto_Tariff_fieldAccessorTable = new
34654 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34655 internal_static_proto_Tariff_descriptor,
34656 new java.lang.String[] { "Rate", "Time", });
34657 internal_static_proto_StateOfChargeProfileValue_descriptor =
34658 getDescriptor().getMessageTypes().get(17);
34659 internal_static_proto_StateOfChargeProfileValue_fieldAccessorTable = new
34660 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34661 internal_static_proto_StateOfChargeProfileValue_descriptor,
34662 new java.lang.String[] { "StatesOfCharge", });
34663 internal_static_proto_StateOfCharge_descriptor =
34664 getDescriptor().getMessageTypes().get(18);
34665 internal_static_proto_StateOfCharge_fieldAccessorTable = new
34666 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34667 internal_static_proto_StateOfCharge_descriptor,
34668 new java.lang.String[] { "TimestampInS", "StateOfCharge", });
34669 internal_static_proto_VEPUpdatesByVIN_descriptor =
34670 getDescriptor().getMessageTypes().get(19);
34671 internal_static_proto_VEPUpdatesByVIN_fieldAccessorTable = new
34672 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34673 internal_static_proto_VEPUpdatesByVIN_descriptor,
34674 new java.lang.String[] { "SequenceNumber", "Updates", });
34675 internal_static_proto_VEPUpdatesByVIN_UpdatesEntry_descriptor =
34676 internal_static_proto_VEPUpdatesByVIN_descriptor.getNestedTypes().get(0);
34677 internal_static_proto_VEPUpdatesByVIN_UpdatesEntry_fieldAccessorTable = new
34678 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34679 internal_static_proto_VEPUpdatesByVIN_UpdatesEntry_descriptor,
34680 new java.lang.String[] { "Key", "Value", });
34681 internal_static_proto_DebugMessage_descriptor =
34682 getDescriptor().getMessageTypes().get(20);
34683 internal_static_proto_DebugMessage_fieldAccessorTable = new
34684 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34685 internal_static_proto_DebugMessage_descriptor,
34686 new java.lang.String[] { "Message", });
34687 internal_static_proto_VehicleStatus_descriptor =
34688 getDescriptor().getMessageTypes().get(21);
34689 internal_static_proto_VehicleStatus_fieldAccessorTable = new
34690 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34691 internal_static_proto_VehicleStatus_descriptor,
34692 new java.lang.String[] { "Vin", "Attributes", });
34693 internal_static_proto_VehicleStatus_AttributesEntry_descriptor =
34694 internal_static_proto_VehicleStatus_descriptor.getNestedTypes().get(0);
34695 internal_static_proto_VehicleStatus_AttributesEntry_fieldAccessorTable = new
34696 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34697 internal_static_proto_VehicleStatus_AttributesEntry_descriptor,
34698 new java.lang.String[] { "Key", "Value", });
34699 internal_static_proto_PushMessage_descriptor =
34700 getDescriptor().getMessageTypes().get(22);
34701 internal_static_proto_PushMessage_fieldAccessorTable = new
34702 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34703 internal_static_proto_PushMessage_descriptor,
34704 new java.lang.String[] { "TrackingId", "VepUpdate", "VepUpdates", "DebugMessage", "ServiceStatusUpdates", "ServiceStatusUpdate", "UserDataUpdate", "UserVehicleAuthChangedUpdate", "UserPictureUpdate", "UserPinUpdate", "VehicleUpdated", "PreferredDealerChange", "ApptwinCommandStatusUpdatesByVin", "ApptwinPendingCommandRequest", "AssignedVehicles", "Msg", });
34705 internal_static_proto_TrackingEvent_descriptor =
34706 getDescriptor().getMessageTypes().get(23);
34707 internal_static_proto_TrackingEvent_fieldAccessorTable = new
34708 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34709 internal_static_proto_TrackingEvent_descriptor,
34710 new java.lang.String[] { "TrackingId", "Timestamp", "EventType", "Payload", });
34711 internal_static_proto_TrackingEvent_PayloadEntry_descriptor =
34712 internal_static_proto_TrackingEvent_descriptor.getNestedTypes().get(0);
34713 internal_static_proto_TrackingEvent_PayloadEntry_fieldAccessorTable = new
34714 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34715 internal_static_proto_TrackingEvent_PayloadEntry_descriptor,
34716 new java.lang.String[] { "Key", "Value", });
34717 internal_static_proto_PayloadValue_descriptor =
34718 getDescriptor().getMessageTypes().get(24);
34719 internal_static_proto_PayloadValue_fieldAccessorTable = new
34720 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34721 internal_static_proto_PayloadValue_descriptor,
34722 new java.lang.String[] { "StringValue", "IntValue", "BoolValue", "DoubleValue", "Msg", });
34723 internal_static_proto_AcknowledgeVEPRequest_descriptor =
34724 getDescriptor().getMessageTypes().get(25);
34725 internal_static_proto_AcknowledgeVEPRequest_fieldAccessorTable = new
34726 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34727 internal_static_proto_AcknowledgeVEPRequest_descriptor,
34728 new java.lang.String[] { "SequenceNumber", });
34729 internal_static_proto_AcknowledgeVEPUpdatesByVIN_descriptor =
34730 getDescriptor().getMessageTypes().get(26);
34731 internal_static_proto_AcknowledgeVEPUpdatesByVIN_fieldAccessorTable = new
34732 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34733 internal_static_proto_AcknowledgeVEPUpdatesByVIN_descriptor,
34734 new java.lang.String[] { "SequenceNumber", });
34735 internal_static_proto_ConfigurePingInterval_descriptor =
34736 getDescriptor().getMessageTypes().get(27);
34737 internal_static_proto_ConfigurePingInterval_fieldAccessorTable = new
34738 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34739 internal_static_proto_ConfigurePingInterval_descriptor,
34740 new java.lang.String[] { "PingTimeMillis", });
34741 internal_static_proto_AcknowledgeVehicleUpdated_descriptor =
34742 getDescriptor().getMessageTypes().get(28);
34743 internal_static_proto_AcknowledgeVehicleUpdated_fieldAccessorTable = new
34744 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34745 internal_static_proto_AcknowledgeVehicleUpdated_descriptor,
34746 new java.lang.String[] { "SequenceNumber", });
34747 internal_static_proto_AcknowledgePreferredDealerChange_descriptor =
34748 getDescriptor().getMessageTypes().get(29);
34749 internal_static_proto_AcknowledgePreferredDealerChange_fieldAccessorTable = new
34750 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34751 internal_static_proto_AcknowledgePreferredDealerChange_descriptor,
34752 new java.lang.String[] { "SequenceNumber", });
34753 internal_static_proto_VehicleUpdated_descriptor =
34754 getDescriptor().getMessageTypes().get(30);
34755 internal_static_proto_VehicleUpdated_fieldAccessorTable = new
34756 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34757 internal_static_proto_VehicleUpdated_descriptor,
34758 new java.lang.String[] { "SequenceNumber", "CiamId", "Vin", "EmitTimestampInMs", });
34759 internal_static_proto_PreferredDealerChange_descriptor =
34760 getDescriptor().getMessageTypes().get(31);
34761 internal_static_proto_PreferredDealerChange_fieldAccessorTable = new
34762 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
34763 internal_static_proto_PreferredDealerChange_descriptor,
34764 new java.lang.String[] { "SequenceNumber", "CiamId", "Vin", "EmitTimestampInMs", });
34765 descriptor.resolveAllFeaturesImmutable();
34766 com.daimler.mbcarkit.proto.ServiceActivation.getDescriptor();
34767 com.daimler.mbcarkit.proto.UserEvents.getDescriptor();
34768 com.daimler.mbcarkit.proto.VehicleCommands.getDescriptor();
34769 com.daimler.mbcarkit.proto.Protos.getDescriptor();
34770 com.daimler.mbcarkit.proto.Vehicleapi.getDescriptor();
34773 // @@protoc_insertion_point(outer_class_scope)