public static final class BinaryMessages.PassthroughModeControlCommand.Builder extends <any> implements BinaryMessages.PassthroughModeControlCommandOrBuilder
openxc.PassthroughModeControlCommand
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public BinaryMessages.PassthroughModeControlCommand.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.PassthroughModeControlCommand getDefaultInstanceForType()
public BinaryMessages.PassthroughModeControlCommand build()
public BinaryMessages.PassthroughModeControlCommand buildPartial()
public BinaryMessages.PassthroughModeControlCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.PassthroughModeControlCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.PassthroughModeControlCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.PassthroughModeControlCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.PassthroughModeControlCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.PassthroughModeControlCommand.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.PassthroughModeControlCommand.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.PassthroughModeControlCommandOrBuilder
public BinaryMessages.PassthroughModeControlCommand.Builder setBus(int value)
int32 bus = 1;
value
- The bus to set.public BinaryMessages.PassthroughModeControlCommand.Builder clearBus()
int32 bus = 1;
public boolean getEnabled()
bool enabled = 2;
getEnabled
in interface BinaryMessages.PassthroughModeControlCommandOrBuilder
public BinaryMessages.PassthroughModeControlCommand.Builder setEnabled(boolean value)
bool enabled = 2;
value
- The enabled to set.public BinaryMessages.PassthroughModeControlCommand.Builder clearEnabled()
bool enabled = 2;
public final BinaryMessages.PassthroughModeControlCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.PassthroughModeControlCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)