Package edu.wpi.first.math.proto
Class System.ProtobufLinearSystem
java.lang.Object
us.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
edu.wpi.first.math.proto.System.ProtobufLinearSystem
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- System
public static final class System.ProtobufLinearSystem extends us.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem> implements Cloneable
Protobuf type
ProtobufLinearSystem
-
Field Summary
-
Method Summary
Modifier and Type Method Description System.ProtobufLinearSystem
clear()
System.ProtobufLinearSystem
clearA()
optional .wpi.proto.ProtobufMatrix a = 4;
System.ProtobufLinearSystem
clearB()
optional .wpi.proto.ProtobufMatrix b = 5;
System.ProtobufLinearSystem
clearC()
optional .wpi.proto.ProtobufMatrix c = 6;
System.ProtobufLinearSystem
clearD()
optional .wpi.proto.ProtobufMatrix d = 7;
System.ProtobufLinearSystem
clearNumInputs()
optional uint32 num_inputs = 2;
System.ProtobufLinearSystem
clearNumOutputs()
optional uint32 num_outputs = 3;
System.ProtobufLinearSystem
clearNumStates()
optional uint32 num_states = 1;
System.ProtobufLinearSystem
clearQuick()
System.ProtobufLinearSystem
clone()
protected int
computeSerializedSize()
System.ProtobufLinearSystem
copyFrom(System.ProtobufLinearSystem other)
boolean
equals(Object o)
Wpimath.ProtobufMatrix
getA()
optional .wpi.proto.ProtobufMatrix a = 4;
This method returns the internal storage object without modifying any has state.Wpimath.ProtobufMatrix
getB()
optional .wpi.proto.ProtobufMatrix b = 5;
This method returns the internal storage object without modifying any has state.Wpimath.ProtobufMatrix
getC()
optional .wpi.proto.ProtobufMatrix c = 6;
This method returns the internal storage object without modifying any has state.Wpimath.ProtobufMatrix
getD()
optional .wpi.proto.ProtobufMatrix d = 7;
This method returns the internal storage object without modifying any has state.static us.hebi.quickbuf.Descriptors.Descriptor
getDescriptor()
static us.hebi.quickbuf.MessageFactory<System.ProtobufLinearSystem>
getFactory()
Wpimath.ProtobufMatrix
getMutableA()
optional .wpi.proto.ProtobufMatrix a = 4;
This method returns the internal storage object and sets the corresponding has state.Wpimath.ProtobufMatrix
getMutableB()
optional .wpi.proto.ProtobufMatrix b = 5;
This method returns the internal storage object and sets the corresponding has state.Wpimath.ProtobufMatrix
getMutableC()
optional .wpi.proto.ProtobufMatrix c = 6;
This method returns the internal storage object and sets the corresponding has state.Wpimath.ProtobufMatrix
getMutableD()
optional .wpi.proto.ProtobufMatrix d = 7;
This method returns the internal storage object and sets the corresponding has state.int
getNumInputs()
optional uint32 num_inputs = 2;
int
getNumOutputs()
optional uint32 num_outputs = 3;
int
getNumStates()
optional uint32 num_states = 1;
boolean
hasA()
optional .wpi.proto.ProtobufMatrix a = 4;
boolean
hasB()
optional .wpi.proto.ProtobufMatrix b = 5;
boolean
hasC()
optional .wpi.proto.ProtobufMatrix c = 6;
boolean
hasD()
optional .wpi.proto.ProtobufMatrix d = 7;
boolean
hasNumInputs()
optional uint32 num_inputs = 2;
boolean
hasNumOutputs()
optional uint32 num_outputs = 3;
boolean
hasNumStates()
optional uint32 num_states = 1;
boolean
isEmpty()
System.ProtobufLinearSystem
mergeFrom(System.ProtobufLinearSystem other)
System.ProtobufLinearSystem
mergeFrom(us.hebi.quickbuf.JsonSource input)
System.ProtobufLinearSystem
mergeFrom(us.hebi.quickbuf.ProtoSource input)
static System.ProtobufLinearSystem
newInstance()
static System.ProtobufLinearSystem
parseFrom(byte[] data)
static System.ProtobufLinearSystem
parseFrom(us.hebi.quickbuf.JsonSource input)
static System.ProtobufLinearSystem
parseFrom(us.hebi.quickbuf.ProtoSource input)
System.ProtobufLinearSystem
setA(Wpimath.ProtobufMatrix value)
optional .wpi.proto.ProtobufMatrix a = 4;
System.ProtobufLinearSystem
setB(Wpimath.ProtobufMatrix value)
optional .wpi.proto.ProtobufMatrix b = 5;
System.ProtobufLinearSystem
setC(Wpimath.ProtobufMatrix value)
optional .wpi.proto.ProtobufMatrix c = 6;
System.ProtobufLinearSystem
setD(Wpimath.ProtobufMatrix value)
optional .wpi.proto.ProtobufMatrix d = 7;
System.ProtobufLinearSystem
setNumInputs(int value)
optional uint32 num_inputs = 2;
System.ProtobufLinearSystem
setNumOutputs(int value)
optional uint32 num_outputs = 3;
System.ProtobufLinearSystem
setNumStates(int value)
optional uint32 num_states = 1;
void
writeTo(us.hebi.quickbuf.JsonSink output)
void
writeTo(us.hebi.quickbuf.ProtoSink output)
Methods inherited from class us.hebi.quickbuf.ProtoMessage
bytesDefaultValue, checkInitialized, getCachedSize, getMissingFields, getMissingFields, getMissingFields, getMissingFields, getSerializedSize, getUnknownBytes, hashCode, isInitialized, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, rethrowFromParent, toByteArray, toByteArray, toByteArray, toString, writeDelimitedTo
-
Method Details
-
newInstance
- Returns:
- a new empty instance of
ProtobufLinearSystem
-
hasNumStates
optional uint32 num_states = 1;
- Returns:
- whether the numStates field is set
-
clearNumStates
optional uint32 num_states = 1;
- Returns:
- this
-
getNumStates
optional uint32 num_states = 1;
- Returns:
- the numStates
-
setNumStates
optional uint32 num_states = 1;
- Parameters:
value
- the numStates to set- Returns:
- this
-
hasNumInputs
optional uint32 num_inputs = 2;
- Returns:
- whether the numInputs field is set
-
clearNumInputs
optional uint32 num_inputs = 2;
- Returns:
- this
-
getNumInputs
optional uint32 num_inputs = 2;
- Returns:
- the numInputs
-
setNumInputs
optional uint32 num_inputs = 2;
- Parameters:
value
- the numInputs to set- Returns:
- this
-
hasNumOutputs
optional uint32 num_outputs = 3;
- Returns:
- whether the numOutputs field is set
-
clearNumOutputs
optional uint32 num_outputs = 3;
- Returns:
- this
-
getNumOutputs
optional uint32 num_outputs = 3;
- Returns:
- the numOutputs
-
setNumOutputs
optional uint32 num_outputs = 3;
- Parameters:
value
- the numOutputs to set- Returns:
- this
-
hasA
optional .wpi.proto.ProtobufMatrix a = 4;
- Returns:
- whether the a field is set
-
clearA
optional .wpi.proto.ProtobufMatrix a = 4;
- Returns:
- this
-
getA
optional .wpi.proto.ProtobufMatrix a = 4;
This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. UsegetMutableA()
if you want to modify it.- Returns:
- internal storage object for reading
-
getMutableA
optional .wpi.proto.ProtobufMatrix a = 4;
This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.- Returns:
- internal storage object for modifications
-
setA
optional .wpi.proto.ProtobufMatrix a = 4;
- Parameters:
value
- the a to set- Returns:
- this
-
hasB
optional .wpi.proto.ProtobufMatrix b = 5;
- Returns:
- whether the b field is set
-
clearB
optional .wpi.proto.ProtobufMatrix b = 5;
- Returns:
- this
-
getB
optional .wpi.proto.ProtobufMatrix b = 5;
This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. UsegetMutableB()
if you want to modify it.- Returns:
- internal storage object for reading
-
getMutableB
optional .wpi.proto.ProtobufMatrix b = 5;
This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.- Returns:
- internal storage object for modifications
-
setB
optional .wpi.proto.ProtobufMatrix b = 5;
- Parameters:
value
- the b to set- Returns:
- this
-
hasC
optional .wpi.proto.ProtobufMatrix c = 6;
- Returns:
- whether the c field is set
-
clearC
optional .wpi.proto.ProtobufMatrix c = 6;
- Returns:
- this
-
getC
optional .wpi.proto.ProtobufMatrix c = 6;
This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. UsegetMutableC()
if you want to modify it.- Returns:
- internal storage object for reading
-
getMutableC
optional .wpi.proto.ProtobufMatrix c = 6;
This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.- Returns:
- internal storage object for modifications
-
setC
optional .wpi.proto.ProtobufMatrix c = 6;
- Parameters:
value
- the c to set- Returns:
- this
-
hasD
optional .wpi.proto.ProtobufMatrix d = 7;
- Returns:
- whether the d field is set
-
clearD
optional .wpi.proto.ProtobufMatrix d = 7;
- Returns:
- this
-
getD
optional .wpi.proto.ProtobufMatrix d = 7;
This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. UsegetMutableD()
if you want to modify it.- Returns:
- internal storage object for reading
-
getMutableD
optional .wpi.proto.ProtobufMatrix d = 7;
This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.- Returns:
- internal storage object for modifications
-
setD
optional .wpi.proto.ProtobufMatrix d = 7;
- Parameters:
value
- the d to set- Returns:
- this
-
copyFrom
- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
mergeFrom
public System.ProtobufLinearSystem mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<System.ProtobufLinearSystem>
-
parseFrom
public static System.ProtobufLinearSystem parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException- Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static System.ProtobufLinearSystem parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Throws:
IOException
-
parseFrom
public static System.ProtobufLinearSystem parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufLinearSystem messages
-
getDescriptor
- Returns:
- this type's descriptor.
-