Package org.photonvision.proto
Class Photon.ProtobufPhotonPipelineResult
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
- All Implemented Interfaces:
 Cloneable
- Enclosing class:
 - Photon
 
public static final class Photon.ProtobufPhotonPipelineResult
extends us.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
implements Cloneable
Protobuf type 
ProtobufPhotonPipelineResult- 
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName - 
Method Summary
Modifier and TypeMethodDescriptionaddAllTargets(Photon.ProtobufPhotonTrackedTarget... values) repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;clear()optional int64 capture_timestamp_micros = 5;Deprecated.optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;optional int64 nt_publish_timestamp_micros = 6;optional int64 sequence_id = 4;repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;optional int64 time_since_last_pong_micros = 7;clone()protected intbooleanlongoptional int64 capture_timestamp_micros = 5;static us.hebi.quickbuf.Descriptors.Descriptorstatic us.hebi.quickbuf.MessageFactory<Photon.ProtobufPhotonPipelineResult>doubleDeprecated.optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;This method returns the internal storage object without modifying any has state.optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedMessage<Photon.ProtobufPhotonTrackedTarget>repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;This method returns the internal storage object and sets the corresponding has state.longoptional int64 nt_publish_timestamp_micros = 6;longoptional int64 sequence_id = 4;us.hebi.quickbuf.RepeatedMessage<Photon.ProtobufPhotonTrackedTarget>repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;This method returns the internal storage object without modifying any has state.longoptional int64 time_since_last_pong_micros = 7;booleanoptional int64 capture_timestamp_micros = 5;booleanDeprecated.booleanoptional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;booleanoptional int64 nt_publish_timestamp_micros = 6;booleanoptional int64 sequence_id = 4;booleanrepeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;booleanoptional int64 time_since_last_pong_micros = 7;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) setCaptureTimestampMicros(long value) optional int64 capture_timestamp_micros = 5;setLatencyMs(double value) Deprecated.optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;setNtPublishTimestampMicros(long value) optional int64 nt_publish_timestamp_micros = 6;setSequenceId(long value) optional int64 sequence_id = 4;setTimeSinceLastPongMicros(long value) optional int64 time_since_last_pong_micros = 7;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 
ProtobufPhotonPipelineResult 
 - 
hasLatencyMs
Deprecated.optional double latency_ms = 1;- Returns:
 - whether the latencyMs field is set
 
 - 
clearLatencyMs
Deprecated.optional double latency_ms = 1;- Returns:
 - this
 
 - 
getLatencyMs
Deprecated.optional double latency_ms = 1;- Returns:
 - the latencyMs
 
 - 
setLatencyMs
Deprecated.optional double latency_ms = 1;- Parameters:
 value- the latencyMs to set- Returns:
 - this
 
 - 
hasSequenceId
optional int64 sequence_id = 4;- Returns:
 - whether the sequenceId field is set
 
 - 
clearSequenceId
optional int64 sequence_id = 4;- Returns:
 - this
 
 - 
getSequenceId
optional int64 sequence_id = 4;- Returns:
 - the sequenceId
 
 - 
setSequenceId
optional int64 sequence_id = 4;- Parameters:
 value- the sequenceId to set- Returns:
 - this
 
 - 
hasCaptureTimestampMicros
optional int64 capture_timestamp_micros = 5;- Returns:
 - whether the captureTimestampMicros field is set
 
 - 
clearCaptureTimestampMicros
optional int64 capture_timestamp_micros = 5;- Returns:
 - this
 
 - 
getCaptureTimestampMicros
optional int64 capture_timestamp_micros = 5;- Returns:
 - the captureTimestampMicros
 
 - 
setCaptureTimestampMicros
optional int64 capture_timestamp_micros = 5;- Parameters:
 value- the captureTimestampMicros to set- Returns:
 - this
 
 - 
hasNtPublishTimestampMicros
optional int64 nt_publish_timestamp_micros = 6;- Returns:
 - whether the ntPublishTimestampMicros field is set
 
 - 
clearNtPublishTimestampMicros
optional int64 nt_publish_timestamp_micros = 6;- Returns:
 - this
 
 - 
getNtPublishTimestampMicros
optional int64 nt_publish_timestamp_micros = 6;- Returns:
 - the ntPublishTimestampMicros
 
 - 
setNtPublishTimestampMicros
optional int64 nt_publish_timestamp_micros = 6;- Parameters:
 value- the ntPublishTimestampMicros to set- Returns:
 - this
 
 - 
hasTimeSinceLastPongMicros
optional int64 time_since_last_pong_micros = 7;- Returns:
 - whether the timeSinceLastPongMicros field is set
 
 - 
clearTimeSinceLastPongMicros
optional int64 time_since_last_pong_micros = 7;- Returns:
 - this
 
 - 
getTimeSinceLastPongMicros
optional int64 time_since_last_pong_micros = 7;- Returns:
 - the timeSinceLastPongMicros
 
 - 
setTimeSinceLastPongMicros
optional int64 time_since_last_pong_micros = 7;- Parameters:
 value- the timeSinceLastPongMicros to set- Returns:
 - this
 
 - 
hasMultiTargetResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;- Returns:
 - whether the multiTargetResult field is set
 
 - 
clearMultiTargetResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;- Returns:
 - this
 
 - 
getMultiTargetResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;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. UsegetMutableMultiTargetResult()if you want to modify it.- Returns:
 - internal storage object for reading
 
 - 
getMutableMultiTargetResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;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
 
 - 
setMultiTargetResult
public Photon.ProtobufPhotonPipelineResult setMultiTargetResult(Photon.ProtobufMultiTargetPNPResult value) optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;- Parameters:
 value- the multiTargetResult to set- Returns:
 - this
 
 - 
hasTargets
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;- Returns:
 - whether the targets field is set
 
 - 
clearTargets
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;- Returns:
 - this
 
 - 
getTargets
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 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. UsegetMutableTargets()if you want to modify it.- Returns:
 - internal storage object for reading
 
 - 
getMutableTargets
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 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
 
 - 
addTargets
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;- Parameters:
 value- the targets to add- Returns:
 - this
 
 - 
addAllTargets
public Photon.ProtobufPhotonPipelineResult addAllTargets(Photon.ProtobufPhotonTrackedTarget... values) repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;- Parameters:
 values- the targets to add- Returns:
 - this
 
 - 
copyFrom
- Specified by:
 copyFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
mergeFrom
- Overrides:
 mergeFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
clear
- Specified by:
 clearin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
clearQuick
- Overrides:
 clearQuickin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
equals
- Specified by:
 equalsin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
writeTo
- Specified by:
 writeToin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>- Throws:
 IOException
 - 
computeSerializedSize
- Specified by:
 computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
mergeFrom
public Photon.ProtobufPhotonPipelineResult mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
 mergeFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>- Throws:
 IOException
 - 
writeTo
- Overrides:
 writeToin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>- Throws:
 IOException
 - 
mergeFrom
public Photon.ProtobufPhotonPipelineResult mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
 mergeFromin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>- Throws:
 IOException
 - 
clone
- Specified by:
 clonein classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
isEmpty
- Overrides:
 isEmptyin classus.hebi.quickbuf.ProtoMessage<Photon.ProtobufPhotonPipelineResult>
 - 
parseFrom
public static Photon.ProtobufPhotonPipelineResult parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
 us.hebi.quickbuf.InvalidProtocolBufferException
 - 
parseFrom
public static Photon.ProtobufPhotonPipelineResult parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
 IOException
 - 
parseFrom
public static Photon.ProtobufPhotonPipelineResult parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
 IOException
 - 
getFactory
- Returns:
 - factory for creating ProtobufPhotonPipelineResult messages
 
 - 
getDescriptor
- Returns:
 - this type's descriptor.
 
 
 -