public static final class BinaryMessages.CanMessage.Builder extends <any> implements BinaryMessages.CanMessageOrBuilder
openxc.CanMessage
Modifier and Type | Method and Description |
---|---|
BinaryMessages.CanMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.CanMessage |
build() |
BinaryMessages.CanMessage |
buildPartial() |
BinaryMessages.CanMessage.Builder |
clear() |
BinaryMessages.CanMessage.Builder |
clearBus()
int32 bus = 1; |
BinaryMessages.CanMessage.Builder |
clearData()
bytes data = 3; |
BinaryMessages.CanMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BinaryMessages.CanMessage.Builder |
clearFrameFormat()
.openxc.CanMessage.FrameFormat frame_format = 4; |
BinaryMessages.CanMessage.Builder |
clearId()
uint32 id = 2; |
BinaryMessages.CanMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
int |
getBus()
int32 bus = 1; |
com.google.protobuf.ByteString |
getData()
bytes data = 3; |
BinaryMessages.CanMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BinaryMessages.CanMessage.FrameFormat |
getFrameFormat()
.openxc.CanMessage.FrameFormat frame_format = 4; |
int |
getFrameFormatValue()
.openxc.CanMessage.FrameFormat frame_format = 4; |
int |
getId()
uint32 id = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BinaryMessages.CanMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BinaryMessages.CanMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
BinaryMessages.CanMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BinaryMessages.CanMessage.Builder |
setBus(int value)
int32 bus = 1; |
BinaryMessages.CanMessage.Builder |
setData(com.google.protobuf.ByteString value)
bytes data = 3; |
BinaryMessages.CanMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.CanMessage.Builder |
setFrameFormat(BinaryMessages.CanMessage.FrameFormat value)
.openxc.CanMessage.FrameFormat frame_format = 4; |
BinaryMessages.CanMessage.Builder |
setFrameFormatValue(int value)
.openxc.CanMessage.FrameFormat frame_format = 4; |
BinaryMessages.CanMessage.Builder |
setId(int value)
uint32 id = 2; |
BinaryMessages.CanMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BinaryMessages.CanMessage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public BinaryMessages.CanMessage.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.CanMessage getDefaultInstanceForType()
public BinaryMessages.CanMessage build()
public BinaryMessages.CanMessage buildPartial()
public BinaryMessages.CanMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.CanMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.CanMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.CanMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.CanMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.CanMessage.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.CanMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public int getBus()
int32 bus = 1;
getBus
in interface BinaryMessages.CanMessageOrBuilder
public BinaryMessages.CanMessage.Builder setBus(int value)
int32 bus = 1;
value
- The bus to set.public BinaryMessages.CanMessage.Builder clearBus()
int32 bus = 1;
public int getId()
uint32 id = 2;
getId
in interface BinaryMessages.CanMessageOrBuilder
public BinaryMessages.CanMessage.Builder setId(int value)
uint32 id = 2;
value
- The id to set.public BinaryMessages.CanMessage.Builder clearId()
uint32 id = 2;
public com.google.protobuf.ByteString getData()
bytes data = 3;
getData
in interface BinaryMessages.CanMessageOrBuilder
public BinaryMessages.CanMessage.Builder setData(com.google.protobuf.ByteString value)
bytes data = 3;
value
- The data to set.public BinaryMessages.CanMessage.Builder clearData()
bytes data = 3;
public int getFrameFormatValue()
.openxc.CanMessage.FrameFormat frame_format = 4;
getFrameFormatValue
in interface BinaryMessages.CanMessageOrBuilder
public BinaryMessages.CanMessage.Builder setFrameFormatValue(int value)
.openxc.CanMessage.FrameFormat frame_format = 4;
value
- The enum numeric value on the wire for frameFormat to set.public BinaryMessages.CanMessage.FrameFormat getFrameFormat()
.openxc.CanMessage.FrameFormat frame_format = 4;
getFrameFormat
in interface BinaryMessages.CanMessageOrBuilder
public BinaryMessages.CanMessage.Builder setFrameFormat(BinaryMessages.CanMessage.FrameFormat value)
.openxc.CanMessage.FrameFormat frame_format = 4;
value
- The frameFormat to set.public BinaryMessages.CanMessage.Builder clearFrameFormat()
.openxc.CanMessage.FrameFormat frame_format = 4;
public final BinaryMessages.CanMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.CanMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)