public static final class BinaryMessages.DiagnosticControlCommand.Builder extends <any> implements BinaryMessages.DiagnosticControlCommandOrBuilder
openxc.DiagnosticControlCommand
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public BinaryMessages.DiagnosticControlCommand.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.DiagnosticControlCommand getDefaultInstanceForType()
public BinaryMessages.DiagnosticControlCommand build()
public BinaryMessages.DiagnosticControlCommand buildPartial()
public BinaryMessages.DiagnosticControlCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DiagnosticControlCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.DiagnosticControlCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.DiagnosticControlCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.DiagnosticControlCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DiagnosticControlCommand.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.DiagnosticControlCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasRequest()
.openxc.DiagnosticRequest request = 1;
hasRequest
in interface BinaryMessages.DiagnosticControlCommandOrBuilder
public BinaryMessages.DiagnosticRequest getRequest()
.openxc.DiagnosticRequest request = 1;
getRequest
in interface BinaryMessages.DiagnosticControlCommandOrBuilder
public BinaryMessages.DiagnosticControlCommand.Builder setRequest(BinaryMessages.DiagnosticRequest value)
.openxc.DiagnosticRequest request = 1;
public BinaryMessages.DiagnosticControlCommand.Builder setRequest(BinaryMessages.DiagnosticRequest.Builder builderForValue)
.openxc.DiagnosticRequest request = 1;
public BinaryMessages.DiagnosticControlCommand.Builder mergeRequest(BinaryMessages.DiagnosticRequest value)
.openxc.DiagnosticRequest request = 1;
public BinaryMessages.DiagnosticControlCommand.Builder clearRequest()
.openxc.DiagnosticRequest request = 1;
public BinaryMessages.DiagnosticRequest.Builder getRequestBuilder()
.openxc.DiagnosticRequest request = 1;
public BinaryMessages.DiagnosticRequestOrBuilder getRequestOrBuilder()
.openxc.DiagnosticRequest request = 1;
getRequestOrBuilder
in interface BinaryMessages.DiagnosticControlCommandOrBuilder
public int getActionValue()
.openxc.DiagnosticControlCommand.Action action = 2;
getActionValue
in interface BinaryMessages.DiagnosticControlCommandOrBuilder
public BinaryMessages.DiagnosticControlCommand.Builder setActionValue(int value)
.openxc.DiagnosticControlCommand.Action action = 2;
value
- The enum numeric value on the wire for action to set.public BinaryMessages.DiagnosticControlCommand.Action getAction()
.openxc.DiagnosticControlCommand.Action action = 2;
getAction
in interface BinaryMessages.DiagnosticControlCommandOrBuilder
public BinaryMessages.DiagnosticControlCommand.Builder setAction(BinaryMessages.DiagnosticControlCommand.Action value)
.openxc.DiagnosticControlCommand.Action action = 2;
value
- The action to set.public BinaryMessages.DiagnosticControlCommand.Builder clearAction()
.openxc.DiagnosticControlCommand.Action action = 2;
public final BinaryMessages.DiagnosticControlCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.DiagnosticControlCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)