public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getDiagnosticRequest()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getPassthroughModeRequest()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getAcceptanceFilterBypassCommand()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getPayloadFormatCommand()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, getPredefinedObd2RequestsCommand()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, getModemConfigurationCommand()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, getRtcConfigurationCommand()); } unknownFields.writeTo(output); }
.computeMessageSize(8, getRtcConfigurationCommand());
hash = (53 * hash) + getRtcConfigurationCommand().hashCode();
result = result && getRtcConfigurationCommand() .equals(other.getRtcConfigurationCommand());
public Builder mergeFrom(com.openxc.BinaryMessages.ControlCommand other) { if (other == com.openxc.BinaryMessages.ControlCommand.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasDiagnosticRequest()) { mergeDiagnosticRequest(other.getDiagnosticRequest()); } if (other.hasPassthroughModeRequest()) { mergePassthroughModeRequest(other.getPassthroughModeRequest()); } if (other.hasAcceptanceFilterBypassCommand()) { mergeAcceptanceFilterBypassCommand(other.getAcceptanceFilterBypassCommand()); } if (other.hasPayloadFormatCommand()) { mergePayloadFormatCommand(other.getPayloadFormatCommand()); } if (other.hasPredefinedObd2RequestsCommand()) { mergePredefinedObd2RequestsCommand(other.getPredefinedObd2RequestsCommand()); } if (other.hasModemConfigurationCommand()) { mergeModemConfigurationCommand(other.getModemConfigurationCommand()); } if (other.hasRtcConfigurationCommand()) { mergeRtcConfigurationCommand(other.getRtcConfigurationCommand()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }