public static final class

BinaryMessages.DiagnosticRequest.Builder

extends GeneratedMessage.Builder<BuilderType extends Builder>
implements BinaryMessages.DiagnosticRequestOrBuilder
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.DiagnosticRequest.Builder

Class Overview

Protobuf type openxc.DiagnosticRequest

Summary

Public Methods
BinaryMessages.DiagnosticRequest build()
BinaryMessages.DiagnosticRequest buildPartial()
BinaryMessages.DiagnosticRequest.Builder clear()
BinaryMessages.DiagnosticRequest.Builder clearBus()
optional int32 bus = 1;
BinaryMessages.DiagnosticRequest.Builder clearDecodedType()
optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
BinaryMessages.DiagnosticRequest.Builder clearFrequency()
optional double frequency = 7;
BinaryMessages.DiagnosticRequest.Builder clearMessageId()
optional uint32 message_id = 2;
BinaryMessages.DiagnosticRequest.Builder clearMode()
optional uint32 mode = 3;
BinaryMessages.DiagnosticRequest.Builder clearMultipleResponses()
optional bool multiple_responses = 6;
BinaryMessages.DiagnosticRequest.Builder clearName()
optional string name = 8;
BinaryMessages.DiagnosticRequest.Builder clearPayload()
optional bytes payload = 5;
 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 
BinaryMessages.DiagnosticRequest.Builder clearPid()
optional uint32 pid = 4;
BinaryMessages.DiagnosticRequest.Builder clone()
int getBus()
optional int32 bus = 1;
BinaryMessages.DiagnosticRequest.DecodedType getDecodedType()
optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
BinaryMessages.DiagnosticRequest getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
Descriptors.Descriptor getDescriptorForType()
double getFrequency()
optional double frequency = 7;
int getMessageId()
optional uint32 message_id = 2;
int getMode()
optional uint32 mode = 3;
boolean getMultipleResponses()
optional bool multiple_responses = 6;
String getName()
optional string name = 8;
ByteString getNameBytes()
optional string name = 8;
ByteString getPayload()
optional bytes payload = 5;
 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 
int getPid()
optional uint32 pid = 4;
boolean hasBus()
optional int32 bus = 1;
boolean hasDecodedType()
optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
boolean hasFrequency()
optional double frequency = 7;
boolean hasMessageId()
optional uint32 message_id = 2;
boolean hasMode()
optional uint32 mode = 3;
boolean hasMultipleResponses()
optional bool multiple_responses = 6;
boolean hasName()
optional string name = 8;
boolean hasPayload()
optional bytes payload = 5;
 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 
boolean hasPid()
optional uint32 pid = 4;
final boolean isInitialized()
BinaryMessages.DiagnosticRequest.Builder mergeFrom(BinaryMessages.DiagnosticRequest other)
BinaryMessages.DiagnosticRequest.Builder mergeFrom(Message other)
BinaryMessages.DiagnosticRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
BinaryMessages.DiagnosticRequest.Builder setBus(int value)
optional int32 bus = 1;
BinaryMessages.DiagnosticRequest.Builder setDecodedType(BinaryMessages.DiagnosticRequest.DecodedType value)
optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
BinaryMessages.DiagnosticRequest.Builder setFrequency(double value)
optional double frequency = 7;
BinaryMessages.DiagnosticRequest.Builder setMessageId(int value)
optional uint32 message_id = 2;
BinaryMessages.DiagnosticRequest.Builder setMode(int value)
optional uint32 mode = 3;
BinaryMessages.DiagnosticRequest.Builder setMultipleResponses(boolean value)
optional bool multiple_responses = 6;
BinaryMessages.DiagnosticRequest.Builder setName(String value)
optional string name = 8;
BinaryMessages.DiagnosticRequest.Builder setNameBytes(ByteString value)
optional string name = 8;
BinaryMessages.DiagnosticRequest.Builder setPayload(ByteString value)
optional bytes payload = 5;
 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 
BinaryMessages.DiagnosticRequest.Builder setPid(int value)
optional uint32 pid = 4;
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.DiagnosticRequestOrBuilder

Public Methods

public BinaryMessages.DiagnosticRequest buildPartial ()

public BinaryMessages.DiagnosticRequest.Builder clearBus ()

optional int32 bus = 1;

public BinaryMessages.DiagnosticRequest.Builder clearDecodedType ()

optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;

public BinaryMessages.DiagnosticRequest.Builder clearFrequency ()

optional double frequency = 7;

public BinaryMessages.DiagnosticRequest.Builder clearMessageId ()

optional uint32 message_id = 2;

public BinaryMessages.DiagnosticRequest.Builder clearMode ()

optional uint32 mode = 3;

public BinaryMessages.DiagnosticRequest.Builder clearMultipleResponses ()

optional bool multiple_responses = 6;

public BinaryMessages.DiagnosticRequest.Builder clearName ()

optional string name = 8;

public BinaryMessages.DiagnosticRequest.Builder clearPayload ()

optional bytes payload = 5;

 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 

public BinaryMessages.DiagnosticRequest.Builder clearPid ()

optional uint32 pid = 4;

public int getBus ()

optional int32 bus = 1;

public BinaryMessages.DiagnosticRequest.DecodedType getDecodedType ()

optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;

public BinaryMessages.DiagnosticRequest getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public Descriptors.Descriptor getDescriptorForType ()

public double getFrequency ()

optional double frequency = 7;

public int getMessageId ()

optional uint32 message_id = 2;

public int getMode ()

optional uint32 mode = 3;

public boolean getMultipleResponses ()

optional bool multiple_responses = 6;

public String getName ()

optional string name = 8;

public ByteString getNameBytes ()

optional string name = 8;

public ByteString getPayload ()

optional bytes payload = 5;

 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 

public int getPid ()

optional uint32 pid = 4;

public boolean hasBus ()

optional int32 bus = 1;

public boolean hasDecodedType ()

optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;

public boolean hasFrequency ()

optional double frequency = 7;

public boolean hasMessageId ()

optional uint32 message_id = 2;

public boolean hasMode ()

optional uint32 mode = 3;

public boolean hasMultipleResponses ()

optional bool multiple_responses = 6;

public boolean hasName ()

optional string name = 8;

public boolean hasPayload ()

optional bytes payload = 5;

 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 

public boolean hasPid ()

optional uint32 pid = 4;

public final boolean isInitialized ()

public BinaryMessages.DiagnosticRequest.Builder mergeFrom (Message other)

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

Throws
IOException

public BinaryMessages.DiagnosticRequest.Builder setBus (int value)

optional int32 bus = 1;

public BinaryMessages.DiagnosticRequest.Builder setDecodedType (BinaryMessages.DiagnosticRequest.DecodedType value)

optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;

public BinaryMessages.DiagnosticRequest.Builder setFrequency (double value)

optional double frequency = 7;

public BinaryMessages.DiagnosticRequest.Builder setMessageId (int value)

optional uint32 message_id = 2;

public BinaryMessages.DiagnosticRequest.Builder setMode (int value)

optional uint32 mode = 3;

public BinaryMessages.DiagnosticRequest.Builder setMultipleResponses (boolean value)

optional bool multiple_responses = 6;

public BinaryMessages.DiagnosticRequest.Builder setName (String value)

optional string name = 8;

public BinaryMessages.DiagnosticRequest.Builder setNameBytes (ByteString value)

optional string name = 8;

public BinaryMessages.DiagnosticRequest.Builder setPayload (ByteString value)

optional bytes payload = 5;

 TODO we are capping this at 8 bytes for now - need to change when we
 support multi-frame responses
 

public BinaryMessages.DiagnosticRequest.Builder setPid (int value)

optional uint32 pid = 4;

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()