public static final class

BinaryMessages.DiagnosticRequest

extends GeneratedMessage
implements BinaryMessages.DiagnosticRequestOrBuilder
java.lang.Object
   ↳ com.google.protobuf.AbstractMessageLite
     ↳ com.google.protobuf.AbstractMessage
       ↳ com.google.protobuf.GeneratedMessage
         ↳ com.openxc.BinaryMessages.DiagnosticRequest

Class Overview

Protobuf type openxc.DiagnosticRequest

Summary

Nested Classes
class BinaryMessages.DiagnosticRequest.Builder Protobuf type openxc.DiagnosticRequest  
enum BinaryMessages.DiagnosticRequest.DecodedType Protobuf enum openxc.DiagnosticRequest.DecodedType  
Constants
int BUS_FIELD_NUMBER
int DECODED_TYPE_FIELD_NUMBER
int FREQUENCY_FIELD_NUMBER
int MESSAGE_ID_FIELD_NUMBER
int MODE_FIELD_NUMBER
int MULTIPLE_RESPONSES_FIELD_NUMBER
int NAME_FIELD_NUMBER
int PAYLOAD_FIELD_NUMBER
int PID_FIELD_NUMBER
Fields
public static Parser<BinaryMessages.DiagnosticRequest> PARSER
[Expand]
Inherited Fields
From class com.google.protobuf.GeneratedMessage
From class com.google.protobuf.AbstractMessageLite
Public Methods
int getBus()
optional int32 bus = 1;
BinaryMessages.DiagnosticRequest.DecodedType getDecodedType()
optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;
static BinaryMessages.DiagnosticRequest getDefaultInstance()
BinaryMessages.DiagnosticRequest getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
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;
Parser<BinaryMessages.DiagnosticRequest> getParserForType()
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;
int getSerializedSize()
final UnknownFieldSet getUnknownFields()
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()
static BinaryMessages.DiagnosticRequest.Builder newBuilder()
static BinaryMessages.DiagnosticRequest.Builder newBuilder(BinaryMessages.DiagnosticRequest prototype)
BinaryMessages.DiagnosticRequest.Builder newBuilderForType()
static BinaryMessages.DiagnosticRequest parseDelimitedFrom(InputStream input)
static BinaryMessages.DiagnosticRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticRequest parseFrom(CodedInputStream input)
static BinaryMessages.DiagnosticRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticRequest parseFrom(ByteString data)
static BinaryMessages.DiagnosticRequest parseFrom(InputStream input)
static BinaryMessages.DiagnosticRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticRequest parseFrom(byte[] data)
static BinaryMessages.DiagnosticRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
BinaryMessages.DiagnosticRequest.Builder toBuilder()
void writeTo(CodedOutputStream output)
Protected Methods
GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
BinaryMessages.DiagnosticRequest.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
Object writeReplace()
[Expand]
Inherited Methods
From class com.google.protobuf.GeneratedMessage
From class com.google.protobuf.AbstractMessage
From class com.google.protobuf.AbstractMessageLite
From class java.lang.Object
From interface com.google.protobuf.Message
From interface com.google.protobuf.MessageLite
From interface com.google.protobuf.MessageLiteOrBuilder
From interface com.google.protobuf.MessageOrBuilder
From interface com.openxc.BinaryMessages.DiagnosticRequestOrBuilder

Constants

public static final int BUS_FIELD_NUMBER

Constant Value: 1 (0x00000001)

public static final int DECODED_TYPE_FIELD_NUMBER

Constant Value: 9 (0x00000009)

public static final int FREQUENCY_FIELD_NUMBER

Constant Value: 7 (0x00000007)

public static final int MESSAGE_ID_FIELD_NUMBER

Constant Value: 2 (0x00000002)

public static final int MODE_FIELD_NUMBER

Constant Value: 3 (0x00000003)

public static final int MULTIPLE_RESPONSES_FIELD_NUMBER

Constant Value: 6 (0x00000006)

public static final int NAME_FIELD_NUMBER

Constant Value: 8 (0x00000008)

public static final int PAYLOAD_FIELD_NUMBER

Constant Value: 5 (0x00000005)

public static final int PID_FIELD_NUMBER

Constant Value: 4 (0x00000004)

Fields

public static Parser<BinaryMessages.DiagnosticRequest> PARSER

Public Methods

public int getBus ()

optional int32 bus = 1;

public BinaryMessages.DiagnosticRequest.DecodedType getDecodedType ()

optional .openxc.DiagnosticRequest.DecodedType decoded_type = 9;

public static BinaryMessages.DiagnosticRequest getDefaultInstance ()

public BinaryMessages.DiagnosticRequest getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

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 Parser<BinaryMessages.DiagnosticRequest> getParserForType ()

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 int getSerializedSize ()

public final UnknownFieldSet getUnknownFields ()

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 static BinaryMessages.DiagnosticRequest.Builder newBuilder ()

public BinaryMessages.DiagnosticRequest.Builder newBuilderForType ()

public static BinaryMessages.DiagnosticRequest parseDelimitedFrom (InputStream input)

Throws
IOException

public static BinaryMessages.DiagnosticRequest parseDelimitedFrom (InputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static BinaryMessages.DiagnosticRequest parseFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static BinaryMessages.DiagnosticRequest parseFrom (CodedInputStream input)

Throws
IOException

public static BinaryMessages.DiagnosticRequest parseFrom (byte[] data, ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static BinaryMessages.DiagnosticRequest parseFrom (ByteString data)

Throws
InvalidProtocolBufferException

public static BinaryMessages.DiagnosticRequest parseFrom (InputStream input)

Throws
IOException

public static BinaryMessages.DiagnosticRequest parseFrom (InputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static BinaryMessages.DiagnosticRequest parseFrom (byte[] data)

Throws
InvalidProtocolBufferException

public static BinaryMessages.DiagnosticRequest parseFrom (ByteString data, ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public void writeTo (CodedOutputStream output)

Throws
IOException

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()

protected BinaryMessages.DiagnosticRequest.Builder newBuilderForType (GeneratedMessage.BuilderParent parent)

protected Object writeReplace ()