Package org.photonvision.proto
Class Photon.ProtobufMultiTargetPNPResult
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Photon
public static final class Photon.ProtobufMultiTargetPNPResult
extends us.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
implements Cloneable
Protobuf type
ProtobufMultiTargetPNPResult-
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName -
Method Summary
Modifier and TypeMethodDescriptionaddAllFiducialIdsUsed(int... values) repeated int32 fiducial_ids_used = 2;addFiducialIdsUsed(int value) repeated int32 fiducial_ids_used = 2;clear()optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;repeated int32 fiducial_ids_used = 2;clone()protected intbooleanstatic us.hebi.quickbuf.Descriptors.Descriptoroptional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;This method returns the internal storage object without modifying any has state.static us.hebi.quickbuf.MessageFactory<Photon.ProtobufMultiTargetPNPResult>us.hebi.quickbuf.RepeatedIntrepeated int32 fiducial_ids_used = 2;This method returns the internal storage object without modifying any has state.optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedIntrepeated int32 fiducial_ids_used = 2;This method returns the internal storage object and sets the corresponding has state.booleanoptional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;booleanrepeated int32 fiducial_ids_used = 2;booleanisEmpty()mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) parseFrom(byte[] data) parseFrom(us.hebi.quickbuf.JsonSource input) parseFrom(us.hebi.quickbuf.ProtoSource input) optional .photonvision.proto.ProtobufPNPResult estimated_pose = 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
ProtobufMultiTargetPNPResult
-
hasEstimatedPose
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;- Returns:
- whether the estimatedPose field is set
-
clearEstimatedPose
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;- Returns:
- this
-
getEstimatedPose
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;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. UsegetMutableEstimatedPose()if you want to modify it.- Returns:
- internal storage object for reading
-
getMutableEstimatedPose
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;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
-
setEstimatedPose
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;- Parameters:
value- the estimatedPose to set- Returns:
- this
-
hasFiducialIdsUsed
repeated int32 fiducial_ids_used = 2;- Returns:
- whether the fiducialIdsUsed field is set
-
clearFiducialIdsUsed
repeated int32 fiducial_ids_used = 2;- Returns:
- this
-
getFiducialIdsUsed
repeated int32 fiducial_ids_used = 2;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. UsegetMutableFiducialIdsUsed()if you want to modify it.- Returns:
- internal storage object for reading
-
getMutableFiducialIdsUsed
repeated int32 fiducial_ids_used = 2;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
-
addFiducialIdsUsed
repeated int32 fiducial_ids_used = 2;- Parameters:
value- the fiducialIdsUsed to add- Returns:
- this
-
addAllFiducialIdsUsed
repeated int32 fiducial_ids_used = 2;- Parameters:
values- the fiducialIdsUsed to add- Returns:
- this
-
copyFrom
- Specified by:
copyFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
mergeFrom
public Photon.ProtobufMultiTargetPNPResult mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>- Throws:
IOException
-
mergeFrom
public Photon.ProtobufMultiTargetPNPResult mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
isEmpty
- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufMultiTargetPNPResult>
-
parseFrom
public static Photon.ProtobufMultiTargetPNPResult parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Photon.ProtobufMultiTargetPNPResult parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static Photon.ProtobufMultiTargetPNPResult parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufMultiTargetPNPResult messages
-
getDescriptor
- Returns:
- this type's descriptor.
-