X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=gen%2Fjava%2Fcom%2Fopenxc%2FBinaryMessages.java;h=a30e70f4b49a9cfa450ac23d8cc93b0340edd0ae;hb=3cd516b8f2925e82cff666a5c98ff30de507ca39;hp=687e06447da4acc60638ed9799a86b5c435aa84f;hpb=03a5af0f0978d372bb9e5668700ed39eb8c2fd83;p=apps%2Fagl-service-can-low-level.git diff --git a/gen/java/com/openxc/BinaryMessages.java b/gen/java/com/openxc/BinaryMessages.java index 687e0644..a30e70f4 100644 --- a/gen/java/com/openxc/BinaryMessages.java +++ b/gen/java/com/openxc/BinaryMessages.java @@ -3365,50 +3365,50 @@ public final class BinaryMessages { */ boolean getMultipleResponses(); - // optional double factor = 7; + // optional double frequency = 7; /** - * optional double factor = 7; + * optional double frequency = 7; */ - boolean hasFactor(); + boolean hasFrequency(); /** - * optional double factor = 7; + * optional double frequency = 7; */ - double getFactor(); + double getFrequency(); - // optional double offset = 8; + // optional string name = 8; /** - * optional double offset = 8; + * optional string name = 8; */ - boolean hasOffset(); + boolean hasName(); /** - * optional double offset = 8; + * optional string name = 8; */ - double getOffset(); - - // optional double frequency = 9; + java.lang.String getName(); /** - * optional double frequency = 9; + * optional string name = 8; */ - boolean hasFrequency(); + com.google.protobuf.ByteString + getNameBytes(); + + // optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; /** - * optional double frequency = 9; + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; */ - double getFrequency(); - - // optional string name = 10; + boolean hasDecodedType(); /** - * optional string name = 10; + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; */ - boolean hasName(); + com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType(); + + // optional .openxc.DiagnosticRequest.Action action = 10; /** - * optional string name = 10; + * optional .openxc.DiagnosticRequest.Action action = 10; */ - java.lang.String getName(); + boolean hasAction(); /** - * optional string name = 10; + * optional .openxc.DiagnosticRequest.Action action = 10; */ - com.google.protobuf.ByteString - getNameBytes(); + com.openxc.BinaryMessages.DiagnosticRequest.Action getAction(); } /** * Protobuf type {@code openxc.DiagnosticRequest} @@ -3493,22 +3493,34 @@ public final class BinaryMessages { } case 57: { bitField0_ |= 0x00000040; - factor_ = input.readDouble(); + frequency_ = input.readDouble(); break; } - case 65: { + case 66: { bitField0_ |= 0x00000080; - offset_ = input.readDouble(); + name_ = input.readBytes(); break; } - case 73: { - bitField0_ |= 0x00000100; - frequency_ = input.readDouble(); + case 72: { + int rawValue = input.readEnum(); + com.openxc.BinaryMessages.DiagnosticRequest.DecodedType value = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(9, rawValue); + } else { + bitField0_ |= 0x00000100; + decodedType_ = value; + } break; } - case 82: { - bitField0_ |= 0x00000200; - name_ = input.readBytes(); + case 80: { + int rawValue = input.readEnum(); + com.openxc.BinaryMessages.DiagnosticRequest.Action value = com.openxc.BinaryMessages.DiagnosticRequest.Action.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(10, rawValue); + } else { + bitField0_ |= 0x00000200; + action_ = value; + } break; } } @@ -3550,6 +3562,170 @@ public final class BinaryMessages { return PARSER; } + /** + * Protobuf enum {@code openxc.DiagnosticRequest.DecodedType} + */ + public enum DecodedType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * NONE = 1; + */ + NONE(0, 1), + /** + * OBD2 = 2; + */ + OBD2(1, 2), + ; + + /** + * NONE = 1; + */ + public static final int NONE_VALUE = 1; + /** + * OBD2 = 2; + */ + public static final int OBD2_VALUE = 2; + + + public final int getNumber() { return value; } + + public static DecodedType valueOf(int value) { + switch (value) { + case 1: return NONE; + case 2: return OBD2; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DecodedType findValueByNumber(int number) { + return DecodedType.valueOf(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(index); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.openxc.BinaryMessages.DiagnosticRequest.getDescriptor().getEnumTypes().get(0); + } + + private static final DecodedType[] VALUES = values(); + + public static DecodedType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + + private final int index; + private final int value; + + private DecodedType(int index, int value) { + this.index = index; + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:openxc.DiagnosticRequest.DecodedType) + } + + /** + * Protobuf enum {@code openxc.DiagnosticRequest.Action} + */ + public enum Action + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ADD = 1; + */ + ADD(0, 1), + /** + * CANCEL = 3; + */ + CANCEL(1, 3), + ; + + /** + * ADD = 1; + */ + public static final int ADD_VALUE = 1; + /** + * CANCEL = 3; + */ + public static final int CANCEL_VALUE = 3; + + + public final int getNumber() { return value; } + + public static Action valueOf(int value) { + switch (value) { + case 1: return ADD; + case 3: return CANCEL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Action findValueByNumber(int number) { + return Action.valueOf(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(index); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.openxc.BinaryMessages.DiagnosticRequest.getDescriptor().getEnumTypes().get(1); + } + + private static final Action[] VALUES = values(); + + public static Action valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + + private final int index; + private final int value; + + private Action(int index, int value) { + this.index = index; + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:openxc.DiagnosticRequest.Action) + } + private int bitField0_; // optional int32 bus = 1; public static final int BUS_FIELD_NUMBER = 1; @@ -3657,65 +3833,33 @@ public final class BinaryMessages { return multipleResponses_; } - // optional double factor = 7; - public static final int FACTOR_FIELD_NUMBER = 7; - private double factor_; - /** - * optional double factor = 7; - */ - public boolean hasFactor() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional double factor = 7; - */ - public double getFactor() { - return factor_; - } - - // optional double offset = 8; - public static final int OFFSET_FIELD_NUMBER = 8; - private double offset_; - /** - * optional double offset = 8; - */ - public boolean hasOffset() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional double offset = 8; - */ - public double getOffset() { - return offset_; - } - - // optional double frequency = 9; - public static final int FREQUENCY_FIELD_NUMBER = 9; + // optional double frequency = 7; + public static final int FREQUENCY_FIELD_NUMBER = 7; private double frequency_; /** - * optional double frequency = 9; + * optional double frequency = 7; */ public boolean hasFrequency() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * optional double frequency = 9; + * optional double frequency = 7; */ public double getFrequency() { return frequency_; } - // optional string name = 10; - public static final int NAME_FIELD_NUMBER = 10; + // optional string name = 8; + public static final int NAME_FIELD_NUMBER = 8; private java.lang.Object name_; /** - * optional string name = 10; + * optional string name = 8; */ public boolean hasName() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000080) == 0x00000080); } /** - * optional string name = 10; + * optional string name = 8; */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -3732,7 +3876,7 @@ public final class BinaryMessages { } } /** - * optional string name = 10; + * optional string name = 8; */ public com.google.protobuf.ByteString getNameBytes() { @@ -3748,6 +3892,38 @@ public final class BinaryMessages { } } + // optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + public static final int DECODED_TYPE_FIELD_NUMBER = 9; + private com.openxc.BinaryMessages.DiagnosticRequest.DecodedType decodedType_; + /** + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + */ + public boolean hasDecodedType() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + */ + public com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType() { + return decodedType_; + } + + // optional .openxc.DiagnosticRequest.Action action = 10; + public static final int ACTION_FIELD_NUMBER = 10; + private com.openxc.BinaryMessages.DiagnosticRequest.Action action_; + /** + * optional .openxc.DiagnosticRequest.Action action = 10; + */ + public boolean hasAction() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .openxc.DiagnosticRequest.Action action = 10; + */ + public com.openxc.BinaryMessages.DiagnosticRequest.Action getAction() { + return action_; + } + private void initFields() { bus_ = 0; messageId_ = 0; @@ -3755,10 +3931,10 @@ public final class BinaryMessages { pid_ = 0; payload_ = com.google.protobuf.ByteString.EMPTY; multipleResponses_ = false; - factor_ = 0D; - offset_ = 0D; frequency_ = 0D; name_ = ""; + decodedType_ = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.NONE; + action_ = com.openxc.BinaryMessages.DiagnosticRequest.Action.ADD; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -3791,16 +3967,16 @@ public final class BinaryMessages { output.writeBool(6, multipleResponses_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeDouble(7, factor_); + output.writeDouble(7, frequency_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeDouble(8, offset_); + output.writeBytes(8, getNameBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { - output.writeDouble(9, frequency_); + output.writeEnum(9, decodedType_.getNumber()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { - output.writeBytes(10, getNameBytes()); + output.writeEnum(10, action_.getNumber()); } getUnknownFields().writeTo(output); } @@ -3837,19 +4013,19 @@ public final class BinaryMessages { } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(7, factor_); + .computeDoubleSize(7, frequency_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(8, offset_); + .computeBytesSize(8, getNameBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(9, frequency_); + .computeEnumSize(9, decodedType_.getNumber()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(10, getNameBytes()); + .computeEnumSize(10, action_.getNumber()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -3979,13 +4155,13 @@ public final class BinaryMessages { bitField0_ = (bitField0_ & ~0x00000010); multipleResponses_ = false; bitField0_ = (bitField0_ & ~0x00000020); - factor_ = 0D; + frequency_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); - offset_ = 0D; + name_ = ""; bitField0_ = (bitField0_ & ~0x00000080); - frequency_ = 0D; + decodedType_ = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.NONE; bitField0_ = (bitField0_ & ~0x00000100); - name_ = ""; + action_ = com.openxc.BinaryMessages.DiagnosticRequest.Action.ADD; bitField0_ = (bitField0_ & ~0x00000200); return this; } @@ -4042,19 +4218,19 @@ public final class BinaryMessages { if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } - result.factor_ = factor_; + result.frequency_ = frequency_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } - result.offset_ = offset_; + result.name_ = name_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } - result.frequency_ = frequency_; + result.decodedType_ = decodedType_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } - result.name_ = name_; + result.action_ = action_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -4089,20 +4265,20 @@ public final class BinaryMessages { if (other.hasMultipleResponses()) { setMultipleResponses(other.getMultipleResponses()); } - if (other.hasFactor()) { - setFactor(other.getFactor()); - } - if (other.hasOffset()) { - setOffset(other.getOffset()); - } if (other.hasFrequency()) { setFrequency(other.getFrequency()); } if (other.hasName()) { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000080; name_ = other.name_; onChanged(); } + if (other.hasDecodedType()) { + setDecodedType(other.getDecodedType()); + } + if (other.hasAction()) { + setAction(other.getAction()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -4351,115 +4527,49 @@ public final class BinaryMessages { return this; } - // optional double factor = 7; - private double factor_ ; - /** - * optional double factor = 7; - */ - public boolean hasFactor() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional double factor = 7; - */ - public double getFactor() { - return factor_; - } - /** - * optional double factor = 7; - */ - public Builder setFactor(double value) { - bitField0_ |= 0x00000040; - factor_ = value; - onChanged(); - return this; - } - /** - * optional double factor = 7; - */ - public Builder clearFactor() { - bitField0_ = (bitField0_ & ~0x00000040); - factor_ = 0D; - onChanged(); - return this; - } - - // optional double offset = 8; - private double offset_ ; - /** - * optional double offset = 8; - */ - public boolean hasOffset() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional double offset = 8; - */ - public double getOffset() { - return offset_; - } - /** - * optional double offset = 8; - */ - public Builder setOffset(double value) { - bitField0_ |= 0x00000080; - offset_ = value; - onChanged(); - return this; - } - /** - * optional double offset = 8; - */ - public Builder clearOffset() { - bitField0_ = (bitField0_ & ~0x00000080); - offset_ = 0D; - onChanged(); - return this; - } - - // optional double frequency = 9; + // optional double frequency = 7; private double frequency_ ; /** - * optional double frequency = 9; + * optional double frequency = 7; */ public boolean hasFrequency() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * optional double frequency = 9; + * optional double frequency = 7; */ public double getFrequency() { return frequency_; } /** - * optional double frequency = 9; + * optional double frequency = 7; */ public Builder setFrequency(double value) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000040; frequency_ = value; onChanged(); return this; } /** - * optional double frequency = 9; + * optional double frequency = 7; */ public Builder clearFrequency() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000040); frequency_ = 0D; onChanged(); return this; } - // optional string name = 10; + // optional string name = 8; private java.lang.Object name_ = ""; /** - * optional string name = 10; + * optional string name = 8; */ public boolean hasName() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000080) == 0x00000080); } /** - * optional string name = 10; + * optional string name = 8; */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -4473,7 +4583,7 @@ public final class BinaryMessages { } } /** - * optional string name = 10; + * optional string name = 8; */ public com.google.protobuf.ByteString getNameBytes() { @@ -4489,41 +4599,113 @@ public final class BinaryMessages { } } /** - * optional string name = 10; + * optional string name = 8; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000080; name_ = value; onChanged(); return this; } /** - * optional string name = 10; + * optional string name = 8; */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000080); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * optional string name = 10; + * optional string name = 8; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000080; name_ = value; onChanged(); return this; } + // optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + private com.openxc.BinaryMessages.DiagnosticRequest.DecodedType decodedType_ = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.NONE; + /** + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + */ + public boolean hasDecodedType() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + */ + public com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType() { + return decodedType_; + } + /** + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + */ + public Builder setDecodedType(com.openxc.BinaryMessages.DiagnosticRequest.DecodedType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + decodedType_ = value; + onChanged(); + return this; + } + /** + * optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9; + */ + public Builder clearDecodedType() { + bitField0_ = (bitField0_ & ~0x00000100); + decodedType_ = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.NONE; + onChanged(); + return this; + } + + // optional .openxc.DiagnosticRequest.Action action = 10; + private com.openxc.BinaryMessages.DiagnosticRequest.Action action_ = com.openxc.BinaryMessages.DiagnosticRequest.Action.ADD; + /** + * optional .openxc.DiagnosticRequest.Action action = 10; + */ + public boolean hasAction() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .openxc.DiagnosticRequest.Action action = 10; + */ + public com.openxc.BinaryMessages.DiagnosticRequest.Action getAction() { + return action_; + } + /** + * optional .openxc.DiagnosticRequest.Action action = 10; + */ + public Builder setAction(com.openxc.BinaryMessages.DiagnosticRequest.Action value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + action_ = value; + onChanged(); + return this; + } + /** + * optional .openxc.DiagnosticRequest.Action action = 10; + */ + public Builder clearAction() { + bitField0_ = (bitField0_ & ~0x00000200); + action_ = com.openxc.BinaryMessages.DiagnosticRequest.Action.ADD; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:openxc.DiagnosticRequest) } @@ -7485,27 +7667,31 @@ public final class BinaryMessages { "Request\"2\n\004Type\022\013\n\007VERSION\020\001\022\r\n\tDEVICE_I" + "D\020\002\022\016\n\nDIAGNOSTIC\020\003\"M\n\017CommandResponse\022)" + "\n\004type\030\001 \001(\0162\033.openxc.ControlCommand.Typ" + - "e\022\017\n\007message\030\002 \001(\t\"\275\001\n\021DiagnosticRequest" + + "e\022\017\n\007message\030\002 \001(\t\"\316\002\n\021DiagnosticRequest" + "\022\013\n\003bus\030\001 \001(\005\022\022\n\nmessage_id\030\002 \001(\r\022\014\n\004mod", "e\030\003 \001(\r\022\013\n\003pid\030\004 \001(\r\022\017\n\007payload\030\005 \001(\014\022\032\n" + - "\022multiple_responses\030\006 \001(\010\022\016\n\006factor\030\007 \001(" + - "\001\022\016\n\006offset\030\010 \001(\001\022\021\n\tfrequency\030\t \001(\001\022\014\n\004" + - "name\030\n \001(\t\"\241\001\n\022DiagnosticResponse\022\013\n\003bus" + - "\030\001 \001(\005\022\022\n\nmessage_id\030\002 \001(\r\022\014\n\004mode\030\003 \001(\r" + - "\022\013\n\003pid\030\004 \001(\r\022\017\n\007success\030\005 \001(\010\022\036\n\026negati" + - "ve_response_code\030\006 \001(\r\022\017\n\007payload\030\007 \001(\014\022" + - "\r\n\005value\030\010 \001(\001\"\242\001\n\014DynamicField\022\'\n\004type\030" + - "\001 \001(\0162\031.openxc.DynamicField.Type\022\024\n\014stri" + - "ng_value\030\002 \001(\t\022\025\n\rnumeric_value\030\003 \001(\001\022\025\n", - "\rboolean_value\030\004 \001(\010\"%\n\004Type\022\n\n\006STRING\020\001" + - "\022\007\n\003NUM\020\002\022\010\n\004BOOL\020\003\"\367\001\n\021TranslatedMessag" + - "e\022,\n\004type\030\001 \001(\0162\036.openxc.TranslatedMessa" + - "ge.Type\022\014\n\004name\030\002 \001(\t\022#\n\005value\030\003 \001(\0132\024.o" + - "penxc.DynamicField\022#\n\005event\030\004 \001(\0132\024.open" + - "xc.DynamicField\"\\\n\004Type\022\n\n\006STRING\020\001\022\007\n\003N" + - "UM\020\002\022\010\n\004BOOL\020\003\022\022\n\016EVENTED_STRING\020\004\022\017\n\013EV" + - "ENTED_NUM\020\005\022\020\n\014EVENTED_BOOL\020\006B\034\n\ncom.ope" + - "nxcB\016BinaryMessages" + "\022multiple_responses\030\006 \001(\010\022\021\n\tfrequency\030\007" + + " \001(\001\022\014\n\004name\030\010 \001(\t\022;\n\014decoded_type\030\t \001(\016" + + "2%.openxc.DiagnosticRequest.DecodedType\022" + + "0\n\006action\030\n \001(\0162 .openxc.DiagnosticReque" + + "st.Action\"!\n\013DecodedType\022\010\n\004NONE\020\001\022\010\n\004OB" + + "D2\020\002\"\035\n\006Action\022\007\n\003ADD\020\001\022\n\n\006CANCEL\020\003\"\241\001\n\022" + + "DiagnosticResponse\022\013\n\003bus\030\001 \001(\005\022\022\n\nmessa" + + "ge_id\030\002 \001(\r\022\014\n\004mode\030\003 \001(\r\022\013\n\003pid\030\004 \001(\r\022\017" + + "\n\007success\030\005 \001(\010\022\036\n\026negative_response_cod", + "e\030\006 \001(\r\022\017\n\007payload\030\007 \001(\014\022\r\n\005value\030\010 \001(\001\"" + + "\242\001\n\014DynamicField\022\'\n\004type\030\001 \001(\0162\031.openxc." + + "DynamicField.Type\022\024\n\014string_value\030\002 \001(\t\022" + + "\025\n\rnumeric_value\030\003 \001(\001\022\025\n\rboolean_value\030" + + "\004 \001(\010\"%\n\004Type\022\n\n\006STRING\020\001\022\007\n\003NUM\020\002\022\010\n\004BO" + + "OL\020\003\"\367\001\n\021TranslatedMessage\022,\n\004type\030\001 \001(\016" + + "2\036.openxc.TranslatedMessage.Type\022\014\n\004name" + + "\030\002 \001(\t\022#\n\005value\030\003 \001(\0132\024.openxc.DynamicFi" + + "eld\022#\n\005event\030\004 \001(\0132\024.openxc.DynamicField" + + "\"\\\n\004Type\022\n\n\006STRING\020\001\022\007\n\003NUM\020\002\022\010\n\004BOOL\020\003\022", + "\022\n\016EVENTED_STRING\020\004\022\017\n\013EVENTED_NUM\020\005\022\020\n\014" + + "EVENTED_BOOL\020\006B\034\n\ncom.openxcB\016BinaryMess" + + "ages" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -7541,7 +7727,7 @@ public final class BinaryMessages { internal_static_openxc_DiagnosticRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_openxc_DiagnosticRequest_descriptor, - new java.lang.String[] { "Bus", "MessageId", "Mode", "Pid", "Payload", "MultipleResponses", "Factor", "Offset", "Frequency", "Name", }); + new java.lang.String[] { "Bus", "MessageId", "Mode", "Pid", "Payload", "MultipleResponses", "Frequency", "Name", "DecodedType", "Action", }); internal_static_openxc_DiagnosticResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_openxc_DiagnosticResponse_fieldAccessorTable = new