diff --git a/gen/java/com/openxc/BinaryMessages.java b/gen/java/com/openxc/BinaryMessages.java
index bcf120c..ed3d676 100644
--- a/gen/java/com/openxc/BinaryMessages.java
+++ b/gen/java/com/openxc/BinaryMessages.java
@@ -20,19 +20,23 @@ public interface VehicleMessageOrBuilder extends
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return The type.
*/
com.openxc.BinaryMessages.VehicleMessage.Type getType();
/**
* .openxc.CanMessage can_message = 2;
+ * @return Whether the canMessage field is set.
*/
boolean hasCanMessage();
/**
* .openxc.CanMessage can_message = 2;
+ * @return The canMessage.
*/
com.openxc.BinaryMessages.CanMessage getCanMessage();
/**
@@ -42,10 +46,12 @@ public interface VehicleMessageOrBuilder extends
/**
* .openxc.SimpleMessage simple_message = 3;
+ * @return Whether the simpleMessage field is set.
*/
boolean hasSimpleMessage();
/**
* .openxc.SimpleMessage simple_message = 3;
+ * @return The simpleMessage.
*/
com.openxc.BinaryMessages.SimpleMessage getSimpleMessage();
/**
@@ -55,10 +61,12 @@ public interface VehicleMessageOrBuilder extends
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
+ * @return Whether the diagnosticResponse field is set.
*/
boolean hasDiagnosticResponse();
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
+ * @return The diagnosticResponse.
*/
com.openxc.BinaryMessages.DiagnosticResponse getDiagnosticResponse();
/**
@@ -68,10 +76,12 @@ public interface VehicleMessageOrBuilder extends
/**
* .openxc.ControlCommand control_command = 5;
+ * @return Whether the controlCommand field is set.
*/
boolean hasControlCommand();
/**
* .openxc.ControlCommand control_command = 5;
+ * @return The controlCommand.
*/
com.openxc.BinaryMessages.ControlCommand getControlCommand();
/**
@@ -81,10 +91,12 @@ public interface VehicleMessageOrBuilder extends
/**
* .openxc.CommandResponse command_response = 6;
+ * @return Whether the commandResponse field is set.
*/
boolean hasCommandResponse();
/**
* .openxc.CommandResponse command_response = 6;
+ * @return The commandResponse.
*/
com.openxc.BinaryMessages.CommandResponse getCommandResponse();
/**
@@ -94,36 +106,48 @@ public interface VehicleMessageOrBuilder extends
/**
* uint64 timestamp = 7;
+ * @return The timestamp.
*/
long getTimestamp();
}
/**
* Protobuf type {@code openxc.VehicleMessage}
*/
- public static final class VehicleMessage extends
+ public static final class VehicleMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.VehicleMessage)
VehicleMessageOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use VehicleMessage.newBuilder() to construct.
private VehicleMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VehicleMessage() {
type_ = 0;
- timestamp_ = 0L;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new VehicleMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private VehicleMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -132,12 +156,6 @@ private VehicleMessage(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
int rawValue = input.readEnum();
@@ -214,6 +232,13 @@ private VehicleMessage(
timestamp_ = input.readUInt64();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -222,6 +247,7 @@ private VehicleMessage(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -230,6 +256,7 @@ private VehicleMessage(
return com.openxc.BinaryMessages.internal_static_openxc_VehicleMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_VehicleMessage_fieldAccessorTable
@@ -304,6 +331,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -311,6 +340,10 @@ public static Type valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Type forNumber(int value) {
switch (value) {
case 0: return UNUSED;
@@ -337,6 +370,10 @@ public Type findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -375,14 +412,17 @@ private Type(int value) {
private int type_;
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return The type.
*/
- public com.openxc.BinaryMessages.VehicleMessage.Type getType() {
+ @java.lang.Override public com.openxc.BinaryMessages.VehicleMessage.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.VehicleMessage.Type result = com.openxc.BinaryMessages.VehicleMessage.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.VehicleMessage.Type.UNRECOGNIZED : result;
}
@@ -391,19 +431,24 @@ public com.openxc.BinaryMessages.VehicleMessage.Type getType() {
private com.openxc.BinaryMessages.CanMessage canMessage_;
/**
* .openxc.CanMessage can_message = 2;
+ * @return Whether the canMessage field is set.
*/
+ @java.lang.Override
public boolean hasCanMessage() {
return canMessage_ != null;
}
/**
* .openxc.CanMessage can_message = 2;
+ * @return The canMessage.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessage getCanMessage() {
return canMessage_ == null ? com.openxc.BinaryMessages.CanMessage.getDefaultInstance() : canMessage_;
}
/**
* .openxc.CanMessage can_message = 2;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessageOrBuilder getCanMessageOrBuilder() {
return getCanMessage();
}
@@ -412,19 +457,24 @@ public com.openxc.BinaryMessages.CanMessageOrBuilder getCanMessageOrBuilder() {
private com.openxc.BinaryMessages.SimpleMessage simpleMessage_;
/**
* .openxc.SimpleMessage simple_message = 3;
+ * @return Whether the simpleMessage field is set.
*/
+ @java.lang.Override
public boolean hasSimpleMessage() {
return simpleMessage_ != null;
}
/**
* .openxc.SimpleMessage simple_message = 3;
+ * @return The simpleMessage.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.SimpleMessage getSimpleMessage() {
return simpleMessage_ == null ? com.openxc.BinaryMessages.SimpleMessage.getDefaultInstance() : simpleMessage_;
}
/**
* .openxc.SimpleMessage simple_message = 3;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.SimpleMessageOrBuilder getSimpleMessageOrBuilder() {
return getSimpleMessage();
}
@@ -433,19 +483,24 @@ public com.openxc.BinaryMessages.SimpleMessageOrBuilder getSimpleMessageOrBuilde
private com.openxc.BinaryMessages.DiagnosticResponse diagnosticResponse_;
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
+ * @return Whether the diagnosticResponse field is set.
*/
+ @java.lang.Override
public boolean hasDiagnosticResponse() {
return diagnosticResponse_ != null;
}
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
+ * @return The diagnosticResponse.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticResponse getDiagnosticResponse() {
return diagnosticResponse_ == null ? com.openxc.BinaryMessages.DiagnosticResponse.getDefaultInstance() : diagnosticResponse_;
}
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticResponseOrBuilder getDiagnosticResponseOrBuilder() {
return getDiagnosticResponse();
}
@@ -454,19 +509,24 @@ public com.openxc.BinaryMessages.DiagnosticResponseOrBuilder getDiagnosticRespon
private com.openxc.BinaryMessages.ControlCommand controlCommand_;
/**
* .openxc.ControlCommand control_command = 5;
+ * @return Whether the controlCommand field is set.
*/
+ @java.lang.Override
public boolean hasControlCommand() {
return controlCommand_ != null;
}
/**
* .openxc.ControlCommand control_command = 5;
+ * @return The controlCommand.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand getControlCommand() {
return controlCommand_ == null ? com.openxc.BinaryMessages.ControlCommand.getDefaultInstance() : controlCommand_;
}
/**
* .openxc.ControlCommand control_command = 5;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommandOrBuilder getControlCommandOrBuilder() {
return getControlCommand();
}
@@ -475,19 +535,24 @@ public com.openxc.BinaryMessages.ControlCommandOrBuilder getControlCommandOrBuil
private com.openxc.BinaryMessages.CommandResponse commandResponse_;
/**
* .openxc.CommandResponse command_response = 6;
+ * @return Whether the commandResponse field is set.
*/
+ @java.lang.Override
public boolean hasCommandResponse() {
return commandResponse_ != null;
}
/**
* .openxc.CommandResponse command_response = 6;
+ * @return The commandResponse.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.CommandResponse getCommandResponse() {
return commandResponse_ == null ? com.openxc.BinaryMessages.CommandResponse.getDefaultInstance() : commandResponse_;
}
/**
* .openxc.CommandResponse command_response = 6;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.CommandResponseOrBuilder getCommandResponseOrBuilder() {
return getCommandResponse();
}
@@ -496,12 +561,15 @@ public com.openxc.BinaryMessages.CommandResponseOrBuilder getCommandResponseOrBu
private long timestamp_;
/**
* uint64 timestamp = 7;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -511,6 +579,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (type_ != com.openxc.BinaryMessages.VehicleMessage.Type.UNUSED.getNumber()) {
@@ -534,8 +603,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (timestamp_ != 0L) {
output.writeUInt64(7, timestamp_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -569,11 +640,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, timestamp_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -584,36 +655,36 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.VehicleMessage other = (com.openxc.BinaryMessages.VehicleMessage) obj;
- boolean result = true;
- result = result && type_ == other.type_;
- result = result && (hasCanMessage() == other.hasCanMessage());
+ if (type_ != other.type_) return false;
+ if (hasCanMessage() != other.hasCanMessage()) return false;
if (hasCanMessage()) {
- result = result && getCanMessage()
- .equals(other.getCanMessage());
+ if (!getCanMessage()
+ .equals(other.getCanMessage())) return false;
}
- result = result && (hasSimpleMessage() == other.hasSimpleMessage());
+ if (hasSimpleMessage() != other.hasSimpleMessage()) return false;
if (hasSimpleMessage()) {
- result = result && getSimpleMessage()
- .equals(other.getSimpleMessage());
+ if (!getSimpleMessage()
+ .equals(other.getSimpleMessage())) return false;
}
- result = result && (hasDiagnosticResponse() == other.hasDiagnosticResponse());
+ if (hasDiagnosticResponse() != other.hasDiagnosticResponse()) return false;
if (hasDiagnosticResponse()) {
- result = result && getDiagnosticResponse()
- .equals(other.getDiagnosticResponse());
+ if (!getDiagnosticResponse()
+ .equals(other.getDiagnosticResponse())) return false;
}
- result = result && (hasControlCommand() == other.hasControlCommand());
+ if (hasControlCommand() != other.hasControlCommand()) return false;
if (hasControlCommand()) {
- result = result && getControlCommand()
- .equals(other.getControlCommand());
+ if (!getControlCommand()
+ .equals(other.getControlCommand())) return false;
}
- result = result && (hasCommandResponse() == other.hasCommandResponse());
+ if (hasCommandResponse() != other.hasCommandResponse()) return false;
if (hasCommandResponse()) {
- result = result && getCommandResponse()
- .equals(other.getCommandResponse());
+ if (!getCommandResponse()
+ .equals(other.getCommandResponse())) return false;
}
- result = result && (getTimestamp()
- == other.getTimestamp());
- return result;
+ if (getTimestamp()
+ != other.getTimestamp()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -653,6 +724,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.VehicleMessage parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.VehicleMessage parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.VehicleMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -712,6 +794,7 @@ public static com.openxc.BinaryMessages.VehicleMessage parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -719,6 +802,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.VehicleMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -742,6 +826,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_VehicleMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_VehicleMessage_fieldAccessorTable
@@ -764,6 +849,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
type_ = 0;
@@ -803,15 +889,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_VehicleMessage_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.VehicleMessage getDefaultInstanceForType() {
return com.openxc.BinaryMessages.VehicleMessage.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.VehicleMessage build() {
com.openxc.BinaryMessages.VehicleMessage result = buildPartial();
if (!result.isInitialized()) {
@@ -820,6 +909,7 @@ public com.openxc.BinaryMessages.VehicleMessage build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.VehicleMessage buildPartial() {
com.openxc.BinaryMessages.VehicleMessage result = new com.openxc.BinaryMessages.VehicleMessage(this);
result.type_ = type_;
@@ -853,32 +943,39 @@ public com.openxc.BinaryMessages.VehicleMessage buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.VehicleMessage) {
return mergeFrom((com.openxc.BinaryMessages.VehicleMessage)other);
@@ -911,14 +1008,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.VehicleMessage other) {
if (other.getTimestamp() != 0L) {
setTimestamp(other.getTimestamp());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -940,27 +1040,36 @@ public Builder mergeFrom(
private int type_ = 0;
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
}
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return The type.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.VehicleMessage.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.VehicleMessage.Type result = com.openxc.BinaryMessages.VehicleMessage.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.VehicleMessage.Type.UNRECOGNIZED : result;
}
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.openxc.BinaryMessages.VehicleMessage.Type value) {
if (value == null) {
@@ -973,6 +1082,7 @@ public Builder setType(com.openxc.BinaryMessages.VehicleMessage.Type value) {
}
/**
* .openxc.VehicleMessage.Type type = 1;
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -981,17 +1091,19 @@ public Builder clearType() {
return this;
}
- private com.openxc.BinaryMessages.CanMessage canMessage_ = null;
+ private com.openxc.BinaryMessages.CanMessage canMessage_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.CanMessage, com.openxc.BinaryMessages.CanMessage.Builder, com.openxc.BinaryMessages.CanMessageOrBuilder> canMessageBuilder_;
/**
* .openxc.CanMessage can_message = 2;
+ * @return Whether the canMessage field is set.
*/
public boolean hasCanMessage() {
return canMessageBuilder_ != null || canMessage_ != null;
}
/**
* .openxc.CanMessage can_message = 2;
+ * @return The canMessage.
*/
public com.openxc.BinaryMessages.CanMessage getCanMessage() {
if (canMessageBuilder_ == null) {
@@ -1098,17 +1210,19 @@ public com.openxc.BinaryMessages.CanMessageOrBuilder getCanMessageOrBuilder() {
return canMessageBuilder_;
}
- private com.openxc.BinaryMessages.SimpleMessage simpleMessage_ = null;
+ private com.openxc.BinaryMessages.SimpleMessage simpleMessage_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.SimpleMessage, com.openxc.BinaryMessages.SimpleMessage.Builder, com.openxc.BinaryMessages.SimpleMessageOrBuilder> simpleMessageBuilder_;
/**
* .openxc.SimpleMessage simple_message = 3;
+ * @return Whether the simpleMessage field is set.
*/
public boolean hasSimpleMessage() {
return simpleMessageBuilder_ != null || simpleMessage_ != null;
}
/**
* .openxc.SimpleMessage simple_message = 3;
+ * @return The simpleMessage.
*/
public com.openxc.BinaryMessages.SimpleMessage getSimpleMessage() {
if (simpleMessageBuilder_ == null) {
@@ -1215,17 +1329,19 @@ public com.openxc.BinaryMessages.SimpleMessageOrBuilder getSimpleMessageOrBuilde
return simpleMessageBuilder_;
}
- private com.openxc.BinaryMessages.DiagnosticResponse diagnosticResponse_ = null;
+ private com.openxc.BinaryMessages.DiagnosticResponse diagnosticResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.DiagnosticResponse, com.openxc.BinaryMessages.DiagnosticResponse.Builder, com.openxc.BinaryMessages.DiagnosticResponseOrBuilder> diagnosticResponseBuilder_;
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
+ * @return Whether the diagnosticResponse field is set.
*/
public boolean hasDiagnosticResponse() {
return diagnosticResponseBuilder_ != null || diagnosticResponse_ != null;
}
/**
* .openxc.DiagnosticResponse diagnostic_response = 4;
+ * @return The diagnosticResponse.
*/
public com.openxc.BinaryMessages.DiagnosticResponse getDiagnosticResponse() {
if (diagnosticResponseBuilder_ == null) {
@@ -1332,17 +1448,19 @@ public com.openxc.BinaryMessages.DiagnosticResponseOrBuilder getDiagnosticRespon
return diagnosticResponseBuilder_;
}
- private com.openxc.BinaryMessages.ControlCommand controlCommand_ = null;
+ private com.openxc.BinaryMessages.ControlCommand controlCommand_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.ControlCommand, com.openxc.BinaryMessages.ControlCommand.Builder, com.openxc.BinaryMessages.ControlCommandOrBuilder> controlCommandBuilder_;
/**
* .openxc.ControlCommand control_command = 5;
+ * @return Whether the controlCommand field is set.
*/
public boolean hasControlCommand() {
return controlCommandBuilder_ != null || controlCommand_ != null;
}
/**
* .openxc.ControlCommand control_command = 5;
+ * @return The controlCommand.
*/
public com.openxc.BinaryMessages.ControlCommand getControlCommand() {
if (controlCommandBuilder_ == null) {
@@ -1449,17 +1567,19 @@ public com.openxc.BinaryMessages.ControlCommandOrBuilder getControlCommandOrBuil
return controlCommandBuilder_;
}
- private com.openxc.BinaryMessages.CommandResponse commandResponse_ = null;
+ private com.openxc.BinaryMessages.CommandResponse commandResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.CommandResponse, com.openxc.BinaryMessages.CommandResponse.Builder, com.openxc.BinaryMessages.CommandResponseOrBuilder> commandResponseBuilder_;
/**
* .openxc.CommandResponse command_response = 6;
+ * @return Whether the commandResponse field is set.
*/
public boolean hasCommandResponse() {
return commandResponseBuilder_ != null || commandResponse_ != null;
}
/**
* .openxc.CommandResponse command_response = 6;
+ * @return The commandResponse.
*/
public com.openxc.BinaryMessages.CommandResponse getCommandResponse() {
if (commandResponseBuilder_ == null) {
@@ -1569,12 +1689,16 @@ public com.openxc.BinaryMessages.CommandResponseOrBuilder getCommandResponseOrBu
private long timestamp_ ;
/**
* uint64 timestamp = 7;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
/**
* uint64 timestamp = 7;
+ * @param value The timestamp to set.
+ * @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
@@ -1584,6 +1708,7 @@ public Builder setTimestamp(long value) {
}
/**
* uint64 timestamp = 7;
+ * @return This builder for chaining.
*/
public Builder clearTimestamp() {
@@ -1591,14 +1716,16 @@ public Builder clearTimestamp() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -1617,11 +1744,12 @@ public static com.openxc.BinaryMessages.VehicleMessage getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public VehicleMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new VehicleMessage(input, extensionRegistry);
+ return new VehicleMessage(input, extensionRegistry);
}
};
@@ -1634,6 +1762,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.VehicleMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -1646,57 +1775,72 @@ public interface CanMessageOrBuilder extends
/**
* int32 bus = 1;
+ * @return The bus.
*/
int getBus();
/**
* uint32 id = 2;
+ * @return The id.
*/
int getId();
/**
* bytes data = 3;
+ * @return The data.
*/
com.google.protobuf.ByteString getData();
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return The enum numeric value on the wire for frameFormat.
*/
int getFrameFormatValue();
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return The frameFormat.
*/
com.openxc.BinaryMessages.CanMessage.FrameFormat getFrameFormat();
}
/**
* Protobuf type {@code openxc.CanMessage}
*/
- public static final class CanMessage extends
+ public static final class CanMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.CanMessage)
CanMessageOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use CanMessage.newBuilder() to construct.
private CanMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CanMessage() {
- bus_ = 0;
- id_ = 0;
data_ = com.google.protobuf.ByteString.EMPTY;
frameFormat_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new CanMessage();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private CanMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -1705,12 +1849,6 @@ private CanMessage(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
bus_ = input.readInt32();
@@ -1732,6 +1870,13 @@ private CanMessage(
frameFormat_ = rawValue;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1740,6 +1885,7 @@ private CanMessage(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -1748,6 +1894,7 @@ private CanMessage(
return com.openxc.BinaryMessages.internal_static_openxc_CanMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_CanMessage_fieldAccessorTable
@@ -1798,6 +1945,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -1805,6 +1954,10 @@ public static FrameFormat valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static FrameFormat forNumber(int value) {
switch (value) {
case 0: return UNUSED;
@@ -1828,6 +1981,10 @@ public FrameFormat findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -1866,7 +2023,9 @@ private FrameFormat(int value) {
private int bus_;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
@@ -1875,7 +2034,9 @@ public int getBus() {
private int id_;
/**
* uint32 id = 2;
+ * @return The id.
*/
+ @java.lang.Override
public int getId() {
return id_;
}
@@ -1884,7 +2045,9 @@ public int getId() {
private com.google.protobuf.ByteString data_;
/**
* bytes data = 3;
+ * @return The data.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
@@ -1893,19 +2056,23 @@ public com.google.protobuf.ByteString getData() {
private int frameFormat_;
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return The enum numeric value on the wire for frameFormat.
*/
- public int getFrameFormatValue() {
+ @java.lang.Override public int getFrameFormatValue() {
return frameFormat_;
}
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return The frameFormat.
*/
- public com.openxc.BinaryMessages.CanMessage.FrameFormat getFrameFormat() {
+ @java.lang.Override public com.openxc.BinaryMessages.CanMessage.FrameFormat getFrameFormat() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.CanMessage.FrameFormat result = com.openxc.BinaryMessages.CanMessage.FrameFormat.valueOf(frameFormat_);
return result == null ? com.openxc.BinaryMessages.CanMessage.FrameFormat.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -1915,6 +2082,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (bus_ != 0) {
@@ -1929,8 +2097,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (frameFormat_ != com.openxc.BinaryMessages.CanMessage.FrameFormat.UNUSED.getNumber()) {
output.writeEnum(4, frameFormat_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -1952,11 +2122,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, frameFormat_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -1967,15 +2137,15 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.CanMessage other = (com.openxc.BinaryMessages.CanMessage) obj;
- boolean result = true;
- result = result && (getBus()
- == other.getBus());
- result = result && (getId()
- == other.getId());
- result = result && getData()
- .equals(other.getData());
- result = result && frameFormat_ == other.frameFormat_;
- return result;
+ if (getBus()
+ != other.getBus()) return false;
+ if (getId()
+ != other.getId()) return false;
+ if (!getData()
+ .equals(other.getData())) return false;
+ if (frameFormat_ != other.frameFormat_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -1998,6 +2168,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.CanMessage parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.CanMessage parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.CanMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -2057,6 +2238,7 @@ public static com.openxc.BinaryMessages.CanMessage parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -2064,6 +2246,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.CanMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -2087,6 +2270,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_CanMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_CanMessage_fieldAccessorTable
@@ -2109,6 +2293,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
bus_ = 0;
@@ -2122,15 +2307,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_CanMessage_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessage getDefaultInstanceForType() {
return com.openxc.BinaryMessages.CanMessage.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessage build() {
com.openxc.BinaryMessages.CanMessage result = buildPartial();
if (!result.isInitialized()) {
@@ -2139,6 +2327,7 @@ public com.openxc.BinaryMessages.CanMessage build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessage buildPartial() {
com.openxc.BinaryMessages.CanMessage result = new com.openxc.BinaryMessages.CanMessage(this);
result.bus_ = bus_;
@@ -2149,32 +2338,39 @@ public com.openxc.BinaryMessages.CanMessage buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.CanMessage) {
return mergeFrom((com.openxc.BinaryMessages.CanMessage)other);
@@ -2198,14 +2394,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.CanMessage other) {
if (other.frameFormat_ != 0) {
setFrameFormatValue(other.getFrameFormatValue());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2227,12 +2426,16 @@ public Builder mergeFrom(
private int bus_ ;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
/**
* int32 bus = 1;
+ * @param value The bus to set.
+ * @return This builder for chaining.
*/
public Builder setBus(int value) {
@@ -2242,6 +2445,7 @@ public Builder setBus(int value) {
}
/**
* int32 bus = 1;
+ * @return This builder for chaining.
*/
public Builder clearBus() {
@@ -2253,12 +2457,16 @@ public Builder clearBus() {
private int id_ ;
/**
* uint32 id = 2;
+ * @return The id.
*/
+ @java.lang.Override
public int getId() {
return id_;
}
/**
* uint32 id = 2;
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(int value) {
@@ -2268,6 +2476,7 @@ public Builder setId(int value) {
}
/**
* uint32 id = 2;
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -2279,12 +2488,16 @@ public Builder clearId() {
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes data = 3;
+ * @return The data.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* bytes data = 3;
+ * @param value The data to set.
+ * @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2297,6 +2510,7 @@ public Builder setData(com.google.protobuf.ByteString value) {
}
/**
* bytes data = 3;
+ * @return This builder for chaining.
*/
public Builder clearData() {
@@ -2308,27 +2522,36 @@ public Builder clearData() {
private int frameFormat_ = 0;
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return The enum numeric value on the wire for frameFormat.
*/
- public int getFrameFormatValue() {
+ @java.lang.Override public int getFrameFormatValue() {
return frameFormat_;
}
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @param value The enum numeric value on the wire for frameFormat to set.
+ * @return This builder for chaining.
*/
public Builder setFrameFormatValue(int value) {
+
frameFormat_ = value;
onChanged();
return this;
}
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return The frameFormat.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessage.FrameFormat getFrameFormat() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.CanMessage.FrameFormat result = com.openxc.BinaryMessages.CanMessage.FrameFormat.valueOf(frameFormat_);
return result == null ? com.openxc.BinaryMessages.CanMessage.FrameFormat.UNRECOGNIZED : result;
}
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @param value The frameFormat to set.
+ * @return This builder for chaining.
*/
public Builder setFrameFormat(com.openxc.BinaryMessages.CanMessage.FrameFormat value) {
if (value == null) {
@@ -2341,6 +2564,7 @@ public Builder setFrameFormat(com.openxc.BinaryMessages.CanMessage.FrameFormat v
}
/**
* .openxc.CanMessage.FrameFormat frame_format = 4;
+ * @return This builder for chaining.
*/
public Builder clearFrameFormat() {
@@ -2348,14 +2572,16 @@ public Builder clearFrameFormat() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -2374,11 +2600,12 @@ public static com.openxc.BinaryMessages.CanMessage getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public CanMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new CanMessage(input, extensionRegistry);
+ return new CanMessage(input, extensionRegistry);
}
};
@@ -2391,6 +2618,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CanMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -2403,19 +2631,23 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The type.
*/
com.openxc.BinaryMessages.ControlCommand.Type getType();
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
+ * @return Whether the diagnosticRequest field is set.
*/
boolean hasDiagnosticRequest();
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
+ * @return The diagnosticRequest.
*/
com.openxc.BinaryMessages.DiagnosticControlCommand getDiagnosticRequest();
/**
@@ -2425,10 +2657,12 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
+ * @return Whether the passthroughModeRequest field is set.
*/
boolean hasPassthroughModeRequest();
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
+ * @return The passthroughModeRequest.
*/
com.openxc.BinaryMessages.PassthroughModeControlCommand getPassthroughModeRequest();
/**
@@ -2438,10 +2672,12 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ * @return Whether the acceptanceFilterBypassCommand field is set.
*/
boolean hasAcceptanceFilterBypassCommand();
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ * @return The acceptanceFilterBypassCommand.
*/
com.openxc.BinaryMessages.AcceptanceFilterBypassCommand getAcceptanceFilterBypassCommand();
/**
@@ -2451,10 +2687,12 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
+ * @return Whether the payloadFormatCommand field is set.
*/
boolean hasPayloadFormatCommand();
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
+ * @return The payloadFormatCommand.
*/
com.openxc.BinaryMessages.PayloadFormatCommand getPayloadFormatCommand();
/**
@@ -2464,10 +2702,12 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
+ * @return Whether the predefinedObd2RequestsCommand field is set.
*/
boolean hasPredefinedObd2RequestsCommand();
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
+ * @return The predefinedObd2RequestsCommand.
*/
com.openxc.BinaryMessages.PredefinedObd2RequestsCommand getPredefinedObd2RequestsCommand();
/**
@@ -2477,10 +2717,12 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
+ * @return Whether the modemConfigurationCommand field is set.
*/
boolean hasModemConfigurationCommand();
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
+ * @return The modemConfigurationCommand.
*/
com.openxc.BinaryMessages.ModemConfigurationCommand getModemConfigurationCommand();
/**
@@ -2490,10 +2732,12 @@ public interface ControlCommandOrBuilder extends
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
+ * @return Whether the rtcConfigurationCommand field is set.
*/
boolean hasRtcConfigurationCommand();
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
+ * @return The rtcConfigurationCommand.
*/
com.openxc.BinaryMessages.RTCConfigurationCommand getRtcConfigurationCommand();
/**
@@ -2504,10 +2748,11 @@ public interface ControlCommandOrBuilder extends
/**
* Protobuf type {@code openxc.ControlCommand}
*/
- public static final class ControlCommand extends
+ public static final class ControlCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.ControlCommand)
ControlCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use ControlCommand.newBuilder() to construct.
private ControlCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -2516,17 +2761,28 @@ private ControlCommand() {
type_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ControlCommand();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private ControlCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -2535,12 +2791,6 @@ private ControlCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
int rawValue = input.readEnum();
@@ -2638,6 +2888,13 @@ private ControlCommand(
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2646,6 +2903,7 @@ private ControlCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -2654,6 +2912,7 @@ private ControlCommand(
return com.openxc.BinaryMessages.internal_static_openxc_ControlCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_ControlCommand_fieldAccessorTable
@@ -2714,6 +2973,10 @@ public enum Type
* PLATFORM = 11;
*/
PLATFORM(11),
+ /**
+ * GET_VIN = 12;
+ */
+ GET_VIN(12),
UNRECOGNIZED(-1),
;
@@ -2765,6 +3028,10 @@ public enum Type
* PLATFORM = 11;
*/
public static final int PLATFORM_VALUE = 11;
+ /**
+ * GET_VIN = 12;
+ */
+ public static final int GET_VIN_VALUE = 12;
public final int getNumber() {
@@ -2776,6 +3043,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -2783,6 +3052,10 @@ public static Type valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Type forNumber(int value) {
switch (value) {
case 0: return UNUSED;
@@ -2797,6 +3070,7 @@ public static Type forNumber(int value) {
case 9: return RTC_CONFIGURATION;
case 10: return SD_MOUNT_STATUS;
case 11: return PLATFORM;
+ case 12: return GET_VIN;
default: return null;
}
}
@@ -2815,6 +3089,10 @@ public Type findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -2853,14 +3131,17 @@ private Type(int value) {
private int type_;
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The type.
*/
- public com.openxc.BinaryMessages.ControlCommand.Type getType() {
+ @java.lang.Override public com.openxc.BinaryMessages.ControlCommand.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.ControlCommand.Type result = com.openxc.BinaryMessages.ControlCommand.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.ControlCommand.Type.UNRECOGNIZED : result;
}
@@ -2869,19 +3150,24 @@ public com.openxc.BinaryMessages.ControlCommand.Type getType() {
private com.openxc.BinaryMessages.DiagnosticControlCommand diagnosticRequest_;
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
+ * @return Whether the diagnosticRequest field is set.
*/
+ @java.lang.Override
public boolean hasDiagnosticRequest() {
return diagnosticRequest_ != null;
}
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
+ * @return The diagnosticRequest.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommand getDiagnosticRequest() {
return diagnosticRequest_ == null ? com.openxc.BinaryMessages.DiagnosticControlCommand.getDefaultInstance() : diagnosticRequest_;
}
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommandOrBuilder getDiagnosticRequestOrBuilder() {
return getDiagnosticRequest();
}
@@ -2890,19 +3176,24 @@ public com.openxc.BinaryMessages.DiagnosticControlCommandOrBuilder getDiagnostic
private com.openxc.BinaryMessages.PassthroughModeControlCommand passthroughModeRequest_;
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
+ * @return Whether the passthroughModeRequest field is set.
*/
+ @java.lang.Override
public boolean hasPassthroughModeRequest() {
return passthroughModeRequest_ != null;
}
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
+ * @return The passthroughModeRequest.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PassthroughModeControlCommand getPassthroughModeRequest() {
return passthroughModeRequest_ == null ? com.openxc.BinaryMessages.PassthroughModeControlCommand.getDefaultInstance() : passthroughModeRequest_;
}
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PassthroughModeControlCommandOrBuilder getPassthroughModeRequestOrBuilder() {
return getPassthroughModeRequest();
}
@@ -2911,19 +3202,24 @@ public com.openxc.BinaryMessages.PassthroughModeControlCommandOrBuilder getPasst
private com.openxc.BinaryMessages.AcceptanceFilterBypassCommand acceptanceFilterBypassCommand_;
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ * @return Whether the acceptanceFilterBypassCommand field is set.
*/
+ @java.lang.Override
public boolean hasAcceptanceFilterBypassCommand() {
return acceptanceFilterBypassCommand_ != null;
}
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ * @return The acceptanceFilterBypassCommand.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand getAcceptanceFilterBypassCommand() {
return acceptanceFilterBypassCommand_ == null ? com.openxc.BinaryMessages.AcceptanceFilterBypassCommand.getDefaultInstance() : acceptanceFilterBypassCommand_;
}
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommandOrBuilder getAcceptanceFilterBypassCommandOrBuilder() {
return getAcceptanceFilterBypassCommand();
}
@@ -2932,19 +3228,24 @@ public com.openxc.BinaryMessages.AcceptanceFilterBypassCommandOrBuilder getAccep
private com.openxc.BinaryMessages.PayloadFormatCommand payloadFormatCommand_;
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
+ * @return Whether the payloadFormatCommand field is set.
*/
+ @java.lang.Override
public boolean hasPayloadFormatCommand() {
return payloadFormatCommand_ != null;
}
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
+ * @return The payloadFormatCommand.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommand getPayloadFormatCommand() {
return payloadFormatCommand_ == null ? com.openxc.BinaryMessages.PayloadFormatCommand.getDefaultInstance() : payloadFormatCommand_;
}
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommandOrBuilder getPayloadFormatCommandOrBuilder() {
return getPayloadFormatCommand();
}
@@ -2953,19 +3254,24 @@ public com.openxc.BinaryMessages.PayloadFormatCommandOrBuilder getPayloadFormatC
private com.openxc.BinaryMessages.PredefinedObd2RequestsCommand predefinedObd2RequestsCommand_;
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
+ * @return Whether the predefinedObd2RequestsCommand field is set.
*/
+ @java.lang.Override
public boolean hasPredefinedObd2RequestsCommand() {
return predefinedObd2RequestsCommand_ != null;
}
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
+ * @return The predefinedObd2RequestsCommand.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand getPredefinedObd2RequestsCommand() {
return predefinedObd2RequestsCommand_ == null ? com.openxc.BinaryMessages.PredefinedObd2RequestsCommand.getDefaultInstance() : predefinedObd2RequestsCommand_;
}
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommandOrBuilder getPredefinedObd2RequestsCommandOrBuilder() {
return getPredefinedObd2RequestsCommand();
}
@@ -2974,19 +3280,24 @@ public com.openxc.BinaryMessages.PredefinedObd2RequestsCommandOrBuilder getPrede
private com.openxc.BinaryMessages.ModemConfigurationCommand modemConfigurationCommand_;
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
+ * @return Whether the modemConfigurationCommand field is set.
*/
+ @java.lang.Override
public boolean hasModemConfigurationCommand() {
return modemConfigurationCommand_ != null;
}
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
+ * @return The modemConfigurationCommand.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ModemConfigurationCommand getModemConfigurationCommand() {
return modemConfigurationCommand_ == null ? com.openxc.BinaryMessages.ModemConfigurationCommand.getDefaultInstance() : modemConfigurationCommand_;
}
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ModemConfigurationCommandOrBuilder getModemConfigurationCommandOrBuilder() {
return getModemConfigurationCommand();
}
@@ -2995,24 +3306,30 @@ public com.openxc.BinaryMessages.ModemConfigurationCommandOrBuilder getModemConf
private com.openxc.BinaryMessages.RTCConfigurationCommand rtcConfigurationCommand_;
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
+ * @return Whether the rtcConfigurationCommand field is set.
*/
+ @java.lang.Override
public boolean hasRtcConfigurationCommand() {
return rtcConfigurationCommand_ != null;
}
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
+ * @return The rtcConfigurationCommand.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.RTCConfigurationCommand getRtcConfigurationCommand() {
return rtcConfigurationCommand_ == null ? com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance() : rtcConfigurationCommand_;
}
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.RTCConfigurationCommandOrBuilder getRtcConfigurationCommandOrBuilder() {
return getRtcConfigurationCommand();
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -3022,6 +3339,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (type_ != com.openxc.BinaryMessages.ControlCommand.Type.UNUSED.getNumber()) {
@@ -3048,8 +3366,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (rtcConfigurationCommand_ != null) {
output.writeMessage(8, getRtcConfigurationCommand());
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -3087,11 +3407,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getRtcConfigurationCommand());
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -3102,44 +3422,44 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.ControlCommand other = (com.openxc.BinaryMessages.ControlCommand) obj;
- boolean result = true;
- result = result && type_ == other.type_;
- result = result && (hasDiagnosticRequest() == other.hasDiagnosticRequest());
+ if (type_ != other.type_) return false;
+ if (hasDiagnosticRequest() != other.hasDiagnosticRequest()) return false;
if (hasDiagnosticRequest()) {
- result = result && getDiagnosticRequest()
- .equals(other.getDiagnosticRequest());
+ if (!getDiagnosticRequest()
+ .equals(other.getDiagnosticRequest())) return false;
}
- result = result && (hasPassthroughModeRequest() == other.hasPassthroughModeRequest());
+ if (hasPassthroughModeRequest() != other.hasPassthroughModeRequest()) return false;
if (hasPassthroughModeRequest()) {
- result = result && getPassthroughModeRequest()
- .equals(other.getPassthroughModeRequest());
+ if (!getPassthroughModeRequest()
+ .equals(other.getPassthroughModeRequest())) return false;
}
- result = result && (hasAcceptanceFilterBypassCommand() == other.hasAcceptanceFilterBypassCommand());
+ if (hasAcceptanceFilterBypassCommand() != other.hasAcceptanceFilterBypassCommand()) return false;
if (hasAcceptanceFilterBypassCommand()) {
- result = result && getAcceptanceFilterBypassCommand()
- .equals(other.getAcceptanceFilterBypassCommand());
+ if (!getAcceptanceFilterBypassCommand()
+ .equals(other.getAcceptanceFilterBypassCommand())) return false;
}
- result = result && (hasPayloadFormatCommand() == other.hasPayloadFormatCommand());
+ if (hasPayloadFormatCommand() != other.hasPayloadFormatCommand()) return false;
if (hasPayloadFormatCommand()) {
- result = result && getPayloadFormatCommand()
- .equals(other.getPayloadFormatCommand());
+ if (!getPayloadFormatCommand()
+ .equals(other.getPayloadFormatCommand())) return false;
}
- result = result && (hasPredefinedObd2RequestsCommand() == other.hasPredefinedObd2RequestsCommand());
+ if (hasPredefinedObd2RequestsCommand() != other.hasPredefinedObd2RequestsCommand()) return false;
if (hasPredefinedObd2RequestsCommand()) {
- result = result && getPredefinedObd2RequestsCommand()
- .equals(other.getPredefinedObd2RequestsCommand());
+ if (!getPredefinedObd2RequestsCommand()
+ .equals(other.getPredefinedObd2RequestsCommand())) return false;
}
- result = result && (hasModemConfigurationCommand() == other.hasModemConfigurationCommand());
+ if (hasModemConfigurationCommand() != other.hasModemConfigurationCommand()) return false;
if (hasModemConfigurationCommand()) {
- result = result && getModemConfigurationCommand()
- .equals(other.getModemConfigurationCommand());
+ if (!getModemConfigurationCommand()
+ .equals(other.getModemConfigurationCommand())) return false;
}
- result = result && (hasRtcConfigurationCommand() == other.hasRtcConfigurationCommand());
+ if (hasRtcConfigurationCommand() != other.hasRtcConfigurationCommand()) return false;
if (hasRtcConfigurationCommand()) {
- result = result && getRtcConfigurationCommand()
- .equals(other.getRtcConfigurationCommand());
+ if (!getRtcConfigurationCommand()
+ .equals(other.getRtcConfigurationCommand())) return false;
}
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -3184,6 +3504,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.ControlCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.ControlCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.ControlCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -3243,6 +3574,7 @@ public static com.openxc.BinaryMessages.ControlCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -3250,6 +3582,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.ControlCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -3273,6 +3606,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_ControlCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_ControlCommand_fieldAccessorTable
@@ -3295,6 +3629,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
type_ = 0;
@@ -3344,15 +3679,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_ControlCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.ControlCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand build() {
com.openxc.BinaryMessages.ControlCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -3361,6 +3699,7 @@ public com.openxc.BinaryMessages.ControlCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand buildPartial() {
com.openxc.BinaryMessages.ControlCommand result = new com.openxc.BinaryMessages.ControlCommand(this);
result.type_ = type_;
@@ -3403,32 +3742,39 @@ public com.openxc.BinaryMessages.ControlCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.ControlCommand) {
return mergeFrom((com.openxc.BinaryMessages.ControlCommand)other);
@@ -3464,14 +3810,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.ControlCommand other) {
if (other.hasRtcConfigurationCommand()) {
mergeRtcConfigurationCommand(other.getRtcConfigurationCommand());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3493,27 +3842,36 @@ public Builder mergeFrom(
private int type_ = 0;
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The type.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.ControlCommand.Type result = com.openxc.BinaryMessages.ControlCommand.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.ControlCommand.Type.UNRECOGNIZED : result;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.openxc.BinaryMessages.ControlCommand.Type value) {
if (value == null) {
@@ -3526,6 +3884,7 @@ public Builder setType(com.openxc.BinaryMessages.ControlCommand.Type value) {
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -3534,17 +3893,19 @@ public Builder clearType() {
return this;
}
- private com.openxc.BinaryMessages.DiagnosticControlCommand diagnosticRequest_ = null;
+ private com.openxc.BinaryMessages.DiagnosticControlCommand diagnosticRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.DiagnosticControlCommand, com.openxc.BinaryMessages.DiagnosticControlCommand.Builder, com.openxc.BinaryMessages.DiagnosticControlCommandOrBuilder> diagnosticRequestBuilder_;
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
+ * @return Whether the diagnosticRequest field is set.
*/
public boolean hasDiagnosticRequest() {
return diagnosticRequestBuilder_ != null || diagnosticRequest_ != null;
}
/**
* .openxc.DiagnosticControlCommand diagnostic_request = 2;
+ * @return The diagnosticRequest.
*/
public com.openxc.BinaryMessages.DiagnosticControlCommand getDiagnosticRequest() {
if (diagnosticRequestBuilder_ == null) {
@@ -3651,17 +4012,19 @@ public com.openxc.BinaryMessages.DiagnosticControlCommandOrBuilder getDiagnostic
return diagnosticRequestBuilder_;
}
- private com.openxc.BinaryMessages.PassthroughModeControlCommand passthroughModeRequest_ = null;
+ private com.openxc.BinaryMessages.PassthroughModeControlCommand passthroughModeRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.PassthroughModeControlCommand, com.openxc.BinaryMessages.PassthroughModeControlCommand.Builder, com.openxc.BinaryMessages.PassthroughModeControlCommandOrBuilder> passthroughModeRequestBuilder_;
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
+ * @return Whether the passthroughModeRequest field is set.
*/
public boolean hasPassthroughModeRequest() {
return passthroughModeRequestBuilder_ != null || passthroughModeRequest_ != null;
}
/**
* .openxc.PassthroughModeControlCommand passthrough_mode_request = 3;
+ * @return The passthroughModeRequest.
*/
public com.openxc.BinaryMessages.PassthroughModeControlCommand getPassthroughModeRequest() {
if (passthroughModeRequestBuilder_ == null) {
@@ -3768,17 +4131,19 @@ public com.openxc.BinaryMessages.PassthroughModeControlCommandOrBuilder getPasst
return passthroughModeRequestBuilder_;
}
- private com.openxc.BinaryMessages.AcceptanceFilterBypassCommand acceptanceFilterBypassCommand_ = null;
+ private com.openxc.BinaryMessages.AcceptanceFilterBypassCommand acceptanceFilterBypassCommand_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.AcceptanceFilterBypassCommand, com.openxc.BinaryMessages.AcceptanceFilterBypassCommand.Builder, com.openxc.BinaryMessages.AcceptanceFilterBypassCommandOrBuilder> acceptanceFilterBypassCommandBuilder_;
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ * @return Whether the acceptanceFilterBypassCommand field is set.
*/
public boolean hasAcceptanceFilterBypassCommand() {
return acceptanceFilterBypassCommandBuilder_ != null || acceptanceFilterBypassCommand_ != null;
}
/**
* .openxc.AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ * @return The acceptanceFilterBypassCommand.
*/
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand getAcceptanceFilterBypassCommand() {
if (acceptanceFilterBypassCommandBuilder_ == null) {
@@ -3885,17 +4250,19 @@ public com.openxc.BinaryMessages.AcceptanceFilterBypassCommandOrBuilder getAccep
return acceptanceFilterBypassCommandBuilder_;
}
- private com.openxc.BinaryMessages.PayloadFormatCommand payloadFormatCommand_ = null;
+ private com.openxc.BinaryMessages.PayloadFormatCommand payloadFormatCommand_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.PayloadFormatCommand, com.openxc.BinaryMessages.PayloadFormatCommand.Builder, com.openxc.BinaryMessages.PayloadFormatCommandOrBuilder> payloadFormatCommandBuilder_;
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
+ * @return Whether the payloadFormatCommand field is set.
*/
public boolean hasPayloadFormatCommand() {
return payloadFormatCommandBuilder_ != null || payloadFormatCommand_ != null;
}
/**
* .openxc.PayloadFormatCommand payload_format_command = 5;
+ * @return The payloadFormatCommand.
*/
public com.openxc.BinaryMessages.PayloadFormatCommand getPayloadFormatCommand() {
if (payloadFormatCommandBuilder_ == null) {
@@ -4002,17 +4369,19 @@ public com.openxc.BinaryMessages.PayloadFormatCommandOrBuilder getPayloadFormatC
return payloadFormatCommandBuilder_;
}
- private com.openxc.BinaryMessages.PredefinedObd2RequestsCommand predefinedObd2RequestsCommand_ = null;
+ private com.openxc.BinaryMessages.PredefinedObd2RequestsCommand predefinedObd2RequestsCommand_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.PredefinedObd2RequestsCommand, com.openxc.BinaryMessages.PredefinedObd2RequestsCommand.Builder, com.openxc.BinaryMessages.PredefinedObd2RequestsCommandOrBuilder> predefinedObd2RequestsCommandBuilder_;
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
+ * @return Whether the predefinedObd2RequestsCommand field is set.
*/
public boolean hasPredefinedObd2RequestsCommand() {
return predefinedObd2RequestsCommandBuilder_ != null || predefinedObd2RequestsCommand_ != null;
}
/**
* .openxc.PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
+ * @return The predefinedObd2RequestsCommand.
*/
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand getPredefinedObd2RequestsCommand() {
if (predefinedObd2RequestsCommandBuilder_ == null) {
@@ -4119,17 +4488,19 @@ public com.openxc.BinaryMessages.PredefinedObd2RequestsCommandOrBuilder getPrede
return predefinedObd2RequestsCommandBuilder_;
}
- private com.openxc.BinaryMessages.ModemConfigurationCommand modemConfigurationCommand_ = null;
+ private com.openxc.BinaryMessages.ModemConfigurationCommand modemConfigurationCommand_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.ModemConfigurationCommand, com.openxc.BinaryMessages.ModemConfigurationCommand.Builder, com.openxc.BinaryMessages.ModemConfigurationCommandOrBuilder> modemConfigurationCommandBuilder_;
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
+ * @return Whether the modemConfigurationCommand field is set.
*/
public boolean hasModemConfigurationCommand() {
return modemConfigurationCommandBuilder_ != null || modemConfigurationCommand_ != null;
}
/**
* .openxc.ModemConfigurationCommand modem_configuration_command = 7;
+ * @return The modemConfigurationCommand.
*/
public com.openxc.BinaryMessages.ModemConfigurationCommand getModemConfigurationCommand() {
if (modemConfigurationCommandBuilder_ == null) {
@@ -4236,17 +4607,19 @@ public com.openxc.BinaryMessages.ModemConfigurationCommandOrBuilder getModemConf
return modemConfigurationCommandBuilder_;
}
- private com.openxc.BinaryMessages.RTCConfigurationCommand rtcConfigurationCommand_ = null;
+ private com.openxc.BinaryMessages.RTCConfigurationCommand rtcConfigurationCommand_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.RTCConfigurationCommand, com.openxc.BinaryMessages.RTCConfigurationCommand.Builder, com.openxc.BinaryMessages.RTCConfigurationCommandOrBuilder> rtcConfigurationCommandBuilder_;
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
+ * @return Whether the rtcConfigurationCommand field is set.
*/
public boolean hasRtcConfigurationCommand() {
return rtcConfigurationCommandBuilder_ != null || rtcConfigurationCommand_ != null;
}
/**
* .openxc.RTCConfigurationCommand rtc_configuration_command = 8;
+ * @return The rtcConfigurationCommand.
*/
public com.openxc.BinaryMessages.RTCConfigurationCommand getRtcConfigurationCommand() {
if (rtcConfigurationCommandBuilder_ == null) {
@@ -4352,14 +4725,16 @@ public com.openxc.BinaryMessages.RTCConfigurationCommandOrBuilder getRtcConfigur
}
return rtcConfigurationCommandBuilder_;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -4378,11 +4753,12 @@ public static com.openxc.BinaryMessages.ControlCommand getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public ControlCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new ControlCommand(input, extensionRegistry);
+ return new ControlCommand(input, extensionRegistry);
}
};
@@ -4395,6 +4771,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -4407,10 +4784,12 @@ public interface DiagnosticControlCommandOrBuilder extends
/**
* .openxc.DiagnosticRequest request = 1;
+ * @return Whether the request field is set.
*/
boolean hasRequest();
/**
* .openxc.DiagnosticRequest request = 1;
+ * @return The request.
*/
com.openxc.BinaryMessages.DiagnosticRequest getRequest();
/**
@@ -4420,20 +4799,23 @@ public interface DiagnosticControlCommandOrBuilder extends
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return The enum numeric value on the wire for action.
*/
int getActionValue();
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return The action.
*/
com.openxc.BinaryMessages.DiagnosticControlCommand.Action getAction();
}
/**
* Protobuf type {@code openxc.DiagnosticControlCommand}
*/
- public static final class DiagnosticControlCommand extends
+ public static final class DiagnosticControlCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.DiagnosticControlCommand)
DiagnosticControlCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use DiagnosticControlCommand.newBuilder() to construct.
private DiagnosticControlCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -4442,17 +4824,28 @@ private DiagnosticControlCommand() {
action_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DiagnosticControlCommand();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private DiagnosticControlCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -4461,12 +4854,6 @@ private DiagnosticControlCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 10: {
com.openxc.BinaryMessages.DiagnosticRequest.Builder subBuilder = null;
if (request_ != null) {
@@ -4486,6 +4873,13 @@ private DiagnosticControlCommand(
action_ = rawValue;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4494,6 +4888,7 @@ private DiagnosticControlCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -4502,6 +4897,7 @@ private DiagnosticControlCommand(
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticControlCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticControlCommand_fieldAccessorTable
@@ -4552,6 +4948,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -4559,6 +4957,10 @@ public static Action valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Action forNumber(int value) {
switch (value) {
case 0: return UNUSED;
@@ -4582,6 +4984,10 @@ public Action findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -4620,19 +5026,24 @@ private Action(int value) {
private com.openxc.BinaryMessages.DiagnosticRequest request_;
/**
* .openxc.DiagnosticRequest request = 1;
+ * @return Whether the request field is set.
*/
+ @java.lang.Override
public boolean hasRequest() {
return request_ != null;
}
/**
* .openxc.DiagnosticRequest request = 1;
+ * @return The request.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequest getRequest() {
return request_ == null ? com.openxc.BinaryMessages.DiagnosticRequest.getDefaultInstance() : request_;
}
/**
* .openxc.DiagnosticRequest request = 1;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequestOrBuilder getRequestOrBuilder() {
return getRequest();
}
@@ -4641,19 +5052,23 @@ public com.openxc.BinaryMessages.DiagnosticRequestOrBuilder getRequestOrBuilder(
private int action_;
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return The enum numeric value on the wire for action.
*/
- public int getActionValue() {
+ @java.lang.Override public int getActionValue() {
return action_;
}
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return The action.
*/
- public com.openxc.BinaryMessages.DiagnosticControlCommand.Action getAction() {
+ @java.lang.Override public com.openxc.BinaryMessages.DiagnosticControlCommand.Action getAction() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.DiagnosticControlCommand.Action result = com.openxc.BinaryMessages.DiagnosticControlCommand.Action.valueOf(action_);
return result == null ? com.openxc.BinaryMessages.DiagnosticControlCommand.Action.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -4663,6 +5078,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (request_ != null) {
@@ -4671,8 +5087,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (action_ != com.openxc.BinaryMessages.DiagnosticControlCommand.Action.UNUSED.getNumber()) {
output.writeEnum(2, action_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -4686,11 +5104,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, action_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -4701,14 +5119,14 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.DiagnosticControlCommand other = (com.openxc.BinaryMessages.DiagnosticControlCommand) obj;
- boolean result = true;
- result = result && (hasRequest() == other.hasRequest());
+ if (hasRequest() != other.hasRequest()) return false;
if (hasRequest()) {
- result = result && getRequest()
- .equals(other.getRequest());
+ if (!getRequest()
+ .equals(other.getRequest())) return false;
}
- result = result && action_ == other.action_;
- return result;
+ if (action_ != other.action_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -4730,22 +5148,33 @@ public int hashCode() {
}
public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(
- com.google.protobuf.ByteString data)
+ java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(
- com.google.protobuf.ByteString data,
+ java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(byte[] data)
+ public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(
+ com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(
- byte[] data,
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(
+ byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
@@ -4788,6 +5217,7 @@ public static com.openxc.BinaryMessages.DiagnosticControlCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -4795,6 +5225,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.DiagnosticControlCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -4818,6 +5249,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticControlCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticControlCommand_fieldAccessorTable
@@ -4840,6 +5272,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
if (requestBuilder_ == null) {
@@ -4853,15 +5286,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticControlCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.DiagnosticControlCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommand build() {
com.openxc.BinaryMessages.DiagnosticControlCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -4870,6 +5306,7 @@ public com.openxc.BinaryMessages.DiagnosticControlCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommand buildPartial() {
com.openxc.BinaryMessages.DiagnosticControlCommand result = new com.openxc.BinaryMessages.DiagnosticControlCommand(this);
if (requestBuilder_ == null) {
@@ -4882,32 +5319,39 @@ public com.openxc.BinaryMessages.DiagnosticControlCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.DiagnosticControlCommand) {
return mergeFrom((com.openxc.BinaryMessages.DiagnosticControlCommand)other);
@@ -4925,14 +5369,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.DiagnosticControlCommand othe
if (other.action_ != 0) {
setActionValue(other.getActionValue());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4951,17 +5398,19 @@ public Builder mergeFrom(
return this;
}
- private com.openxc.BinaryMessages.DiagnosticRequest request_ = null;
+ private com.openxc.BinaryMessages.DiagnosticRequest request_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.DiagnosticRequest, com.openxc.BinaryMessages.DiagnosticRequest.Builder, com.openxc.BinaryMessages.DiagnosticRequestOrBuilder> requestBuilder_;
/**
* .openxc.DiagnosticRequest request = 1;
+ * @return Whether the request field is set.
*/
public boolean hasRequest() {
return requestBuilder_ != null || request_ != null;
}
/**
* .openxc.DiagnosticRequest request = 1;
+ * @return The request.
*/
public com.openxc.BinaryMessages.DiagnosticRequest getRequest() {
if (requestBuilder_ == null) {
@@ -5071,27 +5520,36 @@ public com.openxc.BinaryMessages.DiagnosticRequestOrBuilder getRequestOrBuilder(
private int action_ = 0;
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return The enum numeric value on the wire for action.
*/
- public int getActionValue() {
+ @java.lang.Override public int getActionValue() {
return action_;
}
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @param value The enum numeric value on the wire for action to set.
+ * @return This builder for chaining.
*/
public Builder setActionValue(int value) {
+
action_ = value;
onChanged();
return this;
}
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return The action.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommand.Action getAction() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.DiagnosticControlCommand.Action result = com.openxc.BinaryMessages.DiagnosticControlCommand.Action.valueOf(action_);
return result == null ? com.openxc.BinaryMessages.DiagnosticControlCommand.Action.UNRECOGNIZED : result;
}
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @param value The action to set.
+ * @return This builder for chaining.
*/
public Builder setAction(com.openxc.BinaryMessages.DiagnosticControlCommand.Action value) {
if (value == null) {
@@ -5104,6 +5562,7 @@ public Builder setAction(com.openxc.BinaryMessages.DiagnosticControlCommand.Acti
}
/**
* .openxc.DiagnosticControlCommand.Action action = 2;
+ * @return This builder for chaining.
*/
public Builder clearAction() {
@@ -5111,14 +5570,16 @@ public Builder clearAction() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -5137,11 +5598,12 @@ public static com.openxc.BinaryMessages.DiagnosticControlCommand getDefaultInsta
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public DiagnosticControlCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new DiagnosticControlCommand(input, extensionRegistry);
+ return new DiagnosticControlCommand(input, extensionRegistry);
}
};
@@ -5154,6 +5616,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticControlCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -5166,41 +5629,53 @@ public interface PassthroughModeControlCommandOrBuilder extends
/**
* int32 bus = 1;
+ * @return The bus.
*/
int getBus();
/**
* bool enabled = 2;
+ * @return The enabled.
*/
boolean getEnabled();
}
/**
* Protobuf type {@code openxc.PassthroughModeControlCommand}
*/
- public static final class PassthroughModeControlCommand extends
+ public static final class PassthroughModeControlCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.PassthroughModeControlCommand)
PassthroughModeControlCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use PassthroughModeControlCommand.newBuilder() to construct.
private PassthroughModeControlCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PassthroughModeControlCommand() {
- bus_ = 0;
- enabled_ = false;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PassthroughModeControlCommand();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private PassthroughModeControlCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -5209,12 +5684,6 @@ private PassthroughModeControlCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
bus_ = input.readInt32();
@@ -5225,6 +5694,13 @@ private PassthroughModeControlCommand(
enabled_ = input.readBool();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5233,6 +5709,7 @@ private PassthroughModeControlCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -5241,6 +5718,7 @@ private PassthroughModeControlCommand(
return com.openxc.BinaryMessages.internal_static_openxc_PassthroughModeControlCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_PassthroughModeControlCommand_fieldAccessorTable
@@ -5252,7 +5730,9 @@ private PassthroughModeControlCommand(
private int bus_;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
@@ -5261,12 +5741,15 @@ public int getBus() {
private boolean enabled_;
/**
* bool enabled = 2;
+ * @return The enabled.
*/
+ @java.lang.Override
public boolean getEnabled() {
return enabled_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -5276,6 +5759,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (bus_ != 0) {
@@ -5284,8 +5768,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (enabled_ != false) {
output.writeBool(2, enabled_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -5299,11 +5785,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, enabled_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -5314,12 +5800,12 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.PassthroughModeControlCommand other = (com.openxc.BinaryMessages.PassthroughModeControlCommand) obj;
- boolean result = true;
- result = result && (getBus()
- == other.getBus());
- result = result && (getEnabled()
- == other.getEnabled());
- return result;
+ if (getBus()
+ != other.getBus()) return false;
+ if (getEnabled()
+ != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -5339,6 +5825,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.PassthroughModeControlCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.PassthroughModeControlCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.PassthroughModeControlCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -5398,6 +5895,7 @@ public static com.openxc.BinaryMessages.PassthroughModeControlCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -5405,6 +5903,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.PassthroughModeControlCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -5428,6 +5927,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_PassthroughModeControlCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_PassthroughModeControlCommand_fieldAccessorTable
@@ -5450,6 +5950,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
bus_ = 0;
@@ -5459,15 +5960,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_PassthroughModeControlCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PassthroughModeControlCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.PassthroughModeControlCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PassthroughModeControlCommand build() {
com.openxc.BinaryMessages.PassthroughModeControlCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -5476,6 +5980,7 @@ public com.openxc.BinaryMessages.PassthroughModeControlCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PassthroughModeControlCommand buildPartial() {
com.openxc.BinaryMessages.PassthroughModeControlCommand result = new com.openxc.BinaryMessages.PassthroughModeControlCommand(this);
result.bus_ = bus_;
@@ -5484,32 +5989,39 @@ public com.openxc.BinaryMessages.PassthroughModeControlCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.PassthroughModeControlCommand) {
return mergeFrom((com.openxc.BinaryMessages.PassthroughModeControlCommand)other);
@@ -5527,14 +6039,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.PassthroughModeControlCommand
if (other.getEnabled() != false) {
setEnabled(other.getEnabled());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5556,12 +6071,16 @@ public Builder mergeFrom(
private int bus_ ;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
/**
* int32 bus = 1;
+ * @param value The bus to set.
+ * @return This builder for chaining.
*/
public Builder setBus(int value) {
@@ -5571,6 +6090,7 @@ public Builder setBus(int value) {
}
/**
* int32 bus = 1;
+ * @return This builder for chaining.
*/
public Builder clearBus() {
@@ -5582,12 +6102,16 @@ public Builder clearBus() {
private boolean enabled_ ;
/**
* bool enabled = 2;
+ * @return The enabled.
*/
+ @java.lang.Override
public boolean getEnabled() {
return enabled_;
}
/**
* bool enabled = 2;
+ * @param value The enabled to set.
+ * @return This builder for chaining.
*/
public Builder setEnabled(boolean value) {
@@ -5597,6 +6121,7 @@ public Builder setEnabled(boolean value) {
}
/**
* bool enabled = 2;
+ * @return This builder for chaining.
*/
public Builder clearEnabled() {
@@ -5604,14 +6129,16 @@ public Builder clearEnabled() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -5630,11 +6157,12 @@ public static com.openxc.BinaryMessages.PassthroughModeControlCommand getDefault
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public PassthroughModeControlCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new PassthroughModeControlCommand(input, extensionRegistry);
+ return new PassthroughModeControlCommand(input, extensionRegistry);
}
};
@@ -5647,6 +6175,7 @@ public com.google.protobuf.Parser getParserForTyp
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PassthroughModeControlCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -5659,41 +6188,53 @@ public interface AcceptanceFilterBypassCommandOrBuilder extends
/**
* int32 bus = 1;
+ * @return The bus.
*/
int getBus();
/**
* bool bypass = 2;
+ * @return The bypass.
*/
boolean getBypass();
}
/**
* Protobuf type {@code openxc.AcceptanceFilterBypassCommand}
*/
- public static final class AcceptanceFilterBypassCommand extends
+ public static final class AcceptanceFilterBypassCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.AcceptanceFilterBypassCommand)
AcceptanceFilterBypassCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use AcceptanceFilterBypassCommand.newBuilder() to construct.
private AcceptanceFilterBypassCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AcceptanceFilterBypassCommand() {
- bus_ = 0;
- bypass_ = false;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new AcceptanceFilterBypassCommand();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private AcceptanceFilterBypassCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -5702,12 +6243,6 @@ private AcceptanceFilterBypassCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
bus_ = input.readInt32();
@@ -5718,6 +6253,13 @@ private AcceptanceFilterBypassCommand(
bypass_ = input.readBool();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5726,6 +6268,7 @@ private AcceptanceFilterBypassCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -5734,6 +6277,7 @@ private AcceptanceFilterBypassCommand(
return com.openxc.BinaryMessages.internal_static_openxc_AcceptanceFilterBypassCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_AcceptanceFilterBypassCommand_fieldAccessorTable
@@ -5745,7 +6289,9 @@ private AcceptanceFilterBypassCommand(
private int bus_;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
@@ -5754,12 +6300,15 @@ public int getBus() {
private boolean bypass_;
/**
* bool bypass = 2;
+ * @return The bypass.
*/
+ @java.lang.Override
public boolean getBypass() {
return bypass_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -5769,6 +6318,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (bus_ != 0) {
@@ -5777,8 +6327,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (bypass_ != false) {
output.writeBool(2, bypass_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -5792,11 +6344,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, bypass_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -5807,12 +6359,12 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.AcceptanceFilterBypassCommand other = (com.openxc.BinaryMessages.AcceptanceFilterBypassCommand) obj;
- boolean result = true;
- result = result && (getBus()
- == other.getBus());
- result = result && (getBypass()
- == other.getBypass());
- return result;
+ if (getBus()
+ != other.getBus()) return false;
+ if (getBypass()
+ != other.getBypass()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -5832,6 +6384,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.AcceptanceFilterBypassCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.AcceptanceFilterBypassCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.AcceptanceFilterBypassCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -5891,6 +6454,7 @@ public static com.openxc.BinaryMessages.AcceptanceFilterBypassCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -5898,6 +6462,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.AcceptanceFilterBypassCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -5921,6 +6486,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_AcceptanceFilterBypassCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_AcceptanceFilterBypassCommand_fieldAccessorTable
@@ -5943,6 +6509,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
bus_ = 0;
@@ -5952,15 +6519,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_AcceptanceFilterBypassCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.AcceptanceFilterBypassCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand build() {
com.openxc.BinaryMessages.AcceptanceFilterBypassCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -5969,6 +6539,7 @@ public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand buildPartial() {
com.openxc.BinaryMessages.AcceptanceFilterBypassCommand result = new com.openxc.BinaryMessages.AcceptanceFilterBypassCommand(this);
result.bus_ = bus_;
@@ -5977,32 +6548,39 @@ public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.AcceptanceFilterBypassCommand) {
return mergeFrom((com.openxc.BinaryMessages.AcceptanceFilterBypassCommand)other);
@@ -6020,14 +6598,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.AcceptanceFilterBypassCommand
if (other.getBypass() != false) {
setBypass(other.getBypass());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6049,12 +6630,16 @@ public Builder mergeFrom(
private int bus_ ;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
/**
* int32 bus = 1;
+ * @param value The bus to set.
+ * @return This builder for chaining.
*/
public Builder setBus(int value) {
@@ -6064,6 +6649,7 @@ public Builder setBus(int value) {
}
/**
* int32 bus = 1;
+ * @return This builder for chaining.
*/
public Builder clearBus() {
@@ -6075,12 +6661,16 @@ public Builder clearBus() {
private boolean bypass_ ;
/**
* bool bypass = 2;
+ * @return The bypass.
*/
+ @java.lang.Override
public boolean getBypass() {
return bypass_;
}
/**
* bool bypass = 2;
+ * @param value The bypass to set.
+ * @return This builder for chaining.
*/
public Builder setBypass(boolean value) {
@@ -6090,6 +6680,7 @@ public Builder setBypass(boolean value) {
}
/**
* bool bypass = 2;
+ * @return This builder for chaining.
*/
public Builder clearBypass() {
@@ -6097,14 +6688,16 @@ public Builder clearBypass() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -6123,11 +6716,12 @@ public static com.openxc.BinaryMessages.AcceptanceFilterBypassCommand getDefault
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public AcceptanceFilterBypassCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new AcceptanceFilterBypassCommand(input, extensionRegistry);
+ return new AcceptanceFilterBypassCommand(input, extensionRegistry);
}
};
@@ -6140,6 +6734,7 @@ public com.google.protobuf.Parser getParserForTyp
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.AcceptanceFilterBypassCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -6152,20 +6747,23 @@ public interface PayloadFormatCommandOrBuilder extends
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return The enum numeric value on the wire for format.
*/
int getFormatValue();
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return The format.
*/
com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat getFormat();
}
/**
* Protobuf type {@code openxc.PayloadFormatCommand}
*/
- public static final class PayloadFormatCommand extends
+ public static final class PayloadFormatCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.PayloadFormatCommand)
PayloadFormatCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use PayloadFormatCommand.newBuilder() to construct.
private PayloadFormatCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -6174,17 +6772,28 @@ private PayloadFormatCommand() {
format_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PayloadFormatCommand();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private PayloadFormatCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -6193,18 +6802,19 @@ private PayloadFormatCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
int rawValue = input.readEnum();
format_ = rawValue;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6213,6 +6823,7 @@ private PayloadFormatCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -6221,6 +6832,7 @@ private PayloadFormatCommand(
return com.openxc.BinaryMessages.internal_static_openxc_PayloadFormatCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_PayloadFormatCommand_fieldAccessorTable
@@ -6245,10 +6857,6 @@ public enum PayloadFormat
* PROTOBUF = 2;
*/
PROTOBUF(2),
- /**
- * MESSAGEPACK = 3;
- */
- MESSAGEPACK(3),
UNRECOGNIZED(-1),
;
@@ -6264,10 +6872,6 @@ public enum PayloadFormat
* PROTOBUF = 2;
*/
public static final int PROTOBUF_VALUE = 2;
- /**
- * MESSAGEPACK = 3;
- */
- public static final int MESSAGEPACK_VALUE = 3;
public final int getNumber() {
@@ -6279,6 +6883,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -6286,12 +6892,15 @@ public static PayloadFormat valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static PayloadFormat forNumber(int value) {
switch (value) {
case 0: return UNUSED;
case 1: return JSON;
case 2: return PROTOBUF;
- case 3: return MESSAGEPACK;
default: return null;
}
}
@@ -6310,6 +6919,10 @@ public PayloadFormat findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -6348,19 +6961,23 @@ private PayloadFormat(int value) {
private int format_;
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return The enum numeric value on the wire for format.
*/
- public int getFormatValue() {
+ @java.lang.Override public int getFormatValue() {
return format_;
}
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return The format.
*/
- public com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat getFormat() {
+ @java.lang.Override public com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat getFormat() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat result = com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat.valueOf(format_);
return result == null ? com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -6370,13 +6987,16 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (format_ != com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat.UNUSED.getNumber()) {
output.writeEnum(1, format_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -6386,11 +7006,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, format_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -6401,9 +7021,9 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.PayloadFormatCommand other = (com.openxc.BinaryMessages.PayloadFormatCommand) obj;
- boolean result = true;
- result = result && format_ == other.format_;
- return result;
+ if (format_ != other.format_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -6420,6 +7040,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.PayloadFormatCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.PayloadFormatCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.PayloadFormatCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -6479,6 +7110,7 @@ public static com.openxc.BinaryMessages.PayloadFormatCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -6486,6 +7118,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.PayloadFormatCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -6509,6 +7142,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_PayloadFormatCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_PayloadFormatCommand_fieldAccessorTable
@@ -6531,6 +7165,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
format_ = 0;
@@ -6538,15 +7173,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_PayloadFormatCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.PayloadFormatCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommand build() {
com.openxc.BinaryMessages.PayloadFormatCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -6555,6 +7193,7 @@ public com.openxc.BinaryMessages.PayloadFormatCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommand buildPartial() {
com.openxc.BinaryMessages.PayloadFormatCommand result = new com.openxc.BinaryMessages.PayloadFormatCommand(this);
result.format_ = format_;
@@ -6562,32 +7201,39 @@ public com.openxc.BinaryMessages.PayloadFormatCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.PayloadFormatCommand) {
return mergeFrom((com.openxc.BinaryMessages.PayloadFormatCommand)other);
@@ -6602,14 +7248,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.PayloadFormatCommand other) {
if (other.format_ != 0) {
setFormatValue(other.getFormatValue());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6631,27 +7280,36 @@ public Builder mergeFrom(
private int format_ = 0;
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return The enum numeric value on the wire for format.
*/
- public int getFormatValue() {
+ @java.lang.Override public int getFormatValue() {
return format_;
}
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @param value The enum numeric value on the wire for format to set.
+ * @return This builder for chaining.
*/
public Builder setFormatValue(int value) {
+
format_ = value;
onChanged();
return this;
}
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return The format.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat getFormat() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat result = com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat.valueOf(format_);
return result == null ? com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat.UNRECOGNIZED : result;
}
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @param value The format to set.
+ * @return This builder for chaining.
*/
public Builder setFormat(com.openxc.BinaryMessages.PayloadFormatCommand.PayloadFormat value) {
if (value == null) {
@@ -6664,6 +7322,7 @@ public Builder setFormat(com.openxc.BinaryMessages.PayloadFormatCommand.PayloadF
}
/**
* .openxc.PayloadFormatCommand.PayloadFormat format = 1;
+ * @return This builder for chaining.
*/
public Builder clearFormat() {
@@ -6671,14 +7330,16 @@ public Builder clearFormat() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -6697,11 +7358,12 @@ public static com.openxc.BinaryMessages.PayloadFormatCommand getDefaultInstance(
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public PayloadFormatCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new PayloadFormatCommand(input, extensionRegistry);
+ return new PayloadFormatCommand(input, extensionRegistry);
}
};
@@ -6714,6 +7376,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PayloadFormatCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -6726,35 +7389,47 @@ public interface PredefinedObd2RequestsCommandOrBuilder extends
/**
* bool enabled = 1;
+ * @return The enabled.
*/
boolean getEnabled();
}
/**
* Protobuf type {@code openxc.PredefinedObd2RequestsCommand}
*/
- public static final class PredefinedObd2RequestsCommand extends
+ public static final class PredefinedObd2RequestsCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.PredefinedObd2RequestsCommand)
PredefinedObd2RequestsCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use PredefinedObd2RequestsCommand.newBuilder() to construct.
private PredefinedObd2RequestsCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PredefinedObd2RequestsCommand() {
- enabled_ = false;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PredefinedObd2RequestsCommand();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private PredefinedObd2RequestsCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -6763,17 +7438,18 @@ private PredefinedObd2RequestsCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
enabled_ = input.readBool();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6782,6 +7458,7 @@ private PredefinedObd2RequestsCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -6790,6 +7467,7 @@ private PredefinedObd2RequestsCommand(
return com.openxc.BinaryMessages.internal_static_openxc_PredefinedObd2RequestsCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_PredefinedObd2RequestsCommand_fieldAccessorTable
@@ -6801,12 +7479,15 @@ private PredefinedObd2RequestsCommand(
private boolean enabled_;
/**
* bool enabled = 1;
+ * @return The enabled.
*/
+ @java.lang.Override
public boolean getEnabled() {
return enabled_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -6816,13 +7497,16 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (enabled_ != false) {
output.writeBool(1, enabled_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -6832,11 +7516,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, enabled_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -6847,10 +7531,10 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.PredefinedObd2RequestsCommand other = (com.openxc.BinaryMessages.PredefinedObd2RequestsCommand) obj;
- boolean result = true;
- result = result && (getEnabled()
- == other.getEnabled());
- return result;
+ if (getEnabled()
+ != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -6868,6 +7552,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.PredefinedObd2RequestsCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.PredefinedObd2RequestsCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.PredefinedObd2RequestsCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -6927,6 +7622,7 @@ public static com.openxc.BinaryMessages.PredefinedObd2RequestsCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -6934,6 +7630,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.PredefinedObd2RequestsCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -6957,6 +7654,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_PredefinedObd2RequestsCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_PredefinedObd2RequestsCommand_fieldAccessorTable
@@ -6979,6 +7677,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
enabled_ = false;
@@ -6986,15 +7685,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_PredefinedObd2RequestsCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.PredefinedObd2RequestsCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand build() {
com.openxc.BinaryMessages.PredefinedObd2RequestsCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -7003,6 +7705,7 @@ public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand buildPartial() {
com.openxc.BinaryMessages.PredefinedObd2RequestsCommand result = new com.openxc.BinaryMessages.PredefinedObd2RequestsCommand(this);
result.enabled_ = enabled_;
@@ -7010,32 +7713,39 @@ public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.PredefinedObd2RequestsCommand) {
return mergeFrom((com.openxc.BinaryMessages.PredefinedObd2RequestsCommand)other);
@@ -7050,14 +7760,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.PredefinedObd2RequestsCommand
if (other.getEnabled() != false) {
setEnabled(other.getEnabled());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7079,12 +7792,16 @@ public Builder mergeFrom(
private boolean enabled_ ;
/**
* bool enabled = 1;
+ * @return The enabled.
*/
+ @java.lang.Override
public boolean getEnabled() {
return enabled_;
}
/**
* bool enabled = 1;
+ * @param value The enabled to set.
+ * @return This builder for chaining.
*/
public Builder setEnabled(boolean value) {
@@ -7094,6 +7811,7 @@ public Builder setEnabled(boolean value) {
}
/**
* bool enabled = 1;
+ * @return This builder for chaining.
*/
public Builder clearEnabled() {
@@ -7101,14 +7819,16 @@ public Builder clearEnabled() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -7127,11 +7847,12 @@ public static com.openxc.BinaryMessages.PredefinedObd2RequestsCommand getDefault
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public PredefinedObd2RequestsCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new PredefinedObd2RequestsCommand(input, extensionRegistry);
+ return new PredefinedObd2RequestsCommand(input, extensionRegistry);
}
};
@@ -7144,6 +7865,7 @@ public com.google.protobuf.Parser getParserForTyp
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.PredefinedObd2RequestsCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -7156,24 +7878,29 @@ public interface NetworkOperatorSettingsOrBuilder extends
/**
* bool allowDataRoaming = 1;
+ * @return The allowDataRoaming.
*/
boolean getAllowDataRoaming();
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return The enum numeric value on the wire for operatorSelectMode.
*/
int getOperatorSelectModeValue();
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return The operatorSelectMode.
*/
com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode getOperatorSelectMode();
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
+ * @return Whether the networkDescriptor field is set.
*/
boolean hasNetworkDescriptor();
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
+ * @return The networkDescriptor.
*/
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor getNetworkDescriptor();
/**
@@ -7184,30 +7911,41 @@ public interface NetworkOperatorSettingsOrBuilder extends
/**
* Protobuf type {@code openxc.NetworkOperatorSettings}
*/
- public static final class NetworkOperatorSettings extends
+ public static final class NetworkOperatorSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.NetworkOperatorSettings)
NetworkOperatorSettingsOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use NetworkOperatorSettings.newBuilder() to construct.
private NetworkOperatorSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NetworkOperatorSettings() {
- allowDataRoaming_ = false;
operatorSelectMode_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new NetworkOperatorSettings();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private NetworkOperatorSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -7216,12 +7954,6 @@ private NetworkOperatorSettings(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
allowDataRoaming_ = input.readBool();
@@ -7246,6 +7978,13 @@ private NetworkOperatorSettings(
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7254,6 +7993,7 @@ private NetworkOperatorSettings(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -7262,6 +8002,7 @@ private NetworkOperatorSettings(
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_fieldAccessorTable
@@ -7328,6 +8069,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -7335,6 +8078,10 @@ public static OperatorSelectMode valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static OperatorSelectMode forNumber(int value) {
switch (value) {
case 0: return AUTOMATIC;
@@ -7360,6 +8107,10 @@ public OperatorSelectMode findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -7400,45 +8151,59 @@ public interface NetworkDescriptorOrBuilder extends
/**
* uint32 PLMN = 1;
+ * @return The pLMN.
*/
int getPLMN();
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return The enum numeric value on the wire for networkType.
*/
int getNetworkTypeValue();
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return The networkType.
*/
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType getNetworkType();
}
/**
* Protobuf type {@code openxc.NetworkOperatorSettings.NetworkDescriptor}
*/
- public static final class NetworkDescriptor extends
+ public static final class NetworkDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.NetworkOperatorSettings.NetworkDescriptor)
NetworkDescriptorOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use NetworkDescriptor.newBuilder() to construct.
private NetworkDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NetworkDescriptor() {
- pLMN_ = 0;
networkType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new NetworkDescriptor();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private NetworkDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -7447,12 +8212,6 @@ private NetworkDescriptor(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
pLMN_ = input.readUInt32();
@@ -7464,6 +8223,13 @@ private NetworkDescriptor(
networkType_ = rawValue;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7472,6 +8238,7 @@ private NetworkDescriptor(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -7480,6 +8247,7 @@ private NetworkDescriptor(
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_NetworkDescriptor_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_NetworkDescriptor_fieldAccessorTable
@@ -7522,6 +8290,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -7529,6 +8299,10 @@ public static NetworkType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static NetworkType forNumber(int value) {
switch (value) {
case 0: return GSM;
@@ -7551,6 +8325,10 @@ public NetworkType findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -7589,7 +8367,9 @@ private NetworkType(int value) {
private int pLMN_;
/**
* uint32 PLMN = 1;
+ * @return The pLMN.
*/
+ @java.lang.Override
public int getPLMN() {
return pLMN_;
}
@@ -7598,19 +8378,23 @@ public int getPLMN() {
private int networkType_;
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return The enum numeric value on the wire for networkType.
*/
- public int getNetworkTypeValue() {
+ @java.lang.Override public int getNetworkTypeValue() {
return networkType_;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return The networkType.
*/
- public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType getNetworkType() {
+ @java.lang.Override public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType getNetworkType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType result = com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType.valueOf(networkType_);
return result == null ? com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -7620,6 +8404,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (pLMN_ != 0) {
@@ -7628,8 +8413,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (networkType_ != com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType.GSM.getNumber()) {
output.writeEnum(2, networkType_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -7643,11 +8430,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, networkType_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -7658,11 +8445,11 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor other = (com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor) obj;
- boolean result = true;
- result = result && (getPLMN()
- == other.getPLMN());
- result = result && networkType_ == other.networkType_;
- return result;
+ if (getPLMN()
+ != other.getPLMN()) return false;
+ if (networkType_ != other.networkType_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -7681,6 +8468,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -7740,6 +8538,7 @@ public static com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescripto
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -7747,6 +8546,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -7770,6 +8570,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_NetworkDescriptor_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_NetworkDescriptor_fieldAccessorTable
@@ -7792,6 +8593,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
pLMN_ = 0;
@@ -7801,15 +8603,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_NetworkDescriptor_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor getDefaultInstanceForType() {
return com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor build() {
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor result = buildPartial();
if (!result.isInitialized()) {
@@ -7818,6 +8623,7 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor build
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor buildPartial() {
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor result = new com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor(this);
result.pLMN_ = pLMN_;
@@ -7826,32 +8632,39 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor build
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor) {
return mergeFrom((com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor)other);
@@ -7869,14 +8682,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.NetworkOperatorSettings.Netwo
if (other.networkType_ != 0) {
setNetworkTypeValue(other.getNetworkTypeValue());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7898,12 +8714,16 @@ public Builder mergeFrom(
private int pLMN_ ;
/**
* uint32 PLMN = 1;
+ * @return The pLMN.
*/
+ @java.lang.Override
public int getPLMN() {
return pLMN_;
}
/**
* uint32 PLMN = 1;
+ * @param value The pLMN to set.
+ * @return This builder for chaining.
*/
public Builder setPLMN(int value) {
@@ -7913,6 +8733,7 @@ public Builder setPLMN(int value) {
}
/**
* uint32 PLMN = 1;
+ * @return This builder for chaining.
*/
public Builder clearPLMN() {
@@ -7924,27 +8745,36 @@ public Builder clearPLMN() {
private int networkType_ = 0;
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return The enum numeric value on the wire for networkType.
*/
- public int getNetworkTypeValue() {
+ @java.lang.Override public int getNetworkTypeValue() {
return networkType_;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @param value The enum numeric value on the wire for networkType to set.
+ * @return This builder for chaining.
*/
public Builder setNetworkTypeValue(int value) {
+
networkType_ = value;
onChanged();
return this;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return The networkType.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType getNetworkType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType result = com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType.valueOf(networkType_);
return result == null ? com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType.UNRECOGNIZED : result;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @param value The networkType to set.
+ * @return This builder for chaining.
*/
public Builder setNetworkType(com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.NetworkType value) {
if (value == null) {
@@ -7957,6 +8787,7 @@ public Builder setNetworkType(com.openxc.BinaryMessages.NetworkOperatorSettings.
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType networkType = 2;
+ * @return This builder for chaining.
*/
public Builder clearNetworkType() {
@@ -7964,14 +8795,16 @@ public Builder clearNetworkType() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -7990,11 +8823,12 @@ public static com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescripto
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public NetworkDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new NetworkDescriptor(input, extensionRegistry);
+ return new NetworkDescriptor(input, extensionRegistry);
}
};
@@ -8007,6 +8841,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -8017,7 +8852,9 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor getDe
private boolean allowDataRoaming_;
/**
* bool allowDataRoaming = 1;
+ * @return The allowDataRoaming.
*/
+ @java.lang.Override
public boolean getAllowDataRoaming() {
return allowDataRoaming_;
}
@@ -8026,14 +8863,17 @@ public boolean getAllowDataRoaming() {
private int operatorSelectMode_;
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return The enum numeric value on the wire for operatorSelectMode.
*/
- public int getOperatorSelectModeValue() {
+ @java.lang.Override public int getOperatorSelectModeValue() {
return operatorSelectMode_;
}
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return The operatorSelectMode.
*/
- public com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode getOperatorSelectMode() {
+ @java.lang.Override public com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode getOperatorSelectMode() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode result = com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode.valueOf(operatorSelectMode_);
return result == null ? com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode.UNRECOGNIZED : result;
}
@@ -8042,24 +8882,30 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode getO
private com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor networkDescriptor_;
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
+ * @return Whether the networkDescriptor field is set.
*/
+ @java.lang.Override
public boolean hasNetworkDescriptor() {
return networkDescriptor_ != null;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
+ * @return The networkDescriptor.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor getNetworkDescriptor() {
return networkDescriptor_ == null ? com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.getDefaultInstance() : networkDescriptor_;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptorOrBuilder getNetworkDescriptorOrBuilder() {
return getNetworkDescriptor();
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -8069,6 +8915,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (allowDataRoaming_ != false) {
@@ -8080,8 +8927,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (networkDescriptor_ != null) {
output.writeMessage(3, getNetworkDescriptor());
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -8099,11 +8948,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getNetworkDescriptor());
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -8114,16 +8963,16 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.NetworkOperatorSettings other = (com.openxc.BinaryMessages.NetworkOperatorSettings) obj;
- boolean result = true;
- result = result && (getAllowDataRoaming()
- == other.getAllowDataRoaming());
- result = result && operatorSelectMode_ == other.operatorSelectMode_;
- result = result && (hasNetworkDescriptor() == other.hasNetworkDescriptor());
+ if (getAllowDataRoaming()
+ != other.getAllowDataRoaming()) return false;
+ if (operatorSelectMode_ != other.operatorSelectMode_) return false;
+ if (hasNetworkDescriptor() != other.hasNetworkDescriptor()) return false;
if (hasNetworkDescriptor()) {
- result = result && getNetworkDescriptor()
- .equals(other.getNetworkDescriptor());
+ if (!getNetworkDescriptor()
+ .equals(other.getNetworkDescriptor())) return false;
}
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -8147,6 +8996,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.NetworkOperatorSettings parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.NetworkOperatorSettings parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.NetworkOperatorSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -8206,6 +9066,7 @@ public static com.openxc.BinaryMessages.NetworkOperatorSettings parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -8213,6 +9074,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.NetworkOperatorSettings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -8236,6 +9098,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_fieldAccessorTable
@@ -8258,6 +9121,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
allowDataRoaming_ = false;
@@ -8273,15 +9137,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkOperatorSettings_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings getDefaultInstanceForType() {
return com.openxc.BinaryMessages.NetworkOperatorSettings.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings build() {
com.openxc.BinaryMessages.NetworkOperatorSettings result = buildPartial();
if (!result.isInitialized()) {
@@ -8290,6 +9157,7 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings buildPartial() {
com.openxc.BinaryMessages.NetworkOperatorSettings result = new com.openxc.BinaryMessages.NetworkOperatorSettings(this);
result.allowDataRoaming_ = allowDataRoaming_;
@@ -8303,32 +9171,39 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.NetworkOperatorSettings) {
return mergeFrom((com.openxc.BinaryMessages.NetworkOperatorSettings)other);
@@ -8349,14 +9224,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.NetworkOperatorSettings other
if (other.hasNetworkDescriptor()) {
mergeNetworkDescriptor(other.getNetworkDescriptor());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8378,12 +9256,16 @@ public Builder mergeFrom(
private boolean allowDataRoaming_ ;
/**
* bool allowDataRoaming = 1;
+ * @return The allowDataRoaming.
*/
+ @java.lang.Override
public boolean getAllowDataRoaming() {
return allowDataRoaming_;
}
/**
* bool allowDataRoaming = 1;
+ * @param value The allowDataRoaming to set.
+ * @return This builder for chaining.
*/
public Builder setAllowDataRoaming(boolean value) {
@@ -8393,6 +9275,7 @@ public Builder setAllowDataRoaming(boolean value) {
}
/**
* bool allowDataRoaming = 1;
+ * @return This builder for chaining.
*/
public Builder clearAllowDataRoaming() {
@@ -8404,27 +9287,36 @@ public Builder clearAllowDataRoaming() {
private int operatorSelectMode_ = 0;
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return The enum numeric value on the wire for operatorSelectMode.
*/
- public int getOperatorSelectModeValue() {
+ @java.lang.Override public int getOperatorSelectModeValue() {
return operatorSelectMode_;
}
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @param value The enum numeric value on the wire for operatorSelectMode to set.
+ * @return This builder for chaining.
*/
public Builder setOperatorSelectModeValue(int value) {
+
operatorSelectMode_ = value;
onChanged();
return this;
}
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return The operatorSelectMode.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode getOperatorSelectMode() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode result = com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode.valueOf(operatorSelectMode_);
return result == null ? com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode.UNRECOGNIZED : result;
}
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @param value The operatorSelectMode to set.
+ * @return This builder for chaining.
*/
public Builder setOperatorSelectMode(com.openxc.BinaryMessages.NetworkOperatorSettings.OperatorSelectMode value) {
if (value == null) {
@@ -8437,6 +9329,7 @@ public Builder setOperatorSelectMode(com.openxc.BinaryMessages.NetworkOperatorSe
}
/**
* .openxc.NetworkOperatorSettings.OperatorSelectMode operatorSelectMode = 2;
+ * @return This builder for chaining.
*/
public Builder clearOperatorSelectMode() {
@@ -8445,17 +9338,19 @@ public Builder clearOperatorSelectMode() {
return this;
}
- private com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor networkDescriptor_ = null;
+ private com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor networkDescriptor_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor, com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor.Builder, com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptorOrBuilder> networkDescriptorBuilder_;
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
+ * @return Whether the networkDescriptor field is set.
*/
public boolean hasNetworkDescriptor() {
return networkDescriptorBuilder_ != null || networkDescriptor_ != null;
}
/**
* .openxc.NetworkOperatorSettings.NetworkDescriptor networkDescriptor = 3;
+ * @return The networkDescriptor.
*/
public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptor getNetworkDescriptor() {
if (networkDescriptorBuilder_ == null) {
@@ -8561,14 +9456,16 @@ public com.openxc.BinaryMessages.NetworkOperatorSettings.NetworkDescriptorOrBuil
}
return networkDescriptorBuilder_;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -8587,11 +9484,12 @@ public static com.openxc.BinaryMessages.NetworkOperatorSettings getDefaultInstan
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public NetworkOperatorSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new NetworkOperatorSettings(input, extensionRegistry);
+ return new NetworkOperatorSettings(input, extensionRegistry);
}
};
@@ -8604,6 +9502,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -8616,10 +9515,12 @@ public interface NetworkDataSettingsOrBuilder extends
/**
* string apn = 1;
+ * @return The apn.
*/
java.lang.String getApn();
/**
* string apn = 1;
+ * @return The bytes for apn.
*/
com.google.protobuf.ByteString
getApnBytes();
@@ -8627,10 +9528,11 @@ public interface NetworkDataSettingsOrBuilder extends
/**
* Protobuf type {@code openxc.NetworkDataSettings}
*/
- public static final class NetworkDataSettings extends
+ public static final class NetworkDataSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.NetworkDataSettings)
NetworkDataSettingsOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use NetworkDataSettings.newBuilder() to construct.
private NetworkDataSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -8639,17 +9541,28 @@ private NetworkDataSettings() {
apn_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new NetworkDataSettings();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private NetworkDataSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -8658,18 +9571,19 @@ private NetworkDataSettings(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 10: {
java.lang.String s = input.readStringRequireUtf8();
apn_ = s;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8678,6 +9592,7 @@ private NetworkDataSettings(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -8686,6 +9601,7 @@ private NetworkDataSettings(
return com.openxc.BinaryMessages.internal_static_openxc_NetworkDataSettings_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkDataSettings_fieldAccessorTable
@@ -8697,7 +9613,9 @@ private NetworkDataSettings(
private volatile java.lang.Object apn_;
/**
* string apn = 1;
+ * @return The apn.
*/
+ @java.lang.Override
public java.lang.String getApn() {
java.lang.Object ref = apn_;
if (ref instanceof java.lang.String) {
@@ -8712,7 +9630,9 @@ public java.lang.String getApn() {
}
/**
* string apn = 1;
+ * @return The bytes for apn.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getApnBytes() {
java.lang.Object ref = apn_;
@@ -8728,6 +9648,7 @@ public java.lang.String getApn() {
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -8737,26 +9658,29 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (!getApnBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apn_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (!getApnBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apn_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -8767,10 +9691,10 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.NetworkDataSettings other = (com.openxc.BinaryMessages.NetworkDataSettings) obj;
- boolean result = true;
- result = result && getApn()
- .equals(other.getApn());
- return result;
+ if (!getApn()
+ .equals(other.getApn())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -8787,6 +9711,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.NetworkDataSettings parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.NetworkDataSettings parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.NetworkDataSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -8846,6 +9781,7 @@ public static com.openxc.BinaryMessages.NetworkDataSettings parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -8853,6 +9789,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.NetworkDataSettings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -8876,6 +9813,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_NetworkDataSettings_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkDataSettings_fieldAccessorTable
@@ -8898,6 +9836,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
apn_ = "";
@@ -8905,15 +9844,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_NetworkDataSettings_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkDataSettings getDefaultInstanceForType() {
return com.openxc.BinaryMessages.NetworkDataSettings.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkDataSettings build() {
com.openxc.BinaryMessages.NetworkDataSettings result = buildPartial();
if (!result.isInitialized()) {
@@ -8922,6 +9864,7 @@ public com.openxc.BinaryMessages.NetworkDataSettings build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkDataSettings buildPartial() {
com.openxc.BinaryMessages.NetworkDataSettings result = new com.openxc.BinaryMessages.NetworkDataSettings(this);
result.apn_ = apn_;
@@ -8929,32 +9872,39 @@ public com.openxc.BinaryMessages.NetworkDataSettings buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.NetworkDataSettings) {
return mergeFrom((com.openxc.BinaryMessages.NetworkDataSettings)other);
@@ -8970,14 +9920,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.NetworkDataSettings other) {
apn_ = other.apn_;
onChanged();
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8999,6 +9952,7 @@ public Builder mergeFrom(
private java.lang.Object apn_ = "";
/**
* string apn = 1;
+ * @return The apn.
*/
public java.lang.String getApn() {
java.lang.Object ref = apn_;
@@ -9014,6 +9968,7 @@ public java.lang.String getApn() {
}
/**
* string apn = 1;
+ * @return The bytes for apn.
*/
public com.google.protobuf.ByteString
getApnBytes() {
@@ -9030,6 +9985,8 @@ public java.lang.String getApn() {
}
/**
* string apn = 1;
+ * @param value The apn to set.
+ * @return This builder for chaining.
*/
public Builder setApn(
java.lang.String value) {
@@ -9043,6 +10000,7 @@ public Builder setApn(
}
/**
* string apn = 1;
+ * @return This builder for chaining.
*/
public Builder clearApn() {
@@ -9052,6 +10010,8 @@ public Builder clearApn() {
}
/**
* string apn = 1;
+ * @param value The bytes for apn to set.
+ * @return This builder for chaining.
*/
public Builder setApnBytes(
com.google.protobuf.ByteString value) {
@@ -9064,14 +10024,16 @@ public Builder setApnBytes(
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -9090,11 +10052,12 @@ public static com.openxc.BinaryMessages.NetworkDataSettings getDefaultInstance()
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public NetworkDataSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new NetworkDataSettings(input, extensionRegistry);
+ return new NetworkDataSettings(input, extensionRegistry);
}
};
@@ -9107,6 +10070,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkDataSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -9119,46 +10083,60 @@ public interface ServerConnectSettingsOrBuilder extends
/**
* string host = 1;
+ * @return The host.
*/
java.lang.String getHost();
/**
* string host = 1;
+ * @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
/**
* uint32 port = 2;
+ * @return The port.
*/
int getPort();
}
/**
* Protobuf type {@code openxc.ServerConnectSettings}
*/
- public static final class ServerConnectSettings extends
+ public static final class ServerConnectSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.ServerConnectSettings)
ServerConnectSettingsOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use ServerConnectSettings.newBuilder() to construct.
private ServerConnectSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ServerConnectSettings() {
host_ = "";
- port_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ServerConnectSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private ServerConnectSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -9167,12 +10145,6 @@ private ServerConnectSettings(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 10: {
java.lang.String s = input.readStringRequireUtf8();
@@ -9184,6 +10156,13 @@ private ServerConnectSettings(
port_ = input.readUInt32();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9192,6 +10171,7 @@ private ServerConnectSettings(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -9200,6 +10180,7 @@ private ServerConnectSettings(
return com.openxc.BinaryMessages.internal_static_openxc_ServerConnectSettings_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_ServerConnectSettings_fieldAccessorTable
@@ -9211,7 +10192,9 @@ private ServerConnectSettings(
private volatile java.lang.Object host_;
/**
* string host = 1;
+ * @return The host.
*/
+ @java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
@@ -9226,7 +10209,9 @@ public java.lang.String getHost() {
}
/**
* string host = 1;
+ * @return The bytes for host.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
@@ -9245,12 +10230,15 @@ public java.lang.String getHost() {
private int port_;
/**
* uint32 port = 2;
+ * @return The port.
*/
+ @java.lang.Override
public int getPort() {
return port_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -9260,33 +10248,36 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (!getHostBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, host_);
}
if (port_ != 0) {
output.writeUInt32(2, port_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (!getHostBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, host_);
}
if (port_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, port_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -9297,12 +10288,12 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.ServerConnectSettings other = (com.openxc.BinaryMessages.ServerConnectSettings) obj;
- boolean result = true;
- result = result && getHost()
- .equals(other.getHost());
- result = result && (getPort()
- == other.getPort());
- return result;
+ if (!getHost()
+ .equals(other.getHost())) return false;
+ if (getPort()
+ != other.getPort()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -9321,6 +10312,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.ServerConnectSettings parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.ServerConnectSettings parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.ServerConnectSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -9380,6 +10382,7 @@ public static com.openxc.BinaryMessages.ServerConnectSettings parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -9387,6 +10390,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.ServerConnectSettings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -9410,6 +10414,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_ServerConnectSettings_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_ServerConnectSettings_fieldAccessorTable
@@ -9432,6 +10437,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
host_ = "";
@@ -9441,15 +10447,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_ServerConnectSettings_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ServerConnectSettings getDefaultInstanceForType() {
return com.openxc.BinaryMessages.ServerConnectSettings.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ServerConnectSettings build() {
com.openxc.BinaryMessages.ServerConnectSettings result = buildPartial();
if (!result.isInitialized()) {
@@ -9458,6 +10467,7 @@ public com.openxc.BinaryMessages.ServerConnectSettings build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ServerConnectSettings buildPartial() {
com.openxc.BinaryMessages.ServerConnectSettings result = new com.openxc.BinaryMessages.ServerConnectSettings(this);
result.host_ = host_;
@@ -9466,32 +10476,39 @@ public com.openxc.BinaryMessages.ServerConnectSettings buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.ServerConnectSettings) {
return mergeFrom((com.openxc.BinaryMessages.ServerConnectSettings)other);
@@ -9510,14 +10527,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.ServerConnectSettings other)
if (other.getPort() != 0) {
setPort(other.getPort());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9539,6 +10559,7 @@ public Builder mergeFrom(
private java.lang.Object host_ = "";
/**
* string host = 1;
+ * @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
@@ -9554,6 +10575,7 @@ public java.lang.String getHost() {
}
/**
* string host = 1;
+ * @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
@@ -9570,6 +10592,8 @@ public java.lang.String getHost() {
}
/**
* string host = 1;
+ * @param value The host to set.
+ * @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
@@ -9583,6 +10607,7 @@ public Builder setHost(
}
/**
* string host = 1;
+ * @return This builder for chaining.
*/
public Builder clearHost() {
@@ -9592,6 +10617,8 @@ public Builder clearHost() {
}
/**
* string host = 1;
+ * @param value The bytes for host to set.
+ * @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
@@ -9608,12 +10635,16 @@ public Builder setHostBytes(
private int port_ ;
/**
* uint32 port = 2;
+ * @return The port.
*/
+ @java.lang.Override
public int getPort() {
return port_;
}
/**
* uint32 port = 2;
+ * @param value The port to set.
+ * @return This builder for chaining.
*/
public Builder setPort(int value) {
@@ -9623,6 +10654,7 @@ public Builder setPort(int value) {
}
/**
* uint32 port = 2;
+ * @return This builder for chaining.
*/
public Builder clearPort() {
@@ -9630,14 +10662,16 @@ public Builder clearPort() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -9656,11 +10690,12 @@ public static com.openxc.BinaryMessages.ServerConnectSettings getDefaultInstance
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public ServerConnectSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new ServerConnectSettings(input, extensionRegistry);
+ return new ServerConnectSettings(input, extensionRegistry);
}
};
@@ -9673,6 +10708,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ServerConnectSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -9685,10 +10721,12 @@ public interface ModemConfigurationCommandOrBuilder extends
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
+ * @return Whether the networkOperatorSettings field is set.
*/
boolean hasNetworkOperatorSettings();
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
+ * @return The networkOperatorSettings.
*/
com.openxc.BinaryMessages.NetworkOperatorSettings getNetworkOperatorSettings();
/**
@@ -9698,10 +10736,12 @@ public interface ModemConfigurationCommandOrBuilder extends
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
+ * @return Whether the networkDataSettings field is set.
*/
boolean hasNetworkDataSettings();
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
+ * @return The networkDataSettings.
*/
com.openxc.BinaryMessages.NetworkDataSettings getNetworkDataSettings();
/**
@@ -9711,10 +10751,12 @@ public interface ModemConfigurationCommandOrBuilder extends
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
+ * @return Whether the serverConnectSettings field is set.
*/
boolean hasServerConnectSettings();
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
+ * @return The serverConnectSettings.
*/
com.openxc.BinaryMessages.ServerConnectSettings getServerConnectSettings();
/**
@@ -9725,10 +10767,11 @@ public interface ModemConfigurationCommandOrBuilder extends
/**
* Protobuf type {@code openxc.ModemConfigurationCommand}
*/
- public static final class ModemConfigurationCommand extends
+ public static final class ModemConfigurationCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.ModemConfigurationCommand)
ModemConfigurationCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use ModemConfigurationCommand.newBuilder() to construct.
private ModemConfigurationCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -9736,17 +10779,28 @@ private ModemConfigurationCommand(com.google.protobuf.GeneratedMessageV3.Builder
private ModemConfigurationCommand() {
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ModemConfigurationCommand();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private ModemConfigurationCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -9755,12 +10809,6 @@ private ModemConfigurationCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 10: {
com.openxc.BinaryMessages.NetworkOperatorSettings.Builder subBuilder = null;
if (networkOperatorSettings_ != null) {
@@ -9800,6 +10848,13 @@ private ModemConfigurationCommand(
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9808,6 +10863,7 @@ private ModemConfigurationCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -9816,6 +10872,7 @@ private ModemConfigurationCommand(
return com.openxc.BinaryMessages.internal_static_openxc_ModemConfigurationCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_ModemConfigurationCommand_fieldAccessorTable
@@ -9827,19 +10884,24 @@ private ModemConfigurationCommand(
private com.openxc.BinaryMessages.NetworkOperatorSettings networkOperatorSettings_;
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
+ * @return Whether the networkOperatorSettings field is set.
*/
+ @java.lang.Override
public boolean hasNetworkOperatorSettings() {
return networkOperatorSettings_ != null;
}
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
+ * @return The networkOperatorSettings.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettings getNetworkOperatorSettings() {
return networkOperatorSettings_ == null ? com.openxc.BinaryMessages.NetworkOperatorSettings.getDefaultInstance() : networkOperatorSettings_;
}
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkOperatorSettingsOrBuilder getNetworkOperatorSettingsOrBuilder() {
return getNetworkOperatorSettings();
}
@@ -9848,19 +10910,24 @@ public com.openxc.BinaryMessages.NetworkOperatorSettingsOrBuilder getNetworkOper
private com.openxc.BinaryMessages.NetworkDataSettings networkDataSettings_;
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
+ * @return Whether the networkDataSettings field is set.
*/
+ @java.lang.Override
public boolean hasNetworkDataSettings() {
return networkDataSettings_ != null;
}
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
+ * @return The networkDataSettings.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkDataSettings getNetworkDataSettings() {
return networkDataSettings_ == null ? com.openxc.BinaryMessages.NetworkDataSettings.getDefaultInstance() : networkDataSettings_;
}
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.NetworkDataSettingsOrBuilder getNetworkDataSettingsOrBuilder() {
return getNetworkDataSettings();
}
@@ -9869,24 +10936,30 @@ public com.openxc.BinaryMessages.NetworkDataSettingsOrBuilder getNetworkDataSett
private com.openxc.BinaryMessages.ServerConnectSettings serverConnectSettings_;
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
+ * @return Whether the serverConnectSettings field is set.
*/
+ @java.lang.Override
public boolean hasServerConnectSettings() {
return serverConnectSettings_ != null;
}
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
+ * @return The serverConnectSettings.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ServerConnectSettings getServerConnectSettings() {
return serverConnectSettings_ == null ? com.openxc.BinaryMessages.ServerConnectSettings.getDefaultInstance() : serverConnectSettings_;
}
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ServerConnectSettingsOrBuilder getServerConnectSettingsOrBuilder() {
return getServerConnectSettings();
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -9896,6 +10969,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (networkOperatorSettings_ != null) {
@@ -9907,8 +10981,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (serverConnectSettings_ != null) {
output.writeMessage(3, getServerConnectSettings());
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -9926,11 +11002,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getServerConnectSettings());
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -9941,23 +11017,23 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.ModemConfigurationCommand other = (com.openxc.BinaryMessages.ModemConfigurationCommand) obj;
- boolean result = true;
- result = result && (hasNetworkOperatorSettings() == other.hasNetworkOperatorSettings());
+ if (hasNetworkOperatorSettings() != other.hasNetworkOperatorSettings()) return false;
if (hasNetworkOperatorSettings()) {
- result = result && getNetworkOperatorSettings()
- .equals(other.getNetworkOperatorSettings());
+ if (!getNetworkOperatorSettings()
+ .equals(other.getNetworkOperatorSettings())) return false;
}
- result = result && (hasNetworkDataSettings() == other.hasNetworkDataSettings());
+ if (hasNetworkDataSettings() != other.hasNetworkDataSettings()) return false;
if (hasNetworkDataSettings()) {
- result = result && getNetworkDataSettings()
- .equals(other.getNetworkDataSettings());
+ if (!getNetworkDataSettings()
+ .equals(other.getNetworkDataSettings())) return false;
}
- result = result && (hasServerConnectSettings() == other.hasServerConnectSettings());
+ if (hasServerConnectSettings() != other.hasServerConnectSettings()) return false;
if (hasServerConnectSettings()) {
- result = result && getServerConnectSettings()
- .equals(other.getServerConnectSettings());
+ if (!getServerConnectSettings()
+ .equals(other.getServerConnectSettings())) return false;
}
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -9984,6 +11060,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.ModemConfigurationCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.ModemConfigurationCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.ModemConfigurationCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -10043,6 +11130,7 @@ public static com.openxc.BinaryMessages.ModemConfigurationCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -10050,6 +11138,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.ModemConfigurationCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -10073,6 +11162,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_ModemConfigurationCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_ModemConfigurationCommand_fieldAccessorTable
@@ -10095,6 +11185,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
if (networkOperatorSettingsBuilder_ == null) {
@@ -10118,15 +11209,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_ModemConfigurationCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ModemConfigurationCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.ModemConfigurationCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ModemConfigurationCommand build() {
com.openxc.BinaryMessages.ModemConfigurationCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -10135,6 +11229,7 @@ public com.openxc.BinaryMessages.ModemConfigurationCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ModemConfigurationCommand buildPartial() {
com.openxc.BinaryMessages.ModemConfigurationCommand result = new com.openxc.BinaryMessages.ModemConfigurationCommand(this);
if (networkOperatorSettingsBuilder_ == null) {
@@ -10156,32 +11251,39 @@ public com.openxc.BinaryMessages.ModemConfigurationCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.ModemConfigurationCommand) {
return mergeFrom((com.openxc.BinaryMessages.ModemConfigurationCommand)other);
@@ -10202,14 +11304,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.ModemConfigurationCommand oth
if (other.hasServerConnectSettings()) {
mergeServerConnectSettings(other.getServerConnectSettings());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10228,17 +11333,19 @@ public Builder mergeFrom(
return this;
}
- private com.openxc.BinaryMessages.NetworkOperatorSettings networkOperatorSettings_ = null;
+ private com.openxc.BinaryMessages.NetworkOperatorSettings networkOperatorSettings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.NetworkOperatorSettings, com.openxc.BinaryMessages.NetworkOperatorSettings.Builder, com.openxc.BinaryMessages.NetworkOperatorSettingsOrBuilder> networkOperatorSettingsBuilder_;
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
+ * @return Whether the networkOperatorSettings field is set.
*/
public boolean hasNetworkOperatorSettings() {
return networkOperatorSettingsBuilder_ != null || networkOperatorSettings_ != null;
}
/**
* .openxc.NetworkOperatorSettings networkOperatorSettings = 1;
+ * @return The networkOperatorSettings.
*/
public com.openxc.BinaryMessages.NetworkOperatorSettings getNetworkOperatorSettings() {
if (networkOperatorSettingsBuilder_ == null) {
@@ -10345,17 +11452,19 @@ public com.openxc.BinaryMessages.NetworkOperatorSettingsOrBuilder getNetworkOper
return networkOperatorSettingsBuilder_;
}
- private com.openxc.BinaryMessages.NetworkDataSettings networkDataSettings_ = null;
+ private com.openxc.BinaryMessages.NetworkDataSettings networkDataSettings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.NetworkDataSettings, com.openxc.BinaryMessages.NetworkDataSettings.Builder, com.openxc.BinaryMessages.NetworkDataSettingsOrBuilder> networkDataSettingsBuilder_;
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
+ * @return Whether the networkDataSettings field is set.
*/
public boolean hasNetworkDataSettings() {
return networkDataSettingsBuilder_ != null || networkDataSettings_ != null;
}
/**
* .openxc.NetworkDataSettings networkDataSettings = 2;
+ * @return The networkDataSettings.
*/
public com.openxc.BinaryMessages.NetworkDataSettings getNetworkDataSettings() {
if (networkDataSettingsBuilder_ == null) {
@@ -10462,17 +11571,19 @@ public com.openxc.BinaryMessages.NetworkDataSettingsOrBuilder getNetworkDataSett
return networkDataSettingsBuilder_;
}
- private com.openxc.BinaryMessages.ServerConnectSettings serverConnectSettings_ = null;
+ private com.openxc.BinaryMessages.ServerConnectSettings serverConnectSettings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.ServerConnectSettings, com.openxc.BinaryMessages.ServerConnectSettings.Builder, com.openxc.BinaryMessages.ServerConnectSettingsOrBuilder> serverConnectSettingsBuilder_;
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
+ * @return Whether the serverConnectSettings field is set.
*/
public boolean hasServerConnectSettings() {
return serverConnectSettingsBuilder_ != null || serverConnectSettings_ != null;
}
/**
* .openxc.ServerConnectSettings serverConnectSettings = 3;
+ * @return The serverConnectSettings.
*/
public com.openxc.BinaryMessages.ServerConnectSettings getServerConnectSettings() {
if (serverConnectSettingsBuilder_ == null) {
@@ -10578,14 +11689,16 @@ public com.openxc.BinaryMessages.ServerConnectSettingsOrBuilder getServerConnect
}
return serverConnectSettingsBuilder_;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -10604,11 +11717,12 @@ public static com.openxc.BinaryMessages.ModemConfigurationCommand getDefaultInst
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public ModemConfigurationCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new ModemConfigurationCommand(input, extensionRegistry);
+ return new ModemConfigurationCommand(input, extensionRegistry);
}
};
@@ -10621,6 +11735,7 @@ public com.google.protobuf.Parser getParserForType()
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.ModemConfigurationCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -10633,35 +11748,47 @@ public interface RTCConfigurationCommandOrBuilder extends
/**
* uint32 unix_time = 1;
+ * @return The unixTime.
*/
int getUnixTime();
}
/**
* Protobuf type {@code openxc.RTCConfigurationCommand}
*/
- public static final class RTCConfigurationCommand extends
+ public static final class RTCConfigurationCommand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.RTCConfigurationCommand)
RTCConfigurationCommandOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use RTCConfigurationCommand.newBuilder() to construct.
private RTCConfigurationCommand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RTCConfigurationCommand() {
- unixTime_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new RTCConfigurationCommand();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private RTCConfigurationCommand(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -10670,17 +11797,18 @@ private RTCConfigurationCommand(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
unixTime_ = input.readUInt32();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10689,6 +11817,7 @@ private RTCConfigurationCommand(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -10697,6 +11826,7 @@ private RTCConfigurationCommand(
return com.openxc.BinaryMessages.internal_static_openxc_RTCConfigurationCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_RTCConfigurationCommand_fieldAccessorTable
@@ -10708,12 +11838,15 @@ private RTCConfigurationCommand(
private int unixTime_;
/**
* uint32 unix_time = 1;
+ * @return The unixTime.
*/
+ @java.lang.Override
public int getUnixTime() {
return unixTime_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -10723,13 +11856,16 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (unixTime_ != 0) {
output.writeUInt32(1, unixTime_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -10739,11 +11875,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, unixTime_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -10754,10 +11890,10 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.RTCConfigurationCommand other = (com.openxc.BinaryMessages.RTCConfigurationCommand) obj;
- boolean result = true;
- result = result && (getUnixTime()
- == other.getUnixTime());
- return result;
+ if (getUnixTime()
+ != other.getUnixTime()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -10774,6 +11910,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.RTCConfigurationCommand parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.RTCConfigurationCommand parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.RTCConfigurationCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -10833,6 +11980,7 @@ public static com.openxc.BinaryMessages.RTCConfigurationCommand parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -10840,6 +11988,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.RTCConfigurationCommand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -10863,6 +12012,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_RTCConfigurationCommand_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_RTCConfigurationCommand_fieldAccessorTable
@@ -10885,6 +12035,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
unixTime_ = 0;
@@ -10892,15 +12043,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_RTCConfigurationCommand_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.RTCConfigurationCommand getDefaultInstanceForType() {
return com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.RTCConfigurationCommand build() {
com.openxc.BinaryMessages.RTCConfigurationCommand result = buildPartial();
if (!result.isInitialized()) {
@@ -10909,6 +12063,7 @@ public com.openxc.BinaryMessages.RTCConfigurationCommand build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.RTCConfigurationCommand buildPartial() {
com.openxc.BinaryMessages.RTCConfigurationCommand result = new com.openxc.BinaryMessages.RTCConfigurationCommand(this);
result.unixTime_ = unixTime_;
@@ -10916,32 +12071,39 @@ public com.openxc.BinaryMessages.RTCConfigurationCommand buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.RTCConfigurationCommand) {
return mergeFrom((com.openxc.BinaryMessages.RTCConfigurationCommand)other);
@@ -10956,14 +12118,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.RTCConfigurationCommand other
if (other.getUnixTime() != 0) {
setUnixTime(other.getUnixTime());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10985,12 +12150,16 @@ public Builder mergeFrom(
private int unixTime_ ;
/**
* uint32 unix_time = 1;
+ * @return The unixTime.
*/
+ @java.lang.Override
public int getUnixTime() {
return unixTime_;
}
/**
* uint32 unix_time = 1;
+ * @param value The unixTime to set.
+ * @return This builder for chaining.
*/
public Builder setUnixTime(int value) {
@@ -11000,6 +12169,7 @@ public Builder setUnixTime(int value) {
}
/**
* uint32 unix_time = 1;
+ * @return This builder for chaining.
*/
public Builder clearUnixTime() {
@@ -11007,14 +12177,16 @@ public Builder clearUnixTime() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -11033,11 +12205,12 @@ public static com.openxc.BinaryMessages.RTCConfigurationCommand getDefaultInstan
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public RTCConfigurationCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new RTCConfigurationCommand(input, extensionRegistry);
+ return new RTCConfigurationCommand(input, extensionRegistry);
}
};
@@ -11050,6 +12223,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.RTCConfigurationCommand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -11062,35 +12236,41 @@ public interface CommandResponseOrBuilder extends
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The type.
*/
com.openxc.BinaryMessages.ControlCommand.Type getType();
/**
* string message = 2;
+ * @return The message.
*/
java.lang.String getMessage();
/**
* string message = 2;
+ * @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
* bool status = 3;
+ * @return The status.
*/
boolean getStatus();
}
/**
* Protobuf type {@code openxc.CommandResponse}
*/
- public static final class CommandResponse extends
+ public static final class CommandResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.CommandResponse)
CommandResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use CommandResponse.newBuilder() to construct.
private CommandResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -11098,20 +12278,30 @@ private CommandResponse(com.google.protobuf.GeneratedMessageV3.Builder> builde
private CommandResponse() {
type_ = 0;
message_ = "";
- status_ = false;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new CommandResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private CommandResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -11120,12 +12310,6 @@ private CommandResponse(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
int rawValue = input.readEnum();
@@ -11143,6 +12327,13 @@ private CommandResponse(
status_ = input.readBool();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11151,6 +12342,7 @@ private CommandResponse(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -11159,6 +12351,7 @@ private CommandResponse(
return com.openxc.BinaryMessages.internal_static_openxc_CommandResponse_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_CommandResponse_fieldAccessorTable
@@ -11170,14 +12363,17 @@ private CommandResponse(
private int type_;
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The type.
*/
- public com.openxc.BinaryMessages.ControlCommand.Type getType() {
+ @java.lang.Override public com.openxc.BinaryMessages.ControlCommand.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.ControlCommand.Type result = com.openxc.BinaryMessages.ControlCommand.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.ControlCommand.Type.UNRECOGNIZED : result;
}
@@ -11186,7 +12382,9 @@ public com.openxc.BinaryMessages.ControlCommand.Type getType() {
private volatile java.lang.Object message_;
/**
* string message = 2;
+ * @return The message.
*/
+ @java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
@@ -11201,7 +12399,9 @@ public java.lang.String getMessage() {
}
/**
* string message = 2;
+ * @return The bytes for message.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
@@ -11220,12 +12420,15 @@ public java.lang.String getMessage() {
private boolean status_;
/**
* bool status = 3;
+ * @return The status.
*/
+ @java.lang.Override
public boolean getStatus() {
return status_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -11235,19 +12438,22 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (type_ != com.openxc.BinaryMessages.ControlCommand.Type.UNUSED.getNumber()) {
output.writeEnum(1, type_);
}
- if (!getMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
if (status_ != false) {
output.writeBool(3, status_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -11257,18 +12463,18 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
- if (!getMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
if (status_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, status_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -11279,13 +12485,13 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.CommandResponse other = (com.openxc.BinaryMessages.CommandResponse) obj;
- boolean result = true;
- result = result && type_ == other.type_;
- result = result && getMessage()
- .equals(other.getMessage());
- result = result && (getStatus()
- == other.getStatus());
- return result;
+ if (type_ != other.type_) return false;
+ if (!getMessage()
+ .equals(other.getMessage())) return false;
+ if (getStatus()
+ != other.getStatus()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -11307,6 +12513,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.CommandResponse parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.CommandResponse parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.CommandResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -11366,6 +12583,7 @@ public static com.openxc.BinaryMessages.CommandResponse parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -11373,6 +12591,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.CommandResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -11396,6 +12615,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_CommandResponse_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_CommandResponse_fieldAccessorTable
@@ -11418,6 +12638,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
type_ = 0;
@@ -11429,15 +12650,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_CommandResponse_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CommandResponse getDefaultInstanceForType() {
return com.openxc.BinaryMessages.CommandResponse.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CommandResponse build() {
com.openxc.BinaryMessages.CommandResponse result = buildPartial();
if (!result.isInitialized()) {
@@ -11446,6 +12670,7 @@ public com.openxc.BinaryMessages.CommandResponse build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CommandResponse buildPartial() {
com.openxc.BinaryMessages.CommandResponse result = new com.openxc.BinaryMessages.CommandResponse(this);
result.type_ = type_;
@@ -11455,32 +12680,39 @@ public com.openxc.BinaryMessages.CommandResponse buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.CommandResponse) {
return mergeFrom((com.openxc.BinaryMessages.CommandResponse)other);
@@ -11502,14 +12734,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.CommandResponse other) {
if (other.getStatus() != false) {
setStatus(other.getStatus());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11531,27 +12766,36 @@ public Builder mergeFrom(
private int type_ = 0;
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return The type.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.ControlCommand.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.ControlCommand.Type result = com.openxc.BinaryMessages.ControlCommand.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.ControlCommand.Type.UNRECOGNIZED : result;
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.openxc.BinaryMessages.ControlCommand.Type value) {
if (value == null) {
@@ -11564,6 +12808,7 @@ public Builder setType(com.openxc.BinaryMessages.ControlCommand.Type value) {
}
/**
* .openxc.ControlCommand.Type type = 1;
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -11575,6 +12820,7 @@ public Builder clearType() {
private java.lang.Object message_ = "";
/**
* string message = 2;
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -11590,6 +12836,7 @@ public java.lang.String getMessage() {
}
/**
* string message = 2;
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
@@ -11606,6 +12853,8 @@ public java.lang.String getMessage() {
}
/**
* string message = 2;
+ * @param value The message to set.
+ * @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
@@ -11619,6 +12868,7 @@ public Builder setMessage(
}
/**
* string message = 2;
+ * @return This builder for chaining.
*/
public Builder clearMessage() {
@@ -11628,6 +12878,8 @@ public Builder clearMessage() {
}
/**
* string message = 2;
+ * @param value The bytes for message to set.
+ * @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
@@ -11644,12 +12896,16 @@ public Builder setMessageBytes(
private boolean status_ ;
/**
* bool status = 3;
+ * @return The status.
*/
+ @java.lang.Override
public boolean getStatus() {
return status_;
}
/**
* bool status = 3;
+ * @param value The status to set.
+ * @return This builder for chaining.
*/
public Builder setStatus(boolean value) {
@@ -11659,6 +12915,7 @@ public Builder setStatus(boolean value) {
}
/**
* bool status = 3;
+ * @return This builder for chaining.
*/
public Builder clearStatus() {
@@ -11666,14 +12923,16 @@ public Builder clearStatus() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -11692,11 +12951,12 @@ public static com.openxc.BinaryMessages.CommandResponse getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public CommandResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new CommandResponse(input, extensionRegistry);
+ return new CommandResponse(input, extensionRegistry);
}
};
@@ -11709,6 +12969,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.CommandResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -11721,92 +12982,109 @@ public interface DiagnosticRequestOrBuilder extends
/**
* int32 bus = 1;
+ * @return The bus.
*/
int getBus();
/**
* uint32 message_id = 2;
+ * @return The messageId.
*/
int getMessageId();
/**
* uint32 mode = 3;
+ * @return The mode.
*/
int getMode();
/**
* uint32 pid = 4;
+ * @return The pid.
*/
int getPid();
/**
* bytes payload = 5;
+ * @return The payload.
*/
com.google.protobuf.ByteString getPayload();
/**
* bool multiple_responses = 6;
+ * @return The multipleResponses.
*/
boolean getMultipleResponses();
/**
* double frequency = 7;
+ * @return The frequency.
*/
double getFrequency();
/**
* string name = 8;
+ * @return The name.
*/
java.lang.String getName();
/**
* string name = 8;
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return The enum numeric value on the wire for decodedType.
*/
int getDecodedTypeValue();
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return The decodedType.
*/
com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType();
}
/**
* Protobuf type {@code openxc.DiagnosticRequest}
*/
- public static final class DiagnosticRequest extends
+ public static final class DiagnosticRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.DiagnosticRequest)
DiagnosticRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use DiagnosticRequest.newBuilder() to construct.
private DiagnosticRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DiagnosticRequest() {
- bus_ = 0;
- messageId_ = 0;
- mode_ = 0;
- pid_ = 0;
payload_ = com.google.protobuf.ByteString.EMPTY;
- multipleResponses_ = false;
- frequency_ = 0D;
name_ = "";
decodedType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DiagnosticRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private DiagnosticRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -11815,12 +13093,6 @@ private DiagnosticRequest(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
bus_ = input.readInt32();
@@ -11868,6 +13140,13 @@ private DiagnosticRequest(
decodedType_ = rawValue;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11876,6 +13155,7 @@ private DiagnosticRequest(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -11884,6 +13164,7 @@ private DiagnosticRequest(
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticRequest_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticRequest_fieldAccessorTable
@@ -11934,6 +13215,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -11941,6 +13224,10 @@ public static DecodedType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static DecodedType forNumber(int value) {
switch (value) {
case 0: return UNUSED;
@@ -11964,6 +13251,10 @@ public DecodedType findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -12002,7 +13293,9 @@ private DecodedType(int value) {
private int bus_;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
@@ -12011,7 +13304,9 @@ public int getBus() {
private int messageId_;
/**
* uint32 message_id = 2;
+ * @return The messageId.
*/
+ @java.lang.Override
public int getMessageId() {
return messageId_;
}
@@ -12020,7 +13315,9 @@ public int getMessageId() {
private int mode_;
/**
* uint32 mode = 3;
+ * @return The mode.
*/
+ @java.lang.Override
public int getMode() {
return mode_;
}
@@ -12029,7 +13326,9 @@ public int getMode() {
private int pid_;
/**
* uint32 pid = 4;
+ * @return The pid.
*/
+ @java.lang.Override
public int getPid() {
return pid_;
}
@@ -12038,7 +13337,9 @@ public int getPid() {
private com.google.protobuf.ByteString payload_;
/**
* bytes payload = 5;
+ * @return The payload.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
@@ -12047,7 +13348,9 @@ public com.google.protobuf.ByteString getPayload() {
private boolean multipleResponses_;
/**
* bool multiple_responses = 6;
+ * @return The multipleResponses.
*/
+ @java.lang.Override
public boolean getMultipleResponses() {
return multipleResponses_;
}
@@ -12056,7 +13359,9 @@ public boolean getMultipleResponses() {
private double frequency_;
/**
* double frequency = 7;
+ * @return The frequency.
*/
+ @java.lang.Override
public double getFrequency() {
return frequency_;
}
@@ -12065,7 +13370,9 @@ public double getFrequency() {
private volatile java.lang.Object name_;
/**
* string name = 8;
+ * @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -12080,7 +13387,9 @@ public java.lang.String getName() {
}
/**
* string name = 8;
+ * @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -12099,19 +13408,23 @@ public java.lang.String getName() {
private int decodedType_;
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return The enum numeric value on the wire for decodedType.
*/
- public int getDecodedTypeValue() {
+ @java.lang.Override public int getDecodedTypeValue() {
return decodedType_;
}
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return The decodedType.
*/
- public com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType() {
+ @java.lang.Override public com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.DiagnosticRequest.DecodedType result = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.valueOf(decodedType_);
return result == null ? com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -12121,6 +13434,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (bus_ != 0) {
@@ -12141,17 +13455,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (multipleResponses_ != false) {
output.writeBool(6, multipleResponses_);
}
- if (frequency_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(frequency_) != 0) {
output.writeDouble(7, frequency_);
}
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, name_);
}
if (decodedType_ != com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.UNUSED.getNumber()) {
output.writeEnum(9, decodedType_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -12181,22 +13497,22 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, multipleResponses_);
}
- if (frequency_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(frequency_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(7, frequency_);
}
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, name_);
}
if (decodedType_ != com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.UNUSED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, decodedType_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -12207,27 +13523,26 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.DiagnosticRequest other = (com.openxc.BinaryMessages.DiagnosticRequest) obj;
- boolean result = true;
- result = result && (getBus()
- == other.getBus());
- result = result && (getMessageId()
- == other.getMessageId());
- result = result && (getMode()
- == other.getMode());
- result = result && (getPid()
- == other.getPid());
- result = result && getPayload()
- .equals(other.getPayload());
- result = result && (getMultipleResponses()
- == other.getMultipleResponses());
- result = result && (
- java.lang.Double.doubleToLongBits(getFrequency())
- == java.lang.Double.doubleToLongBits(
- other.getFrequency()));
- result = result && getName()
- .equals(other.getName());
- result = result && decodedType_ == other.decodedType_;
- return result;
+ if (getBus()
+ != other.getBus()) return false;
+ if (getMessageId()
+ != other.getMessageId()) return false;
+ if (getMode()
+ != other.getMode()) return false;
+ if (getPid()
+ != other.getPid()) return false;
+ if (!getPayload()
+ .equals(other.getPayload())) return false;
+ if (getMultipleResponses()
+ != other.getMultipleResponses()) return false;
+ if (java.lang.Double.doubleToLongBits(getFrequency())
+ != java.lang.Double.doubleToLongBits(
+ other.getFrequency())) return false;
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (decodedType_ != other.decodedType_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -12262,6 +13577,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.DiagnosticRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.DiagnosticRequest parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.DiagnosticRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -12321,6 +13647,7 @@ public static com.openxc.BinaryMessages.DiagnosticRequest parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -12328,6 +13655,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.DiagnosticRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -12351,6 +13679,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticRequest_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticRequest_fieldAccessorTable
@@ -12373,6 +13702,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
bus_ = 0;
@@ -12396,15 +13726,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticRequest_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequest getDefaultInstanceForType() {
return com.openxc.BinaryMessages.DiagnosticRequest.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequest build() {
com.openxc.BinaryMessages.DiagnosticRequest result = buildPartial();
if (!result.isInitialized()) {
@@ -12413,6 +13746,7 @@ public com.openxc.BinaryMessages.DiagnosticRequest build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequest buildPartial() {
com.openxc.BinaryMessages.DiagnosticRequest result = new com.openxc.BinaryMessages.DiagnosticRequest(this);
result.bus_ = bus_;
@@ -12428,32 +13762,39 @@ public com.openxc.BinaryMessages.DiagnosticRequest buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.DiagnosticRequest) {
return mergeFrom((com.openxc.BinaryMessages.DiagnosticRequest)other);
@@ -12493,14 +13834,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.DiagnosticRequest other) {
if (other.decodedType_ != 0) {
setDecodedTypeValue(other.getDecodedTypeValue());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12522,12 +13866,16 @@ public Builder mergeFrom(
private int bus_ ;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
/**
* int32 bus = 1;
+ * @param value The bus to set.
+ * @return This builder for chaining.
*/
public Builder setBus(int value) {
@@ -12537,6 +13885,7 @@ public Builder setBus(int value) {
}
/**
* int32 bus = 1;
+ * @return This builder for chaining.
*/
public Builder clearBus() {
@@ -12548,12 +13897,16 @@ public Builder clearBus() {
private int messageId_ ;
/**
* uint32 message_id = 2;
+ * @return The messageId.
*/
+ @java.lang.Override
public int getMessageId() {
return messageId_;
}
/**
* uint32 message_id = 2;
+ * @param value The messageId to set.
+ * @return This builder for chaining.
*/
public Builder setMessageId(int value) {
@@ -12563,6 +13916,7 @@ public Builder setMessageId(int value) {
}
/**
* uint32 message_id = 2;
+ * @return This builder for chaining.
*/
public Builder clearMessageId() {
@@ -12574,12 +13928,16 @@ public Builder clearMessageId() {
private int mode_ ;
/**
* uint32 mode = 3;
+ * @return The mode.
*/
+ @java.lang.Override
public int getMode() {
return mode_;
}
/**
* uint32 mode = 3;
+ * @param value The mode to set.
+ * @return This builder for chaining.
*/
public Builder setMode(int value) {
@@ -12589,6 +13947,7 @@ public Builder setMode(int value) {
}
/**
* uint32 mode = 3;
+ * @return This builder for chaining.
*/
public Builder clearMode() {
@@ -12600,12 +13959,16 @@ public Builder clearMode() {
private int pid_ ;
/**
* uint32 pid = 4;
+ * @return The pid.
*/
+ @java.lang.Override
public int getPid() {
return pid_;
}
/**
* uint32 pid = 4;
+ * @param value The pid to set.
+ * @return This builder for chaining.
*/
public Builder setPid(int value) {
@@ -12615,6 +13978,7 @@ public Builder setPid(int value) {
}
/**
* uint32 pid = 4;
+ * @return This builder for chaining.
*/
public Builder clearPid() {
@@ -12626,12 +13990,16 @@ public Builder clearPid() {
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes payload = 5;
+ * @return The payload.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* bytes payload = 5;
+ * @param value The payload to set.
+ * @return This builder for chaining.
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -12644,6 +14012,7 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
}
/**
* bytes payload = 5;
+ * @return This builder for chaining.
*/
public Builder clearPayload() {
@@ -12655,12 +14024,16 @@ public Builder clearPayload() {
private boolean multipleResponses_ ;
/**
* bool multiple_responses = 6;
+ * @return The multipleResponses.
*/
+ @java.lang.Override
public boolean getMultipleResponses() {
return multipleResponses_;
}
/**
* bool multiple_responses = 6;
+ * @param value The multipleResponses to set.
+ * @return This builder for chaining.
*/
public Builder setMultipleResponses(boolean value) {
@@ -12670,6 +14043,7 @@ public Builder setMultipleResponses(boolean value) {
}
/**
* bool multiple_responses = 6;
+ * @return This builder for chaining.
*/
public Builder clearMultipleResponses() {
@@ -12681,12 +14055,16 @@ public Builder clearMultipleResponses() {
private double frequency_ ;
/**
* double frequency = 7;
+ * @return The frequency.
*/
+ @java.lang.Override
public double getFrequency() {
return frequency_;
}
/**
* double frequency = 7;
+ * @param value The frequency to set.
+ * @return This builder for chaining.
*/
public Builder setFrequency(double value) {
@@ -12696,6 +14074,7 @@ public Builder setFrequency(double value) {
}
/**
* double frequency = 7;
+ * @return This builder for chaining.
*/
public Builder clearFrequency() {
@@ -12707,6 +14086,7 @@ public Builder clearFrequency() {
private java.lang.Object name_ = "";
/**
* string name = 8;
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -12722,6 +14102,7 @@ public java.lang.String getName() {
}
/**
* string name = 8;
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -12738,6 +14119,8 @@ public java.lang.String getName() {
}
/**
* string name = 8;
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
@@ -12751,6 +14134,7 @@ public Builder setName(
}
/**
* string name = 8;
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -12760,6 +14144,8 @@ public Builder clearName() {
}
/**
* string name = 8;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
@@ -12776,27 +14162,36 @@ public Builder setNameBytes(
private int decodedType_ = 0;
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return The enum numeric value on the wire for decodedType.
*/
- public int getDecodedTypeValue() {
+ @java.lang.Override public int getDecodedTypeValue() {
return decodedType_;
}
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @param value The enum numeric value on the wire for decodedType to set.
+ * @return This builder for chaining.
*/
public Builder setDecodedTypeValue(int value) {
+
decodedType_ = value;
onChanged();
return this;
}
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return The decodedType.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequest.DecodedType getDecodedType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.DiagnosticRequest.DecodedType result = com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.valueOf(decodedType_);
return result == null ? com.openxc.BinaryMessages.DiagnosticRequest.DecodedType.UNRECOGNIZED : result;
}
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @param value The decodedType to set.
+ * @return This builder for chaining.
*/
public Builder setDecodedType(com.openxc.BinaryMessages.DiagnosticRequest.DecodedType value) {
if (value == null) {
@@ -12809,6 +14204,7 @@ public Builder setDecodedType(com.openxc.BinaryMessages.DiagnosticRequest.Decode
}
/**
* .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
+ * @return This builder for chaining.
*/
public Builder clearDecodedType() {
@@ -12816,14 +14212,16 @@ public Builder clearDecodedType() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -12842,11 +14240,12 @@ public static com.openxc.BinaryMessages.DiagnosticRequest getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public DiagnosticRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new DiagnosticRequest(input, extensionRegistry);
+ return new DiagnosticRequest(input, extensionRegistry);
}
};
@@ -12859,6 +14258,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -12871,45 +14271,54 @@ public interface DiagnosticResponseOrBuilder extends
/**
* int32 bus = 1;
+ * @return The bus.
*/
int getBus();
/**
* uint32 message_id = 2;
+ * @return The messageId.
*/
int getMessageId();
/**
* uint32 mode = 3;
+ * @return The mode.
*/
int getMode();
/**
* uint32 pid = 4;
+ * @return The pid.
*/
int getPid();
/**
* bool success = 5;
+ * @return The success.
*/
boolean getSuccess();
/**
* uint32 negative_response_code = 6;
+ * @return The negativeResponseCode.
*/
int getNegativeResponseCode();
/**
* bytes payload = 7;
+ * @return The payload.
*/
com.google.protobuf.ByteString getPayload();
/**
* .openxc.DynamicField value = 8;
+ * @return Whether the value field is set.
*/
boolean hasValue();
/**
* .openxc.DynamicField value = 8;
+ * @return The value.
*/
com.openxc.BinaryMessages.DynamicField getValue();
/**
@@ -12919,48 +14328,54 @@ public interface DiagnosticResponseOrBuilder extends
/**
* int32 frame = 9;
+ * @return The frame.
*/
int getFrame();
/**
* uint32 total_size = 10;
+ * @return The totalSize.
*/
int getTotalSize();
}
/**
* Protobuf type {@code openxc.DiagnosticResponse}
*/
- public static final class DiagnosticResponse extends
+ public static final class DiagnosticResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.DiagnosticResponse)
DiagnosticResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use DiagnosticResponse.newBuilder() to construct.
private DiagnosticResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DiagnosticResponse() {
- bus_ = 0;
- messageId_ = 0;
- mode_ = 0;
- pid_ = 0;
- success_ = false;
- negativeResponseCode_ = 0;
payload_ = com.google.protobuf.ByteString.EMPTY;
- frame_ = 0;
- totalSize_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DiagnosticResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private DiagnosticResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -12969,12 +14384,6 @@ private DiagnosticResponse(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
bus_ = input.readInt32();
@@ -13033,6 +14442,13 @@ private DiagnosticResponse(
totalSize_ = input.readUInt32();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13041,6 +14457,7 @@ private DiagnosticResponse(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -13049,6 +14466,7 @@ private DiagnosticResponse(
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticResponse_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticResponse_fieldAccessorTable
@@ -13060,7 +14478,9 @@ private DiagnosticResponse(
private int bus_;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
@@ -13069,7 +14489,9 @@ public int getBus() {
private int messageId_;
/**
* uint32 message_id = 2;
+ * @return The messageId.
*/
+ @java.lang.Override
public int getMessageId() {
return messageId_;
}
@@ -13078,7 +14500,9 @@ public int getMessageId() {
private int mode_;
/**
* uint32 mode = 3;
+ * @return The mode.
*/
+ @java.lang.Override
public int getMode() {
return mode_;
}
@@ -13087,7 +14511,9 @@ public int getMode() {
private int pid_;
/**
* uint32 pid = 4;
+ * @return The pid.
*/
+ @java.lang.Override
public int getPid() {
return pid_;
}
@@ -13096,7 +14522,9 @@ public int getPid() {
private boolean success_;
/**
* bool success = 5;
+ * @return The success.
*/
+ @java.lang.Override
public boolean getSuccess() {
return success_;
}
@@ -13105,7 +14533,9 @@ public boolean getSuccess() {
private int negativeResponseCode_;
/**
* uint32 negative_response_code = 6;
+ * @return The negativeResponseCode.
*/
+ @java.lang.Override
public int getNegativeResponseCode() {
return negativeResponseCode_;
}
@@ -13114,7 +14544,9 @@ public int getNegativeResponseCode() {
private com.google.protobuf.ByteString payload_;
/**
* bytes payload = 7;
+ * @return The payload.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
@@ -13123,19 +14555,24 @@ public com.google.protobuf.ByteString getPayload() {
private com.openxc.BinaryMessages.DynamicField value_;
/**
* .openxc.DynamicField value = 8;
+ * @return Whether the value field is set.
*/
+ @java.lang.Override
public boolean hasValue() {
return value_ != null;
}
/**
* .openxc.DynamicField value = 8;
+ * @return The value.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField getValue() {
return value_ == null ? com.openxc.BinaryMessages.DynamicField.getDefaultInstance() : value_;
}
/**
* .openxc.DynamicField value = 8;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder() {
return getValue();
}
@@ -13144,7 +14581,9 @@ public com.openxc.BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder() {
private int frame_;
/**
* int32 frame = 9;
+ * @return The frame.
*/
+ @java.lang.Override
public int getFrame() {
return frame_;
}
@@ -13153,12 +14592,15 @@ public int getFrame() {
private int totalSize_;
/**
* uint32 total_size = 10;
+ * @return The totalSize.
*/
+ @java.lang.Override
public int getTotalSize() {
return totalSize_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -13168,6 +14610,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (bus_ != 0) {
@@ -13200,8 +14643,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (totalSize_ != 0) {
output.writeUInt32(10, totalSize_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -13247,11 +14692,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, totalSize_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -13262,31 +14707,31 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.DiagnosticResponse other = (com.openxc.BinaryMessages.DiagnosticResponse) obj;
- boolean result = true;
- result = result && (getBus()
- == other.getBus());
- result = result && (getMessageId()
- == other.getMessageId());
- result = result && (getMode()
- == other.getMode());
- result = result && (getPid()
- == other.getPid());
- result = result && (getSuccess()
- == other.getSuccess());
- result = result && (getNegativeResponseCode()
- == other.getNegativeResponseCode());
- result = result && getPayload()
- .equals(other.getPayload());
- result = result && (hasValue() == other.hasValue());
+ if (getBus()
+ != other.getBus()) return false;
+ if (getMessageId()
+ != other.getMessageId()) return false;
+ if (getMode()
+ != other.getMode()) return false;
+ if (getPid()
+ != other.getPid()) return false;
+ if (getSuccess()
+ != other.getSuccess()) return false;
+ if (getNegativeResponseCode()
+ != other.getNegativeResponseCode()) return false;
+ if (!getPayload()
+ .equals(other.getPayload())) return false;
+ if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
- result = result && getValue()
- .equals(other.getValue());
- }
- result = result && (getFrame()
- == other.getFrame());
- result = result && (getTotalSize()
- == other.getTotalSize());
- return result;
+ if (!getValue()
+ .equals(other.getValue())) return false;
+ }
+ if (getFrame()
+ != other.getFrame()) return false;
+ if (getTotalSize()
+ != other.getTotalSize()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -13324,6 +14769,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.DiagnosticResponse parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.DiagnosticResponse parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.DiagnosticResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -13383,6 +14839,7 @@ public static com.openxc.BinaryMessages.DiagnosticResponse parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -13390,6 +14847,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.DiagnosticResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -13413,6 +14871,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticResponse_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticResponse_fieldAccessorTable
@@ -13435,6 +14894,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
bus_ = 0;
@@ -13464,15 +14924,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_DiagnosticResponse_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticResponse getDefaultInstanceForType() {
return com.openxc.BinaryMessages.DiagnosticResponse.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticResponse build() {
com.openxc.BinaryMessages.DiagnosticResponse result = buildPartial();
if (!result.isInitialized()) {
@@ -13481,6 +14944,7 @@ public com.openxc.BinaryMessages.DiagnosticResponse build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticResponse buildPartial() {
com.openxc.BinaryMessages.DiagnosticResponse result = new com.openxc.BinaryMessages.DiagnosticResponse(this);
result.bus_ = bus_;
@@ -13501,32 +14965,39 @@ public com.openxc.BinaryMessages.DiagnosticResponse buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.DiagnosticResponse) {
return mergeFrom((com.openxc.BinaryMessages.DiagnosticResponse)other);
@@ -13568,14 +15039,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.DiagnosticResponse other) {
if (other.getTotalSize() != 0) {
setTotalSize(other.getTotalSize());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13597,12 +15071,16 @@ public Builder mergeFrom(
private int bus_ ;
/**
* int32 bus = 1;
+ * @return The bus.
*/
+ @java.lang.Override
public int getBus() {
return bus_;
}
/**
* int32 bus = 1;
+ * @param value The bus to set.
+ * @return This builder for chaining.
*/
public Builder setBus(int value) {
@@ -13612,6 +15090,7 @@ public Builder setBus(int value) {
}
/**
* int32 bus = 1;
+ * @return This builder for chaining.
*/
public Builder clearBus() {
@@ -13623,12 +15102,16 @@ public Builder clearBus() {
private int messageId_ ;
/**
* uint32 message_id = 2;
+ * @return The messageId.
*/
+ @java.lang.Override
public int getMessageId() {
return messageId_;
}
/**
* uint32 message_id = 2;
+ * @param value The messageId to set.
+ * @return This builder for chaining.
*/
public Builder setMessageId(int value) {
@@ -13638,6 +15121,7 @@ public Builder setMessageId(int value) {
}
/**
* uint32 message_id = 2;
+ * @return This builder for chaining.
*/
public Builder clearMessageId() {
@@ -13649,12 +15133,16 @@ public Builder clearMessageId() {
private int mode_ ;
/**
* uint32 mode = 3;
+ * @return The mode.
*/
+ @java.lang.Override
public int getMode() {
return mode_;
}
/**
* uint32 mode = 3;
+ * @param value The mode to set.
+ * @return This builder for chaining.
*/
public Builder setMode(int value) {
@@ -13664,6 +15152,7 @@ public Builder setMode(int value) {
}
/**
* uint32 mode = 3;
+ * @return This builder for chaining.
*/
public Builder clearMode() {
@@ -13675,12 +15164,16 @@ public Builder clearMode() {
private int pid_ ;
/**
* uint32 pid = 4;
+ * @return The pid.
*/
+ @java.lang.Override
public int getPid() {
return pid_;
}
/**
* uint32 pid = 4;
+ * @param value The pid to set.
+ * @return This builder for chaining.
*/
public Builder setPid(int value) {
@@ -13690,6 +15183,7 @@ public Builder setPid(int value) {
}
/**
* uint32 pid = 4;
+ * @return This builder for chaining.
*/
public Builder clearPid() {
@@ -13701,12 +15195,16 @@ public Builder clearPid() {
private boolean success_ ;
/**
* bool success = 5;
+ * @return The success.
*/
+ @java.lang.Override
public boolean getSuccess() {
return success_;
}
/**
* bool success = 5;
+ * @param value The success to set.
+ * @return This builder for chaining.
*/
public Builder setSuccess(boolean value) {
@@ -13716,6 +15214,7 @@ public Builder setSuccess(boolean value) {
}
/**
* bool success = 5;
+ * @return This builder for chaining.
*/
public Builder clearSuccess() {
@@ -13727,12 +15226,16 @@ public Builder clearSuccess() {
private int negativeResponseCode_ ;
/**
* uint32 negative_response_code = 6;
+ * @return The negativeResponseCode.
*/
+ @java.lang.Override
public int getNegativeResponseCode() {
return negativeResponseCode_;
}
/**
* uint32 negative_response_code = 6;
+ * @param value The negativeResponseCode to set.
+ * @return This builder for chaining.
*/
public Builder setNegativeResponseCode(int value) {
@@ -13742,6 +15245,7 @@ public Builder setNegativeResponseCode(int value) {
}
/**
* uint32 negative_response_code = 6;
+ * @return This builder for chaining.
*/
public Builder clearNegativeResponseCode() {
@@ -13753,12 +15257,16 @@ public Builder clearNegativeResponseCode() {
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes payload = 7;
+ * @return The payload.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* bytes payload = 7;
+ * @param value The payload to set.
+ * @return This builder for chaining.
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -13771,6 +15279,7 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
}
/**
* bytes payload = 7;
+ * @return This builder for chaining.
*/
public Builder clearPayload() {
@@ -13779,17 +15288,19 @@ public Builder clearPayload() {
return this;
}
- private com.openxc.BinaryMessages.DynamicField value_ = null;
+ private com.openxc.BinaryMessages.DynamicField value_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.DynamicField, com.openxc.BinaryMessages.DynamicField.Builder, com.openxc.BinaryMessages.DynamicFieldOrBuilder> valueBuilder_;
/**
* .openxc.DynamicField value = 8;
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
}
/**
* .openxc.DynamicField value = 8;
+ * @return The value.
*/
public com.openxc.BinaryMessages.DynamicField getValue() {
if (valueBuilder_ == null) {
@@ -13899,12 +15410,16 @@ public com.openxc.BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder() {
private int frame_ ;
/**
* int32 frame = 9;
+ * @return The frame.
*/
+ @java.lang.Override
public int getFrame() {
return frame_;
}
/**
* int32 frame = 9;
+ * @param value The frame to set.
+ * @return This builder for chaining.
*/
public Builder setFrame(int value) {
@@ -13914,6 +15429,7 @@ public Builder setFrame(int value) {
}
/**
* int32 frame = 9;
+ * @return This builder for chaining.
*/
public Builder clearFrame() {
@@ -13925,12 +15441,16 @@ public Builder clearFrame() {
private int totalSize_ ;
/**
* uint32 total_size = 10;
+ * @return The totalSize.
*/
+ @java.lang.Override
public int getTotalSize() {
return totalSize_;
}
/**
* uint32 total_size = 10;
+ * @param value The totalSize to set.
+ * @return This builder for chaining.
*/
public Builder setTotalSize(int value) {
@@ -13940,6 +15460,7 @@ public Builder setTotalSize(int value) {
}
/**
* uint32 total_size = 10;
+ * @return This builder for chaining.
*/
public Builder clearTotalSize() {
@@ -13947,14 +15468,16 @@ public Builder clearTotalSize() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -13973,11 +15496,12 @@ public static com.openxc.BinaryMessages.DiagnosticResponse getDefaultInstance()
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public DiagnosticResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new DiagnosticResponse(input, extensionRegistry);
+ return new DiagnosticResponse(input, extensionRegistry);
}
};
@@ -13990,6 +15514,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DiagnosticResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -14002,40 +15527,47 @@ public interface DynamicFieldOrBuilder extends
/**
* .openxc.DynamicField.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .openxc.DynamicField.Type type = 1;
+ * @return The type.
*/
com.openxc.BinaryMessages.DynamicField.Type getType();
/**
* string string_value = 2;
+ * @return The stringValue.
*/
java.lang.String getStringValue();
/**
* string string_value = 2;
+ * @return The bytes for stringValue.
*/
com.google.protobuf.ByteString
getStringValueBytes();
/**
* double numeric_value = 3;
+ * @return The numericValue.
*/
double getNumericValue();
/**
* bool boolean_value = 4;
+ * @return The booleanValue.
*/
boolean getBooleanValue();
}
/**
* Protobuf type {@code openxc.DynamicField}
*/
- public static final class DynamicField extends
+ public static final class DynamicField extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.DynamicField)
DynamicFieldOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use DynamicField.newBuilder() to construct.
private DynamicField(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -14043,21 +15575,30 @@ private DynamicField(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private DynamicField() {
type_ = 0;
stringValue_ = "";
- numericValue_ = 0D;
- booleanValue_ = false;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DynamicField();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private DynamicField(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -14066,12 +15607,6 @@ private DynamicField(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 8: {
int rawValue = input.readEnum();
@@ -14094,6 +15629,13 @@ private DynamicField(
booleanValue_ = input.readBool();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -14102,6 +15644,7 @@ private DynamicField(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -14110,6 +15653,7 @@ private DynamicField(
return com.openxc.BinaryMessages.internal_static_openxc_DynamicField_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DynamicField_fieldAccessorTable
@@ -14168,6 +15712,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -14175,6 +15721,10 @@ public static Type valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Type forNumber(int value) {
switch (value) {
case 0: return UNUSED;
@@ -14199,6 +15749,10 @@ public Type findValueByNumber(int number) {
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
@@ -14237,14 +15791,17 @@ private Type(int value) {
private int type_;
/**
* .openxc.DynamicField.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.DynamicField.Type type = 1;
+ * @return The type.
*/
- public com.openxc.BinaryMessages.DynamicField.Type getType() {
+ @java.lang.Override public com.openxc.BinaryMessages.DynamicField.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.DynamicField.Type result = com.openxc.BinaryMessages.DynamicField.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.DynamicField.Type.UNRECOGNIZED : result;
}
@@ -14253,7 +15810,9 @@ public com.openxc.BinaryMessages.DynamicField.Type getType() {
private volatile java.lang.Object stringValue_;
/**
* string string_value = 2;
+ * @return The stringValue.
*/
+ @java.lang.Override
public java.lang.String getStringValue() {
java.lang.Object ref = stringValue_;
if (ref instanceof java.lang.String) {
@@ -14268,7 +15827,9 @@ public java.lang.String getStringValue() {
}
/**
* string string_value = 2;
+ * @return The bytes for stringValue.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = stringValue_;
@@ -14287,7 +15848,9 @@ public java.lang.String getStringValue() {
private double numericValue_;
/**
* double numeric_value = 3;
+ * @return The numericValue.
*/
+ @java.lang.Override
public double getNumericValue() {
return numericValue_;
}
@@ -14296,12 +15859,15 @@ public double getNumericValue() {
private boolean booleanValue_;
/**
* bool boolean_value = 4;
+ * @return The booleanValue.
*/
+ @java.lang.Override
public boolean getBooleanValue() {
return booleanValue_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -14311,22 +15877,25 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (type_ != com.openxc.BinaryMessages.DynamicField.Type.UNUSED.getNumber()) {
output.writeEnum(1, type_);
}
- if (!getStringValueBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stringValue_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stringValue_);
}
- if (numericValue_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(numericValue_) != 0) {
output.writeDouble(3, numericValue_);
}
if (booleanValue_ != false) {
output.writeBool(4, booleanValue_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -14336,10 +15905,10 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
- if (!getStringValueBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stringValue_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stringValue_);
}
- if (numericValue_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(numericValue_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, numericValue_);
}
@@ -14347,11 +15916,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, booleanValue_);
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -14362,17 +15931,16 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.DynamicField other = (com.openxc.BinaryMessages.DynamicField) obj;
- boolean result = true;
- result = result && type_ == other.type_;
- result = result && getStringValue()
- .equals(other.getStringValue());
- result = result && (
- java.lang.Double.doubleToLongBits(getNumericValue())
- == java.lang.Double.doubleToLongBits(
- other.getNumericValue()));
- result = result && (getBooleanValue()
- == other.getBooleanValue());
- return result;
+ if (type_ != other.type_) return false;
+ if (!getStringValue()
+ .equals(other.getStringValue())) return false;
+ if (java.lang.Double.doubleToLongBits(getNumericValue())
+ != java.lang.Double.doubleToLongBits(
+ other.getNumericValue())) return false;
+ if (getBooleanValue()
+ != other.getBooleanValue()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -14397,6 +15965,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.DynamicField parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.DynamicField parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.DynamicField parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -14456,6 +16035,7 @@ public static com.openxc.BinaryMessages.DynamicField parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -14463,6 +16043,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.DynamicField prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -14486,6 +16067,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_DynamicField_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_DynamicField_fieldAccessorTable
@@ -14508,6 +16090,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
type_ = 0;
@@ -14521,15 +16104,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_DynamicField_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField getDefaultInstanceForType() {
return com.openxc.BinaryMessages.DynamicField.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField build() {
com.openxc.BinaryMessages.DynamicField result = buildPartial();
if (!result.isInitialized()) {
@@ -14538,6 +16124,7 @@ public com.openxc.BinaryMessages.DynamicField build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField buildPartial() {
com.openxc.BinaryMessages.DynamicField result = new com.openxc.BinaryMessages.DynamicField(this);
result.type_ = type_;
@@ -14548,32 +16135,39 @@ public com.openxc.BinaryMessages.DynamicField buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.DynamicField) {
return mergeFrom((com.openxc.BinaryMessages.DynamicField)other);
@@ -14598,14 +16192,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.DynamicField other) {
if (other.getBooleanValue() != false) {
setBooleanValue(other.getBooleanValue());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -14627,27 +16224,36 @@ public Builder mergeFrom(
private int type_ = 0;
/**
* .openxc.DynamicField.Type type = 1;
+ * @return The enum numeric value on the wire for type.
*/
- public int getTypeValue() {
+ @java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .openxc.DynamicField.Type type = 1;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
}
/**
* .openxc.DynamicField.Type type = 1;
+ * @return The type.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField.Type getType() {
+ @SuppressWarnings("deprecation")
com.openxc.BinaryMessages.DynamicField.Type result = com.openxc.BinaryMessages.DynamicField.Type.valueOf(type_);
return result == null ? com.openxc.BinaryMessages.DynamicField.Type.UNRECOGNIZED : result;
}
/**
* .openxc.DynamicField.Type type = 1;
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.openxc.BinaryMessages.DynamicField.Type value) {
if (value == null) {
@@ -14660,6 +16266,7 @@ public Builder setType(com.openxc.BinaryMessages.DynamicField.Type value) {
}
/**
* .openxc.DynamicField.Type type = 1;
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -14671,6 +16278,7 @@ public Builder clearType() {
private java.lang.Object stringValue_ = "";
/**
* string string_value = 2;
+ * @return The stringValue.
*/
public java.lang.String getStringValue() {
java.lang.Object ref = stringValue_;
@@ -14686,6 +16294,7 @@ public java.lang.String getStringValue() {
}
/**
* string string_value = 2;
+ * @return The bytes for stringValue.
*/
public com.google.protobuf.ByteString
getStringValueBytes() {
@@ -14702,6 +16311,8 @@ public java.lang.String getStringValue() {
}
/**
* string string_value = 2;
+ * @param value The stringValue to set.
+ * @return This builder for chaining.
*/
public Builder setStringValue(
java.lang.String value) {
@@ -14715,6 +16326,7 @@ public Builder setStringValue(
}
/**
* string string_value = 2;
+ * @return This builder for chaining.
*/
public Builder clearStringValue() {
@@ -14724,6 +16336,8 @@ public Builder clearStringValue() {
}
/**
* string string_value = 2;
+ * @param value The bytes for stringValue to set.
+ * @return This builder for chaining.
*/
public Builder setStringValueBytes(
com.google.protobuf.ByteString value) {
@@ -14740,12 +16354,16 @@ public Builder setStringValueBytes(
private double numericValue_ ;
/**
* double numeric_value = 3;
+ * @return The numericValue.
*/
+ @java.lang.Override
public double getNumericValue() {
return numericValue_;
}
/**
* double numeric_value = 3;
+ * @param value The numericValue to set.
+ * @return This builder for chaining.
*/
public Builder setNumericValue(double value) {
@@ -14755,6 +16373,7 @@ public Builder setNumericValue(double value) {
}
/**
* double numeric_value = 3;
+ * @return This builder for chaining.
*/
public Builder clearNumericValue() {
@@ -14766,12 +16385,16 @@ public Builder clearNumericValue() {
private boolean booleanValue_ ;
/**
* bool boolean_value = 4;
+ * @return The booleanValue.
*/
+ @java.lang.Override
public boolean getBooleanValue() {
return booleanValue_;
}
/**
* bool boolean_value = 4;
+ * @param value The booleanValue to set.
+ * @return This builder for chaining.
*/
public Builder setBooleanValue(boolean value) {
@@ -14781,6 +16404,7 @@ public Builder setBooleanValue(boolean value) {
}
/**
* bool boolean_value = 4;
+ * @return This builder for chaining.
*/
public Builder clearBooleanValue() {
@@ -14788,14 +16412,16 @@ public Builder clearBooleanValue() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -14814,11 +16440,12 @@ public static com.openxc.BinaryMessages.DynamicField getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public DynamicField parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new DynamicField(input, extensionRegistry);
+ return new DynamicField(input, extensionRegistry);
}
};
@@ -14831,6 +16458,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -14843,20 +16471,24 @@ public interface SimpleMessageOrBuilder extends
/**
* string name = 1;
+ * @return The name.
*/
java.lang.String getName();
/**
* string name = 1;
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* .openxc.DynamicField value = 2;
+ * @return Whether the value field is set.
*/
boolean hasValue();
/**
* .openxc.DynamicField value = 2;
+ * @return The value.
*/
com.openxc.BinaryMessages.DynamicField getValue();
/**
@@ -14866,10 +16498,12 @@ public interface SimpleMessageOrBuilder extends
/**
* .openxc.DynamicField event = 3;
+ * @return Whether the event field is set.
*/
boolean hasEvent();
/**
* .openxc.DynamicField event = 3;
+ * @return The event.
*/
com.openxc.BinaryMessages.DynamicField getEvent();
/**
@@ -14880,10 +16514,11 @@ public interface SimpleMessageOrBuilder extends
/**
* Protobuf type {@code openxc.SimpleMessage}
*/
- public static final class SimpleMessage extends
+ public static final class SimpleMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:openxc.SimpleMessage)
SimpleMessageOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use SimpleMessage.newBuilder() to construct.
private SimpleMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -14892,17 +16527,28 @@ private SimpleMessage() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new SimpleMessage();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ return this.unknownFields;
}
private SimpleMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
- int mutable_bitField0_ = 0;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -14911,12 +16557,6 @@ private SimpleMessage(
case 0:
done = true;
break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
case 10: {
java.lang.String s = input.readStringRequireUtf8();
@@ -14949,6 +16589,13 @@ private SimpleMessage(
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -14957,6 +16604,7 @@ private SimpleMessage(
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
@@ -14965,6 +16613,7 @@ private SimpleMessage(
return com.openxc.BinaryMessages.internal_static_openxc_SimpleMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_SimpleMessage_fieldAccessorTable
@@ -14976,7 +16625,9 @@ private SimpleMessage(
private volatile java.lang.Object name_;
/**
* string name = 1;
+ * @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -14991,7 +16642,9 @@ public java.lang.String getName() {
}
/**
* string name = 1;
+ * @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -15010,19 +16663,24 @@ public java.lang.String getName() {
private com.openxc.BinaryMessages.DynamicField value_;
/**
* .openxc.DynamicField value = 2;
+ * @return Whether the value field is set.
*/
+ @java.lang.Override
public boolean hasValue() {
return value_ != null;
}
/**
* .openxc.DynamicField value = 2;
+ * @return The value.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField getValue() {
return value_ == null ? com.openxc.BinaryMessages.DynamicField.getDefaultInstance() : value_;
}
/**
* .openxc.DynamicField value = 2;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder() {
return getValue();
}
@@ -15031,24 +16689,30 @@ public com.openxc.BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder() {
private com.openxc.BinaryMessages.DynamicField event_;
/**
* .openxc.DynamicField event = 3;
+ * @return Whether the event field is set.
*/
+ @java.lang.Override
public boolean hasEvent() {
return event_ != null;
}
/**
* .openxc.DynamicField event = 3;
+ * @return The event.
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicField getEvent() {
return event_ == null ? com.openxc.BinaryMessages.DynamicField.getDefaultInstance() : event_;
}
/**
* .openxc.DynamicField event = 3;
*/
+ @java.lang.Override
public com.openxc.BinaryMessages.DynamicFieldOrBuilder getEventOrBuilder() {
return getEvent();
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -15058,9 +16722,10 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (value_ != null) {
@@ -15069,14 +16734,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (event_ != null) {
output.writeMessage(3, getEvent());
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (value_ != null) {
@@ -15087,11 +16754,11 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getEvent());
}
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -15102,20 +16769,20 @@ public boolean equals(final java.lang.Object obj) {
}
com.openxc.BinaryMessages.SimpleMessage other = (com.openxc.BinaryMessages.SimpleMessage) obj;
- boolean result = true;
- result = result && getName()
- .equals(other.getName());
- result = result && (hasValue() == other.hasValue());
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
- result = result && getValue()
- .equals(other.getValue());
+ if (!getValue()
+ .equals(other.getValue())) return false;
}
- result = result && (hasEvent() == other.hasEvent());
+ if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
- result = result && getEvent()
- .equals(other.getEvent());
+ if (!getEvent()
+ .equals(other.getEvent())) return false;
}
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -15140,6 +16807,17 @@ public int hashCode() {
return hash;
}
+ public static com.openxc.BinaryMessages.SimpleMessage parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.openxc.BinaryMessages.SimpleMessage parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.openxc.BinaryMessages.SimpleMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -15199,6 +16877,7 @@ public static com.openxc.BinaryMessages.SimpleMessage parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -15206,6 +16885,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.openxc.BinaryMessages.SimpleMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -15229,6 +16909,7 @@ public static final class Builder extends
return com.openxc.BinaryMessages.internal_static_openxc_SimpleMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.openxc.BinaryMessages.internal_static_openxc_SimpleMessage_fieldAccessorTable
@@ -15251,6 +16932,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
@@ -15270,15 +16952,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.openxc.BinaryMessages.internal_static_openxc_SimpleMessage_descriptor;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.SimpleMessage getDefaultInstanceForType() {
return com.openxc.BinaryMessages.SimpleMessage.getDefaultInstance();
}
+ @java.lang.Override
public com.openxc.BinaryMessages.SimpleMessage build() {
com.openxc.BinaryMessages.SimpleMessage result = buildPartial();
if (!result.isInitialized()) {
@@ -15287,6 +16972,7 @@ public com.openxc.BinaryMessages.SimpleMessage build() {
return result;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.SimpleMessage buildPartial() {
com.openxc.BinaryMessages.SimpleMessage result = new com.openxc.BinaryMessages.SimpleMessage(this);
result.name_ = name_;
@@ -15304,32 +16990,39 @@ public com.openxc.BinaryMessages.SimpleMessage buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.openxc.BinaryMessages.SimpleMessage) {
return mergeFrom((com.openxc.BinaryMessages.SimpleMessage)other);
@@ -15351,14 +17044,17 @@ public Builder mergeFrom(com.openxc.BinaryMessages.SimpleMessage other) {
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -15380,6 +17076,7 @@ public Builder mergeFrom(
private java.lang.Object name_ = "";
/**
* string name = 1;
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -15395,6 +17092,7 @@ public java.lang.String getName() {
}
/**
* string name = 1;
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -15411,6 +17109,8 @@ public java.lang.String getName() {
}
/**
* string name = 1;
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
@@ -15424,6 +17124,7 @@ public Builder setName(
}
/**
* string name = 1;
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -15433,6 +17134,8 @@ public Builder clearName() {
}
/**
* string name = 1;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
@@ -15446,17 +17149,19 @@ public Builder setNameBytes(
return this;
}
- private com.openxc.BinaryMessages.DynamicField value_ = null;
+ private com.openxc.BinaryMessages.DynamicField value_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.DynamicField, com.openxc.BinaryMessages.DynamicField.Builder, com.openxc.BinaryMessages.DynamicFieldOrBuilder> valueBuilder_;
/**
* .openxc.DynamicField value = 2;
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
}
/**
* .openxc.DynamicField value = 2;
+ * @return The value.
*/
public com.openxc.BinaryMessages.DynamicField getValue() {
if (valueBuilder_ == null) {
@@ -15563,17 +17268,19 @@ public com.openxc.BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder() {
return valueBuilder_;
}
- private com.openxc.BinaryMessages.DynamicField event_ = null;
+ private com.openxc.BinaryMessages.DynamicField event_;
private com.google.protobuf.SingleFieldBuilderV3<
com.openxc.BinaryMessages.DynamicField, com.openxc.BinaryMessages.DynamicField.Builder, com.openxc.BinaryMessages.DynamicFieldOrBuilder> eventBuilder_;
/**
* .openxc.DynamicField event = 3;
+ * @return Whether the event field is set.
*/
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
}
/**
* .openxc.DynamicField event = 3;
+ * @return The event.
*/
public com.openxc.BinaryMessages.DynamicField getEvent() {
if (eventBuilder_ == null) {
@@ -15679,14 +17386,16 @@ public com.openxc.BinaryMessages.DynamicFieldOrBuilder getEventOrBuilder() {
}
return eventBuilder_;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
- return this;
+ return super.mergeUnknownFields(unknownFields);
}
@@ -15705,11 +17414,12 @@ public static com.openxc.BinaryMessages.SimpleMessage getDefaultInstance() {
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public SimpleMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new SimpleMessage(input, extensionRegistry);
+ return new SimpleMessage(input, extensionRegistry);
}
};
@@ -15722,6 +17432,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public com.openxc.BinaryMessages.SimpleMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -15841,17 +17552,17 @@ public com.openxc.BinaryMessages.SimpleMessage getDefaultInstanceForType() {
"_command\030\005 \001(\0132\026.openxc.ControlCommand\0221" +
"\n\020command_response\030\006 \001(\0132\027.openxc.Comman" +
"dResponse\022\021\n\ttimestamp\030\007 \001(\004\"b\n\004Type\022\n\n\006" +
- "UNUSED\020\000\022\007\n\003CAN\020\001\022\n\n\006SIMPLE\020\002\022\016\n\nDIAGNOS",
+ "UNUSED\020\000\022\007\n\003CAN\020\001\022\n\n\006SIMPLE\020\002\022\016\n\nDIAGNOS" +
"TIC\020\003\022\023\n\017CONTROL_COMMAND\020\004\022\024\n\020COMMAND_RE" +
"SPONSE\020\005\"\240\001\n\nCanMessage\022\013\n\003bus\030\001 \001(\005\022\n\n\002" +
"id\030\002 \001(\r\022\014\n\004data\030\003 \001(\014\0224\n\014frame_format\030\004" +
" \001(\0162\036.openxc.CanMessage.FrameFormat\"5\n\013" +
"FrameFormat\022\n\n\006UNUSED\020\000\022\014\n\010STANDARD\020\001\022\014\n" +
- "\010EXTENDED\020\002\"\243\006\n\016ControlCommand\022)\n\004type\030\001" +
+ "\010EXTENDED\020\002\"\260\006\n\016ControlCommand\022)\n\004type\030\001" +
" \001(\0162\033.openxc.ControlCommand.Type\022<\n\022dia" +
"gnostic_request\030\002 \001(\0132 .openxc.Diagnosti" +
"cControlCommand\022G\n\030passthrough_mode_requ" +
- "est\030\003 \001(\0132%.openxc.PassthroughModeContro",
+ "est\030\003 \001(\0132%.openxc.PassthroughModeContro" +
"lCommand\022O\n acceptance_filter_bypass_com" +
"mand\030\004 \001(\0132%.openxc.AcceptanceFilterBypa" +
"ssCommand\022<\n\026payload_format_command\030\005 \001(" +
@@ -15861,82 +17572,73 @@ public com.openxc.BinaryMessages.SimpleMessage getDefaultInstanceForType() {
"m_configuration_command\030\007 \001(\0132!.openxc.M" +
"odemConfigurationCommand\022B\n\031rtc_configur" +
"ation_command\030\010 \001(\0132\037.openxc.RTCConfigur" +
- "ationCommand\"\362\001\n\004Type\022\n\n\006UNUSED\020\000\022\013\n\007VER",
+ "ationCommand\"\377\001\n\004Type\022\n\n\006UNUSED\020\000\022\013\n\007VER" +
"SION\020\001\022\r\n\tDEVICE_ID\020\002\022\016\n\nDIAGNOSTIC\020\003\022\017\n" +
"\013PASSTHROUGH\020\004\022\034\n\030ACCEPTANCE_FILTER_BYPA" +
"SS\020\005\022\022\n\016PAYLOAD_FORMAT\020\006\022\034\n\030PREDEFINED_O" +
"BD2_REQUESTS\020\007\022\027\n\023MODEM_CONFIGURATION\020\010\022" +
"\025\n\021RTC_CONFIGURATION\020\t\022\023\n\017SD_MOUNT_STATU" +
- "S\020\n\022\014\n\010PLATFORM\020\013\"\252\001\n\030DiagnosticControlC" +
- "ommand\022*\n\007request\030\001 \001(\0132\031.openxc.Diagnos" +
- "ticRequest\0227\n\006action\030\002 \001(\0162\'.openxc.Diag" +
- "nosticControlCommand.Action\")\n\006Action\022\n\n" +
- "\006UNUSED\020\000\022\007\n\003ADD\020\001\022\n\n\006CANCEL\020\002\"=\n\035Passth",
- "roughModeControlCommand\022\013\n\003bus\030\001 \001(\005\022\017\n\007" +
- "enabled\030\002 \001(\010\"<\n\035AcceptanceFilterBypassC" +
- "ommand\022\013\n\003bus\030\001 \001(\005\022\016\n\006bypass\030\002 \001(\010\"\230\001\n\024" +
- "PayloadFormatCommand\022:\n\006format\030\001 \001(\0162*.o" +
- "penxc.PayloadFormatCommand.PayloadFormat" +
- "\"D\n\rPayloadFormat\022\n\n\006UNUSED\020\000\022\010\n\004JSON\020\001\022" +
- "\014\n\010PROTOBUF\020\002\022\017\n\013MESSAGEPACK\020\003\"0\n\035Predef" +
- "inedObd2RequestsCommand\022\017\n\007enabled\030\001 \001(\010" +
- "\"\321\003\n\027NetworkOperatorSettings\022\030\n\020allowDat" +
- "aRoaming\030\001 \001(\010\022N\n\022operatorSelectMode\030\002 \001",
- "(\01622.openxc.NetworkOperatorSettings.Oper" +
- "atorSelectMode\022L\n\021networkDescriptor\030\003 \001(" +
- "\01321.openxc.NetworkOperatorSettings.Netwo" +
- "rkDescriptor\032\230\001\n\021NetworkDescriptor\022\014\n\004PL" +
- "MN\030\001 \001(\r\022R\n\013networkType\030\002 \001(\0162=.openxc.N" +
- "etworkOperatorSettings.NetworkDescriptor" +
- ".NetworkType\"!\n\013NetworkType\022\007\n\003GSM\020\000\022\t\n\005" +
- "UTRAN\020\002\"c\n\022OperatorSelectMode\022\r\n\tAUTOMAT" +
- "IC\020\000\022\n\n\006MANUAL\020\001\022\016\n\nDEREGISTER\020\002\022\014\n\010SET_" +
- "ONLY\020\003\022\024\n\020MANUAL_AUTOMATIC\020\004\"\"\n\023NetworkD",
- "ataSettings\022\013\n\003apn\030\001 \001(\t\"3\n\025ServerConnec" +
- "tSettings\022\014\n\004host\030\001 \001(\t\022\014\n\004port\030\002 \001(\r\"\325\001" +
- "\n\031ModemConfigurationCommand\022@\n\027networkOp" +
- "eratorSettings\030\001 \001(\0132\037.openxc.NetworkOpe" +
- "ratorSettings\0228\n\023networkDataSettings\030\002 \001" +
- "(\0132\033.openxc.NetworkDataSettings\022<\n\025serve" +
- "rConnectSettings\030\003 \001(\0132\035.openxc.ServerCo" +
- "nnectSettings\",\n\027RTCConfigurationCommand" +
- "\022\021\n\tunix_time\030\001 \001(\r\"]\n\017CommandResponse\022)" +
- "\n\004type\030\001 \001(\0162\033.openxc.ControlCommand.Typ",
- "e\022\017\n\007message\030\002 \001(\t\022\016\n\006status\030\003 \001(\010\"\211\002\n\021D" +
- "iagnosticRequest\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\007" +
- "payload\030\005 \001(\014\022\032\n\022multiple_responses\030\006 \001(" +
- "\010\022\021\n\tfrequency\030\007 \001(\001\022\014\n\004name\030\010 \001(\t\022;\n\014de" +
- "coded_type\030\t \001(\0162%.openxc.DiagnosticRequ" +
- "est.DecodedType\"-\n\013DecodedType\022\n\n\006UNUSED" +
- "\020\000\022\010\n\004NONE\020\001\022\010\n\004OBD2\020\002\"\332\001\n\022DiagnosticRes" +
- "ponse\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\026negative_response_code\030\006 \001(\r\022\017\n\007pa" +
- "yload\030\007 \001(\014\022#\n\005value\030\010 \001(\0132\024.openxc.Dyna" +
- "micField\022\r\n\005frame\030\t \001(\005\022\022\n\ntotal_size\030\n " +
- "\001(\r\"\256\001\n\014DynamicField\022\'\n\004type\030\001 \001(\0162\031.ope" +
- "nxc.DynamicField.Type\022\024\n\014string_value\030\002 " +
- "\001(\t\022\025\n\rnumeric_value\030\003 \001(\001\022\025\n\rboolean_va" +
- "lue\030\004 \001(\010\"1\n\004Type\022\n\n\006UNUSED\020\000\022\n\n\006STRING\020" +
- "\001\022\007\n\003NUM\020\002\022\010\n\004BOOL\020\003\"g\n\rSimpleMessage\022\014\n" +
- "\004name\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.openxc.Dyna" +
- "micField\022#\n\005event\030\003 \001(\0132\024.openxc.Dynamic",
- "FieldB\034\n\ncom.openxcB\016BinaryMessagesb\006pro" +
- "to3"
+ "S\020\n\022\014\n\010PLATFORM\020\013\022\013\n\007GET_VIN\020\014\"\252\001\n\030Diagn" +
+ "osticControlCommand\022*\n\007request\030\001 \001(\0132\031.o" +
+ "penxc.DiagnosticRequest\0227\n\006action\030\002 \001(\0162" +
+ "\'.openxc.DiagnosticControlCommand.Action" +
+ "\")\n\006Action\022\n\n\006UNUSED\020\000\022\007\n\003ADD\020\001\022\n\n\006CANCE" +
+ "L\020\002\"=\n\035PassthroughModeControlCommand\022\013\n\003" +
+ "bus\030\001 \001(\005\022\017\n\007enabled\030\002 \001(\010\"<\n\035Acceptance" +
+ "FilterBypassCommand\022\013\n\003bus\030\001 \001(\005\022\016\n\006bypa" +
+ "ss\030\002 \001(\010\"\207\001\n\024PayloadFormatCommand\022:\n\006for" +
+ "mat\030\001 \001(\0162*.openxc.PayloadFormatCommand." +
+ "PayloadFormat\"3\n\rPayloadFormat\022\n\n\006UNUSED" +
+ "\020\000\022\010\n\004JSON\020\001\022\014\n\010PROTOBUF\020\002\"0\n\035Predefined" +
+ "Obd2RequestsCommand\022\017\n\007enabled\030\001 \001(\010\"\321\003\n" +
+ "\027NetworkOperatorSettings\022\030\n\020allowDataRoa" +
+ "ming\030\001 \001(\010\022N\n\022operatorSelectMode\030\002 \001(\01622" +
+ ".openxc.NetworkOperatorSettings.Operator" +
+ "SelectMode\022L\n\021networkDescriptor\030\003 \001(\01321." +
+ "openxc.NetworkOperatorSettings.NetworkDe" +
+ "scriptor\032\230\001\n\021NetworkDescriptor\022\014\n\004PLMN\030\001" +
+ " \001(\r\022R\n\013networkType\030\002 \001(\0162=.openxc.Netwo" +
+ "rkOperatorSettings.NetworkDescriptor.Net" +
+ "workType\"!\n\013NetworkType\022\007\n\003GSM\020\000\022\t\n\005UTRA" +
+ "N\020\002\"c\n\022OperatorSelectMode\022\r\n\tAUTOMATIC\020\000" +
+ "\022\n\n\006MANUAL\020\001\022\016\n\nDEREGISTER\020\002\022\014\n\010SET_ONLY" +
+ "\020\003\022\024\n\020MANUAL_AUTOMATIC\020\004\"\"\n\023NetworkDataS" +
+ "ettings\022\013\n\003apn\030\001 \001(\t\"3\n\025ServerConnectSet" +
+ "tings\022\014\n\004host\030\001 \001(\t\022\014\n\004port\030\002 \001(\r\"\325\001\n\031Mo" +
+ "demConfigurationCommand\022@\n\027networkOperat" +
+ "orSettings\030\001 \001(\0132\037.openxc.NetworkOperato" +
+ "rSettings\0228\n\023networkDataSettings\030\002 \001(\0132\033" +
+ ".openxc.NetworkDataSettings\022<\n\025serverCon" +
+ "nectSettings\030\003 \001(\0132\035.openxc.ServerConnec" +
+ "tSettings\",\n\027RTCConfigurationCommand\022\021\n\t" +
+ "unix_time\030\001 \001(\r\"]\n\017CommandResponse\022)\n\004ty" +
+ "pe\030\001 \001(\0162\033.openxc.ControlCommand.Type\022\017\n" +
+ "\007message\030\002 \001(\t\022\016\n\006status\030\003 \001(\010\"\211\002\n\021Diagn" +
+ "osticRequest\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\007payl" +
+ "oad\030\005 \001(\014\022\032\n\022multiple_responses\030\006 \001(\010\022\021\n" +
+ "\tfrequency\030\007 \001(\001\022\014\n\004name\030\010 \001(\t\022;\n\014decode" +
+ "d_type\030\t \001(\0162%.openxc.DiagnosticRequest." +
+ "DecodedType\"-\n\013DecodedType\022\n\n\006UNUSED\020\000\022\010" +
+ "\n\004NONE\020\001\022\010\n\004OBD2\020\002\"\332\001\n\022DiagnosticRespons" +
+ "e\022\013\n\003bus\030\001 \001(\005\022\022\n\nmessage_id\030\002 \001(\r\022\014\n\004mo" +
+ "de\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_code\030\006 \001(\r\022\017\n\007payloa" +
+ "d\030\007 \001(\014\022#\n\005value\030\010 \001(\0132\024.openxc.DynamicF" +
+ "ield\022\r\n\005frame\030\t \001(\005\022\022\n\ntotal_size\030\n \001(\r\"" +
+ "\256\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\"1\n\004Type\022\n\n\006UNUSED\020\000\022\n\n\006STRING\020\001\022\007\n" +
+ "\003NUM\020\002\022\010\n\004BOOL\020\003\"g\n\rSimpleMessage\022\014\n\004nam" +
+ "e\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.openxc.DynamicF" +
+ "ield\022#\n\005event\030\003 \001(\0132\024.openxc.DynamicFiel" +
+ "dB\034\n\ncom.openxcB\016BinaryMessagesb\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- }, assigner);
+ });
internal_static_openxc_VehicleMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_openxc_VehicleMessage_fieldAccessorTable = new
diff --git a/gen/python/openxc_pb2.py b/gen/python/openxc_pb2.py
index 1f1f416..672bfb7 100644
--- a/gen/python/openxc_pb2.py
+++ b/gen/python/openxc_pb2.py
@@ -1,13 +1,12 @@
+# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: openxc.proto
-
-import sys
-_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
+from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
-from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
@@ -15,1430 +14,230 @@
-DESCRIPTOR = _descriptor.FileDescriptor(
- name='openxc.proto',
- package='openxc',
- syntax='proto3',
- serialized_pb=_b('\n\x0copenxc.proto\x12\x06openxc\"\xa7\x03\n\x0eVehicleMessage\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.openxc.VehicleMessage.Type\x12\'\n\x0b\x63\x61n_message\x18\x02 \x01(\x0b\x32\x12.openxc.CanMessage\x12-\n\x0esimple_message\x18\x03 \x01(\x0b\x32\x15.openxc.SimpleMessage\x12\x37\n\x13\x64iagnostic_response\x18\x04 \x01(\x0b\x32\x1a.openxc.DiagnosticResponse\x12/\n\x0f\x63ontrol_command\x18\x05 \x01(\x0b\x32\x16.openxc.ControlCommand\x12\x31\n\x10\x63ommand_response\x18\x06 \x01(\x0b\x32\x17.openxc.CommandResponse\x12\x11\n\ttimestamp\x18\x07 \x01(\x04\"b\n\x04Type\x12\n\n\x06UNUSED\x10\x00\x12\x07\n\x03\x43\x41N\x10\x01\x12\n\n\x06SIMPLE\x10\x02\x12\x0e\n\nDIAGNOSTIC\x10\x03\x12\x13\n\x0f\x43ONTROL_COMMAND\x10\x04\x12\x14\n\x10\x43OMMAND_RESPONSE\x10\x05\"\xa0\x01\n\nCanMessage\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x34\n\x0c\x66rame_format\x18\x04 \x01(\x0e\x32\x1e.openxc.CanMessage.FrameFormat\"5\n\x0b\x46rameFormat\x12\n\n\x06UNUSED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0c\n\x08\x45XTENDED\x10\x02\"\xa3\x06\n\x0e\x43ontrolCommand\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.openxc.ControlCommand.Type\x12<\n\x12\x64iagnostic_request\x18\x02 \x01(\x0b\x32 .openxc.DiagnosticControlCommand\x12G\n\x18passthrough_mode_request\x18\x03 \x01(\x0b\x32%.openxc.PassthroughModeControlCommand\x12O\n acceptance_filter_bypass_command\x18\x04 \x01(\x0b\x32%.openxc.AcceptanceFilterBypassCommand\x12<\n\x16payload_format_command\x18\x05 \x01(\x0b\x32\x1c.openxc.PayloadFormatCommand\x12O\n predefined_obd2_requests_command\x18\x06 \x01(\x0b\x32%.openxc.PredefinedObd2RequestsCommand\x12\x46\n\x1bmodem_configuration_command\x18\x07 \x01(\x0b\x32!.openxc.ModemConfigurationCommand\x12\x42\n\x19rtc_configuration_command\x18\x08 \x01(\x0b\x32\x1f.openxc.RTCConfigurationCommand\"\xf2\x01\n\x04Type\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07VERSION\x10\x01\x12\r\n\tDEVICE_ID\x10\x02\x12\x0e\n\nDIAGNOSTIC\x10\x03\x12\x0f\n\x0bPASSTHROUGH\x10\x04\x12\x1c\n\x18\x41\x43\x43\x45PTANCE_FILTER_BYPASS\x10\x05\x12\x12\n\x0ePAYLOAD_FORMAT\x10\x06\x12\x1c\n\x18PREDEFINED_OBD2_REQUESTS\x10\x07\x12\x17\n\x13MODEM_CONFIGURATION\x10\x08\x12\x15\n\x11RTC_CONFIGURATION\x10\t\x12\x13\n\x0fSD_MOUNT_STATUS\x10\n\x12\x0c\n\x08PLATFORM\x10\x0b\"\xaa\x01\n\x18\x44iagnosticControlCommand\x12*\n\x07request\x18\x01 \x01(\x0b\x32\x19.openxc.DiagnosticRequest\x12\x37\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\'.openxc.DiagnosticControlCommand.Action\")\n\x06\x41\x63tion\x12\n\n\x06UNUSED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06\x43\x41NCEL\x10\x02\"=\n\x1dPassthroughModeControlCommand\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"<\n\x1d\x41\x63\x63\x65ptanceFilterBypassCommand\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x0e\n\x06\x62ypass\x18\x02 \x01(\x08\"\x98\x01\n\x14PayloadFormatCommand\x12:\n\x06\x66ormat\x18\x01 \x01(\x0e\x32*.openxc.PayloadFormatCommand.PayloadFormat\"D\n\rPayloadFormat\x12\n\n\x06UNUSED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x0c\n\x08PROTOBUF\x10\x02\x12\x0f\n\x0bMESSAGEPACK\x10\x03\"0\n\x1dPredefinedObd2RequestsCommand\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"\xd1\x03\n\x17NetworkOperatorSettings\x12\x18\n\x10\x61llowDataRoaming\x18\x01 \x01(\x08\x12N\n\x12operatorSelectMode\x18\x02 \x01(\x0e\x32\x32.openxc.NetworkOperatorSettings.OperatorSelectMode\x12L\n\x11networkDescriptor\x18\x03 \x01(\x0b\x32\x31.openxc.NetworkOperatorSettings.NetworkDescriptor\x1a\x98\x01\n\x11NetworkDescriptor\x12\x0c\n\x04PLMN\x18\x01 \x01(\r\x12R\n\x0bnetworkType\x18\x02 \x01(\x0e\x32=.openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType\"!\n\x0bNetworkType\x12\x07\n\x03GSM\x10\x00\x12\t\n\x05UTRAN\x10\x02\"c\n\x12OperatorSelectMode\x12\r\n\tAUTOMATIC\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\x0e\n\nDEREGISTER\x10\x02\x12\x0c\n\x08SET_ONLY\x10\x03\x12\x14\n\x10MANUAL_AUTOMATIC\x10\x04\"\"\n\x13NetworkDataSettings\x12\x0b\n\x03\x61pn\x18\x01 \x01(\t\"3\n\x15ServerConnectSettings\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\"\xd5\x01\n\x19ModemConfigurationCommand\x12@\n\x17networkOperatorSettings\x18\x01 \x01(\x0b\x32\x1f.openxc.NetworkOperatorSettings\x12\x38\n\x13networkDataSettings\x18\x02 \x01(\x0b\x32\x1b.openxc.NetworkDataSettings\x12<\n\x15serverConnectSettings\x18\x03 \x01(\x0b\x32\x1d.openxc.ServerConnectSettings\",\n\x17RTCConfigurationCommand\x12\x11\n\tunix_time\x18\x01 \x01(\r\"]\n\x0f\x43ommandResponse\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.openxc.ControlCommand.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x08\"\x89\x02\n\x11\x44iagnosticRequest\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x12\n\nmessage_id\x18\x02 \x01(\r\x12\x0c\n\x04mode\x18\x03 \x01(\r\x12\x0b\n\x03pid\x18\x04 \x01(\r\x12\x0f\n\x07payload\x18\x05 \x01(\x0c\x12\x1a\n\x12multiple_responses\x18\x06 \x01(\x08\x12\x11\n\tfrequency\x18\x07 \x01(\x01\x12\x0c\n\x04name\x18\x08 \x01(\t\x12;\n\x0c\x64\x65\x63oded_type\x18\t \x01(\x0e\x32%.openxc.DiagnosticRequest.DecodedType\"-\n\x0b\x44\x65\x63odedType\x12\n\n\x06UNUSED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x08\n\x04OBD2\x10\x02\"\xb7\x01\n\x12\x44iagnosticResponse\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x12\n\nmessage_id\x18\x02 \x01(\r\x12\x0c\n\x04mode\x18\x03 \x01(\r\x12\x0b\n\x03pid\x18\x04 \x01(\r\x12\x0f\n\x07success\x18\x05 \x01(\x08\x12\x1e\n\x16negative_response_code\x18\x06 \x01(\r\x12\x0f\n\x07payload\x18\x07 \x01(\x0c\x12#\n\x05value\x18\x08 \x01(\x0b\x32\x14.openxc.DynamicField\"\xae\x01\n\x0c\x44ynamicField\x12\'\n\x04type\x18\x01 \x01(\x0e\x32\x19.openxc.DynamicField.Type\x12\x14\n\x0cstring_value\x18\x02 \x01(\t\x12\x15\n\rnumeric_value\x18\x03 \x01(\x01\x12\x15\n\rboolean_value\x18\x04 \x01(\x08\"1\n\x04Type\x12\n\n\x06UNUSED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x07\n\x03NUM\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\"g\n\rSimpleMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.openxc.DynamicField\x12#\n\x05\x65vent\x18\x03 \x01(\x0b\x32\x14.openxc.DynamicFieldB\x1c\n\ncom.openxcB\x0e\x42inaryMessagesb\x06proto3')
-)
-_sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
-
-
-_VEHICLEMESSAGE_TYPE = _descriptor.EnumDescriptor(
- name='Type',
- full_name='openxc.VehicleMessage.Type',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='CAN', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='SIMPLE', index=2, number=2,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='DIAGNOSTIC', index=3, number=3,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='CONTROL_COMMAND', index=4, number=4,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='COMMAND_RESPONSE', index=5, number=5,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=350,
- serialized_end=448,
-)
-_sym_db.RegisterEnumDescriptor(_VEHICLEMESSAGE_TYPE)
-
-_CANMESSAGE_FRAMEFORMAT = _descriptor.EnumDescriptor(
- name='FrameFormat',
- full_name='openxc.CanMessage.FrameFormat',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='STANDARD', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='EXTENDED', index=2, number=2,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=558,
- serialized_end=611,
-)
-_sym_db.RegisterEnumDescriptor(_CANMESSAGE_FRAMEFORMAT)
-
-_CONTROLCOMMAND_TYPE = _descriptor.EnumDescriptor(
- name='Type',
- full_name='openxc.ControlCommand.Type',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='VERSION', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='DEVICE_ID', index=2, number=2,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='DIAGNOSTIC', index=3, number=3,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='PASSTHROUGH', index=4, number=4,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='ACCEPTANCE_FILTER_BYPASS', index=5, number=5,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='PAYLOAD_FORMAT', index=6, number=6,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='PREDEFINED_OBD2_REQUESTS', index=7, number=7,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='MODEM_CONFIGURATION', index=8, number=8,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='RTC_CONFIGURATION', index=9, number=9,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='SD_MOUNT_STATUS', index=10, number=10,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='PLATFORM', index=11, number=11,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=1175,
- serialized_end=1417,
-)
-_sym_db.RegisterEnumDescriptor(_CONTROLCOMMAND_TYPE)
-
-_DIAGNOSTICCONTROLCOMMAND_ACTION = _descriptor.EnumDescriptor(
- name='Action',
- full_name='openxc.DiagnosticControlCommand.Action',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='ADD', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='CANCEL', index=2, number=2,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=1549,
- serialized_end=1590,
-)
-_sym_db.RegisterEnumDescriptor(_DIAGNOSTICCONTROLCOMMAND_ACTION)
-
-_PAYLOADFORMATCOMMAND_PAYLOADFORMAT = _descriptor.EnumDescriptor(
- name='PayloadFormat',
- full_name='openxc.PayloadFormatCommand.PayloadFormat',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='JSON', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='PROTOBUF', index=2, number=2,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='MESSAGEPACK', index=3, number=3,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=1802,
- serialized_end=1870,
-)
-_sym_db.RegisterEnumDescriptor(_PAYLOADFORMATCOMMAND_PAYLOADFORMAT)
-
-_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE = _descriptor.EnumDescriptor(
- name='NetworkType',
- full_name='openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='GSM', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='UTRAN', index=1, number=2,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=2254,
- serialized_end=2287,
-)
-_sym_db.RegisterEnumDescriptor(_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE)
-
-_NETWORKOPERATORSETTINGS_OPERATORSELECTMODE = _descriptor.EnumDescriptor(
- name='OperatorSelectMode',
- full_name='openxc.NetworkOperatorSettings.OperatorSelectMode',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='AUTOMATIC', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='MANUAL', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='DEREGISTER', index=2, number=2,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='SET_ONLY', index=3, number=3,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='MANUAL_AUTOMATIC', index=4, number=4,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=2289,
- serialized_end=2388,
-)
-_sym_db.RegisterEnumDescriptor(_NETWORKOPERATORSETTINGS_OPERATORSELECTMODE)
-
-_DIAGNOSTICREQUEST_DECODEDTYPE = _descriptor.EnumDescriptor(
- name='DecodedType',
- full_name='openxc.DiagnosticRequest.DecodedType',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='NONE', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='OBD2', index=2, number=2,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=3057,
- serialized_end=3102,
-)
-_sym_db.RegisterEnumDescriptor(_DIAGNOSTICREQUEST_DECODEDTYPE)
-
-_DYNAMICFIELD_TYPE = _descriptor.EnumDescriptor(
- name='Type',
- full_name='openxc.DynamicField.Type',
- filename=None,
- file=DESCRIPTOR,
- values=[
- _descriptor.EnumValueDescriptor(
- name='UNUSED', index=0, number=0,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='STRING', index=1, number=1,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='NUM', index=2, number=2,
- options=None,
- type=None),
- _descriptor.EnumValueDescriptor(
- name='BOOL', index=3, number=3,
- options=None,
- type=None),
- ],
- containing_type=None,
- options=None,
- serialized_start=3416,
- serialized_end=3465,
-)
-_sym_db.RegisterEnumDescriptor(_DYNAMICFIELD_TYPE)
-
-
-_VEHICLEMESSAGE = _descriptor.Descriptor(
- name='VehicleMessage',
- full_name='openxc.VehicleMessage',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='type', full_name='openxc.VehicleMessage.type', index=0,
- number=1, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='can_message', full_name='openxc.VehicleMessage.can_message', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='simple_message', full_name='openxc.VehicleMessage.simple_message', index=2,
- number=3, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='diagnostic_response', full_name='openxc.VehicleMessage.diagnostic_response', index=3,
- number=4, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='control_command', full_name='openxc.VehicleMessage.control_command', index=4,
- number=5, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='command_response', full_name='openxc.VehicleMessage.command_response', index=5,
- number=6, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='timestamp', full_name='openxc.VehicleMessage.timestamp', index=6,
- number=7, type=4, cpp_type=4, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _VEHICLEMESSAGE_TYPE,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=25,
- serialized_end=448,
-)
-
-
-_CANMESSAGE = _descriptor.Descriptor(
- name='CanMessage',
- full_name='openxc.CanMessage',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='bus', full_name='openxc.CanMessage.bus', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='id', full_name='openxc.CanMessage.id', index=1,
- number=2, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='data', full_name='openxc.CanMessage.data', index=2,
- number=3, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=_b(""),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='frame_format', full_name='openxc.CanMessage.frame_format', index=3,
- number=4, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _CANMESSAGE_FRAMEFORMAT,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=451,
- serialized_end=611,
-)
-
-
-_CONTROLCOMMAND = _descriptor.Descriptor(
- name='ControlCommand',
- full_name='openxc.ControlCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='type', full_name='openxc.ControlCommand.type', index=0,
- number=1, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='diagnostic_request', full_name='openxc.ControlCommand.diagnostic_request', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='passthrough_mode_request', full_name='openxc.ControlCommand.passthrough_mode_request', index=2,
- number=3, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='acceptance_filter_bypass_command', full_name='openxc.ControlCommand.acceptance_filter_bypass_command', index=3,
- number=4, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='payload_format_command', full_name='openxc.ControlCommand.payload_format_command', index=4,
- number=5, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='predefined_obd2_requests_command', full_name='openxc.ControlCommand.predefined_obd2_requests_command', index=5,
- number=6, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='modem_configuration_command', full_name='openxc.ControlCommand.modem_configuration_command', index=6,
- number=7, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='rtc_configuration_command', full_name='openxc.ControlCommand.rtc_configuration_command', index=7,
- number=8, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _CONTROLCOMMAND_TYPE,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=614,
- serialized_end=1417,
-)
-
-
-_DIAGNOSTICCONTROLCOMMAND = _descriptor.Descriptor(
- name='DiagnosticControlCommand',
- full_name='openxc.DiagnosticControlCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='request', full_name='openxc.DiagnosticControlCommand.request', index=0,
- number=1, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='action', full_name='openxc.DiagnosticControlCommand.action', index=1,
- number=2, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _DIAGNOSTICCONTROLCOMMAND_ACTION,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1420,
- serialized_end=1590,
-)
-
-
-_PASSTHROUGHMODECONTROLCOMMAND = _descriptor.Descriptor(
- name='PassthroughModeControlCommand',
- full_name='openxc.PassthroughModeControlCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='bus', full_name='openxc.PassthroughModeControlCommand.bus', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='enabled', full_name='openxc.PassthroughModeControlCommand.enabled', index=1,
- number=2, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1592,
- serialized_end=1653,
-)
-
-
-_ACCEPTANCEFILTERBYPASSCOMMAND = _descriptor.Descriptor(
- name='AcceptanceFilterBypassCommand',
- full_name='openxc.AcceptanceFilterBypassCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='bus', full_name='openxc.AcceptanceFilterBypassCommand.bus', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='bypass', full_name='openxc.AcceptanceFilterBypassCommand.bypass', index=1,
- number=2, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1655,
- serialized_end=1715,
-)
-
-
-_PAYLOADFORMATCOMMAND = _descriptor.Descriptor(
- name='PayloadFormatCommand',
- full_name='openxc.PayloadFormatCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='format', full_name='openxc.PayloadFormatCommand.format', index=0,
- number=1, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _PAYLOADFORMATCOMMAND_PAYLOADFORMAT,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1718,
- serialized_end=1870,
-)
-
-
-_PREDEFINEDOBD2REQUESTSCOMMAND = _descriptor.Descriptor(
- name='PredefinedObd2RequestsCommand',
- full_name='openxc.PredefinedObd2RequestsCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='enabled', full_name='openxc.PredefinedObd2RequestsCommand.enabled', index=0,
- number=1, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1872,
- serialized_end=1920,
-)
-
-
-_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR = _descriptor.Descriptor(
- name='NetworkDescriptor',
- full_name='openxc.NetworkOperatorSettings.NetworkDescriptor',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='PLMN', full_name='openxc.NetworkOperatorSettings.NetworkDescriptor.PLMN', index=0,
- number=1, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='networkType', full_name='openxc.NetworkOperatorSettings.NetworkDescriptor.networkType', index=1,
- number=2, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2135,
- serialized_end=2287,
-)
-
-_NETWORKOPERATORSETTINGS = _descriptor.Descriptor(
- name='NetworkOperatorSettings',
- full_name='openxc.NetworkOperatorSettings',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='allowDataRoaming', full_name='openxc.NetworkOperatorSettings.allowDataRoaming', index=0,
- number=1, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='operatorSelectMode', full_name='openxc.NetworkOperatorSettings.operatorSelectMode', index=1,
- number=2, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='networkDescriptor', full_name='openxc.NetworkOperatorSettings.networkDescriptor', index=2,
- number=3, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR, ],
- enum_types=[
- _NETWORKOPERATORSETTINGS_OPERATORSELECTMODE,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1923,
- serialized_end=2388,
-)
-
-
-_NETWORKDATASETTINGS = _descriptor.Descriptor(
- name='NetworkDataSettings',
- full_name='openxc.NetworkDataSettings',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='apn', full_name='openxc.NetworkDataSettings.apn', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2390,
- serialized_end=2424,
-)
-
-
-_SERVERCONNECTSETTINGS = _descriptor.Descriptor(
- name='ServerConnectSettings',
- full_name='openxc.ServerConnectSettings',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='host', full_name='openxc.ServerConnectSettings.host', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='port', full_name='openxc.ServerConnectSettings.port', index=1,
- number=2, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2426,
- serialized_end=2477,
-)
-
-
-_MODEMCONFIGURATIONCOMMAND = _descriptor.Descriptor(
- name='ModemConfigurationCommand',
- full_name='openxc.ModemConfigurationCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='networkOperatorSettings', full_name='openxc.ModemConfigurationCommand.networkOperatorSettings', index=0,
- number=1, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='networkDataSettings', full_name='openxc.ModemConfigurationCommand.networkDataSettings', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='serverConnectSettings', full_name='openxc.ModemConfigurationCommand.serverConnectSettings', index=2,
- number=3, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2480,
- serialized_end=2693,
-)
-
-
-_RTCCONFIGURATIONCOMMAND = _descriptor.Descriptor(
- name='RTCConfigurationCommand',
- full_name='openxc.RTCConfigurationCommand',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='unix_time', full_name='openxc.RTCConfigurationCommand.unix_time', index=0,
- number=1, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2695,
- serialized_end=2739,
-)
-
-
-_COMMANDRESPONSE = _descriptor.Descriptor(
- name='CommandResponse',
- full_name='openxc.CommandResponse',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='type', full_name='openxc.CommandResponse.type', index=0,
- number=1, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='message', full_name='openxc.CommandResponse.message', index=1,
- number=2, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='status', full_name='openxc.CommandResponse.status', index=2,
- number=3, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2741,
- serialized_end=2834,
-)
-
-
-_DIAGNOSTICREQUEST = _descriptor.Descriptor(
- name='DiagnosticRequest',
- full_name='openxc.DiagnosticRequest',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='bus', full_name='openxc.DiagnosticRequest.bus', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='message_id', full_name='openxc.DiagnosticRequest.message_id', index=1,
- number=2, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='mode', full_name='openxc.DiagnosticRequest.mode', index=2,
- number=3, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='pid', full_name='openxc.DiagnosticRequest.pid', index=3,
- number=4, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='payload', full_name='openxc.DiagnosticRequest.payload', index=4,
- number=5, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=_b(""),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='multiple_responses', full_name='openxc.DiagnosticRequest.multiple_responses', index=5,
- number=6, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='frequency', full_name='openxc.DiagnosticRequest.frequency', index=6,
- number=7, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='name', full_name='openxc.DiagnosticRequest.name', index=7,
- number=8, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='decoded_type', full_name='openxc.DiagnosticRequest.decoded_type', index=8,
- number=9, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _DIAGNOSTICREQUEST_DECODEDTYPE,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=2837,
- serialized_end=3102,
-)
-
-
-_DIAGNOSTICRESPONSE = _descriptor.Descriptor(
- name='DiagnosticResponse',
- full_name='openxc.DiagnosticResponse',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='bus', full_name='openxc.DiagnosticResponse.bus', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='message_id', full_name='openxc.DiagnosticResponse.message_id', index=1,
- number=2, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='mode', full_name='openxc.DiagnosticResponse.mode', index=2,
- number=3, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='pid', full_name='openxc.DiagnosticResponse.pid', index=3,
- number=4, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='success', full_name='openxc.DiagnosticResponse.success', index=4,
- number=5, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='negative_response_code', full_name='openxc.DiagnosticResponse.negative_response_code', index=5,
- number=6, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='payload', full_name='openxc.DiagnosticResponse.payload', index=6,
- number=7, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=_b(""),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='value', full_name='openxc.DiagnosticResponse.value', index=7,
- number=8, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=3105,
- serialized_end=3288,
-)
-
-
-_DYNAMICFIELD = _descriptor.Descriptor(
- name='DynamicField',
- full_name='openxc.DynamicField',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='type', full_name='openxc.DynamicField.type', index=0,
- number=1, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='string_value', full_name='openxc.DynamicField.string_value', index=1,
- number=2, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='numeric_value', full_name='openxc.DynamicField.numeric_value', index=2,
- number=3, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='boolean_value', full_name='openxc.DynamicField.boolean_value', index=3,
- number=4, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- _DYNAMICFIELD_TYPE,
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=3291,
- serialized_end=3465,
-)
-
-
-_SIMPLEMESSAGE = _descriptor.Descriptor(
- name='SimpleMessage',
- full_name='openxc.SimpleMessage',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='name', full_name='openxc.SimpleMessage.name', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='value', full_name='openxc.SimpleMessage.value', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='event', full_name='openxc.SimpleMessage.event', index=2,
- number=3, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=3467,
- serialized_end=3570,
-)
-
-_VEHICLEMESSAGE.fields_by_name['type'].enum_type = _VEHICLEMESSAGE_TYPE
-_VEHICLEMESSAGE.fields_by_name['can_message'].message_type = _CANMESSAGE
-_VEHICLEMESSAGE.fields_by_name['simple_message'].message_type = _SIMPLEMESSAGE
-_VEHICLEMESSAGE.fields_by_name['diagnostic_response'].message_type = _DIAGNOSTICRESPONSE
-_VEHICLEMESSAGE.fields_by_name['control_command'].message_type = _CONTROLCOMMAND
-_VEHICLEMESSAGE.fields_by_name['command_response'].message_type = _COMMANDRESPONSE
-_VEHICLEMESSAGE_TYPE.containing_type = _VEHICLEMESSAGE
-_CANMESSAGE.fields_by_name['frame_format'].enum_type = _CANMESSAGE_FRAMEFORMAT
-_CANMESSAGE_FRAMEFORMAT.containing_type = _CANMESSAGE
-_CONTROLCOMMAND.fields_by_name['type'].enum_type = _CONTROLCOMMAND_TYPE
-_CONTROLCOMMAND.fields_by_name['diagnostic_request'].message_type = _DIAGNOSTICCONTROLCOMMAND
-_CONTROLCOMMAND.fields_by_name['passthrough_mode_request'].message_type = _PASSTHROUGHMODECONTROLCOMMAND
-_CONTROLCOMMAND.fields_by_name['acceptance_filter_bypass_command'].message_type = _ACCEPTANCEFILTERBYPASSCOMMAND
-_CONTROLCOMMAND.fields_by_name['payload_format_command'].message_type = _PAYLOADFORMATCOMMAND
-_CONTROLCOMMAND.fields_by_name['predefined_obd2_requests_command'].message_type = _PREDEFINEDOBD2REQUESTSCOMMAND
-_CONTROLCOMMAND.fields_by_name['modem_configuration_command'].message_type = _MODEMCONFIGURATIONCOMMAND
-_CONTROLCOMMAND.fields_by_name['rtc_configuration_command'].message_type = _RTCCONFIGURATIONCOMMAND
-_CONTROLCOMMAND_TYPE.containing_type = _CONTROLCOMMAND
-_DIAGNOSTICCONTROLCOMMAND.fields_by_name['request'].message_type = _DIAGNOSTICREQUEST
-_DIAGNOSTICCONTROLCOMMAND.fields_by_name['action'].enum_type = _DIAGNOSTICCONTROLCOMMAND_ACTION
-_DIAGNOSTICCONTROLCOMMAND_ACTION.containing_type = _DIAGNOSTICCONTROLCOMMAND
-_PAYLOADFORMATCOMMAND.fields_by_name['format'].enum_type = _PAYLOADFORMATCOMMAND_PAYLOADFORMAT
-_PAYLOADFORMATCOMMAND_PAYLOADFORMAT.containing_type = _PAYLOADFORMATCOMMAND
-_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR.fields_by_name['networkType'].enum_type = _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE
-_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR.containing_type = _NETWORKOPERATORSETTINGS
-_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE.containing_type = _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR
-_NETWORKOPERATORSETTINGS.fields_by_name['operatorSelectMode'].enum_type = _NETWORKOPERATORSETTINGS_OPERATORSELECTMODE
-_NETWORKOPERATORSETTINGS.fields_by_name['networkDescriptor'].message_type = _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR
-_NETWORKOPERATORSETTINGS_OPERATORSELECTMODE.containing_type = _NETWORKOPERATORSETTINGS
-_MODEMCONFIGURATIONCOMMAND.fields_by_name['networkOperatorSettings'].message_type = _NETWORKOPERATORSETTINGS
-_MODEMCONFIGURATIONCOMMAND.fields_by_name['networkDataSettings'].message_type = _NETWORKDATASETTINGS
-_MODEMCONFIGURATIONCOMMAND.fields_by_name['serverConnectSettings'].message_type = _SERVERCONNECTSETTINGS
-_COMMANDRESPONSE.fields_by_name['type'].enum_type = _CONTROLCOMMAND_TYPE
-_DIAGNOSTICREQUEST.fields_by_name['decoded_type'].enum_type = _DIAGNOSTICREQUEST_DECODEDTYPE
-_DIAGNOSTICREQUEST_DECODEDTYPE.containing_type = _DIAGNOSTICREQUEST
-_DIAGNOSTICRESPONSE.fields_by_name['value'].message_type = _DYNAMICFIELD
-_DYNAMICFIELD.fields_by_name['type'].enum_type = _DYNAMICFIELD_TYPE
-_DYNAMICFIELD_TYPE.containing_type = _DYNAMICFIELD
-_SIMPLEMESSAGE.fields_by_name['value'].message_type = _DYNAMICFIELD
-_SIMPLEMESSAGE.fields_by_name['event'].message_type = _DYNAMICFIELD
-DESCRIPTOR.message_types_by_name['VehicleMessage'] = _VEHICLEMESSAGE
-DESCRIPTOR.message_types_by_name['CanMessage'] = _CANMESSAGE
-DESCRIPTOR.message_types_by_name['ControlCommand'] = _CONTROLCOMMAND
-DESCRIPTOR.message_types_by_name['DiagnosticControlCommand'] = _DIAGNOSTICCONTROLCOMMAND
-DESCRIPTOR.message_types_by_name['PassthroughModeControlCommand'] = _PASSTHROUGHMODECONTROLCOMMAND
-DESCRIPTOR.message_types_by_name['AcceptanceFilterBypassCommand'] = _ACCEPTANCEFILTERBYPASSCOMMAND
-DESCRIPTOR.message_types_by_name['PayloadFormatCommand'] = _PAYLOADFORMATCOMMAND
-DESCRIPTOR.message_types_by_name['PredefinedObd2RequestsCommand'] = _PREDEFINEDOBD2REQUESTSCOMMAND
-DESCRIPTOR.message_types_by_name['NetworkOperatorSettings'] = _NETWORKOPERATORSETTINGS
-DESCRIPTOR.message_types_by_name['NetworkDataSettings'] = _NETWORKDATASETTINGS
-DESCRIPTOR.message_types_by_name['ServerConnectSettings'] = _SERVERCONNECTSETTINGS
-DESCRIPTOR.message_types_by_name['ModemConfigurationCommand'] = _MODEMCONFIGURATIONCOMMAND
-DESCRIPTOR.message_types_by_name['RTCConfigurationCommand'] = _RTCCONFIGURATIONCOMMAND
-DESCRIPTOR.message_types_by_name['CommandResponse'] = _COMMANDRESPONSE
-DESCRIPTOR.message_types_by_name['DiagnosticRequest'] = _DIAGNOSTICREQUEST
-DESCRIPTOR.message_types_by_name['DiagnosticResponse'] = _DIAGNOSTICRESPONSE
-DESCRIPTOR.message_types_by_name['DynamicField'] = _DYNAMICFIELD
-DESCRIPTOR.message_types_by_name['SimpleMessage'] = _SIMPLEMESSAGE
-
-VehicleMessage = _reflection.GeneratedProtocolMessageType('VehicleMessage', (_message.Message,), dict(
- DESCRIPTOR = _VEHICLEMESSAGE,
- __module__ = 'openxc_pb2'
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0copenxc.proto\x12\x06openxc\"\xa7\x03\n\x0eVehicleMessage\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.openxc.VehicleMessage.Type\x12\'\n\x0b\x63\x61n_message\x18\x02 \x01(\x0b\x32\x12.openxc.CanMessage\x12-\n\x0esimple_message\x18\x03 \x01(\x0b\x32\x15.openxc.SimpleMessage\x12\x37\n\x13\x64iagnostic_response\x18\x04 \x01(\x0b\x32\x1a.openxc.DiagnosticResponse\x12/\n\x0f\x63ontrol_command\x18\x05 \x01(\x0b\x32\x16.openxc.ControlCommand\x12\x31\n\x10\x63ommand_response\x18\x06 \x01(\x0b\x32\x17.openxc.CommandResponse\x12\x11\n\ttimestamp\x18\x07 \x01(\x04\"b\n\x04Type\x12\n\n\x06UNUSED\x10\x00\x12\x07\n\x03\x43\x41N\x10\x01\x12\n\n\x06SIMPLE\x10\x02\x12\x0e\n\nDIAGNOSTIC\x10\x03\x12\x13\n\x0f\x43ONTROL_COMMAND\x10\x04\x12\x14\n\x10\x43OMMAND_RESPONSE\x10\x05\"\xa0\x01\n\nCanMessage\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x34\n\x0c\x66rame_format\x18\x04 \x01(\x0e\x32\x1e.openxc.CanMessage.FrameFormat\"5\n\x0b\x46rameFormat\x12\n\n\x06UNUSED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0c\n\x08\x45XTENDED\x10\x02\"\xb0\x06\n\x0e\x43ontrolCommand\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.openxc.ControlCommand.Type\x12<\n\x12\x64iagnostic_request\x18\x02 \x01(\x0b\x32 .openxc.DiagnosticControlCommand\x12G\n\x18passthrough_mode_request\x18\x03 \x01(\x0b\x32%.openxc.PassthroughModeControlCommand\x12O\n acceptance_filter_bypass_command\x18\x04 \x01(\x0b\x32%.openxc.AcceptanceFilterBypassCommand\x12<\n\x16payload_format_command\x18\x05 \x01(\x0b\x32\x1c.openxc.PayloadFormatCommand\x12O\n predefined_obd2_requests_command\x18\x06 \x01(\x0b\x32%.openxc.PredefinedObd2RequestsCommand\x12\x46\n\x1bmodem_configuration_command\x18\x07 \x01(\x0b\x32!.openxc.ModemConfigurationCommand\x12\x42\n\x19rtc_configuration_command\x18\x08 \x01(\x0b\x32\x1f.openxc.RTCConfigurationCommand\"\xff\x01\n\x04Type\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07VERSION\x10\x01\x12\r\n\tDEVICE_ID\x10\x02\x12\x0e\n\nDIAGNOSTIC\x10\x03\x12\x0f\n\x0bPASSTHROUGH\x10\x04\x12\x1c\n\x18\x41\x43\x43\x45PTANCE_FILTER_BYPASS\x10\x05\x12\x12\n\x0ePAYLOAD_FORMAT\x10\x06\x12\x1c\n\x18PREDEFINED_OBD2_REQUESTS\x10\x07\x12\x17\n\x13MODEM_CONFIGURATION\x10\x08\x12\x15\n\x11RTC_CONFIGURATION\x10\t\x12\x13\n\x0fSD_MOUNT_STATUS\x10\n\x12\x0c\n\x08PLATFORM\x10\x0b\x12\x0b\n\x07GET_VIN\x10\x0c\"\xaa\x01\n\x18\x44iagnosticControlCommand\x12*\n\x07request\x18\x01 \x01(\x0b\x32\x19.openxc.DiagnosticRequest\x12\x37\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\'.openxc.DiagnosticControlCommand.Action\")\n\x06\x41\x63tion\x12\n\n\x06UNUSED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06\x43\x41NCEL\x10\x02\"=\n\x1dPassthroughModeControlCommand\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"<\n\x1d\x41\x63\x63\x65ptanceFilterBypassCommand\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x0e\n\x06\x62ypass\x18\x02 \x01(\x08\"\x87\x01\n\x14PayloadFormatCommand\x12:\n\x06\x66ormat\x18\x01 \x01(\x0e\x32*.openxc.PayloadFormatCommand.PayloadFormat\"3\n\rPayloadFormat\x12\n\n\x06UNUSED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x0c\n\x08PROTOBUF\x10\x02\"0\n\x1dPredefinedObd2RequestsCommand\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"\xd1\x03\n\x17NetworkOperatorSettings\x12\x18\n\x10\x61llowDataRoaming\x18\x01 \x01(\x08\x12N\n\x12operatorSelectMode\x18\x02 \x01(\x0e\x32\x32.openxc.NetworkOperatorSettings.OperatorSelectMode\x12L\n\x11networkDescriptor\x18\x03 \x01(\x0b\x32\x31.openxc.NetworkOperatorSettings.NetworkDescriptor\x1a\x98\x01\n\x11NetworkDescriptor\x12\x0c\n\x04PLMN\x18\x01 \x01(\r\x12R\n\x0bnetworkType\x18\x02 \x01(\x0e\x32=.openxc.NetworkOperatorSettings.NetworkDescriptor.NetworkType\"!\n\x0bNetworkType\x12\x07\n\x03GSM\x10\x00\x12\t\n\x05UTRAN\x10\x02\"c\n\x12OperatorSelectMode\x12\r\n\tAUTOMATIC\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\x0e\n\nDEREGISTER\x10\x02\x12\x0c\n\x08SET_ONLY\x10\x03\x12\x14\n\x10MANUAL_AUTOMATIC\x10\x04\"\"\n\x13NetworkDataSettings\x12\x0b\n\x03\x61pn\x18\x01 \x01(\t\"3\n\x15ServerConnectSettings\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\"\xd5\x01\n\x19ModemConfigurationCommand\x12@\n\x17networkOperatorSettings\x18\x01 \x01(\x0b\x32\x1f.openxc.NetworkOperatorSettings\x12\x38\n\x13networkDataSettings\x18\x02 \x01(\x0b\x32\x1b.openxc.NetworkDataSettings\x12<\n\x15serverConnectSettings\x18\x03 \x01(\x0b\x32\x1d.openxc.ServerConnectSettings\",\n\x17RTCConfigurationCommand\x12\x11\n\tunix_time\x18\x01 \x01(\r\"]\n\x0f\x43ommandResponse\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.openxc.ControlCommand.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x08\"\x89\x02\n\x11\x44iagnosticRequest\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x12\n\nmessage_id\x18\x02 \x01(\r\x12\x0c\n\x04mode\x18\x03 \x01(\r\x12\x0b\n\x03pid\x18\x04 \x01(\r\x12\x0f\n\x07payload\x18\x05 \x01(\x0c\x12\x1a\n\x12multiple_responses\x18\x06 \x01(\x08\x12\x11\n\tfrequency\x18\x07 \x01(\x01\x12\x0c\n\x04name\x18\x08 \x01(\t\x12;\n\x0c\x64\x65\x63oded_type\x18\t \x01(\x0e\x32%.openxc.DiagnosticRequest.DecodedType\"-\n\x0b\x44\x65\x63odedType\x12\n\n\x06UNUSED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x08\n\x04OBD2\x10\x02\"\xda\x01\n\x12\x44iagnosticResponse\x12\x0b\n\x03\x62us\x18\x01 \x01(\x05\x12\x12\n\nmessage_id\x18\x02 \x01(\r\x12\x0c\n\x04mode\x18\x03 \x01(\r\x12\x0b\n\x03pid\x18\x04 \x01(\r\x12\x0f\n\x07success\x18\x05 \x01(\x08\x12\x1e\n\x16negative_response_code\x18\x06 \x01(\r\x12\x0f\n\x07payload\x18\x07 \x01(\x0c\x12#\n\x05value\x18\x08 \x01(\x0b\x32\x14.openxc.DynamicField\x12\r\n\x05\x66rame\x18\t \x01(\x05\x12\x12\n\ntotal_size\x18\n \x01(\r\"\xae\x01\n\x0c\x44ynamicField\x12\'\n\x04type\x18\x01 \x01(\x0e\x32\x19.openxc.DynamicField.Type\x12\x14\n\x0cstring_value\x18\x02 \x01(\t\x12\x15\n\rnumeric_value\x18\x03 \x01(\x01\x12\x15\n\rboolean_value\x18\x04 \x01(\x08\"1\n\x04Type\x12\n\n\x06UNUSED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x07\n\x03NUM\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\"g\n\rSimpleMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.openxc.DynamicField\x12#\n\x05\x65vent\x18\x03 \x01(\x0b\x32\x14.openxc.DynamicFieldB\x1c\n\ncom.openxcB\x0e\x42inaryMessagesb\x06proto3')
+
+
+
+_VEHICLEMESSAGE = DESCRIPTOR.message_types_by_name['VehicleMessage']
+_CANMESSAGE = DESCRIPTOR.message_types_by_name['CanMessage']
+_CONTROLCOMMAND = DESCRIPTOR.message_types_by_name['ControlCommand']
+_DIAGNOSTICCONTROLCOMMAND = DESCRIPTOR.message_types_by_name['DiagnosticControlCommand']
+_PASSTHROUGHMODECONTROLCOMMAND = DESCRIPTOR.message_types_by_name['PassthroughModeControlCommand']
+_ACCEPTANCEFILTERBYPASSCOMMAND = DESCRIPTOR.message_types_by_name['AcceptanceFilterBypassCommand']
+_PAYLOADFORMATCOMMAND = DESCRIPTOR.message_types_by_name['PayloadFormatCommand']
+_PREDEFINEDOBD2REQUESTSCOMMAND = DESCRIPTOR.message_types_by_name['PredefinedObd2RequestsCommand']
+_NETWORKOPERATORSETTINGS = DESCRIPTOR.message_types_by_name['NetworkOperatorSettings']
+_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR = _NETWORKOPERATORSETTINGS.nested_types_by_name['NetworkDescriptor']
+_NETWORKDATASETTINGS = DESCRIPTOR.message_types_by_name['NetworkDataSettings']
+_SERVERCONNECTSETTINGS = DESCRIPTOR.message_types_by_name['ServerConnectSettings']
+_MODEMCONFIGURATIONCOMMAND = DESCRIPTOR.message_types_by_name['ModemConfigurationCommand']
+_RTCCONFIGURATIONCOMMAND = DESCRIPTOR.message_types_by_name['RTCConfigurationCommand']
+_COMMANDRESPONSE = DESCRIPTOR.message_types_by_name['CommandResponse']
+_DIAGNOSTICREQUEST = DESCRIPTOR.message_types_by_name['DiagnosticRequest']
+_DIAGNOSTICRESPONSE = DESCRIPTOR.message_types_by_name['DiagnosticResponse']
+_DYNAMICFIELD = DESCRIPTOR.message_types_by_name['DynamicField']
+_SIMPLEMESSAGE = DESCRIPTOR.message_types_by_name['SimpleMessage']
+_VEHICLEMESSAGE_TYPE = _VEHICLEMESSAGE.enum_types_by_name['Type']
+_CANMESSAGE_FRAMEFORMAT = _CANMESSAGE.enum_types_by_name['FrameFormat']
+_CONTROLCOMMAND_TYPE = _CONTROLCOMMAND.enum_types_by_name['Type']
+_DIAGNOSTICCONTROLCOMMAND_ACTION = _DIAGNOSTICCONTROLCOMMAND.enum_types_by_name['Action']
+_PAYLOADFORMATCOMMAND_PAYLOADFORMAT = _PAYLOADFORMATCOMMAND.enum_types_by_name['PayloadFormat']
+_NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE = _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR.enum_types_by_name['NetworkType']
+_NETWORKOPERATORSETTINGS_OPERATORSELECTMODE = _NETWORKOPERATORSETTINGS.enum_types_by_name['OperatorSelectMode']
+_DIAGNOSTICREQUEST_DECODEDTYPE = _DIAGNOSTICREQUEST.enum_types_by_name['DecodedType']
+_DYNAMICFIELD_TYPE = _DYNAMICFIELD.enum_types_by_name['Type']
+VehicleMessage = _reflection.GeneratedProtocolMessageType('VehicleMessage', (_message.Message,), {
+ 'DESCRIPTOR' : _VEHICLEMESSAGE,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.VehicleMessage)
- ))
+ })
_sym_db.RegisterMessage(VehicleMessage)
-CanMessage = _reflection.GeneratedProtocolMessageType('CanMessage', (_message.Message,), dict(
- DESCRIPTOR = _CANMESSAGE,
- __module__ = 'openxc_pb2'
+CanMessage = _reflection.GeneratedProtocolMessageType('CanMessage', (_message.Message,), {
+ 'DESCRIPTOR' : _CANMESSAGE,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.CanMessage)
- ))
+ })
_sym_db.RegisterMessage(CanMessage)
-ControlCommand = _reflection.GeneratedProtocolMessageType('ControlCommand', (_message.Message,), dict(
- DESCRIPTOR = _CONTROLCOMMAND,
- __module__ = 'openxc_pb2'
+ControlCommand = _reflection.GeneratedProtocolMessageType('ControlCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _CONTROLCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.ControlCommand)
- ))
+ })
_sym_db.RegisterMessage(ControlCommand)
-DiagnosticControlCommand = _reflection.GeneratedProtocolMessageType('DiagnosticControlCommand', (_message.Message,), dict(
- DESCRIPTOR = _DIAGNOSTICCONTROLCOMMAND,
- __module__ = 'openxc_pb2'
+DiagnosticControlCommand = _reflection.GeneratedProtocolMessageType('DiagnosticControlCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _DIAGNOSTICCONTROLCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.DiagnosticControlCommand)
- ))
+ })
_sym_db.RegisterMessage(DiagnosticControlCommand)
-PassthroughModeControlCommand = _reflection.GeneratedProtocolMessageType('PassthroughModeControlCommand', (_message.Message,), dict(
- DESCRIPTOR = _PASSTHROUGHMODECONTROLCOMMAND,
- __module__ = 'openxc_pb2'
+PassthroughModeControlCommand = _reflection.GeneratedProtocolMessageType('PassthroughModeControlCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _PASSTHROUGHMODECONTROLCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.PassthroughModeControlCommand)
- ))
+ })
_sym_db.RegisterMessage(PassthroughModeControlCommand)
-AcceptanceFilterBypassCommand = _reflection.GeneratedProtocolMessageType('AcceptanceFilterBypassCommand', (_message.Message,), dict(
- DESCRIPTOR = _ACCEPTANCEFILTERBYPASSCOMMAND,
- __module__ = 'openxc_pb2'
+AcceptanceFilterBypassCommand = _reflection.GeneratedProtocolMessageType('AcceptanceFilterBypassCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _ACCEPTANCEFILTERBYPASSCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.AcceptanceFilterBypassCommand)
- ))
+ })
_sym_db.RegisterMessage(AcceptanceFilterBypassCommand)
-PayloadFormatCommand = _reflection.GeneratedProtocolMessageType('PayloadFormatCommand', (_message.Message,), dict(
- DESCRIPTOR = _PAYLOADFORMATCOMMAND,
- __module__ = 'openxc_pb2'
+PayloadFormatCommand = _reflection.GeneratedProtocolMessageType('PayloadFormatCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _PAYLOADFORMATCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.PayloadFormatCommand)
- ))
+ })
_sym_db.RegisterMessage(PayloadFormatCommand)
-PredefinedObd2RequestsCommand = _reflection.GeneratedProtocolMessageType('PredefinedObd2RequestsCommand', (_message.Message,), dict(
- DESCRIPTOR = _PREDEFINEDOBD2REQUESTSCOMMAND,
- __module__ = 'openxc_pb2'
+PredefinedObd2RequestsCommand = _reflection.GeneratedProtocolMessageType('PredefinedObd2RequestsCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _PREDEFINEDOBD2REQUESTSCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.PredefinedObd2RequestsCommand)
- ))
+ })
_sym_db.RegisterMessage(PredefinedObd2RequestsCommand)
-NetworkOperatorSettings = _reflection.GeneratedProtocolMessageType('NetworkOperatorSettings', (_message.Message,), dict(
+NetworkOperatorSettings = _reflection.GeneratedProtocolMessageType('NetworkOperatorSettings', (_message.Message,), {
- NetworkDescriptor = _reflection.GeneratedProtocolMessageType('NetworkDescriptor', (_message.Message,), dict(
- DESCRIPTOR = _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR,
- __module__ = 'openxc_pb2'
+ 'NetworkDescriptor' : _reflection.GeneratedProtocolMessageType('NetworkDescriptor', (_message.Message,), {
+ 'DESCRIPTOR' : _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.NetworkOperatorSettings.NetworkDescriptor)
- ))
+ })
,
- DESCRIPTOR = _NETWORKOPERATORSETTINGS,
- __module__ = 'openxc_pb2'
+ 'DESCRIPTOR' : _NETWORKOPERATORSETTINGS,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.NetworkOperatorSettings)
- ))
+ })
_sym_db.RegisterMessage(NetworkOperatorSettings)
_sym_db.RegisterMessage(NetworkOperatorSettings.NetworkDescriptor)
-NetworkDataSettings = _reflection.GeneratedProtocolMessageType('NetworkDataSettings', (_message.Message,), dict(
- DESCRIPTOR = _NETWORKDATASETTINGS,
- __module__ = 'openxc_pb2'
+NetworkDataSettings = _reflection.GeneratedProtocolMessageType('NetworkDataSettings', (_message.Message,), {
+ 'DESCRIPTOR' : _NETWORKDATASETTINGS,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.NetworkDataSettings)
- ))
+ })
_sym_db.RegisterMessage(NetworkDataSettings)
-ServerConnectSettings = _reflection.GeneratedProtocolMessageType('ServerConnectSettings', (_message.Message,), dict(
- DESCRIPTOR = _SERVERCONNECTSETTINGS,
- __module__ = 'openxc_pb2'
+ServerConnectSettings = _reflection.GeneratedProtocolMessageType('ServerConnectSettings', (_message.Message,), {
+ 'DESCRIPTOR' : _SERVERCONNECTSETTINGS,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.ServerConnectSettings)
- ))
+ })
_sym_db.RegisterMessage(ServerConnectSettings)
-ModemConfigurationCommand = _reflection.GeneratedProtocolMessageType('ModemConfigurationCommand', (_message.Message,), dict(
- DESCRIPTOR = _MODEMCONFIGURATIONCOMMAND,
- __module__ = 'openxc_pb2'
+ModemConfigurationCommand = _reflection.GeneratedProtocolMessageType('ModemConfigurationCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _MODEMCONFIGURATIONCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.ModemConfigurationCommand)
- ))
+ })
_sym_db.RegisterMessage(ModemConfigurationCommand)
-RTCConfigurationCommand = _reflection.GeneratedProtocolMessageType('RTCConfigurationCommand', (_message.Message,), dict(
- DESCRIPTOR = _RTCCONFIGURATIONCOMMAND,
- __module__ = 'openxc_pb2'
+RTCConfigurationCommand = _reflection.GeneratedProtocolMessageType('RTCConfigurationCommand', (_message.Message,), {
+ 'DESCRIPTOR' : _RTCCONFIGURATIONCOMMAND,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.RTCConfigurationCommand)
- ))
+ })
_sym_db.RegisterMessage(RTCConfigurationCommand)
-CommandResponse = _reflection.GeneratedProtocolMessageType('CommandResponse', (_message.Message,), dict(
- DESCRIPTOR = _COMMANDRESPONSE,
- __module__ = 'openxc_pb2'
+CommandResponse = _reflection.GeneratedProtocolMessageType('CommandResponse', (_message.Message,), {
+ 'DESCRIPTOR' : _COMMANDRESPONSE,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.CommandResponse)
- ))
+ })
_sym_db.RegisterMessage(CommandResponse)
-DiagnosticRequest = _reflection.GeneratedProtocolMessageType('DiagnosticRequest', (_message.Message,), dict(
- DESCRIPTOR = _DIAGNOSTICREQUEST,
- __module__ = 'openxc_pb2'
+DiagnosticRequest = _reflection.GeneratedProtocolMessageType('DiagnosticRequest', (_message.Message,), {
+ 'DESCRIPTOR' : _DIAGNOSTICREQUEST,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.DiagnosticRequest)
- ))
+ })
_sym_db.RegisterMessage(DiagnosticRequest)
-DiagnosticResponse = _reflection.GeneratedProtocolMessageType('DiagnosticResponse', (_message.Message,), dict(
- DESCRIPTOR = _DIAGNOSTICRESPONSE,
- __module__ = 'openxc_pb2'
+DiagnosticResponse = _reflection.GeneratedProtocolMessageType('DiagnosticResponse', (_message.Message,), {
+ 'DESCRIPTOR' : _DIAGNOSTICRESPONSE,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.DiagnosticResponse)
- ))
+ })
_sym_db.RegisterMessage(DiagnosticResponse)
-DynamicField = _reflection.GeneratedProtocolMessageType('DynamicField', (_message.Message,), dict(
- DESCRIPTOR = _DYNAMICFIELD,
- __module__ = 'openxc_pb2'
+DynamicField = _reflection.GeneratedProtocolMessageType('DynamicField', (_message.Message,), {
+ 'DESCRIPTOR' : _DYNAMICFIELD,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.DynamicField)
- ))
+ })
_sym_db.RegisterMessage(DynamicField)
-SimpleMessage = _reflection.GeneratedProtocolMessageType('SimpleMessage', (_message.Message,), dict(
- DESCRIPTOR = _SIMPLEMESSAGE,
- __module__ = 'openxc_pb2'
+SimpleMessage = _reflection.GeneratedProtocolMessageType('SimpleMessage', (_message.Message,), {
+ 'DESCRIPTOR' : _SIMPLEMESSAGE,
+ '__module__' : 'openxc_pb2'
# @@protoc_insertion_point(class_scope:openxc.SimpleMessage)
- ))
+ })
_sym_db.RegisterMessage(SimpleMessage)
-
-DESCRIPTOR.has_options = True
-DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\ncom.openxcB\016BinaryMessages'))
+if _descriptor._USE_C_DESCRIPTORS == False:
+
+ DESCRIPTOR._options = None
+ DESCRIPTOR._serialized_options = b'\n\ncom.openxcB\016BinaryMessages'
+ _VEHICLEMESSAGE._serialized_start=25
+ _VEHICLEMESSAGE._serialized_end=448
+ _VEHICLEMESSAGE_TYPE._serialized_start=350
+ _VEHICLEMESSAGE_TYPE._serialized_end=448
+ _CANMESSAGE._serialized_start=451
+ _CANMESSAGE._serialized_end=611
+ _CANMESSAGE_FRAMEFORMAT._serialized_start=558
+ _CANMESSAGE_FRAMEFORMAT._serialized_end=611
+ _CONTROLCOMMAND._serialized_start=614
+ _CONTROLCOMMAND._serialized_end=1430
+ _CONTROLCOMMAND_TYPE._serialized_start=1175
+ _CONTROLCOMMAND_TYPE._serialized_end=1430
+ _DIAGNOSTICCONTROLCOMMAND._serialized_start=1433
+ _DIAGNOSTICCONTROLCOMMAND._serialized_end=1603
+ _DIAGNOSTICCONTROLCOMMAND_ACTION._serialized_start=1562
+ _DIAGNOSTICCONTROLCOMMAND_ACTION._serialized_end=1603
+ _PASSTHROUGHMODECONTROLCOMMAND._serialized_start=1605
+ _PASSTHROUGHMODECONTROLCOMMAND._serialized_end=1666
+ _ACCEPTANCEFILTERBYPASSCOMMAND._serialized_start=1668
+ _ACCEPTANCEFILTERBYPASSCOMMAND._serialized_end=1728
+ _PAYLOADFORMATCOMMAND._serialized_start=1731
+ _PAYLOADFORMATCOMMAND._serialized_end=1866
+ _PAYLOADFORMATCOMMAND_PAYLOADFORMAT._serialized_start=1815
+ _PAYLOADFORMATCOMMAND_PAYLOADFORMAT._serialized_end=1866
+ _PREDEFINEDOBD2REQUESTSCOMMAND._serialized_start=1868
+ _PREDEFINEDOBD2REQUESTSCOMMAND._serialized_end=1916
+ _NETWORKOPERATORSETTINGS._serialized_start=1919
+ _NETWORKOPERATORSETTINGS._serialized_end=2384
+ _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR._serialized_start=2131
+ _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR._serialized_end=2283
+ _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE._serialized_start=2250
+ _NETWORKOPERATORSETTINGS_NETWORKDESCRIPTOR_NETWORKTYPE._serialized_end=2283
+ _NETWORKOPERATORSETTINGS_OPERATORSELECTMODE._serialized_start=2285
+ _NETWORKOPERATORSETTINGS_OPERATORSELECTMODE._serialized_end=2384
+ _NETWORKDATASETTINGS._serialized_start=2386
+ _NETWORKDATASETTINGS._serialized_end=2420
+ _SERVERCONNECTSETTINGS._serialized_start=2422
+ _SERVERCONNECTSETTINGS._serialized_end=2473
+ _MODEMCONFIGURATIONCOMMAND._serialized_start=2476
+ _MODEMCONFIGURATIONCOMMAND._serialized_end=2689
+ _RTCCONFIGURATIONCOMMAND._serialized_start=2691
+ _RTCCONFIGURATIONCOMMAND._serialized_end=2735
+ _COMMANDRESPONSE._serialized_start=2737
+ _COMMANDRESPONSE._serialized_end=2830
+ _DIAGNOSTICREQUEST._serialized_start=2833
+ _DIAGNOSTICREQUEST._serialized_end=3098
+ _DIAGNOSTICREQUEST_DECODEDTYPE._serialized_start=3053
+ _DIAGNOSTICREQUEST_DECODEDTYPE._serialized_end=3098
+ _DIAGNOSTICRESPONSE._serialized_start=3101
+ _DIAGNOSTICRESPONSE._serialized_end=3319
+ _DYNAMICFIELD._serialized_start=3322
+ _DYNAMICFIELD._serialized_end=3496
+ _DYNAMICFIELD_TYPE._serialized_start=3447
+ _DYNAMICFIELD_TYPE._serialized_end=3496
+ _SIMPLEMESSAGE._serialized_start=3498
+ _SIMPLEMESSAGE._serialized_end=3601
# @@protoc_insertion_point(module_scope)
diff --git a/pip-requirements.txt b/pip-requirements.txt
index cffbcd5..075abf2 100644
--- a/pip-requirements.txt
+++ b/pip-requirements.txt
@@ -1 +1 @@
-protobuf==3.0.0
+protobuf==3.15.0