public static final class

BinaryMessages.CanMessage

extends GeneratedMessage
implements BinaryMessages.CanMessageOrBuilder
java.lang.Object
   ↳ com.google.protobuf.AbstractMessageLite
     ↳ com.google.protobuf.AbstractMessage
       ↳ com.google.protobuf.GeneratedMessage
         ↳ com.openxc.BinaryMessages.CanMessage

Class Overview

Protobuf type openxc.CanMessage

Summary

Nested Classes
class BinaryMessages.CanMessage.Builder Protobuf type openxc.CanMessage  
enum BinaryMessages.CanMessage.FrameFormat Protobuf enum openxc.CanMessage.FrameFormat  
Constants
int BUS_FIELD_NUMBER
int DATA_FIELD_NUMBER
int FRAME_FORMAT_FIELD_NUMBER
int ID_FIELD_NUMBER
Fields
public static Parser<BinaryMessages.CanMessage> PARSER
[Expand]
Inherited Fields
From class com.google.protobuf.GeneratedMessage
From class com.google.protobuf.AbstractMessageLite
Public Methods
int getBus()
optional int32 bus = 1;
ByteString getData()
optional bytes data = 3;
static BinaryMessages.CanMessage getDefaultInstance()
BinaryMessages.CanMessage getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
BinaryMessages.CanMessage.FrameFormat getFrameFormat()
optional .openxc.CanMessage.FrameFormat frame_format = 4;
int getId()
optional uint32 id = 2;
Parser<BinaryMessages.CanMessage> getParserForType()
int getSerializedSize()
final UnknownFieldSet getUnknownFields()
boolean hasBus()
optional int32 bus = 1;
boolean hasData()
optional bytes data = 3;
boolean hasFrameFormat()
optional .openxc.CanMessage.FrameFormat frame_format = 4;
boolean hasId()
optional uint32 id = 2;
final boolean isInitialized()
static BinaryMessages.CanMessage.Builder newBuilder(BinaryMessages.CanMessage prototype)
static BinaryMessages.CanMessage.Builder newBuilder()
BinaryMessages.CanMessage.Builder newBuilderForType()
static BinaryMessages.CanMessage parseDelimitedFrom(InputStream input)
static BinaryMessages.CanMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CanMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CanMessage parseFrom(CodedInputStream input)
static BinaryMessages.CanMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CanMessage parseFrom(ByteString data)
static BinaryMessages.CanMessage parseFrom(InputStream input)
static BinaryMessages.CanMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CanMessage parseFrom(byte[] data)
static BinaryMessages.CanMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
BinaryMessages.CanMessage.Builder toBuilder()
void writeTo(CodedOutputStream output)
Protected Methods
GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
BinaryMessages.CanMessage.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.CanMessageOrBuilder

Constants

public static final int BUS_FIELD_NUMBER

Constant Value: 1 (0x00000001)

public static final int DATA_FIELD_NUMBER

Constant Value: 3 (0x00000003)

public static final int FRAME_FORMAT_FIELD_NUMBER

Constant Value: 4 (0x00000004)

public static final int ID_FIELD_NUMBER

Constant Value: 2 (0x00000002)

Fields

public static Parser<BinaryMessages.CanMessage> PARSER

Public Methods

public int getBus ()

optional int32 bus = 1;

public ByteString getData ()

optional bytes data = 3;

public static BinaryMessages.CanMessage getDefaultInstance ()

public BinaryMessages.CanMessage getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public BinaryMessages.CanMessage.FrameFormat getFrameFormat ()

optional .openxc.CanMessage.FrameFormat frame_format = 4;

public int getId ()

optional uint32 id = 2;

public Parser<BinaryMessages.CanMessage> getParserForType ()

public int getSerializedSize ()

public final UnknownFieldSet getUnknownFields ()

public boolean hasBus ()

optional int32 bus = 1;

public boolean hasData ()

optional bytes data = 3;

public boolean hasFrameFormat ()

optional .openxc.CanMessage.FrameFormat frame_format = 4;

public boolean hasId ()

optional uint32 id = 2;

public final boolean isInitialized ()

public static BinaryMessages.CanMessage.Builder newBuilder (BinaryMessages.CanMessage prototype)

public static BinaryMessages.CanMessage.Builder newBuilder ()

public BinaryMessages.CanMessage.Builder newBuilderForType ()

public static BinaryMessages.CanMessage parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

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

Throws
IOException

public static BinaryMessages.CanMessage parseFrom (CodedInputStream input)

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static BinaryMessages.CanMessage parseFrom (ByteString data)

Throws
InvalidProtocolBufferException

public static BinaryMessages.CanMessage parseFrom (InputStream input)

Throws
IOException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

public BinaryMessages.CanMessage.Builder toBuilder ()

public void writeTo (CodedOutputStream output)

Throws
IOException

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()

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

protected Object writeReplace ()