public static final class

BinaryMessages.DiagnosticResponse

extends GeneratedMessage
implements BinaryMessages.DiagnosticResponseOrBuilder
java.lang.Object
   ↳ com.google.protobuf.AbstractMessageLite
     ↳ com.google.protobuf.AbstractMessage
       ↳ com.google.protobuf.GeneratedMessage
         ↳ com.openxc.BinaryMessages.DiagnosticResponse

Class Overview

Protobuf type openxc.DiagnosticResponse

Summary

Nested Classes
class BinaryMessages.DiagnosticResponse.Builder Protobuf type openxc.DiagnosticResponse  
Constants
int BUS_FIELD_NUMBER
int MESSAGE_ID_FIELD_NUMBER
int MODE_FIELD_NUMBER
int NEGATIVE_RESPONSE_CODE_FIELD_NUMBER
int PAYLOAD_FIELD_NUMBER
int PID_FIELD_NUMBER
int SUCCESS_FIELD_NUMBER
int VALUE_FIELD_NUMBER
Fields
public static Parser<BinaryMessages.DiagnosticResponse> PARSER
[Expand]
Inherited Fields
From class com.google.protobuf.GeneratedMessage
From class com.google.protobuf.AbstractMessageLite
Public Methods
int getBus()
optional int32 bus = 1;
static BinaryMessages.DiagnosticResponse getDefaultInstance()
BinaryMessages.DiagnosticResponse getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
int getMessageId()
optional uint32 message_id = 2;
int getMode()
optional uint32 mode = 3;
int getNegativeResponseCode()
optional uint32 negative_response_code = 6;
Parser<BinaryMessages.DiagnosticResponse> getParserForType()
ByteString getPayload()
optional bytes payload = 7;
 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()
boolean getSuccess()
optional bool success = 5;
final UnknownFieldSet getUnknownFields()
double getValue()
optional double value = 8;
boolean hasBus()
optional int32 bus = 1;
boolean hasMessageId()
optional uint32 message_id = 2;
boolean hasMode()
optional uint32 mode = 3;
boolean hasNegativeResponseCode()
optional uint32 negative_response_code = 6;
boolean hasPayload()
optional bytes payload = 7;
 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;
boolean hasSuccess()
optional bool success = 5;
boolean hasValue()
optional double value = 8;
final boolean isInitialized()
static BinaryMessages.DiagnosticResponse.Builder newBuilder(BinaryMessages.DiagnosticResponse prototype)
static BinaryMessages.DiagnosticResponse.Builder newBuilder()
BinaryMessages.DiagnosticResponse.Builder newBuilderForType()
static BinaryMessages.DiagnosticResponse parseDelimitedFrom(InputStream input)
static BinaryMessages.DiagnosticResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticResponse parseFrom(CodedInputStream input)
static BinaryMessages.DiagnosticResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticResponse parseFrom(ByteString data)
static BinaryMessages.DiagnosticResponse parseFrom(InputStream input)
static BinaryMessages.DiagnosticResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.DiagnosticResponse parseFrom(byte[] data)
static BinaryMessages.DiagnosticResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
BinaryMessages.DiagnosticResponse.Builder toBuilder()
void writeTo(CodedOutputStream output)
Protected Methods
GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
BinaryMessages.DiagnosticResponse.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.DiagnosticResponseOrBuilder

Constants

public static final int BUS_FIELD_NUMBER

Constant Value: 1 (0x00000001)

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 NEGATIVE_RESPONSE_CODE_FIELD_NUMBER

Constant Value: 6 (0x00000006)

public static final int PAYLOAD_FIELD_NUMBER

Constant Value: 7 (0x00000007)

public static final int PID_FIELD_NUMBER

Constant Value: 4 (0x00000004)

public static final int SUCCESS_FIELD_NUMBER

Constant Value: 5 (0x00000005)

public static final int VALUE_FIELD_NUMBER

Constant Value: 8 (0x00000008)

Fields

public static Parser<BinaryMessages.DiagnosticResponse> PARSER

Public Methods

public int getBus ()

optional int32 bus = 1;

public static BinaryMessages.DiagnosticResponse getDefaultInstance ()

public BinaryMessages.DiagnosticResponse getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public int getMessageId ()

optional uint32 message_id = 2;

public int getMode ()

optional uint32 mode = 3;

public int getNegativeResponseCode ()

optional uint32 negative_response_code = 6;

public Parser<BinaryMessages.DiagnosticResponse> getParserForType ()

public ByteString getPayload ()

optional bytes payload = 7;

 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 boolean getSuccess ()

optional bool success = 5;

public final UnknownFieldSet getUnknownFields ()

public double getValue ()

optional double value = 8;

public boolean hasBus ()

optional int32 bus = 1;

public boolean hasMessageId ()

optional uint32 message_id = 2;

public boolean hasMode ()

optional uint32 mode = 3;

public boolean hasNegativeResponseCode ()

optional uint32 negative_response_code = 6;

public boolean hasPayload ()

optional bytes payload = 7;

 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 boolean hasSuccess ()

optional bool success = 5;

public boolean hasValue ()

optional double value = 8;

public final boolean isInitialized ()

public static BinaryMessages.DiagnosticResponse.Builder newBuilder ()

public BinaryMessages.DiagnosticResponse.Builder newBuilderForType ()

public static BinaryMessages.DiagnosticResponse parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

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

Throws
IOException

public static BinaryMessages.DiagnosticResponse parseFrom (CodedInputStream input)

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static BinaryMessages.DiagnosticResponse parseFrom (ByteString data)

Throws
InvalidProtocolBufferException

public static BinaryMessages.DiagnosticResponse parseFrom (InputStream input)

Throws
IOException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

public void writeTo (CodedOutputStream output)

Throws
IOException

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()

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

protected Object writeReplace ()