public static final class

BinaryMessages.CanMessage.Builder

extends GeneratedMessage.Builder<BuilderType extends Builder>
implements BinaryMessages.CanMessageOrBuilder
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.CanMessage.Builder

Class Overview

Protobuf type openxc.CanMessage

Summary

Public Methods
BinaryMessages.CanMessage build()
BinaryMessages.CanMessage buildPartial()
BinaryMessages.CanMessage.Builder clear()
BinaryMessages.CanMessage.Builder clearBus()
optional int32 bus = 1;
BinaryMessages.CanMessage.Builder clearData()
optional bytes data = 3;
BinaryMessages.CanMessage.Builder clearFrameFormat()
optional .openxc.CanMessage.FrameFormat frame_format = 4;
BinaryMessages.CanMessage.Builder clearId()
optional uint32 id = 2;
BinaryMessages.CanMessage.Builder clone()
int getBus()
optional int32 bus = 1;
ByteString getData()
optional bytes data = 3;
BinaryMessages.CanMessage getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
Descriptors.Descriptor getDescriptorForType()
BinaryMessages.CanMessage.FrameFormat getFrameFormat()
optional .openxc.CanMessage.FrameFormat frame_format = 4;
int getId()
optional uint32 id = 2;
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()
BinaryMessages.CanMessage.Builder mergeFrom(BinaryMessages.CanMessage other)
BinaryMessages.CanMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
BinaryMessages.CanMessage.Builder mergeFrom(Message other)
BinaryMessages.CanMessage.Builder setBus(int value)
optional int32 bus = 1;
BinaryMessages.CanMessage.Builder setData(ByteString value)
optional bytes data = 3;
BinaryMessages.CanMessage.Builder setFrameFormat(BinaryMessages.CanMessage.FrameFormat value)
optional .openxc.CanMessage.FrameFormat frame_format = 4;
BinaryMessages.CanMessage.Builder setId(int value)
optional uint32 id = 2;
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.CanMessageOrBuilder

Public Methods

public BinaryMessages.CanMessage build ()

public BinaryMessages.CanMessage buildPartial ()

public BinaryMessages.CanMessage.Builder clearBus ()

optional int32 bus = 1;

public BinaryMessages.CanMessage.Builder clearData ()

optional bytes data = 3;

public BinaryMessages.CanMessage.Builder clearFrameFormat ()

optional .openxc.CanMessage.FrameFormat frame_format = 4;

public BinaryMessages.CanMessage.Builder clearId ()

optional uint32 id = 2;

public int getBus ()

optional int32 bus = 1;

public ByteString getData ()

optional bytes data = 3;

public BinaryMessages.CanMessage getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public Descriptors.Descriptor getDescriptorForType ()

public BinaryMessages.CanMessage.FrameFormat getFrameFormat ()

optional .openxc.CanMessage.FrameFormat frame_format = 4;

public int getId ()

optional uint32 id = 2;

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 BinaryMessages.CanMessage.Builder mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public BinaryMessages.CanMessage.Builder mergeFrom (Message other)

public BinaryMessages.CanMessage.Builder setBus (int value)

optional int32 bus = 1;

public BinaryMessages.CanMessage.Builder setData (ByteString value)

optional bytes data = 3;

public BinaryMessages.CanMessage.Builder setFrameFormat (BinaryMessages.CanMessage.FrameFormat value)

optional .openxc.CanMessage.FrameFormat frame_format = 4;

public BinaryMessages.CanMessage.Builder setId (int value)

optional uint32 id = 2;

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()