public static final class BinaryMessages.DiagnosticResponse.Builder extends <any> implements BinaryMessages.DiagnosticResponseOrBuilder
openxc.DiagnosticResponse
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public BinaryMessages.DiagnosticResponse.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.DiagnosticResponse getDefaultInstanceForType()
public BinaryMessages.DiagnosticResponse build()
public BinaryMessages.DiagnosticResponse buildPartial()
public BinaryMessages.DiagnosticResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DiagnosticResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.DiagnosticResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.DiagnosticResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.DiagnosticResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DiagnosticResponse.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.DiagnosticResponse.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.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setBus(int value)
int32 bus = 1;
value
- The bus to set.public BinaryMessages.DiagnosticResponse.Builder clearBus()
int32 bus = 1;
public int getMessageId()
uint32 message_id = 2;
getMessageId
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setMessageId(int value)
uint32 message_id = 2;
value
- The messageId to set.public BinaryMessages.DiagnosticResponse.Builder clearMessageId()
uint32 message_id = 2;
public int getMode()
uint32 mode = 3;
getMode
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setMode(int value)
uint32 mode = 3;
value
- The mode to set.public BinaryMessages.DiagnosticResponse.Builder clearMode()
uint32 mode = 3;
public int getPid()
uint32 pid = 4;
getPid
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setPid(int value)
uint32 pid = 4;
value
- The pid to set.public BinaryMessages.DiagnosticResponse.Builder clearPid()
uint32 pid = 4;
public boolean getSuccess()
bool success = 5;
getSuccess
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setSuccess(boolean value)
bool success = 5;
value
- The success to set.public BinaryMessages.DiagnosticResponse.Builder clearSuccess()
bool success = 5;
public int getNegativeResponseCode()
uint32 negative_response_code = 6;
getNegativeResponseCode
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setNegativeResponseCode(int value)
uint32 negative_response_code = 6;
value
- The negativeResponseCode to set.public BinaryMessages.DiagnosticResponse.Builder clearNegativeResponseCode()
uint32 negative_response_code = 6;
public com.google.protobuf.ByteString getPayload()
bytes payload = 7;
getPayload
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setPayload(com.google.protobuf.ByteString value)
bytes payload = 7;
value
- The payload to set.public BinaryMessages.DiagnosticResponse.Builder clearPayload()
bytes payload = 7;
public boolean hasValue()
.openxc.DynamicField value = 8;
hasValue
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DynamicField getValue()
.openxc.DynamicField value = 8;
getValue
in interface BinaryMessages.DiagnosticResponseOrBuilder
public BinaryMessages.DiagnosticResponse.Builder setValue(BinaryMessages.DynamicField value)
.openxc.DynamicField value = 8;
public BinaryMessages.DiagnosticResponse.Builder setValue(BinaryMessages.DynamicField.Builder builderForValue)
.openxc.DynamicField value = 8;
public BinaryMessages.DiagnosticResponse.Builder mergeValue(BinaryMessages.DynamicField value)
.openxc.DynamicField value = 8;
public BinaryMessages.DiagnosticResponse.Builder clearValue()
.openxc.DynamicField value = 8;
public BinaryMessages.DynamicField.Builder getValueBuilder()
.openxc.DynamicField value = 8;
public BinaryMessages.DynamicFieldOrBuilder getValueOrBuilder()
.openxc.DynamicField value = 8;
getValueOrBuilder
in interface BinaryMessages.DiagnosticResponseOrBuilder
public final BinaryMessages.DiagnosticResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.DiagnosticResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)