public static final class BinaryMessages.DiagnosticRequest.Builder extends <any> implements BinaryMessages.DiagnosticRequestOrBuilder
openxc.DiagnosticRequest
Modifier and Type | Method and Description |
---|---|
BinaryMessages.DiagnosticRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.DiagnosticRequest |
build() |
BinaryMessages.DiagnosticRequest |
buildPartial() |
BinaryMessages.DiagnosticRequest.Builder |
clear() |
BinaryMessages.DiagnosticRequest.Builder |
clearBus()
int32 bus = 1; |
BinaryMessages.DiagnosticRequest.Builder |
clearDecodedType()
.openxc.DiagnosticRequest.DecodedType decoded_type = 9; |
BinaryMessages.DiagnosticRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BinaryMessages.DiagnosticRequest.Builder |
clearFrequency()
double frequency = 7; |
BinaryMessages.DiagnosticRequest.Builder |
clearMessageId()
uint32 message_id = 2; |
BinaryMessages.DiagnosticRequest.Builder |
clearMode()
uint32 mode = 3; |
BinaryMessages.DiagnosticRequest.Builder |
clearMultipleResponses()
bool multiple_responses = 6; |
BinaryMessages.DiagnosticRequest.Builder |
clearName()
string name = 8; |
BinaryMessages.DiagnosticRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BinaryMessages.DiagnosticRequest.Builder |
clearPayload()
bytes payload = 5; |
BinaryMessages.DiagnosticRequest.Builder |
clearPid()
uint32 pid = 4; |
int |
getBus()
int32 bus = 1; |
BinaryMessages.DiagnosticRequest.DecodedType |
getDecodedType()
.openxc.DiagnosticRequest.DecodedType decoded_type = 9; |
int |
getDecodedTypeValue()
.openxc.DiagnosticRequest.DecodedType decoded_type = 9; |
BinaryMessages.DiagnosticRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getFrequency()
double frequency = 7; |
int |
getMessageId()
uint32 message_id = 2; |
int |
getMode()
uint32 mode = 3; |
boolean |
getMultipleResponses()
bool multiple_responses = 6; |
java.lang.String |
getName()
string name = 8; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 8; |
com.google.protobuf.ByteString |
getPayload()
bytes payload = 5; |
int |
getPid()
uint32 pid = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BinaryMessages.DiagnosticRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BinaryMessages.DiagnosticRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BinaryMessages.DiagnosticRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BinaryMessages.DiagnosticRequest.Builder |
setBus(int value)
int32 bus = 1; |
BinaryMessages.DiagnosticRequest.Builder |
setDecodedType(BinaryMessages.DiagnosticRequest.DecodedType value)
.openxc.DiagnosticRequest.DecodedType decoded_type = 9; |
BinaryMessages.DiagnosticRequest.Builder |
setDecodedTypeValue(int value)
.openxc.DiagnosticRequest.DecodedType decoded_type = 9; |
BinaryMessages.DiagnosticRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.DiagnosticRequest.Builder |
setFrequency(double value)
double frequency = 7; |
BinaryMessages.DiagnosticRequest.Builder |
setMessageId(int value)
uint32 message_id = 2; |
BinaryMessages.DiagnosticRequest.Builder |
setMode(int value)
uint32 mode = 3; |
BinaryMessages.DiagnosticRequest.Builder |
setMultipleResponses(boolean value)
bool multiple_responses = 6; |
BinaryMessages.DiagnosticRequest.Builder |
setName(java.lang.String value)
string name = 8; |
BinaryMessages.DiagnosticRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 8; |
BinaryMessages.DiagnosticRequest.Builder |
setPayload(com.google.protobuf.ByteString value)
bytes payload = 5; |
BinaryMessages.DiagnosticRequest.Builder |
setPid(int value)
uint32 pid = 4; |
BinaryMessages.DiagnosticRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BinaryMessages.DiagnosticRequest.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.DiagnosticRequest.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.DiagnosticRequest getDefaultInstanceForType()
public BinaryMessages.DiagnosticRequest build()
public BinaryMessages.DiagnosticRequest buildPartial()
public BinaryMessages.DiagnosticRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DiagnosticRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.DiagnosticRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.DiagnosticRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.DiagnosticRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DiagnosticRequest.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.DiagnosticRequest.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.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setBus(int value)
int32 bus = 1;
value
- The bus to set.public BinaryMessages.DiagnosticRequest.Builder clearBus()
int32 bus = 1;
public int getMessageId()
uint32 message_id = 2;
getMessageId
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setMessageId(int value)
uint32 message_id = 2;
value
- The messageId to set.public BinaryMessages.DiagnosticRequest.Builder clearMessageId()
uint32 message_id = 2;
public int getMode()
uint32 mode = 3;
getMode
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setMode(int value)
uint32 mode = 3;
value
- The mode to set.public BinaryMessages.DiagnosticRequest.Builder clearMode()
uint32 mode = 3;
public int getPid()
uint32 pid = 4;
getPid
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setPid(int value)
uint32 pid = 4;
value
- The pid to set.public BinaryMessages.DiagnosticRequest.Builder clearPid()
uint32 pid = 4;
public com.google.protobuf.ByteString getPayload()
bytes payload = 5;
getPayload
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setPayload(com.google.protobuf.ByteString value)
bytes payload = 5;
value
- The payload to set.public BinaryMessages.DiagnosticRequest.Builder clearPayload()
bytes payload = 5;
public boolean getMultipleResponses()
bool multiple_responses = 6;
getMultipleResponses
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setMultipleResponses(boolean value)
bool multiple_responses = 6;
value
- The multipleResponses to set.public BinaryMessages.DiagnosticRequest.Builder clearMultipleResponses()
bool multiple_responses = 6;
public double getFrequency()
double frequency = 7;
getFrequency
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setFrequency(double value)
double frequency = 7;
value
- The frequency to set.public BinaryMessages.DiagnosticRequest.Builder clearFrequency()
double frequency = 7;
public java.lang.String getName()
string name = 8;
getName
in interface BinaryMessages.DiagnosticRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 8;
getNameBytes
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setName(java.lang.String value)
string name = 8;
value
- The name to set.public BinaryMessages.DiagnosticRequest.Builder clearName()
string name = 8;
public BinaryMessages.DiagnosticRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 8;
value
- The bytes for name to set.public int getDecodedTypeValue()
.openxc.DiagnosticRequest.DecodedType decoded_type = 9;
getDecodedTypeValue
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setDecodedTypeValue(int value)
.openxc.DiagnosticRequest.DecodedType decoded_type = 9;
value
- The enum numeric value on the wire for decodedType to set.public BinaryMessages.DiagnosticRequest.DecodedType getDecodedType()
.openxc.DiagnosticRequest.DecodedType decoded_type = 9;
getDecodedType
in interface BinaryMessages.DiagnosticRequestOrBuilder
public BinaryMessages.DiagnosticRequest.Builder setDecodedType(BinaryMessages.DiagnosticRequest.DecodedType value)
.openxc.DiagnosticRequest.DecodedType decoded_type = 9;
value
- The decodedType to set.public BinaryMessages.DiagnosticRequest.Builder clearDecodedType()
.openxc.DiagnosticRequest.DecodedType decoded_type = 9;
public final BinaryMessages.DiagnosticRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.DiagnosticRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)