public static final class

BinaryMessages.VehicleMessage.Builder

extends GeneratedMessage.Builder<BuilderType extends Builder>
implements BinaryMessages.VehicleMessageOrBuilder
java.lang.Object
   ↳ com.google.protobuf.AbstractMessageLite.Builder<BuilderType extends com.google.protobuf.AbstractMessageLite.Builder>
     ↳ com.google.protobuf.AbstractMessage.Builder<BuilderType extends com.google.protobuf.AbstractMessage.Builder>
       ↳ com.google.protobuf.GeneratedMessage.Builder<BuilderType extends com.google.protobuf.GeneratedMessage.Builder>
         ↳ com.openxc.BinaryMessages.VehicleMessage.Builder

Class Overview

Protobuf type openxc.VehicleMessage

Summary

Public Methods
BinaryMessages.VehicleMessage build()
BinaryMessages.VehicleMessage buildPartial()
BinaryMessages.VehicleMessage.Builder clear()
BinaryMessages.VehicleMessage.Builder clearCanMessage()
optional .openxc.CanMessage can_message = 2;
BinaryMessages.VehicleMessage.Builder clearCommandResponse()
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.VehicleMessage.Builder clearControlCommand()
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.VehicleMessage.Builder clearDiagnosticResponse()
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.VehicleMessage.Builder clearSimpleMessage()
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.VehicleMessage.Builder clearType()
optional .openxc.VehicleMessage.Type type = 1;
BinaryMessages.VehicleMessage.Builder clone()
BinaryMessages.CanMessage getCanMessage()
optional .openxc.CanMessage can_message = 2;
BinaryMessages.CanMessage.Builder getCanMessageBuilder()
optional .openxc.CanMessage can_message = 2;
BinaryMessages.CanMessageOrBuilder getCanMessageOrBuilder()
optional .openxc.CanMessage can_message = 2;
BinaryMessages.CommandResponse getCommandResponse()
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.CommandResponse.Builder getCommandResponseBuilder()
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.CommandResponseOrBuilder getCommandResponseOrBuilder()
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.ControlCommand getControlCommand()
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.ControlCommand.Builder getControlCommandBuilder()
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.ControlCommandOrBuilder getControlCommandOrBuilder()
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.VehicleMessage getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
Descriptors.Descriptor getDescriptorForType()
BinaryMessages.DiagnosticResponse getDiagnosticResponse()
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.DiagnosticResponse.Builder getDiagnosticResponseBuilder()
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.DiagnosticResponseOrBuilder getDiagnosticResponseOrBuilder()
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.SimpleMessage getSimpleMessage()
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.SimpleMessage.Builder getSimpleMessageBuilder()
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.SimpleMessageOrBuilder getSimpleMessageOrBuilder()
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.VehicleMessage.Type getType()
optional .openxc.VehicleMessage.Type type = 1;
boolean hasCanMessage()
optional .openxc.CanMessage can_message = 2;
boolean hasCommandResponse()
optional .openxc.CommandResponse command_response = 6;
boolean hasControlCommand()
optional .openxc.ControlCommand control_command = 5;
boolean hasDiagnosticResponse()
optional .openxc.DiagnosticResponse diagnostic_response = 4;
boolean hasSimpleMessage()
optional .openxc.SimpleMessage simple_message = 3;
boolean hasType()
optional .openxc.VehicleMessage.Type type = 1;
final boolean isInitialized()
BinaryMessages.VehicleMessage.Builder mergeCanMessage(BinaryMessages.CanMessage value)
optional .openxc.CanMessage can_message = 2;
BinaryMessages.VehicleMessage.Builder mergeCommandResponse(BinaryMessages.CommandResponse value)
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.VehicleMessage.Builder mergeControlCommand(BinaryMessages.ControlCommand value)
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.VehicleMessage.Builder mergeDiagnosticResponse(BinaryMessages.DiagnosticResponse value)
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.VehicleMessage.Builder mergeFrom(Message other)
BinaryMessages.VehicleMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
BinaryMessages.VehicleMessage.Builder mergeFrom(BinaryMessages.VehicleMessage other)
BinaryMessages.VehicleMessage.Builder mergeSimpleMessage(BinaryMessages.SimpleMessage value)
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.VehicleMessage.Builder setCanMessage(BinaryMessages.CanMessage value)
optional .openxc.CanMessage can_message = 2;
BinaryMessages.VehicleMessage.Builder setCanMessage(BinaryMessages.CanMessage.Builder builderForValue)
optional .openxc.CanMessage can_message = 2;
BinaryMessages.VehicleMessage.Builder setCommandResponse(BinaryMessages.CommandResponse.Builder builderForValue)
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.VehicleMessage.Builder setCommandResponse(BinaryMessages.CommandResponse value)
optional .openxc.CommandResponse command_response = 6;
BinaryMessages.VehicleMessage.Builder setControlCommand(BinaryMessages.ControlCommand value)
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.VehicleMessage.Builder setControlCommand(BinaryMessages.ControlCommand.Builder builderForValue)
optional .openxc.ControlCommand control_command = 5;
BinaryMessages.VehicleMessage.Builder setDiagnosticResponse(BinaryMessages.DiagnosticResponse value)
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.VehicleMessage.Builder setDiagnosticResponse(BinaryMessages.DiagnosticResponse.Builder builderForValue)
optional .openxc.DiagnosticResponse diagnostic_response = 4;
BinaryMessages.VehicleMessage.Builder setSimpleMessage(BinaryMessages.SimpleMessage.Builder builderForValue)
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.VehicleMessage.Builder setSimpleMessage(BinaryMessages.SimpleMessage value)
optional .openxc.SimpleMessage simple_message = 3;
BinaryMessages.VehicleMessage.Builder setType(BinaryMessages.VehicleMessage.Type value)
optional .openxc.VehicleMessage.Type type = 1;
Protected Methods
GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
[Expand]
Inherited Methods
From class com.google.protobuf.GeneratedMessage.Builder
From class com.google.protobuf.AbstractMessage.Builder
From class com.google.protobuf.AbstractMessageLite.Builder
From class java.lang.Object
From interface com.google.protobuf.Message.Builder
From interface com.google.protobuf.MessageLite.Builder
From interface com.google.protobuf.MessageLiteOrBuilder
From interface com.google.protobuf.MessageOrBuilder
From interface com.openxc.BinaryMessages.VehicleMessageOrBuilder

Public Methods

public BinaryMessages.VehicleMessage buildPartial ()

public BinaryMessages.VehicleMessage.Builder clearCanMessage ()

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.VehicleMessage.Builder clearCommandResponse ()

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.VehicleMessage.Builder clearControlCommand ()

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.VehicleMessage.Builder clearDiagnosticResponse ()

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.VehicleMessage.Builder clearSimpleMessage ()

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.VehicleMessage.Builder clearType ()

optional .openxc.VehicleMessage.Type type = 1;

public BinaryMessages.CanMessage getCanMessage ()

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.CanMessage.Builder getCanMessageBuilder ()

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.CanMessageOrBuilder getCanMessageOrBuilder ()

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.CommandResponse getCommandResponse ()

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.CommandResponse.Builder getCommandResponseBuilder ()

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.CommandResponseOrBuilder getCommandResponseOrBuilder ()

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.ControlCommand getControlCommand ()

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.ControlCommand.Builder getControlCommandBuilder ()

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.ControlCommandOrBuilder getControlCommandOrBuilder ()

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.VehicleMessage getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public Descriptors.Descriptor getDescriptorForType ()

public BinaryMessages.DiagnosticResponse getDiagnosticResponse ()

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.DiagnosticResponse.Builder getDiagnosticResponseBuilder ()

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.DiagnosticResponseOrBuilder getDiagnosticResponseOrBuilder ()

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.SimpleMessage getSimpleMessage ()

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.SimpleMessage.Builder getSimpleMessageBuilder ()

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.SimpleMessageOrBuilder getSimpleMessageOrBuilder ()

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.VehicleMessage.Type getType ()

optional .openxc.VehicleMessage.Type type = 1;

public boolean hasCanMessage ()

optional .openxc.CanMessage can_message = 2;

public boolean hasCommandResponse ()

optional .openxc.CommandResponse command_response = 6;

public boolean hasControlCommand ()

optional .openxc.ControlCommand control_command = 5;

public boolean hasDiagnosticResponse ()

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public boolean hasSimpleMessage ()

optional .openxc.SimpleMessage simple_message = 3;

public boolean hasType ()

optional .openxc.VehicleMessage.Type type = 1;

public final boolean isInitialized ()

public BinaryMessages.VehicleMessage.Builder mergeCanMessage (BinaryMessages.CanMessage value)

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.VehicleMessage.Builder mergeCommandResponse (BinaryMessages.CommandResponse value)

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.VehicleMessage.Builder mergeControlCommand (BinaryMessages.ControlCommand value)

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.VehicleMessage.Builder mergeDiagnosticResponse (BinaryMessages.DiagnosticResponse value)

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.VehicleMessage.Builder mergeFrom (Message other)

public BinaryMessages.VehicleMessage.Builder mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public BinaryMessages.VehicleMessage.Builder mergeSimpleMessage (BinaryMessages.SimpleMessage value)

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.VehicleMessage.Builder setCanMessage (BinaryMessages.CanMessage value)

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.VehicleMessage.Builder setCanMessage (BinaryMessages.CanMessage.Builder builderForValue)

optional .openxc.CanMessage can_message = 2;

public BinaryMessages.VehicleMessage.Builder setCommandResponse (BinaryMessages.CommandResponse.Builder builderForValue)

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.VehicleMessage.Builder setCommandResponse (BinaryMessages.CommandResponse value)

optional .openxc.CommandResponse command_response = 6;

public BinaryMessages.VehicleMessage.Builder setControlCommand (BinaryMessages.ControlCommand value)

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.VehicleMessage.Builder setControlCommand (BinaryMessages.ControlCommand.Builder builderForValue)

optional .openxc.ControlCommand control_command = 5;

public BinaryMessages.VehicleMessage.Builder setDiagnosticResponse (BinaryMessages.DiagnosticResponse value)

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.VehicleMessage.Builder setDiagnosticResponse (BinaryMessages.DiagnosticResponse.Builder builderForValue)

optional .openxc.DiagnosticResponse diagnostic_response = 4;

public BinaryMessages.VehicleMessage.Builder setSimpleMessage (BinaryMessages.SimpleMessage.Builder builderForValue)

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.VehicleMessage.Builder setSimpleMessage (BinaryMessages.SimpleMessage value)

optional .openxc.SimpleMessage simple_message = 3;

public BinaryMessages.VehicleMessage.Builder setType (BinaryMessages.VehicleMessage.Type value)

optional .openxc.VehicleMessage.Type type = 1;

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()