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
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName
-
Method Summary
Modifier and TypeMethodDescriptionclear()
clearA()
optional .wpi.proto.ProtobufMatrix a = 4;
clearB()
optional .wpi.proto.ProtobufMatrix b = 5;
clearC()
optional .wpi.proto.ProtobufMatrix c = 6;
clearD()
optional .wpi.proto.ProtobufMatrix d = 7;
optional uint32 num_inputs = 2;
optional uint32 num_outputs = 3;
optional uint32 num_states = 1;
clone()
protected int
boolean
getA()
optional .wpi.proto.ProtobufMatrix a = 4;
This method returns the internal storage object without modifying any has state.getB()
optional .wpi.proto.ProtobufMatrix b = 5;
This method returns the internal storage object without modifying any has state.getC()
optional .wpi.proto.ProtobufMatrix c = 6;
This method returns the internal storage object without modifying any has state.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
static us.hebi.quickbuf.MessageFactory<System.ProtobufLinearSystem>
optional .wpi.proto.ProtobufMatrix a = 4;
This method returns the internal storage object and sets the corresponding has state.optional .wpi.proto.ProtobufMatrix b = 5;
This method returns the internal storage object and sets the corresponding has state.optional .wpi.proto.ProtobufMatrix c = 6;
This method returns the internal storage object and sets the corresponding has state.optional .wpi.proto.ProtobufMatrix d = 7;
This method returns the internal storage object and sets the corresponding has state.int
optional uint32 num_inputs = 2;
int
optional uint32 num_outputs = 3;
int
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
optional uint32 num_inputs = 2;
boolean
optional uint32 num_outputs = 3;
boolean
optional uint32 num_states = 1;
boolean
isEmpty()
mergeFrom
(us.hebi.quickbuf.JsonSource input) mergeFrom
(us.hebi.quickbuf.ProtoSource input) static System.ProtobufLinearSystem
static System.ProtobufLinearSystem
parseFrom
(byte[] data) static System.ProtobufLinearSystem
parseFrom
(us.hebi.quickbuf.JsonSource input) static System.ProtobufLinearSystem
parseFrom
(us.hebi.quickbuf.ProtoSource input) setA
(Wpimath.ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix a = 4;
setB
(Wpimath.ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix b = 5;
setC
(Wpimath.ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix c = 6;
setD
(Wpimath.ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix d = 7;
setNumInputs
(int value) optional uint32 num_inputs = 2;
setNumOutputs
(int value) optional uint32 num_outputs = 3;
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
- 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.
-