Class ProtobufLinearSystem
java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
org.wpilib.math.proto.ProtobufLinearSystem
- All Implemented Interfaces:
Cloneable
public final class ProtobufLinearSystem
extends us.hebi.quickbuf.ProtoMessage<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 intcopyFrom(ProtobufLinearSystem other) booleangetA()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.Descriptorstatic us.hebi.quickbuf.MessageFactory<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.intoptional uint32 num_inputs = 2;intoptional uint32 num_outputs = 3;intoptional uint32 num_states = 1;booleanhasA()optional .wpi.proto.ProtobufMatrix a = 4;booleanhasB()optional .wpi.proto.ProtobufMatrix b = 5;booleanhasC()optional .wpi.proto.ProtobufMatrix c = 6;booleanhasD()optional .wpi.proto.ProtobufMatrix d = 7;booleanoptional uint32 num_inputs = 2;booleanoptional uint32 num_outputs = 3;booleanoptional uint32 num_states = 1;booleanisEmpty()mergeFrom(ProtobufLinearSystem other) mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) static ProtobufLinearSystemstatic ProtobufLinearSystemparseFrom(byte[] data) static ProtobufLinearSystemparseFrom(us.hebi.quickbuf.JsonSource input) static ProtobufLinearSystemparseFrom(us.hebi.quickbuf.ProtoSource input) setA(ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix a = 4;setB(ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix b = 5;setC(ProtobufMatrix value) optional .wpi.proto.ProtobufMatrix c = 6;setD(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;voidwriteTo(us.hebi.quickbuf.JsonSink output) voidwriteTo(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
-
getNumStates
-
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
-
getNumInputs
-
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
-
getNumOutputs
-
setNumOutputs
optional uint32 num_outputs = 3;- Parameters:
value- the numOutputs to set- Returns:
- this
-
hasA
-
clearA
-
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
-
clearB
-
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
-
clearC
-
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
-
clearD
-
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:
copyFromin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
mergeFrom
- Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
isEmpty
- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<ProtobufLinearSystem>
-
parseFrom
public static ProtobufLinearSystem parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
- Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufLinearSystem messages
-
getDescriptor
- Returns:
- this type's descriptor.
-