java.com.parrot.drone.groundsdk.protobuf.VideoMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of video-metadata Show documentation
Show all versions of video-metadata Show documentation
video-metadata module is part of Parrot Ground SDK for Android
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: vmeta.proto
package com.parrot.drone.groundsdk.protobuf;
public final class VideoMetadata {
private VideoMetadata() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
* Protobuf enum {@code vmeta.TrackingClass}
*/
public enum TrackingClass
implements com.google.protobuf.Internal.EnumLite {
/**
*
* Person
*
*
* TC_PERSON = 0;
*/
TC_PERSON(0),
/**
*
* Animal
*
*
* TC_ANIMAL = 1;
*/
TC_ANIMAL(1),
/**
*
* Bicycle
*
*
* TC_BICYCLE = 2;
*/
TC_BICYCLE(2),
/**
*
* Boat
*
*
* TC_BOAT = 3;
*/
TC_BOAT(3),
/**
*
* Car
*
*
* TC_CAR = 4;
*/
TC_CAR(4),
/**
*
* Horse
*
*
* TC_HORSE = 5;
*/
TC_HORSE(5),
/**
*
* Motorbike
*
*
* TC_MOTORBIKE = 6;
*/
TC_MOTORBIKE(6),
/**
*
* Undefined (object not recognized).
* Value is kept at the highest 1byte varint for clarity,
* and to reserve space for future values
*
*
* TC_UNDEFINED = 127;
*/
TC_UNDEFINED(127),
UNRECOGNIZED(-1),
;
/**
*
* Person
*
*
* TC_PERSON = 0;
*/
public static final int TC_PERSON_VALUE = 0;
/**
*
* Animal
*
*
* TC_ANIMAL = 1;
*/
public static final int TC_ANIMAL_VALUE = 1;
/**
*
* Bicycle
*
*
* TC_BICYCLE = 2;
*/
public static final int TC_BICYCLE_VALUE = 2;
/**
*
* Boat
*
*
* TC_BOAT = 3;
*/
public static final int TC_BOAT_VALUE = 3;
/**
*
* Car
*
*
* TC_CAR = 4;
*/
public static final int TC_CAR_VALUE = 4;
/**
*
* Horse
*
*
* TC_HORSE = 5;
*/
public static final int TC_HORSE_VALUE = 5;
/**
*
* Motorbike
*
*
* TC_MOTORBIKE = 6;
*/
public static final int TC_MOTORBIKE_VALUE = 6;
/**
*
* Undefined (object not recognized).
* Value is kept at the highest 1byte varint for clarity,
* and to reserve space for future values
*
*
* TC_UNDEFINED = 127;
*/
public static final int TC_UNDEFINED_VALUE = 127;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TrackingClass valueOf(int value) {
return forNumber(value);
}
public static TrackingClass forNumber(int value) {
switch (value) {
case 0: return TC_PERSON;
case 1: return TC_ANIMAL;
case 2: return TC_BICYCLE;
case 3: return TC_BOAT;
case 4: return TC_CAR;
case 5: return TC_HORSE;
case 6: return TC_MOTORBIKE;
case 127: return TC_UNDEFINED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TrackingClass> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public TrackingClass findValueByNumber(int number) {
return TrackingClass.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return TrackingClassVerifier.INSTANCE;
}
private static final class TrackingClassVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new TrackingClassVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return TrackingClass.forNumber(number) != null;
}
};
private final int value;
private TrackingClass(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.TrackingClass)
}
/**
* Protobuf enum {@code vmeta.TrackingState}
*/
public enum TrackingState
implements com.google.protobuf.Internal.EnumLite {
/**
*
* Tracking
*
*
* TS_TRACKING = 0;
*/
TS_TRACKING(0),
/**
*
* Searching
*
*
* TS_SEARCHING = 1;
*/
TS_SEARCHING(1),
UNRECOGNIZED(-1),
;
/**
*
* Tracking
*
*
* TS_TRACKING = 0;
*/
public static final int TS_TRACKING_VALUE = 0;
/**
*
* Searching
*
*
* TS_SEARCHING = 1;
*/
public static final int TS_SEARCHING_VALUE = 1;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TrackingState valueOf(int value) {
return forNumber(value);
}
public static TrackingState forNumber(int value) {
switch (value) {
case 0: return TS_TRACKING;
case 1: return TS_SEARCHING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TrackingState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public TrackingState findValueByNumber(int number) {
return TrackingState.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return TrackingStateVerifier.INSTANCE;
}
private static final class TrackingStateVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new TrackingStateVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return TrackingState.forNumber(number) != null;
}
};
private final int value;
private TrackingState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.TrackingState)
}
/**
* Protobuf enum {@code vmeta.FlyingState}
*/
public enum FlyingState
implements com.google.protobuf.Internal.EnumLite {
/**
*
* Landed state
*
*
* FS_LANDED = 0;
*/
FS_LANDED(0),
/**
*
* Taking off state
*
*
* FS_TAKINGOFF = 1;
*/
FS_TAKINGOFF(1),
/**
*
* Hovering state
*
*
* FS_HOVERING = 2;
*/
FS_HOVERING(2),
/**
*
* Flying state
*
*
* FS_FLYING = 3;
*/
FS_FLYING(3),
/**
*
* Landing state
*
*
* FS_LANDING = 4;
*/
FS_LANDING(4),
/**
*
* Emergency state
*
*
* FS_EMERGENCY = 5;
*/
FS_EMERGENCY(5),
/**
*
* User-takeoff state
*
*
* FS_USER_TAKEOFF = 6;
*/
FS_USER_TAKEOFF(6),
/**
*
* Motor-ramping state
*
*
* FS_MOTOR_RAMPING = 7;
*/
FS_MOTOR_RAMPING(7),
/**
*
* Emergency-landing state
*
*
* FS_EMERGENCY_LANDING = 8;
*/
FS_EMERGENCY_LANDING(8),
UNRECOGNIZED(-1),
;
/**
*
* Landed state
*
*
* FS_LANDED = 0;
*/
public static final int FS_LANDED_VALUE = 0;
/**
*
* Taking off state
*
*
* FS_TAKINGOFF = 1;
*/
public static final int FS_TAKINGOFF_VALUE = 1;
/**
*
* Hovering state
*
*
* FS_HOVERING = 2;
*/
public static final int FS_HOVERING_VALUE = 2;
/**
*
* Flying state
*
*
* FS_FLYING = 3;
*/
public static final int FS_FLYING_VALUE = 3;
/**
*
* Landing state
*
*
* FS_LANDING = 4;
*/
public static final int FS_LANDING_VALUE = 4;
/**
*
* Emergency state
*
*
* FS_EMERGENCY = 5;
*/
public static final int FS_EMERGENCY_VALUE = 5;
/**
*
* User-takeoff state
*
*
* FS_USER_TAKEOFF = 6;
*/
public static final int FS_USER_TAKEOFF_VALUE = 6;
/**
*
* Motor-ramping state
*
*
* FS_MOTOR_RAMPING = 7;
*/
public static final int FS_MOTOR_RAMPING_VALUE = 7;
/**
*
* Emergency-landing state
*
*
* FS_EMERGENCY_LANDING = 8;
*/
public static final int FS_EMERGENCY_LANDING_VALUE = 8;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FlyingState valueOf(int value) {
return forNumber(value);
}
public static FlyingState forNumber(int value) {
switch (value) {
case 0: return FS_LANDED;
case 1: return FS_TAKINGOFF;
case 2: return FS_HOVERING;
case 3: return FS_FLYING;
case 4: return FS_LANDING;
case 5: return FS_EMERGENCY;
case 6: return FS_USER_TAKEOFF;
case 7: return FS_MOTOR_RAMPING;
case 8: return FS_EMERGENCY_LANDING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FlyingState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public FlyingState findValueByNumber(int number) {
return FlyingState.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return FlyingStateVerifier.INSTANCE;
}
private static final class FlyingStateVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new FlyingStateVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return FlyingState.forNumber(number) != null;
}
};
private final int value;
private FlyingState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.FlyingState)
}
/**
* Protobuf enum {@code vmeta.PilotingMode}
*/
public enum PilotingMode
implements com.google.protobuf.Internal.EnumLite {
/**
*
* Unknown/not available
*
*
* PM_UNKNOWN = 0;
*/
PM_UNKNOWN(0),
/**
*
* Manual piloting
*
*
* PM_MANUAL = 1;
*/
PM_MANUAL(1),
/**
*
* Automatic return home
*
*
* PM_RETURN_HOME = 2;
*/
PM_RETURN_HOME(2),
/**
*
* Automatic flight plan
*
*
* PM_FLIGHT_PLAN = 3;
*/
PM_FLIGHT_PLAN(3),
/**
*
* Automatic tracking
*
*
* PM_TRACKING = 4;
*/
PM_TRACKING(4),
/**
*
* Automatic move-to
*
*
* PM_MOVETO = 5;
*/
PM_MOVETO(5),
/**
*
* Automatic "magic-carpet" test
*
*
* PM_MAGIC_CARPET = 6;
*/
PM_MAGIC_CARPET(6),
UNRECOGNIZED(-1),
;
/**
*
* Unknown/not available
*
*
* PM_UNKNOWN = 0;
*/
public static final int PM_UNKNOWN_VALUE = 0;
/**
*
* Manual piloting
*
*
* PM_MANUAL = 1;
*/
public static final int PM_MANUAL_VALUE = 1;
/**
*
* Automatic return home
*
*
* PM_RETURN_HOME = 2;
*/
public static final int PM_RETURN_HOME_VALUE = 2;
/**
*
* Automatic flight plan
*
*
* PM_FLIGHT_PLAN = 3;
*/
public static final int PM_FLIGHT_PLAN_VALUE = 3;
/**
*
* Automatic tracking
*
*
* PM_TRACKING = 4;
*/
public static final int PM_TRACKING_VALUE = 4;
/**
*
* Automatic move-to
*
*
* PM_MOVETO = 5;
*/
public static final int PM_MOVETO_VALUE = 5;
/**
*
* Automatic "magic-carpet" test
*
*
* PM_MAGIC_CARPET = 6;
*/
public static final int PM_MAGIC_CARPET_VALUE = 6;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PilotingMode valueOf(int value) {
return forNumber(value);
}
public static PilotingMode forNumber(int value) {
switch (value) {
case 0: return PM_UNKNOWN;
case 1: return PM_MANUAL;
case 2: return PM_RETURN_HOME;
case 3: return PM_FLIGHT_PLAN;
case 4: return PM_TRACKING;
case 5: return PM_MOVETO;
case 6: return PM_MAGIC_CARPET;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PilotingMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public PilotingMode findValueByNumber(int number) {
return PilotingMode.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return PilotingModeVerifier.INSTANCE;
}
private static final class PilotingModeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PilotingModeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return PilotingMode.forNumber(number) != null;
}
};
private final int value;
private PilotingMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.PilotingMode)
}
/**
* Protobuf enum {@code vmeta.Animation}
*/
public enum Animation
implements com.google.protobuf.Internal.EnumLite {
/**
*
* None
*
*
* ANIM_NONE = 0;
*/
ANIM_NONE(0),
/**
*
* Orbit
*
*
* ANIM_ORBIT = 1;
*/
ANIM_ORBIT(1),
/**
*
* Boomerang
*
*
* ANIM_BOOMERANG = 2;
*/
ANIM_BOOMERANG(2),
/**
*
* Parabola
*
*
* ANIM_PARABOLA = 3;
*/
ANIM_PARABOLA(3),
/**
*
* Dolly slide
*
*
* ANIM_DOLLY_SLIDE = 4;
*/
ANIM_DOLLY_SLIDE(4),
/**
*
* Dolly zoom
*
*
* ANIM_DOLLY_ZOOM = 5;
*/
ANIM_DOLLY_ZOOM(5),
/**
*
* Vertical reveal
*
*
* ANIM_REVEAL_VERT = 6;
*/
ANIM_REVEAL_VERT(6),
/**
*
* Horizontal reveal
*
*
* ANIM_REVEAL_HORIZ = 7;
*/
ANIM_REVEAL_HORIZ(7),
/**
*
* Horizontal panorama
*
*
* ANIM_PANO_HORIZ = 8;
*/
ANIM_PANO_HORIZ(8),
/**
*
* Candle
*
*
* ANIM_CANDLE = 9;
*/
ANIM_CANDLE(9),
/**
*
* Front flip
*
*
* ANIM_FLIP_FRONT = 10;
*/
ANIM_FLIP_FRONT(10),
/**
*
* Back flip
*
*
* ANIM_FLIP_BACK = 11;
*/
ANIM_FLIP_BACK(11),
/**
*
* Left flip
*
*
* ANIM_FLIP_LEFT = 12;
*/
ANIM_FLIP_LEFT(12),
/**
*
* Right flip
*
*
* ANIM_FLIP_RIGHT = 13;
*/
ANIM_FLIP_RIGHT(13),
/**
*
* Twist-up
*
*
* ANIM_TWISTUP = 14;
*/
ANIM_TWISTUP(14),
/**
*
* Position twist-up
*
*
* ANIM_POSITION_TWISTUP = 15;
*/
ANIM_POSITION_TWISTUP(15),
UNRECOGNIZED(-1),
;
/**
*
* None
*
*
* ANIM_NONE = 0;
*/
public static final int ANIM_NONE_VALUE = 0;
/**
*
* Orbit
*
*
* ANIM_ORBIT = 1;
*/
public static final int ANIM_ORBIT_VALUE = 1;
/**
*
* Boomerang
*
*
* ANIM_BOOMERANG = 2;
*/
public static final int ANIM_BOOMERANG_VALUE = 2;
/**
*
* Parabola
*
*
* ANIM_PARABOLA = 3;
*/
public static final int ANIM_PARABOLA_VALUE = 3;
/**
*
* Dolly slide
*
*
* ANIM_DOLLY_SLIDE = 4;
*/
public static final int ANIM_DOLLY_SLIDE_VALUE = 4;
/**
*
* Dolly zoom
*
*
* ANIM_DOLLY_ZOOM = 5;
*/
public static final int ANIM_DOLLY_ZOOM_VALUE = 5;
/**
*
* Vertical reveal
*
*
* ANIM_REVEAL_VERT = 6;
*/
public static final int ANIM_REVEAL_VERT_VALUE = 6;
/**
*
* Horizontal reveal
*
*
* ANIM_REVEAL_HORIZ = 7;
*/
public static final int ANIM_REVEAL_HORIZ_VALUE = 7;
/**
*
* Horizontal panorama
*
*
* ANIM_PANO_HORIZ = 8;
*/
public static final int ANIM_PANO_HORIZ_VALUE = 8;
/**
*
* Candle
*
*
* ANIM_CANDLE = 9;
*/
public static final int ANIM_CANDLE_VALUE = 9;
/**
*
* Front flip
*
*
* ANIM_FLIP_FRONT = 10;
*/
public static final int ANIM_FLIP_FRONT_VALUE = 10;
/**
*
* Back flip
*
*
* ANIM_FLIP_BACK = 11;
*/
public static final int ANIM_FLIP_BACK_VALUE = 11;
/**
*
* Left flip
*
*
* ANIM_FLIP_LEFT = 12;
*/
public static final int ANIM_FLIP_LEFT_VALUE = 12;
/**
*
* Right flip
*
*
* ANIM_FLIP_RIGHT = 13;
*/
public static final int ANIM_FLIP_RIGHT_VALUE = 13;
/**
*
* Twist-up
*
*
* ANIM_TWISTUP = 14;
*/
public static final int ANIM_TWISTUP_VALUE = 14;
/**
*
* Position twist-up
*
*
* ANIM_POSITION_TWISTUP = 15;
*/
public static final int ANIM_POSITION_TWISTUP_VALUE = 15;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Animation valueOf(int value) {
return forNumber(value);
}
public static Animation forNumber(int value) {
switch (value) {
case 0: return ANIM_NONE;
case 1: return ANIM_ORBIT;
case 2: return ANIM_BOOMERANG;
case 3: return ANIM_PARABOLA;
case 4: return ANIM_DOLLY_SLIDE;
case 5: return ANIM_DOLLY_ZOOM;
case 6: return ANIM_REVEAL_VERT;
case 7: return ANIM_REVEAL_HORIZ;
case 8: return ANIM_PANO_HORIZ;
case 9: return ANIM_CANDLE;
case 10: return ANIM_FLIP_FRONT;
case 11: return ANIM_FLIP_BACK;
case 12: return ANIM_FLIP_LEFT;
case 13: return ANIM_FLIP_RIGHT;
case 14: return ANIM_TWISTUP;
case 15: return ANIM_POSITION_TWISTUP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Animation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public Animation findValueByNumber(int number) {
return Animation.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AnimationVerifier.INSTANCE;
}
private static final class AnimationVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AnimationVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return Animation.forNumber(number) != null;
}
};
private final int value;
private Animation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.Animation)
}
/**
* Protobuf enum {@code vmeta.LinkType}
*/
public enum LinkType
implements com.google.protobuf.Internal.EnumLite {
/**
*
* Unknown
*
*
* LINK_TYPE_UNKNOWN = 0;
*/
LINK_TYPE_UNKNOWN(0),
/**
*
* Reserved
*
*
* LINK_TYPE_LO = 1;
*/
LINK_TYPE_LO(1),
/**
*
* Reserved
*
*
* LINK_TYPE_LAN = 2;
*/
LINK_TYPE_LAN(2),
/**
*
* Wlan (Wi-Fi) interface
*
*
* LINK_TYPE_WLAN = 3;
*/
LINK_TYPE_WLAN(3),
/**
*
* Cellular (4G) interface
*
*
* LINK_TYPE_CELLULAR = 4;
*/
LINK_TYPE_CELLULAR(4),
UNRECOGNIZED(-1),
;
/**
*
* Unknown
*
*
* LINK_TYPE_UNKNOWN = 0;
*/
public static final int LINK_TYPE_UNKNOWN_VALUE = 0;
/**
*
* Reserved
*
*
* LINK_TYPE_LO = 1;
*/
public static final int LINK_TYPE_LO_VALUE = 1;
/**
*
* Reserved
*
*
* LINK_TYPE_LAN = 2;
*/
public static final int LINK_TYPE_LAN_VALUE = 2;
/**
*
* Wlan (Wi-Fi) interface
*
*
* LINK_TYPE_WLAN = 3;
*/
public static final int LINK_TYPE_WLAN_VALUE = 3;
/**
*
* Cellular (4G) interface
*
*
* LINK_TYPE_CELLULAR = 4;
*/
public static final int LINK_TYPE_CELLULAR_VALUE = 4;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LinkType valueOf(int value) {
return forNumber(value);
}
public static LinkType forNumber(int value) {
switch (value) {
case 0: return LINK_TYPE_UNKNOWN;
case 1: return LINK_TYPE_LO;
case 2: return LINK_TYPE_LAN;
case 3: return LINK_TYPE_WLAN;
case 4: return LINK_TYPE_CELLULAR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LinkType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public LinkType findValueByNumber(int number) {
return LinkType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LinkTypeVerifier.INSTANCE;
}
private static final class LinkTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LinkTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LinkType.forNumber(number) != null;
}
};
private final int value;
private LinkType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.LinkType)
}
/**
* Protobuf enum {@code vmeta.LinkStatus}
*/
public enum LinkStatus
implements com.google.protobuf.Internal.EnumLite {
/**
*
* Interface is down
*
*
* LINK_STATUS_DOWN = 0;
*/
LINK_STATUS_DOWN(0),
/**
*
* Interface is up with IP connectivity
*
*
* LINK_STATUS_UP = 1;
*/
LINK_STATUS_UP(1),
/**
*
* Starfish session established on the link
*
*
* LINK_STATUS_RUNNING = 2;
*/
LINK_STATUS_RUNNING(2),
/**
*
* Link is ready to connect or accept connections
*
*
* LINK_STATUS_READY = 3;
*/
LINK_STATUS_READY(3),
/**
*
* Connection in progress
*
*
* LINK_STATUS_CONNECTING = 4;
*/
LINK_STATUS_CONNECTING(4),
/**
*
* Link error
*
*
* LINK_STATUS_ERROR = 5;
*/
LINK_STATUS_ERROR(5),
UNRECOGNIZED(-1),
;
/**
*
* Interface is down
*
*
* LINK_STATUS_DOWN = 0;
*/
public static final int LINK_STATUS_DOWN_VALUE = 0;
/**
*
* Interface is up with IP connectivity
*
*
* LINK_STATUS_UP = 1;
*/
public static final int LINK_STATUS_UP_VALUE = 1;
/**
*
* Starfish session established on the link
*
*
* LINK_STATUS_RUNNING = 2;
*/
public static final int LINK_STATUS_RUNNING_VALUE = 2;
/**
*
* Link is ready to connect or accept connections
*
*
* LINK_STATUS_READY = 3;
*/
public static final int LINK_STATUS_READY_VALUE = 3;
/**
*
* Connection in progress
*
*
* LINK_STATUS_CONNECTING = 4;
*/
public static final int LINK_STATUS_CONNECTING_VALUE = 4;
/**
*
* Link error
*
*
* LINK_STATUS_ERROR = 5;
*/
public static final int LINK_STATUS_ERROR_VALUE = 5;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LinkStatus valueOf(int value) {
return forNumber(value);
}
public static LinkStatus forNumber(int value) {
switch (value) {
case 0: return LINK_STATUS_DOWN;
case 1: return LINK_STATUS_UP;
case 2: return LINK_STATUS_RUNNING;
case 3: return LINK_STATUS_READY;
case 4: return LINK_STATUS_CONNECTING;
case 5: return LINK_STATUS_ERROR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LinkStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public LinkStatus findValueByNumber(int number) {
return LinkStatus.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LinkStatusVerifier.INSTANCE;
}
private static final class LinkStatusVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LinkStatusVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LinkStatus.forNumber(number) != null;
}
};
private final int value;
private LinkStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.LinkStatus)
}
/**
* Protobuf enum {@code vmeta.ThermalCalibrationState}
*/
public enum ThermalCalibrationState
implements com.google.protobuf.Internal.EnumLite {
/**
*
* OK/Done
*
*
* TCS_DONE = 0;
*/
TCS_DONE(0),
/**
*
* Requested
*
*
* TCS_REQUESTED = 1;
*/
TCS_REQUESTED(1),
/**
*
* In progress
*
*
* TCS_IN_PROGRESS = 2;
*/
TCS_IN_PROGRESS(2),
UNRECOGNIZED(-1),
;
/**
*
* OK/Done
*
*
* TCS_DONE = 0;
*/
public static final int TCS_DONE_VALUE = 0;
/**
*
* Requested
*
*
* TCS_REQUESTED = 1;
*/
public static final int TCS_REQUESTED_VALUE = 1;
/**
*
* In progress
*
*
* TCS_IN_PROGRESS = 2;
*/
public static final int TCS_IN_PROGRESS_VALUE = 2;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ThermalCalibrationState valueOf(int value) {
return forNumber(value);
}
public static ThermalCalibrationState forNumber(int value) {
switch (value) {
case 0: return TCS_DONE;
case 1: return TCS_REQUESTED;
case 2: return TCS_IN_PROGRESS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ThermalCalibrationState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public ThermalCalibrationState findValueByNumber(int number) {
return ThermalCalibrationState.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ThermalCalibrationStateVerifier.INSTANCE;
}
private static final class ThermalCalibrationStateVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ThermalCalibrationStateVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ThermalCalibrationState.forNumber(number) != null;
}
};
private final int value;
private ThermalCalibrationState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:vmeta.ThermalCalibrationState)
}
public interface QuaternionOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.Quaternion)
com.google.protobuf.MessageLiteOrBuilder {
/**
* float w = 1;
* @return The w.
*/
float getW();
/**
* float x = 2;
* @return The x.
*/
float getX();
/**
* float y = 3;
* @return The y.
*/
float getY();
/**
* float z = 4;
* @return The z.
*/
float getZ();
}
/**
*
* Unit quaternion
*
*
* Protobuf type {@code vmeta.Quaternion}
*/
public static final class Quaternion extends
com.google.protobuf.GeneratedMessageLite<
Quaternion, Quaternion.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.Quaternion)
QuaternionOrBuilder {
private Quaternion() {
}
public static final int W_FIELD_NUMBER = 1;
private float w_;
/**
* float w = 1;
* @return The w.
*/
@java.lang.Override
public float getW() {
return w_;
}
/**
* float w = 1;
* @param value The w to set.
*/
private void setW(float value) {
w_ = value;
}
/**
* float w = 1;
*/
private void clearW() {
w_ = 0F;
}
public static final int X_FIELD_NUMBER = 2;
private float x_;
/**
* float x = 2;
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
* float x = 2;
* @param value The x to set.
*/
private void setX(float value) {
x_ = value;
}
/**
* float x = 2;
*/
private void clearX() {
x_ = 0F;
}
public static final int Y_FIELD_NUMBER = 3;
private float y_;
/**
* float y = 3;
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* float y = 3;
* @param value The y to set.
*/
private void setY(float value) {
y_ = value;
}
/**
* float y = 3;
*/
private void clearY() {
y_ = 0F;
}
public static final int Z_FIELD_NUMBER = 4;
private float z_;
/**
* float z = 4;
* @return The z.
*/
@java.lang.Override
public float getZ() {
return z_;
}
/**
* float z = 4;
* @param value The z to set.
*/
private void setZ(float value) {
z_ = value;
}
/**
* float z = 4;
*/
private void clearZ() {
z_ = 0F;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Unit quaternion
*
*
* Protobuf type {@code vmeta.Quaternion}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.Quaternion)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.QuaternionOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* float w = 1;
* @return The w.
*/
@java.lang.Override
public float getW() {
return instance.getW();
}
/**
* float w = 1;
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(float value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* float w = 1;
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* float x = 2;
* @return The x.
*/
@java.lang.Override
public float getX() {
return instance.getX();
}
/**
* float x = 2;
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
* float x = 2;
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* float y = 3;
* @return The y.
*/
@java.lang.Override
public float getY() {
return instance.getY();
}
/**
* float y = 3;
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* float y = 3;
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
/**
* float z = 4;
* @return The z.
*/
@java.lang.Override
public float getZ() {
return instance.getZ();
}
/**
* float z = 4;
* @param value The z to set.
* @return This builder for chaining.
*/
public Builder setZ(float value) {
copyOnWrite();
instance.setZ(value);
return this;
}
/**
* float z = 4;
* @return This builder for chaining.
*/
public Builder clearZ() {
copyOnWrite();
instance.clearZ();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.Quaternion)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"w_",
"x_",
"y_",
"z_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"\u0003\u0001\u0004\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.Quaternion)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion DEFAULT_INSTANCE;
static {
Quaternion defaultInstance = new Quaternion();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Quaternion.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface LocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.Location)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
* @return The latitude.
*/
double getLatitude();
/**
* double longitude = 2;
* @return The longitude.
*/
double getLongitude();
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
* @return The altitudeWgs84ellipsoid.
*/
double getAltitudeWgs84Ellipsoid();
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
* @return The altitudeEgm96amsl.
*/
double getAltitudeEgm96Amsl();
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
* @return The horizontalAccuracy.
*/
float getHorizontalAccuracy();
/**
* float vertical_accuracy = 6;
* @return The verticalAccuracy.
*/
float getVerticalAccuracy();
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
* @return The svCount.
*/
int getSvCount();
}
/**
*
* Location on earth
*
*
* Protobuf type {@code vmeta.Location}
*/
public static final class Location extends
com.google.protobuf.GeneratedMessageLite<
Location, Location.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.Location)
LocationOrBuilder {
private Location() {
}
public static final int LATITUDE_FIELD_NUMBER = 1;
private double latitude_;
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
* @return The latitude.
*/
@java.lang.Override
public double getLatitude() {
return latitude_;
}
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
* @param value The latitude to set.
*/
private void setLatitude(double value) {
latitude_ = value;
}
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
*/
private void clearLatitude() {
latitude_ = 0D;
}
public static final int LONGITUDE_FIELD_NUMBER = 2;
private double longitude_;
/**
* double longitude = 2;
* @return The longitude.
*/
@java.lang.Override
public double getLongitude() {
return longitude_;
}
/**
* double longitude = 2;
* @param value The longitude to set.
*/
private void setLongitude(double value) {
longitude_ = value;
}
/**
* double longitude = 2;
*/
private void clearLongitude() {
longitude_ = 0D;
}
public static final int ALTITUDE_WGS84ELLIPSOID_FIELD_NUMBER = 3;
private double altitudeWgs84Ellipsoid_;
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
* @return The altitudeWgs84ellipsoid.
*/
@java.lang.Override
public double getAltitudeWgs84Ellipsoid() {
return altitudeWgs84Ellipsoid_;
}
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
* @param value The altitudeWgs84ellipsoid to set.
*/
private void setAltitudeWgs84Ellipsoid(double value) {
altitudeWgs84Ellipsoid_ = value;
}
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
*/
private void clearAltitudeWgs84Ellipsoid() {
altitudeWgs84Ellipsoid_ = 0D;
}
public static final int ALTITUDE_EGM96AMSL_FIELD_NUMBER = 7;
private double altitudeEgm96Amsl_;
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
* @return The altitudeEgm96amsl.
*/
@java.lang.Override
public double getAltitudeEgm96Amsl() {
return altitudeEgm96Amsl_;
}
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
* @param value The altitudeEgm96amsl to set.
*/
private void setAltitudeEgm96Amsl(double value) {
altitudeEgm96Amsl_ = value;
}
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
*/
private void clearAltitudeEgm96Amsl() {
altitudeEgm96Amsl_ = 0D;
}
public static final int HORIZONTAL_ACCURACY_FIELD_NUMBER = 5;
private float horizontalAccuracy_;
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
* @return The horizontalAccuracy.
*/
@java.lang.Override
public float getHorizontalAccuracy() {
return horizontalAccuracy_;
}
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
* @param value The horizontalAccuracy to set.
*/
private void setHorizontalAccuracy(float value) {
horizontalAccuracy_ = value;
}
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
*/
private void clearHorizontalAccuracy() {
horizontalAccuracy_ = 0F;
}
public static final int VERTICAL_ACCURACY_FIELD_NUMBER = 6;
private float verticalAccuracy_;
/**
* float vertical_accuracy = 6;
* @return The verticalAccuracy.
*/
@java.lang.Override
public float getVerticalAccuracy() {
return verticalAccuracy_;
}
/**
* float vertical_accuracy = 6;
* @param value The verticalAccuracy to set.
*/
private void setVerticalAccuracy(float value) {
verticalAccuracy_ = value;
}
/**
* float vertical_accuracy = 6;
*/
private void clearVerticalAccuracy() {
verticalAccuracy_ = 0F;
}
public static final int SV_COUNT_FIELD_NUMBER = 4;
private int svCount_;
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
* @return The svCount.
*/
@java.lang.Override
public int getSvCount() {
return svCount_;
}
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
* @param value The svCount to set.
*/
private void setSvCount(int value) {
svCount_ = value;
}
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
*/
private void clearSvCount() {
svCount_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Location on earth
*
*
* Protobuf type {@code vmeta.Location}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.Location)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LocationOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
* @return The latitude.
*/
@java.lang.Override
public double getLatitude() {
return instance.getLatitude();
}
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
* @param value The latitude to set.
* @return This builder for chaining.
*/
public Builder setLatitude(double value) {
copyOnWrite();
instance.setLatitude(value);
return this;
}
/**
*
* Latitude and longitude (degrees)
*
*
* double latitude = 1;
* @return This builder for chaining.
*/
public Builder clearLatitude() {
copyOnWrite();
instance.clearLatitude();
return this;
}
/**
* double longitude = 2;
* @return The longitude.
*/
@java.lang.Override
public double getLongitude() {
return instance.getLongitude();
}
/**
* double longitude = 2;
* @param value The longitude to set.
* @return This builder for chaining.
*/
public Builder setLongitude(double value) {
copyOnWrite();
instance.setLongitude(value);
return this;
}
/**
* double longitude = 2;
* @return This builder for chaining.
*/
public Builder clearLongitude() {
copyOnWrite();
instance.clearLongitude();
return this;
}
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
* @return The altitudeWgs84ellipsoid.
*/
@java.lang.Override
public double getAltitudeWgs84Ellipsoid() {
return instance.getAltitudeWgs84Ellipsoid();
}
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
* @param value The altitudeWgs84ellipsoid to set.
* @return This builder for chaining.
*/
public Builder setAltitudeWgs84Ellipsoid(double value) {
copyOnWrite();
instance.setAltitudeWgs84Ellipsoid(value);
return this;
}
/**
*
* Altitude above the WGS84 ellipsoid (m) (zero means unknown)
*
*
* double altitude_wgs84ellipsoid = 3;
* @return This builder for chaining.
*/
public Builder clearAltitudeWgs84Ellipsoid() {
copyOnWrite();
instance.clearAltitudeWgs84Ellipsoid();
return this;
}
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
* @return The altitudeEgm96amsl.
*/
@java.lang.Override
public double getAltitudeEgm96Amsl() {
return instance.getAltitudeEgm96Amsl();
}
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
* @param value The altitudeEgm96amsl to set.
* @return This builder for chaining.
*/
public Builder setAltitudeEgm96Amsl(double value) {
copyOnWrite();
instance.setAltitudeEgm96Amsl(value);
return this;
}
/**
*
* Altitude above the EGM96 geoid (AMSL) (m) (zero means unknown)
*
*
* double altitude_egm96amsl = 7;
* @return This builder for chaining.
*/
public Builder clearAltitudeEgm96Amsl() {
copyOnWrite();
instance.clearAltitudeEgm96Amsl();
return this;
}
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
* @return The horizontalAccuracy.
*/
@java.lang.Override
public float getHorizontalAccuracy() {
return instance.getHorizontalAccuracy();
}
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
* @param value The horizontalAccuracy to set.
* @return This builder for chaining.
*/
public Builder setHorizontalAccuracy(float value) {
copyOnWrite();
instance.setHorizontalAccuracy(value);
return this;
}
/**
*
* Horizontal and vertical location accuracy (m), zero means unknown
*
*
* float horizontal_accuracy = 5;
* @return This builder for chaining.
*/
public Builder clearHorizontalAccuracy() {
copyOnWrite();
instance.clearHorizontalAccuracy();
return this;
}
/**
* float vertical_accuracy = 6;
* @return The verticalAccuracy.
*/
@java.lang.Override
public float getVerticalAccuracy() {
return instance.getVerticalAccuracy();
}
/**
* float vertical_accuracy = 6;
* @param value The verticalAccuracy to set.
* @return This builder for chaining.
*/
public Builder setVerticalAccuracy(float value) {
copyOnWrite();
instance.setVerticalAccuracy(value);
return this;
}
/**
* float vertical_accuracy = 6;
* @return This builder for chaining.
*/
public Builder clearVerticalAccuracy() {
copyOnWrite();
instance.clearVerticalAccuracy();
return this;
}
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
* @return The svCount.
*/
@java.lang.Override
public int getSvCount() {
return instance.getSvCount();
}
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
* @param value The svCount to set.
* @return This builder for chaining.
*/
public Builder setSvCount(int value) {
copyOnWrite();
instance.setSvCount(value);
return this;
}
/**
*
* GPS Satellite vehicle count, only set if location comes at least
* partially from a GPS sensor
*
*
* uint32 sv_count = 4;
* @return This builder for chaining.
*/
public Builder clearSvCount() {
copyOnWrite();
instance.clearSvCount();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.Location)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"latitude_",
"longitude_",
"altitudeWgs84Ellipsoid_",
"svCount_",
"horizontalAccuracy_",
"verticalAccuracy_",
"altitudeEgm96Amsl_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0000\u0002\u0000" +
"\u0003\u0000\u0004\u000b\u0005\u0001\u0006\u0001\u0007\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.Location)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location DEFAULT_INSTANCE;
static {
Location defaultInstance = new Location();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Location.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface Vector2OrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.Vector2)
com.google.protobuf.MessageLiteOrBuilder {
/**
* float x = 1;
* @return The x.
*/
float getX();
/**
* float y = 2;
* @return The y.
*/
float getY();
}
/**
*
* Generic 2 component vector
*
*
* Protobuf type {@code vmeta.Vector2}
*/
public static final class Vector2 extends
com.google.protobuf.GeneratedMessageLite<
Vector2, Vector2.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.Vector2)
Vector2OrBuilder {
private Vector2() {
}
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
* float x = 1;
* @param value The x to set.
*/
private void setX(float value) {
x_ = value;
}
/**
* float x = 1;
*/
private void clearX() {
x_ = 0F;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* float y = 2;
* @param value The y to set.
*/
private void setY(float value) {
y_ = value;
}
/**
* float y = 2;
*/
private void clearY() {
y_ = 0F;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Generic 2 component vector
*
*
* Protobuf type {@code vmeta.Vector2}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.Vector2)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2OrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return instance.getX();
}
/**
* float x = 1;
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
* float x = 1;
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return instance.getY();
}
/**
* float y = 2;
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* float y = 2;
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.Vector2)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"x_",
"y_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.Vector2)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 DEFAULT_INSTANCE;
static {
Vector2 defaultInstance = new Vector2();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Vector2.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface Vector3OrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.Vector3)
com.google.protobuf.MessageLiteOrBuilder {
/**
* float x = 1;
* @return The x.
*/
float getX();
/**
* float y = 2;
* @return The y.
*/
float getY();
/**
* float z = 3;
* @return The z.
*/
float getZ();
}
/**
*
* Generic 3 component vector
*
*
* Protobuf type {@code vmeta.Vector3}
*/
public static final class Vector3 extends
com.google.protobuf.GeneratedMessageLite<
Vector3, Vector3.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.Vector3)
Vector3OrBuilder {
private Vector3() {
}
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
* float x = 1;
* @param value The x to set.
*/
private void setX(float value) {
x_ = value;
}
/**
* float x = 1;
*/
private void clearX() {
x_ = 0F;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* float y = 2;
* @param value The y to set.
*/
private void setY(float value) {
y_ = value;
}
/**
* float y = 2;
*/
private void clearY() {
y_ = 0F;
}
public static final int Z_FIELD_NUMBER = 3;
private float z_;
/**
* float z = 3;
* @return The z.
*/
@java.lang.Override
public float getZ() {
return z_;
}
/**
* float z = 3;
* @param value The z to set.
*/
private void setZ(float value) {
z_ = value;
}
/**
* float z = 3;
*/
private void clearZ() {
z_ = 0F;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Generic 3 component vector
*
*
* Protobuf type {@code vmeta.Vector3}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.Vector3)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3OrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return instance.getX();
}
/**
* float x = 1;
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
* float x = 1;
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return instance.getY();
}
/**
* float y = 2;
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* float y = 2;
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
/**
* float z = 3;
* @return The z.
*/
@java.lang.Override
public float getZ() {
return instance.getZ();
}
/**
* float z = 3;
* @param value The z to set.
* @return This builder for chaining.
*/
public Builder setZ(float value) {
copyOnWrite();
instance.setZ(value);
return this;
}
/**
* float z = 3;
* @return This builder for chaining.
*/
public Builder clearZ() {
copyOnWrite();
instance.clearZ();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.Vector3)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"x_",
"y_",
"z_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"\u0003\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.Vector3)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 DEFAULT_INSTANCE;
static {
Vector3 defaultInstance = new Vector3();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Vector3.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface NEDOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.NED)
com.google.protobuf.MessageLiteOrBuilder {
/**
* float north = 1;
* @return The north.
*/
float getNorth();
/**
* float east = 2;
* @return The east.
*/
float getEast();
/**
* float down = 3;
* @return The down.
*/
float getDown();
}
/**
*
* 3 component vector, in NED frame
*
*
* Protobuf type {@code vmeta.NED}
*/
public static final class NED extends
com.google.protobuf.GeneratedMessageLite<
NED, NED.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.NED)
NEDOrBuilder {
private NED() {
}
public static final int NORTH_FIELD_NUMBER = 1;
private float north_;
/**
* float north = 1;
* @return The north.
*/
@java.lang.Override
public float getNorth() {
return north_;
}
/**
* float north = 1;
* @param value The north to set.
*/
private void setNorth(float value) {
north_ = value;
}
/**
* float north = 1;
*/
private void clearNorth() {
north_ = 0F;
}
public static final int EAST_FIELD_NUMBER = 2;
private float east_;
/**
* float east = 2;
* @return The east.
*/
@java.lang.Override
public float getEast() {
return east_;
}
/**
* float east = 2;
* @param value The east to set.
*/
private void setEast(float value) {
east_ = value;
}
/**
* float east = 2;
*/
private void clearEast() {
east_ = 0F;
}
public static final int DOWN_FIELD_NUMBER = 3;
private float down_;
/**
* float down = 3;
* @return The down.
*/
@java.lang.Override
public float getDown() {
return down_;
}
/**
* float down = 3;
* @param value The down to set.
*/
private void setDown(float value) {
down_ = value;
}
/**
* float down = 3;
*/
private void clearDown() {
down_ = 0F;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* 3 component vector, in NED frame
*
*
* Protobuf type {@code vmeta.NED}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.NED)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NEDOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* float north = 1;
* @return The north.
*/
@java.lang.Override
public float getNorth() {
return instance.getNorth();
}
/**
* float north = 1;
* @param value The north to set.
* @return This builder for chaining.
*/
public Builder setNorth(float value) {
copyOnWrite();
instance.setNorth(value);
return this;
}
/**
* float north = 1;
* @return This builder for chaining.
*/
public Builder clearNorth() {
copyOnWrite();
instance.clearNorth();
return this;
}
/**
* float east = 2;
* @return The east.
*/
@java.lang.Override
public float getEast() {
return instance.getEast();
}
/**
* float east = 2;
* @param value The east to set.
* @return This builder for chaining.
*/
public Builder setEast(float value) {
copyOnWrite();
instance.setEast(value);
return this;
}
/**
* float east = 2;
* @return This builder for chaining.
*/
public Builder clearEast() {
copyOnWrite();
instance.clearEast();
return this;
}
/**
* float down = 3;
* @return The down.
*/
@java.lang.Override
public float getDown() {
return instance.getDown();
}
/**
* float down = 3;
* @param value The down to set.
* @return This builder for chaining.
*/
public Builder setDown(float value) {
copyOnWrite();
instance.setDown(value);
return this;
}
/**
* float down = 3;
* @return This builder for chaining.
*/
public Builder clearDown() {
copyOnWrite();
instance.clearDown();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.NED)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"north_",
"east_",
"down_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"\u0003\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.NED)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED DEFAULT_INSTANCE;
static {
NED defaultInstance = new NED();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
NED.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface BoundingBoxOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.BoundingBox)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
float getX();
/**
* float y = 2;
* @return The y.
*/
float getY();
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
* @return The width.
*/
float getWidth();
/**
* float height = 4;
* @return The height.
*/
float getHeight();
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return The enum numeric value on the wire for objectClass.
*/
int getObjectClassValue();
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return The objectClass.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass getObjectClass();
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
* @return The confidence.
*/
float getConfidence();
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
* @return The uid.
*/
int getUid();
}
/**
*
* Bounding box for tracking and proposal
*
*
* Protobuf type {@code vmeta.BoundingBox}
*/
public static final class BoundingBox extends
com.google.protobuf.GeneratedMessageLite<
BoundingBox, BoundingBox.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.BoundingBox)
BoundingBoxOrBuilder {
private BoundingBox() {
}
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @param value The x to set.
*/
private void setX(float value) {
x_ = value;
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
*/
private void clearX() {
x_ = 0F;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* float y = 2;
* @param value The y to set.
*/
private void setY(float value) {
y_ = value;
}
/**
* float y = 2;
*/
private void clearY() {
y_ = 0F;
}
public static final int WIDTH_FIELD_NUMBER = 3;
private float width_;
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
* @return The width.
*/
@java.lang.Override
public float getWidth() {
return width_;
}
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
* @param value The width to set.
*/
private void setWidth(float value) {
width_ = value;
}
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
*/
private void clearWidth() {
width_ = 0F;
}
public static final int HEIGHT_FIELD_NUMBER = 4;
private float height_;
/**
* float height = 4;
* @return The height.
*/
@java.lang.Override
public float getHeight() {
return height_;
}
/**
* float height = 4;
* @param value The height to set.
*/
private void setHeight(float value) {
height_ = value;
}
/**
* float height = 4;
*/
private void clearHeight() {
height_ = 0F;
}
public static final int OBJECT_CLASS_FIELD_NUMBER = 5;
private int objectClass_;
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return The enum numeric value on the wire for objectClass.
*/
@java.lang.Override
public int getObjectClassValue() {
return objectClass_;
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return The objectClass.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass getObjectClass() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass.forNumber(objectClass_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass.UNRECOGNIZED : result;
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @param value The enum numeric value on the wire for objectClass to set.
*/
private void setObjectClassValue(int value) {
objectClass_ = value;
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @param value The objectClass to set.
*/
private void setObjectClass(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass value) {
objectClass_ = value.getNumber();
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
*/
private void clearObjectClass() {
objectClass_ = 0;
}
public static final int CONFIDENCE_FIELD_NUMBER = 6;
private float confidence_;
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
* @return The confidence.
*/
@java.lang.Override
public float getConfidence() {
return confidence_;
}
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
* @param value The confidence to set.
*/
private void setConfidence(float value) {
confidence_ = value;
}
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
*/
private void clearConfidence() {
confidence_ = 0F;
}
public static final int UID_FIELD_NUMBER = 7;
private int uid_;
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
* @return The uid.
*/
@java.lang.Override
public int getUid() {
return uid_;
}
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
* @param value The uid to set.
*/
private void setUid(int value) {
uid_ = value;
}
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
*/
private void clearUid() {
uid_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Bounding box for tracking and proposal
*
*
* Protobuf type {@code vmeta.BoundingBox}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.BoundingBox)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBoxOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return instance.getX();
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return instance.getY();
}
/**
* float y = 2;
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* float y = 2;
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
* @return The width.
*/
@java.lang.Override
public float getWidth() {
return instance.getWidth();
}
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
* @param value The width to set.
* @return This builder for chaining.
*/
public Builder setWidth(float value) {
copyOnWrite();
instance.setWidth(value);
return this;
}
/**
*
* Dimensions [0; 1] relative to picture
*
*
* float width = 3;
* @return This builder for chaining.
*/
public Builder clearWidth() {
copyOnWrite();
instance.clearWidth();
return this;
}
/**
* float height = 4;
* @return The height.
*/
@java.lang.Override
public float getHeight() {
return instance.getHeight();
}
/**
* float height = 4;
* @param value The height to set.
* @return This builder for chaining.
*/
public Builder setHeight(float value) {
copyOnWrite();
instance.setHeight(value);
return this;
}
/**
* float height = 4;
* @return This builder for chaining.
*/
public Builder clearHeight() {
copyOnWrite();
instance.clearHeight();
return this;
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return The enum numeric value on the wire for objectClass.
*/
@java.lang.Override
public int getObjectClassValue() {
return instance.getObjectClassValue();
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @param value The objectClass to set.
* @return This builder for chaining.
*/
public Builder setObjectClassValue(int value) {
copyOnWrite();
instance.setObjectClassValue(value);
return this;
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return The objectClass.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass getObjectClass() {
return instance.getObjectClass();
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @param value The enum numeric value on the wire for objectClass to set.
* @return This builder for chaining.
*/
public Builder setObjectClass(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingClass value) {
copyOnWrite();
instance.setObjectClass(value);
return this;
}
/**
*
* Type of tracked object
*
*
* .vmeta.TrackingClass object_class = 5;
* @return This builder for chaining.
*/
public Builder clearObjectClass() {
copyOnWrite();
instance.clearObjectClass();
return this;
}
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
* @return The confidence.
*/
@java.lang.Override
public float getConfidence() {
return instance.getConfidence();
}
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
* @param value The confidence to set.
* @return This builder for chaining.
*/
public Builder setConfidence(float value) {
copyOnWrite();
instance.setConfidence(value);
return this;
}
/**
*
* Tracking confidence [0; 1]
*
*
* float confidence = 6;
* @return This builder for chaining.
*/
public Builder clearConfidence() {
copyOnWrite();
instance.clearConfidence();
return this;
}
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
* @return The uid.
*/
@java.lang.Override
public int getUid() {
return instance.getUid();
}
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
* @param value The uid to set.
* @return This builder for chaining.
*/
public Builder setUid(int value) {
copyOnWrite();
instance.setUid(value);
return this;
}
/**
*
* Box unique identifier (UID). Multiple BoundingBox messages sharing
* the same UID refers to the same bounding box
*
*
* uint32 uid = 7;
* @return This builder for chaining.
*/
public Builder clearUid() {
copyOnWrite();
instance.clearUid();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.BoundingBox)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"x_",
"y_",
"width_",
"height_",
"objectClass_",
"confidence_",
"uid_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"\u0003\u0001\u0004\u0001\u0005\f\u0006\u0001\u0007\u000b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.BoundingBox)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox DEFAULT_INSTANCE;
static {
BoundingBox defaultInstance = new BoundingBox();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BoundingBox.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ThermalSpotOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.ThermalSpot)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
float getX();
/**
* float y = 2;
* @return The y.
*/
float getY();
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
* @return The temp.
*/
float getTemp();
}
/**
*
* Thermal spot for thermal metadata
*
*
* Protobuf type {@code vmeta.ThermalSpot}
*/
public static final class ThermalSpot extends
com.google.protobuf.GeneratedMessageLite<
ThermalSpot, ThermalSpot.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.ThermalSpot)
ThermalSpotOrBuilder {
private ThermalSpot() {
}
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @param value The x to set.
*/
private void setX(float value) {
x_ = value;
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
*/
private void clearX() {
x_ = 0F;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* float y = 2;
* @param value The y to set.
*/
private void setY(float value) {
y_ = value;
}
/**
* float y = 2;
*/
private void clearY() {
y_ = 0F;
}
public static final int TEMP_FIELD_NUMBER = 3;
private float temp_;
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
* @return The temp.
*/
@java.lang.Override
public float getTemp() {
return temp_;
}
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
* @param value The temp to set.
*/
private void setTemp(float value) {
temp_ = value;
}
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
*/
private void clearTemp() {
temp_ = 0F;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Thermal spot for thermal metadata
*
*
* Protobuf type {@code vmeta.ThermalSpot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.ThermalSpot)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpotOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return instance.getX();
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
*
* Position [0; 1] in picture
*
*
* float x = 1;
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return instance.getY();
}
/**
* float y = 2;
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* float y = 2;
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
* @return The temp.
*/
@java.lang.Override
public float getTemp() {
return instance.getTemp();
}
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
* @param value The temp to set.
* @return This builder for chaining.
*/
public Builder setTemp(float value) {
copyOnWrite();
instance.setTemp(value);
return this;
}
/**
*
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
*
*
* float temp = 3;
* @return This builder for chaining.
*/
public Builder clearTemp() {
copyOnWrite();
instance.clearTemp();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.ThermalSpot)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"x_",
"y_",
"temp_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"\u0003\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.ThermalSpot)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot DEFAULT_INSTANCE;
static {
ThermalSpot defaultInstance = new ThermalSpot();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ThermalSpot.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface DroneMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.DroneMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
* @return Whether the quat field is set.
*/
boolean hasQuat();
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
* @return The quat.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getQuat();
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
* @return Whether the location field is set.
*/
boolean hasLocation();
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
* @return The location.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation();
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
* @return The groundDistance.
*/
double getGroundDistance();
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
* @return Whether the position field is set.
*/
boolean hasPosition();
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
* @return The position.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getPosition();
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
* @return Whether the localPosition field is set.
*/
boolean hasLocalPosition();
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
* @return The localPosition.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getLocalPosition();
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
* @return Whether the speed field is set.
*/
boolean hasSpeed();
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
* @return The speed.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getSpeed();
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
* @return The batteryPercentage.
*/
int getBatteryPercentage();
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return The enum numeric value on the wire for flyingState.
*/
int getFlyingStateValue();
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return The flyingState.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState getFlyingState();
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
* @return The animationInProgress.
*/
boolean getAnimationInProgress();
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return The enum numeric value on the wire for pilotingMode.
*/
int getPilotingModeValue();
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return The pilotingMode.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode getPilotingMode();
}
/**
* Protobuf type {@code vmeta.DroneMetadata}
*/
public static final class DroneMetadata extends
com.google.protobuf.GeneratedMessageLite<
DroneMetadata, DroneMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.DroneMetadata)
DroneMetadataOrBuilder {
private DroneMetadata() {
}
private int bitField0_;
public static final int QUAT_FIELD_NUMBER = 1;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion quat_;
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
@java.lang.Override
public boolean hasQuat() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getQuat() {
return quat_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.getDefaultInstance() : quat_;
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
private void setQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
value.getClass();
quat_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
value.getClass();
if (quat_ != null &&
quat_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.getDefaultInstance()) {
quat_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.newBuilder(quat_).mergeFrom(value).buildPartial();
} else {
quat_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
private void clearQuat() { quat_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int LOCATION_FIELD_NUMBER = 2;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location location_;
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
@java.lang.Override
public boolean hasLocation() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation() {
return location_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance() : location_;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
private void setLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
location_ = value;
bitField0_ |= 0x00000002;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
if (location_ != null &&
location_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance()) {
location_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
private void clearLocation() { location_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int GROUND_DISTANCE_FIELD_NUMBER = 3;
private double groundDistance_;
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
* @return The groundDistance.
*/
@java.lang.Override
public double getGroundDistance() {
return groundDistance_;
}
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
* @param value The groundDistance to set.
*/
private void setGroundDistance(double value) {
groundDistance_ = value;
}
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
*/
private void clearGroundDistance() {
groundDistance_ = 0D;
}
public static final int POSITION_FIELD_NUMBER = 9;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED position_;
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
@java.lang.Override
public boolean hasPosition() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getPosition() {
return position_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.getDefaultInstance() : position_;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
private void setPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
value.getClass();
position_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
value.getClass();
if (position_ != null &&
position_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.getDefaultInstance()) {
position_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.newBuilder(position_).mergeFrom(value).buildPartial();
} else {
position_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
private void clearPosition() { position_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int LOCAL_POSITION_FIELD_NUMBER = 10;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 localPosition_;
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
@java.lang.Override
public boolean hasLocalPosition() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getLocalPosition() {
return localPosition_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.getDefaultInstance() : localPosition_;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
private void setLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
value.getClass();
localPosition_ = value;
bitField0_ |= 0x00000008;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
value.getClass();
if (localPosition_ != null &&
localPosition_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.getDefaultInstance()) {
localPosition_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.newBuilder(localPosition_).mergeFrom(value).buildPartial();
} else {
localPosition_ = value;
}
bitField0_ |= 0x00000008;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
private void clearLocalPosition() { localPosition_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int SPEED_FIELD_NUMBER = 4;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED speed_;
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
@java.lang.Override
public boolean hasSpeed() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getSpeed() {
return speed_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.getDefaultInstance() : speed_;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
private void setSpeed(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
value.getClass();
speed_ = value;
bitField0_ |= 0x00000010;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSpeed(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
value.getClass();
if (speed_ != null &&
speed_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.getDefaultInstance()) {
speed_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.newBuilder(speed_).mergeFrom(value).buildPartial();
} else {
speed_ = value;
}
bitField0_ |= 0x00000010;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
private void clearSpeed() { speed_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static final int BATTERY_PERCENTAGE_FIELD_NUMBER = 5;
private int batteryPercentage_;
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
* @return The batteryPercentage.
*/
@java.lang.Override
public int getBatteryPercentage() {
return batteryPercentage_;
}
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
* @param value The batteryPercentage to set.
*/
private void setBatteryPercentage(int value) {
batteryPercentage_ = value;
}
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
*/
private void clearBatteryPercentage() {
batteryPercentage_ = 0;
}
public static final int FLYING_STATE_FIELD_NUMBER = 7;
private int flyingState_;
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return The enum numeric value on the wire for flyingState.
*/
@java.lang.Override
public int getFlyingStateValue() {
return flyingState_;
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return The flyingState.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState getFlyingState() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState.forNumber(flyingState_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState.UNRECOGNIZED : result;
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @param value The enum numeric value on the wire for flyingState to set.
*/
private void setFlyingStateValue(int value) {
flyingState_ = value;
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @param value The flyingState to set.
*/
private void setFlyingState(com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState value) {
flyingState_ = value.getNumber();
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
*/
private void clearFlyingState() {
flyingState_ = 0;
}
public static final int ANIMATION_IN_PROGRESS_FIELD_NUMBER = 11;
private boolean animationInProgress_;
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
* @return The animationInProgress.
*/
@java.lang.Override
public boolean getAnimationInProgress() {
return animationInProgress_;
}
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
* @param value The animationInProgress to set.
*/
private void setAnimationInProgress(boolean value) {
animationInProgress_ = value;
}
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
*/
private void clearAnimationInProgress() {
animationInProgress_ = false;
}
public static final int PILOTING_MODE_FIELD_NUMBER = 12;
private int pilotingMode_;
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return The enum numeric value on the wire for pilotingMode.
*/
@java.lang.Override
public int getPilotingModeValue() {
return pilotingMode_;
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return The pilotingMode.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode getPilotingMode() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode.forNumber(pilotingMode_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode.UNRECOGNIZED : result;
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @param value The enum numeric value on the wire for pilotingMode to set.
*/
private void setPilotingModeValue(int value) {
pilotingMode_ = value;
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @param value The pilotingMode to set.
*/
private void setPilotingMode(com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode value) {
pilotingMode_ = value.getNumber();
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
*/
private void clearPilotingMode() {
pilotingMode_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.DroneMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.DroneMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
@java.lang.Override
public boolean hasQuat() {
return instance.hasQuat();
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getQuat() {
return instance.getQuat();
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
public Builder setQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
copyOnWrite();
instance.setQuat(value);
return this;
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
public Builder setQuat(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.Builder builderForValue) {
copyOnWrite();
instance.setQuat(builderForValue.build());
return this;
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
public Builder mergeQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
copyOnWrite();
instance.mergeQuat(value);
return this;
}
/**
*
* Drone quaternion
*
*
* .vmeta.Quaternion quat = 1;
*/
public Builder clearQuat() { copyOnWrite();
instance.clearQuat();
return this;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
@java.lang.Override
public boolean hasLocation() {
return instance.hasLocation();
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation() {
return instance.getLocation();
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
public Builder setLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.setLocation(value);
return this;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
public Builder setLocation(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.Builder builderForValue) {
copyOnWrite();
instance.setLocation(builderForValue.build());
return this;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
public Builder mergeLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.mergeLocation(value);
return this;
}
/**
*
* Drone location
*
*
* .vmeta.Location location = 2;
*/
public Builder clearLocation() { copyOnWrite();
instance.clearLocation();
return this;
}
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
* @return The groundDistance.
*/
@java.lang.Override
public double getGroundDistance() {
return instance.getGroundDistance();
}
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
* @param value The groundDistance to set.
* @return This builder for chaining.
*/
public Builder setGroundDistance(double value) {
copyOnWrite();
instance.setGroundDistance(value);
return this;
}
/**
*
* Best ground distance estimation (m)
*
*
* double ground_distance = 3;
* @return This builder for chaining.
*/
public Builder clearGroundDistance() {
copyOnWrite();
instance.clearGroundDistance();
return this;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
@java.lang.Override
public boolean hasPosition() {
return instance.hasPosition();
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getPosition() {
return instance.getPosition();
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
public Builder setPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
copyOnWrite();
instance.setPosition(value);
return this;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
public Builder setPosition(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.Builder builderForValue) {
copyOnWrite();
instance.setPosition(builderForValue.build());
return this;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
public Builder mergePosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
copyOnWrite();
instance.mergePosition(value);
return this;
}
/**
*
* Estimated position of the drone in NED frame (m).
* The position is initialized at first take off. When this position may
* have drifted from the true position (for example when GPS signal is
* not available), this position jumps on the first absolute position
* measurement available.
*
*
* .vmeta.NED position = 9;
*/
public Builder clearPosition() { copyOnWrite();
instance.clearPosition();
return this;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
@java.lang.Override
public boolean hasLocalPosition() {
return instance.hasLocalPosition();
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getLocalPosition() {
return instance.getLocalPosition();
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
public Builder setLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
copyOnWrite();
instance.setLocalPosition(value);
return this;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
public Builder setLocalPosition(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.Builder builderForValue) {
copyOnWrite();
instance.setLocalPosition(builderForValue.build());
return this;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
public Builder mergeLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
copyOnWrite();
instance.mergeLocalPosition(value);
return this;
}
/**
*
* Estimated position of the drone in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
*
*
* .vmeta.Vector3 local_position = 10;
*/
public Builder clearLocalPosition() { copyOnWrite();
instance.clearLocalPosition();
return this;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
@java.lang.Override
public boolean hasSpeed() {
return instance.hasSpeed();
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED getSpeed() {
return instance.getSpeed();
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
public Builder setSpeed(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
copyOnWrite();
instance.setSpeed(value);
return this;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
public Builder setSpeed(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.Builder builderForValue) {
copyOnWrite();
instance.setSpeed(builderForValue.build());
return this;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
public Builder mergeSpeed(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED value) {
copyOnWrite();
instance.mergeSpeed(value);
return this;
}
/**
*
* Speed vector in NED (North-East-Down) (m/s)
*
*
* .vmeta.NED speed = 4;
*/
public Builder clearSpeed() { copyOnWrite();
instance.clearSpeed();
return this;
}
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
* @return The batteryPercentage.
*/
@java.lang.Override
public int getBatteryPercentage() {
return instance.getBatteryPercentage();
}
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
* @param value The batteryPercentage to set.
* @return This builder for chaining.
*/
public Builder setBatteryPercentage(int value) {
copyOnWrite();
instance.setBatteryPercentage(value);
return this;
}
/**
*
* Battery charge percentage
*
*
* sint32 battery_percentage = 5;
* @return This builder for chaining.
*/
public Builder clearBatteryPercentage() {
copyOnWrite();
instance.clearBatteryPercentage();
return this;
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return The enum numeric value on the wire for flyingState.
*/
@java.lang.Override
public int getFlyingStateValue() {
return instance.getFlyingStateValue();
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @param value The flyingState to set.
* @return This builder for chaining.
*/
public Builder setFlyingStateValue(int value) {
copyOnWrite();
instance.setFlyingStateValue(value);
return this;
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return The flyingState.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState getFlyingState() {
return instance.getFlyingState();
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @param value The enum numeric value on the wire for flyingState to set.
* @return This builder for chaining.
*/
public Builder setFlyingState(com.parrot.drone.groundsdk.protobuf.VideoMetadata.FlyingState value) {
copyOnWrite();
instance.setFlyingState(value);
return this;
}
/**
*
* Flying state
*
*
* .vmeta.FlyingState flying_state = 7;
* @return This builder for chaining.
*/
public Builder clearFlyingState() {
copyOnWrite();
instance.clearFlyingState();
return this;
}
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
* @return The animationInProgress.
*/
@java.lang.Override
public boolean getAnimationInProgress() {
return instance.getAnimationInProgress();
}
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
* @param value The animationInProgress to set.
* @return This builder for chaining.
*/
public Builder setAnimationInProgress(boolean value) {
copyOnWrite();
instance.setAnimationInProgress(value);
return this;
}
/**
*
* Animation in progreess
*
*
* bool animation_in_progress = 11;
* @return This builder for chaining.
*/
public Builder clearAnimationInProgress() {
copyOnWrite();
instance.clearAnimationInProgress();
return this;
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return The enum numeric value on the wire for pilotingMode.
*/
@java.lang.Override
public int getPilotingModeValue() {
return instance.getPilotingModeValue();
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @param value The pilotingMode to set.
* @return This builder for chaining.
*/
public Builder setPilotingModeValue(int value) {
copyOnWrite();
instance.setPilotingModeValue(value);
return this;
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return The pilotingMode.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode getPilotingMode() {
return instance.getPilotingMode();
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @param value The enum numeric value on the wire for pilotingMode to set.
* @return This builder for chaining.
*/
public Builder setPilotingMode(com.parrot.drone.groundsdk.protobuf.VideoMetadata.PilotingMode value) {
copyOnWrite();
instance.setPilotingMode(value);
return this;
}
/**
*
* Piloting mode
*
*
* .vmeta.PilotingMode piloting_mode = 12;
* @return This builder for chaining.
*/
public Builder clearPilotingMode() {
copyOnWrite();
instance.clearPilotingMode();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.DroneMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"quat_",
"location_",
"groundDistance_",
"speed_",
"batteryPercentage_",
"flyingState_",
"position_",
"localPosition_",
"animationInProgress_",
"pilotingMode_",
};
java.lang.String info =
"\u0000\n\u0000\u0001\u0001\f\n\u0000\u0000\u0000\u0001\u1009\u0000\u0002\u1009\u0001" +
"\u0003\u0000\u0004\u1009\u0004\u0005\u000f\u0007\f\t\u1009\u0002\n\u1009\u0003\u000b" +
"\u0007\f\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.DroneMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata DEFAULT_INSTANCE;
static {
DroneMetadata defaultInstance = new DroneMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
DroneMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface CameraMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.CameraMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
* @return The timestamp.
*/
long getTimestamp();
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
* @return The utcTimestamp.
*/
long getUtcTimestamp();
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
* @return The utcTimestampAccuracy.
*/
int getUtcTimestampAccuracy();
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
* @return Whether the baseQuat field is set.
*/
boolean hasBaseQuat();
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
* @return The baseQuat.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getBaseQuat();
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
* @return Whether the quat field is set.
*/
boolean hasQuat();
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
* @return The quat.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getQuat();
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
* @return Whether the localPosition field is set.
*/
boolean hasLocalPosition();
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
* @return The localPosition.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getLocalPosition();
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
* @return Whether the location field is set.
*/
boolean hasLocation();
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
* @return The location.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation();
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
* @return Whether the principalPoint field is set.
*/
boolean hasPrincipalPoint();
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
* @return The principalPoint.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 getPrincipalPoint();
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
* @return The exposureTime.
*/
float getExposureTime();
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
* @return The isoGain.
*/
int getIsoGain();
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
* @return The awbRGain.
*/
float getAwbRGain();
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
* @return The awbBGain.
*/
float getAwbBGain();
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
* @return The hfov.
*/
float getHfov();
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
* @return The vfov.
*/
float getVfov();
}
/**
* Protobuf type {@code vmeta.CameraMetadata}
*/
public static final class CameraMetadata extends
com.google.protobuf.GeneratedMessageLite<
CameraMetadata, CameraMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.CameraMetadata)
CameraMetadataOrBuilder {
private CameraMetadata() {
}
private int bitField0_;
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private long timestamp_;
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return timestamp_;
}
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
* @param value The timestamp to set.
*/
private void setTimestamp(long value) {
timestamp_ = value;
}
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
*/
private void clearTimestamp() {
timestamp_ = 0L;
}
public static final int UTC_TIMESTAMP_FIELD_NUMBER = 10;
private long utcTimestamp_;
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
* @return The utcTimestamp.
*/
@java.lang.Override
public long getUtcTimestamp() {
return utcTimestamp_;
}
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
* @param value The utcTimestamp to set.
*/
private void setUtcTimestamp(long value) {
utcTimestamp_ = value;
}
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
*/
private void clearUtcTimestamp() {
utcTimestamp_ = 0L;
}
public static final int UTC_TIMESTAMP_ACCURACY_FIELD_NUMBER = 11;
private int utcTimestampAccuracy_;
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
* @return The utcTimestampAccuracy.
*/
@java.lang.Override
public int getUtcTimestampAccuracy() {
return utcTimestampAccuracy_;
}
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
* @param value The utcTimestampAccuracy to set.
*/
private void setUtcTimestampAccuracy(int value) {
utcTimestampAccuracy_ = value;
}
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
*/
private void clearUtcTimestampAccuracy() {
utcTimestampAccuracy_ = 0;
}
public static final int BASE_QUAT_FIELD_NUMBER = 2;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion baseQuat_;
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
@java.lang.Override
public boolean hasBaseQuat() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getBaseQuat() {
return baseQuat_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.getDefaultInstance() : baseQuat_;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
private void setBaseQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
value.getClass();
baseQuat_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeBaseQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
value.getClass();
if (baseQuat_ != null &&
baseQuat_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.getDefaultInstance()) {
baseQuat_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.newBuilder(baseQuat_).mergeFrom(value).buildPartial();
} else {
baseQuat_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
private void clearBaseQuat() { baseQuat_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int QUAT_FIELD_NUMBER = 3;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion quat_;
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
@java.lang.Override
public boolean hasQuat() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getQuat() {
return quat_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.getDefaultInstance() : quat_;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
private void setQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
value.getClass();
quat_ = value;
bitField0_ |= 0x00000002;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
value.getClass();
if (quat_ != null &&
quat_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.getDefaultInstance()) {
quat_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.newBuilder(quat_).mergeFrom(value).buildPartial();
} else {
quat_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
private void clearQuat() { quat_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int LOCAL_POSITION_FIELD_NUMBER = 12;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 localPosition_;
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
@java.lang.Override
public boolean hasLocalPosition() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getLocalPosition() {
return localPosition_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.getDefaultInstance() : localPosition_;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
private void setLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
value.getClass();
localPosition_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
value.getClass();
if (localPosition_ != null &&
localPosition_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.getDefaultInstance()) {
localPosition_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.newBuilder(localPosition_).mergeFrom(value).buildPartial();
} else {
localPosition_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
private void clearLocalPosition() { localPosition_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int LOCATION_FIELD_NUMBER = 13;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location location_;
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
@java.lang.Override
public boolean hasLocation() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation() {
return location_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance() : location_;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
private void setLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
location_ = value;
bitField0_ |= 0x00000008;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
if (location_ != null &&
location_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance()) {
location_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
bitField0_ |= 0x00000008;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
private void clearLocation() { location_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int PRINCIPAL_POINT_FIELD_NUMBER = 14;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 principalPoint_;
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
@java.lang.Override
public boolean hasPrincipalPoint() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 getPrincipalPoint() {
return principalPoint_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2.getDefaultInstance() : principalPoint_;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
private void setPrincipalPoint(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 value) {
value.getClass();
principalPoint_ = value;
bitField0_ |= 0x00000010;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePrincipalPoint(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 value) {
value.getClass();
if (principalPoint_ != null &&
principalPoint_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2.getDefaultInstance()) {
principalPoint_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2.newBuilder(principalPoint_).mergeFrom(value).buildPartial();
} else {
principalPoint_ = value;
}
bitField0_ |= 0x00000010;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
private void clearPrincipalPoint() { principalPoint_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static final int EXPOSURE_TIME_FIELD_NUMBER = 4;
private float exposureTime_;
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
* @return The exposureTime.
*/
@java.lang.Override
public float getExposureTime() {
return exposureTime_;
}
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
* @param value The exposureTime to set.
*/
private void setExposureTime(float value) {
exposureTime_ = value;
}
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
*/
private void clearExposureTime() {
exposureTime_ = 0F;
}
public static final int ISO_GAIN_FIELD_NUMBER = 5;
private int isoGain_;
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
* @return The isoGain.
*/
@java.lang.Override
public int getIsoGain() {
return isoGain_;
}
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
* @param value The isoGain to set.
*/
private void setIsoGain(int value) {
isoGain_ = value;
}
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
*/
private void clearIsoGain() {
isoGain_ = 0;
}
public static final int AWB_R_GAIN_FIELD_NUMBER = 6;
private float awbRGain_;
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
* @return The awbRGain.
*/
@java.lang.Override
public float getAwbRGain() {
return awbRGain_;
}
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
* @param value The awbRGain to set.
*/
private void setAwbRGain(float value) {
awbRGain_ = value;
}
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
*/
private void clearAwbRGain() {
awbRGain_ = 0F;
}
public static final int AWB_B_GAIN_FIELD_NUMBER = 7;
private float awbBGain_;
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
* @return The awbBGain.
*/
@java.lang.Override
public float getAwbBGain() {
return awbBGain_;
}
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
* @param value The awbBGain to set.
*/
private void setAwbBGain(float value) {
awbBGain_ = value;
}
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
*/
private void clearAwbBGain() {
awbBGain_ = 0F;
}
public static final int HFOV_FIELD_NUMBER = 8;
private float hfov_;
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
* @return The hfov.
*/
@java.lang.Override
public float getHfov() {
return hfov_;
}
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
* @param value The hfov to set.
*/
private void setHfov(float value) {
hfov_ = value;
}
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
*/
private void clearHfov() {
hfov_ = 0F;
}
public static final int VFOV_FIELD_NUMBER = 9;
private float vfov_;
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
* @return The vfov.
*/
@java.lang.Override
public float getVfov() {
return vfov_;
}
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
* @param value The vfov to set.
*/
private void setVfov(float value) {
vfov_ = value;
}
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
*/
private void clearVfov() {
vfov_ = 0F;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.CameraMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.CameraMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return instance.getTimestamp();
}
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
copyOnWrite();
instance.setTimestamp(value);
return this;
}
/**
*
* Frame capture timestamp (us, monotonic)
*
*
* uint64 timestamp = 1;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
copyOnWrite();
instance.clearTimestamp();
return this;
}
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
* @return The utcTimestamp.
*/
@java.lang.Override
public long getUtcTimestamp() {
return instance.getUtcTimestamp();
}
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
* @param value The utcTimestamp to set.
* @return This builder for chaining.
*/
public Builder setUtcTimestamp(long value) {
copyOnWrite();
instance.setUtcTimestamp(value);
return this;
}
/**
*
* Frame capture UTC timestamp (us since the Epoch)
*
*
* uint64 utc_timestamp = 10;
* @return This builder for chaining.
*/
public Builder clearUtcTimestamp() {
copyOnWrite();
instance.clearUtcTimestamp();
return this;
}
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
* @return The utcTimestampAccuracy.
*/
@java.lang.Override
public int getUtcTimestampAccuracy() {
return instance.getUtcTimestampAccuracy();
}
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
* @param value The utcTimestampAccuracy to set.
* @return This builder for chaining.
*/
public Builder setUtcTimestampAccuracy(int value) {
copyOnWrite();
instance.setUtcTimestampAccuracy(value);
return this;
}
/**
*
* Frame capture UTC timestamp accuracy (us); zero means unknown,
* utc_timestamp must then be considered invalid
*
*
* uint32 utc_timestamp_accuracy = 11;
* @return This builder for chaining.
*/
public Builder clearUtcTimestampAccuracy() {
copyOnWrite();
instance.clearUtcTimestampAccuracy();
return this;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
@java.lang.Override
public boolean hasBaseQuat() {
return instance.hasBaseQuat();
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getBaseQuat() {
return instance.getBaseQuat();
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
public Builder setBaseQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
copyOnWrite();
instance.setBaseQuat(value);
return this;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
public Builder setBaseQuat(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.Builder builderForValue) {
copyOnWrite();
instance.setBaseQuat(builderForValue.build());
return this;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
public Builder mergeBaseQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
copyOnWrite();
instance.mergeBaseQuat(value);
return this;
}
/**
*
* Frame base view quaternion (without user pan/tilt)
*
*
* .vmeta.Quaternion base_quat = 2;
*/
public Builder clearBaseQuat() { copyOnWrite();
instance.clearBaseQuat();
return this;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
@java.lang.Override
public boolean hasQuat() {
return instance.hasQuat();
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion getQuat() {
return instance.getQuat();
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
public Builder setQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
copyOnWrite();
instance.setQuat(value);
return this;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
public Builder setQuat(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.Builder builderForValue) {
copyOnWrite();
instance.setQuat(builderForValue.build());
return this;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
public Builder mergeQuat(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion value) {
copyOnWrite();
instance.mergeQuat(value);
return this;
}
/**
*
* Frame view quaternion
*
*
* .vmeta.Quaternion quat = 3;
*/
public Builder clearQuat() { copyOnWrite();
instance.clearQuat();
return this;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
@java.lang.Override
public boolean hasLocalPosition() {
return instance.hasLocalPosition();
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 getLocalPosition() {
return instance.getLocalPosition();
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
public Builder setLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
copyOnWrite();
instance.setLocalPosition(value);
return this;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
public Builder setLocalPosition(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3.Builder builderForValue) {
copyOnWrite();
instance.setLocalPosition(builderForValue.build());
return this;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
public Builder mergeLocalPosition(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector3 value) {
copyOnWrite();
instance.mergeLocalPosition(value);
return this;
}
/**
*
* Estimated position of the camera in the local frame (m).
* The local frame is not NED: X and Y axis are arbitrary, but the Z
* axis is guaranteed to point down.
* The position is initialized at first take off. This position is
* guaranteed not to jump, even when a new absolute position (usually
* GPS) is available. Instead, the origin of the local frame jumps in
* order to ensure the continuity of the local position.
* This position is not available on all cameras. If not available,
* the Drone.local_position metadata should be used instead.
*
*
* .vmeta.Vector3 local_position = 12;
*/
public Builder clearLocalPosition() { copyOnWrite();
instance.clearLocalPosition();
return this;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
@java.lang.Override
public boolean hasLocation() {
return instance.hasLocation();
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation() {
return instance.getLocation();
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
public Builder setLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.setLocation(value);
return this;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
public Builder setLocation(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.Builder builderForValue) {
copyOnWrite();
instance.setLocation(builderForValue.build());
return this;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
public Builder mergeLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.mergeLocation(value);
return this;
}
/**
*
* Camera location
*
*
* .vmeta.Location location = 13;
*/
public Builder clearLocation() { copyOnWrite();
instance.clearLocation();
return this;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
@java.lang.Override
public boolean hasPrincipalPoint() {
return instance.hasPrincipalPoint();
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 getPrincipalPoint() {
return instance.getPrincipalPoint();
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
public Builder setPrincipalPoint(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 value) {
copyOnWrite();
instance.setPrincipalPoint(value);
return this;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
public Builder setPrincipalPoint(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2.Builder builderForValue) {
copyOnWrite();
instance.setPrincipalPoint(builderForValue.build());
return this;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
public Builder mergePrincipalPoint(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Vector2 value) {
copyOnWrite();
instance.mergePrincipalPoint(value);
return this;
}
/**
*
* Camera principal point normalized coordinates in picture [0; 1]
*
*
* .vmeta.Vector2 principal_point = 14;
*/
public Builder clearPrincipalPoint() { copyOnWrite();
instance.clearPrincipalPoint();
return this;
}
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
* @return The exposureTime.
*/
@java.lang.Override
public float getExposureTime() {
return instance.getExposureTime();
}
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
* @param value The exposureTime to set.
* @return This builder for chaining.
*/
public Builder setExposureTime(float value) {
copyOnWrite();
instance.setExposureTime(value);
return this;
}
/**
*
* Frame exposure time (ms)
*
*
* float exposure_time = 4;
* @return This builder for chaining.
*/
public Builder clearExposureTime() {
copyOnWrite();
instance.clearExposureTime();
return this;
}
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
* @return The isoGain.
*/
@java.lang.Override
public int getIsoGain() {
return instance.getIsoGain();
}
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
* @param value The isoGain to set.
* @return This builder for chaining.
*/
public Builder setIsoGain(int value) {
copyOnWrite();
instance.setIsoGain(value);
return this;
}
/**
*
* Frame ISO gain
*
*
* uint32 iso_gain = 5;
* @return This builder for chaining.
*/
public Builder clearIsoGain() {
copyOnWrite();
instance.clearIsoGain();
return this;
}
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
* @return The awbRGain.
*/
@java.lang.Override
public float getAwbRGain() {
return instance.getAwbRGain();
}
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
* @param value The awbRGain to set.
* @return This builder for chaining.
*/
public Builder setAwbRGain(float value) {
copyOnWrite();
instance.setAwbRGain(value);
return this;
}
/**
*
* Frame AWB red gain
*
*
* float awb_r_gain = 6;
* @return This builder for chaining.
*/
public Builder clearAwbRGain() {
copyOnWrite();
instance.clearAwbRGain();
return this;
}
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
* @return The awbBGain.
*/
@java.lang.Override
public float getAwbBGain() {
return instance.getAwbBGain();
}
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
* @param value The awbBGain to set.
* @return This builder for chaining.
*/
public Builder setAwbBGain(float value) {
copyOnWrite();
instance.setAwbBGain(value);
return this;
}
/**
*
* Frame AWB blue gain
*
*
* float awb_b_gain = 7;
* @return This builder for chaining.
*/
public Builder clearAwbBGain() {
copyOnWrite();
instance.clearAwbBGain();
return this;
}
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
* @return The hfov.
*/
@java.lang.Override
public float getHfov() {
return instance.getHfov();
}
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
* @param value The hfov to set.
* @return This builder for chaining.
*/
public Builder setHfov(float value) {
copyOnWrite();
instance.setHfov(value);
return this;
}
/**
*
* Frame horizontal field of view (rad)
*
*
* float hfov = 8;
* @return This builder for chaining.
*/
public Builder clearHfov() {
copyOnWrite();
instance.clearHfov();
return this;
}
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
* @return The vfov.
*/
@java.lang.Override
public float getVfov() {
return instance.getVfov();
}
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
* @param value The vfov to set.
* @return This builder for chaining.
*/
public Builder setVfov(float value) {
copyOnWrite();
instance.setVfov(value);
return this;
}
/**
*
* Frame vertical field of view (rad)
*
*
* float vfov = 9;
* @return This builder for chaining.
*/
public Builder clearVfov() {
copyOnWrite();
instance.clearVfov();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.CameraMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"timestamp_",
"baseQuat_",
"quat_",
"exposureTime_",
"isoGain_",
"awbRGain_",
"awbBGain_",
"hfov_",
"vfov_",
"utcTimestamp_",
"utcTimestampAccuracy_",
"localPosition_",
"location_",
"principalPoint_",
};
java.lang.String info =
"\u0000\u000e\u0000\u0001\u0001\u000e\u000e\u0000\u0000\u0000\u0001\u0003\u0002\u1009" +
"\u0000\u0003\u1009\u0001\u0004\u0001\u0005\u000b\u0006\u0001\u0007\u0001\b\u0001" +
"\t\u0001\n\u0003\u000b\u000b\f\u1009\u0002\r\u1009\u0003\u000e\u1009\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.CameraMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata DEFAULT_INSTANCE;
static {
CameraMetadata defaultInstance = new CameraMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
CameraMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TrackingProposalMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.TrackingProposalMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
java.util.List
getProposalsList();
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getProposals(int index);
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
int getProposalsCount();
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return The timestamp.
*/
long getTimestamp();
}
/**
* Protobuf type {@code vmeta.TrackingProposalMetadata}
*/
public static final class TrackingProposalMetadata extends
com.google.protobuf.GeneratedMessageLite<
TrackingProposalMetadata, TrackingProposalMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.TrackingProposalMetadata)
TrackingProposalMetadataOrBuilder {
private TrackingProposalMetadata() {
proposals_ = emptyProtobufList();
}
public static final int PROPOSALS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList proposals_;
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
@java.lang.Override
public java.util.List getProposalsList() {
return proposals_;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public java.util.List extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBoxOrBuilder>
getProposalsOrBuilderList() {
return proposals_;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
@java.lang.Override
public int getProposalsCount() {
return proposals_.size();
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getProposals(int index) {
return proposals_.get(index);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBoxOrBuilder getProposalsOrBuilder(
int index) {
return proposals_.get(index);
}
private void ensureProposalsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = proposals_;
if (!tmp.isModifiable()) {
proposals_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
private void setProposals(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
value.getClass();
ensureProposalsIsMutable();
proposals_.set(index, value);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
private void addProposals(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
value.getClass();
ensureProposalsIsMutable();
proposals_.add(value);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
private void addProposals(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
value.getClass();
ensureProposalsIsMutable();
proposals_.add(index, value);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
private void addAllProposals(
java.lang.Iterable extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox> values) {
ensureProposalsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, proposals_);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
private void clearProposals() {
proposals_ = emptyProtobufList();
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
private void removeProposals(int index) {
ensureProposalsIsMutable();
proposals_.remove(index);
}
public static final int TIMESTAMP_FIELD_NUMBER = 2;
private long timestamp_;
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return timestamp_;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @param value The timestamp to set.
*/
private void setTimestamp(long value) {
timestamp_ = value;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
*/
private void clearTimestamp() {
timestamp_ = 0L;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.TrackingProposalMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.TrackingProposalMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
@java.lang.Override
public java.util.List getProposalsList() {
return java.util.Collections.unmodifiableList(
instance.getProposalsList());
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
@java.lang.Override
public int getProposalsCount() {
return instance.getProposalsCount();
}/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getProposals(int index) {
return instance.getProposals(index);
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder setProposals(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
copyOnWrite();
instance.setProposals(index, value);
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder setProposals(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.Builder builderForValue) {
copyOnWrite();
instance.setProposals(index,
builderForValue.build());
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder addProposals(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
copyOnWrite();
instance.addProposals(value);
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder addProposals(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
copyOnWrite();
instance.addProposals(index, value);
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder addProposals(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.Builder builderForValue) {
copyOnWrite();
instance.addProposals(builderForValue.build());
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder addProposals(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.Builder builderForValue) {
copyOnWrite();
instance.addProposals(index,
builderForValue.build());
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder addAllProposals(
java.lang.Iterable extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox> values) {
copyOnWrite();
instance.addAllProposals(values);
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder clearProposals() {
copyOnWrite();
instance.clearProposals();
return this;
}
/**
*
* List of proposed bounding boxes
*
*
* repeated .vmeta.BoundingBox proposals = 1;
*/
public Builder removeProposals(int index) {
copyOnWrite();
instance.removeProposals(index);
return this;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return instance.getTimestamp();
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
copyOnWrite();
instance.setTimestamp(value);
return this;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
copyOnWrite();
instance.clearTimestamp();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.TrackingProposalMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"proposals_",
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.class,
"timestamp_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u0003" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.TrackingProposalMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata DEFAULT_INSTANCE;
static {
TrackingProposalMetadata defaultInstance = new TrackingProposalMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TrackingProposalMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TrackingMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.TrackingMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
* @return Whether the target field is set.
*/
boolean hasTarget();
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
* @return The target.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getTarget();
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return The timestamp.
*/
long getTimestamp();
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
* @return The quality.
*/
int getQuality();
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return The state.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState getState();
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
* @return The cookie.
*/
int getCookie();
}
/**
* Protobuf type {@code vmeta.TrackingMetadata}
*/
public static final class TrackingMetadata extends
com.google.protobuf.GeneratedMessageLite<
TrackingMetadata, TrackingMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.TrackingMetadata)
TrackingMetadataOrBuilder {
private TrackingMetadata() {
}
private int bitField0_;
public static final int TARGET_FIELD_NUMBER = 1;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox target_;
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
@java.lang.Override
public boolean hasTarget() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getTarget() {
return target_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.getDefaultInstance() : target_;
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
private void setTarget(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
value.getClass();
target_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTarget(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
value.getClass();
if (target_ != null &&
target_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.getDefaultInstance()) {
target_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.newBuilder(target_).mergeFrom(value).buildPartial();
} else {
target_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
private void clearTarget() { target_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int TIMESTAMP_FIELD_NUMBER = 2;
private long timestamp_;
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return timestamp_;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @param value The timestamp to set.
*/
private void setTimestamp(long value) {
timestamp_ = value;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
*/
private void clearTimestamp() {
timestamp_ = 0L;
}
public static final int QUALITY_FIELD_NUMBER = 3;
private int quality_;
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return quality_;
}
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
* @param value The quality to set.
*/
private void setQuality(int value) {
quality_ = value;
}
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
*/
private void clearQuality() {
quality_ = 0;
}
public static final int STATE_FIELD_NUMBER = 4;
private int state_;
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
public int getStateValue() {
return state_;
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return The state.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState getState() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState.forNumber(state_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState.UNRECOGNIZED : result;
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @param value The enum numeric value on the wire for state to set.
*/
private void setStateValue(int value) {
state_ = value;
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @param value The state to set.
*/
private void setState(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState value) {
state_ = value.getNumber();
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
*/
private void clearState() {
state_ = 0;
}
public static final int COOKIE_FIELD_NUMBER = 5;
private int cookie_;
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
* @return The cookie.
*/
@java.lang.Override
public int getCookie() {
return cookie_;
}
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
* @param value The cookie to set.
*/
private void setCookie(int value) {
cookie_ = value;
}
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
*/
private void clearCookie() {
cookie_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.TrackingMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.TrackingMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
@java.lang.Override
public boolean hasTarget() {
return instance.hasTarget();
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox getTarget() {
return instance.getTarget();
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
public Builder setTarget(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
copyOnWrite();
instance.setTarget(value);
return this;
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
public Builder setTarget(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox.Builder builderForValue) {
copyOnWrite();
instance.setTarget(builderForValue.build());
return this;
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
public Builder mergeTarget(com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox value) {
copyOnWrite();
instance.mergeTarget(value);
return this;
}
/**
*
* Tracking target
*
*
* .vmeta.BoundingBox target = 1;
*/
public Builder clearTarget() { copyOnWrite();
instance.clearTarget();
return this;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return instance.getTimestamp();
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
copyOnWrite();
instance.setTimestamp(value);
return this;
}
/**
*
* Processed frame capture timestamp (us, monotonic)
* note: may be different from the timestamp in CameraMetadata
*
*
* uint64 timestamp = 2;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
copyOnWrite();
instance.clearTimestamp();
return this;
}
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return instance.getQuality();
}
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
* @param value The quality to set.
* @return This builder for chaining.
*/
public Builder setQuality(int value) {
copyOnWrite();
instance.setQuality(value);
return this;
}
/**
*
* Tracking quality ([0; 255], 0 is worst, 255 is best)
*
*
* uint32 quality = 3;
* @return This builder for chaining.
*/
public Builder clearQuality() {
copyOnWrite();
instance.clearQuality();
return this;
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
public int getStateValue() {
return instance.getStateValue();
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
copyOnWrite();
instance.setStateValue(value);
return this;
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return The state.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState getState() {
return instance.getState();
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @param value The enum numeric value on the wire for state to set.
* @return This builder for chaining.
*/
public Builder setState(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingState value) {
copyOnWrite();
instance.setState(value);
return this;
}
/**
*
* Tracking state
*
*
* .vmeta.TrackingState state = 4;
* @return This builder for chaining.
*/
public Builder clearState() {
copyOnWrite();
instance.clearState();
return this;
}
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
* @return The cookie.
*/
@java.lang.Override
public int getCookie() {
return instance.getCookie();
}
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
* @param value The cookie to set.
* @return This builder for chaining.
*/
public Builder setCookie(int value) {
copyOnWrite();
instance.setCookie(value);
return this;
}
/**
*
* Cookie value passed by the app when the tracking is started
*
*
* uint32 cookie = 5;
* @return This builder for chaining.
*/
public Builder clearCookie() {
copyOnWrite();
instance.clearCookie();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.TrackingMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"target_",
"timestamp_",
"quality_",
"state_",
"cookie_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u0003\u0003\u000b\u0004\f\u0005\u000b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.TrackingMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata DEFAULT_INSTANCE;
static {
TrackingMetadata defaultInstance = new TrackingMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TrackingMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AutomationMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.AutomationMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
* @return Whether the destination field is set.
*/
boolean hasDestination();
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
* @return The destination.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getDestination();
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
* @return Whether the targetLocation field is set.
*/
boolean hasTargetLocation();
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
* @return The targetLocation.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getTargetLocation();
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
* @return The followMe.
*/
boolean getFollowMe();
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
* @return The lookatMe.
*/
boolean getLookatMe();
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
* @return The angleLocked.
*/
boolean getAngleLocked();
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return The enum numeric value on the wire for animation.
*/
int getAnimationValue();
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return The animation.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation getAnimation();
}
/**
* Protobuf type {@code vmeta.AutomationMetadata}
*/
public static final class AutomationMetadata extends
com.google.protobuf.GeneratedMessageLite<
AutomationMetadata, AutomationMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.AutomationMetadata)
AutomationMetadataOrBuilder {
private AutomationMetadata() {
}
private int bitField0_;
public static final int DESTINATION_FIELD_NUMBER = 1;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location destination_;
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
@java.lang.Override
public boolean hasDestination() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getDestination() {
return destination_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance() : destination_;
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
private void setDestination(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
destination_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeDestination(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
if (destination_ != null &&
destination_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance()) {
destination_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.newBuilder(destination_).mergeFrom(value).buildPartial();
} else {
destination_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
private void clearDestination() { destination_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int TARGET_LOCATION_FIELD_NUMBER = 2;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location targetLocation_;
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
@java.lang.Override
public boolean hasTargetLocation() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getTargetLocation() {
return targetLocation_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance() : targetLocation_;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
private void setTargetLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
targetLocation_ = value;
bitField0_ |= 0x00000002;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTargetLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
if (targetLocation_ != null &&
targetLocation_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance()) {
targetLocation_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.newBuilder(targetLocation_).mergeFrom(value).buildPartial();
} else {
targetLocation_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
private void clearTargetLocation() { targetLocation_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int FOLLOW_ME_FIELD_NUMBER = 3;
private boolean followMe_;
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
* @return The followMe.
*/
@java.lang.Override
public boolean getFollowMe() {
return followMe_;
}
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
* @param value The followMe to set.
*/
private void setFollowMe(boolean value) {
followMe_ = value;
}
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
*/
private void clearFollowMe() {
followMe_ = false;
}
public static final int LOOKAT_ME_FIELD_NUMBER = 4;
private boolean lookatMe_;
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
* @return The lookatMe.
*/
@java.lang.Override
public boolean getLookatMe() {
return lookatMe_;
}
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
* @param value The lookatMe to set.
*/
private void setLookatMe(boolean value) {
lookatMe_ = value;
}
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
*/
private void clearLookatMe() {
lookatMe_ = false;
}
public static final int ANGLE_LOCKED_FIELD_NUMBER = 5;
private boolean angleLocked_;
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
* @return The angleLocked.
*/
@java.lang.Override
public boolean getAngleLocked() {
return angleLocked_;
}
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
* @param value The angleLocked to set.
*/
private void setAngleLocked(boolean value) {
angleLocked_ = value;
}
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
*/
private void clearAngleLocked() {
angleLocked_ = false;
}
public static final int ANIMATION_FIELD_NUMBER = 6;
private int animation_;
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return The enum numeric value on the wire for animation.
*/
@java.lang.Override
public int getAnimationValue() {
return animation_;
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return The animation.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation getAnimation() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation.forNumber(animation_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation.UNRECOGNIZED : result;
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @param value The enum numeric value on the wire for animation to set.
*/
private void setAnimationValue(int value) {
animation_ = value;
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @param value The animation to set.
*/
private void setAnimation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation value) {
animation_ = value.getNumber();
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
*/
private void clearAnimation() {
animation_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.AutomationMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.AutomationMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
@java.lang.Override
public boolean hasDestination() {
return instance.hasDestination();
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getDestination() {
return instance.getDestination();
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
public Builder setDestination(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.setDestination(value);
return this;
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
public Builder setDestination(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.Builder builderForValue) {
copyOnWrite();
instance.setDestination(builderForValue.build());
return this;
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
public Builder mergeDestination(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.mergeDestination(value);
return this;
}
/**
*
* Current destination
*
*
* .vmeta.Location destination = 1;
*/
public Builder clearDestination() { copyOnWrite();
instance.clearDestination();
return this;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
@java.lang.Override
public boolean hasTargetLocation() {
return instance.hasTargetLocation();
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getTargetLocation() {
return instance.getTargetLocation();
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
public Builder setTargetLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.setTargetLocation(value);
return this;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
public Builder setTargetLocation(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.Builder builderForValue) {
copyOnWrite();
instance.setTargetLocation(builderForValue.build());
return this;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
public Builder mergeTargetLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.mergeTargetLocation(value);
return this;
}
/**
*
* Tracking target location
*
*
* .vmeta.Location target_location = 2;
*/
public Builder clearTargetLocation() { copyOnWrite();
instance.clearTargetLocation();
return this;
}
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
* @return The followMe.
*/
@java.lang.Override
public boolean getFollowMe() {
return instance.getFollowMe();
}
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
* @param value The followMe to set.
* @return This builder for chaining.
*/
public Builder setFollowMe(boolean value) {
copyOnWrite();
instance.setFollowMe(value);
return this;
}
/**
*
* Follow-me enabled
*
*
* bool follow_me = 3;
* @return This builder for chaining.
*/
public Builder clearFollowMe() {
copyOnWrite();
instance.clearFollowMe();
return this;
}
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
* @return The lookatMe.
*/
@java.lang.Override
public boolean getLookatMe() {
return instance.getLookatMe();
}
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
* @param value The lookatMe to set.
* @return This builder for chaining.
*/
public Builder setLookatMe(boolean value) {
copyOnWrite();
instance.setLookatMe(value);
return this;
}
/**
*
* Look-at-me enabled
*
*
* bool lookat_me = 4;
* @return This builder for chaining.
*/
public Builder clearLookatMe() {
copyOnWrite();
instance.clearLookatMe();
return this;
}
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
* @return The angleLocked.
*/
@java.lang.Override
public boolean getAngleLocked() {
return instance.getAngleLocked();
}
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
* @param value The angleLocked to set.
* @return This builder for chaining.
*/
public Builder setAngleLocked(boolean value) {
copyOnWrite();
instance.setAngleLocked(value);
return this;
}
/**
*
* Angle-locked:
* false: NED (North-East-Down) absolute angle mode
* true: constant angle relative to the target movement
*
*
* bool angle_locked = 5;
* @return This builder for chaining.
*/
public Builder clearAngleLocked() {
copyOnWrite();
instance.clearAngleLocked();
return this;
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return The enum numeric value on the wire for animation.
*/
@java.lang.Override
public int getAnimationValue() {
return instance.getAnimationValue();
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @param value The animation to set.
* @return This builder for chaining.
*/
public Builder setAnimationValue(int value) {
copyOnWrite();
instance.setAnimationValue(value);
return this;
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return The animation.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation getAnimation() {
return instance.getAnimation();
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @param value The enum numeric value on the wire for animation to set.
* @return This builder for chaining.
*/
public Builder setAnimation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Animation value) {
copyOnWrite();
instance.setAnimation(value);
return this;
}
/**
*
* Current animation
*
*
* .vmeta.Animation animation = 6;
* @return This builder for chaining.
*/
public Builder clearAnimation() {
copyOnWrite();
instance.clearAnimation();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.AutomationMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"destination_",
"targetLocation_",
"followMe_",
"lookatMe_",
"angleLocked_",
"animation_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001\u0003\u0007\u0004\u0007\u0005\u0007\u0006\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.AutomationMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata DEFAULT_INSTANCE;
static {
AutomationMetadata defaultInstance = new AutomationMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AutomationMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface WifiLinkMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.WifiLinkMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
* @return The goodput.
*/
int getGoodput();
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
* @return The quality.
*/
int getQuality();
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
* @return The rssi.
*/
int getRssi();
}
/**
* Protobuf type {@code vmeta.WifiLinkMetadata}
*/
public static final class WifiLinkMetadata extends
com.google.protobuf.GeneratedMessageLite<
WifiLinkMetadata, WifiLinkMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.WifiLinkMetadata)
WifiLinkMetadataOrBuilder {
private WifiLinkMetadata() {
}
public static final int GOODPUT_FIELD_NUMBER = 1;
private int goodput_;
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
* @return The goodput.
*/
@java.lang.Override
public int getGoodput() {
return goodput_;
}
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
* @param value The goodput to set.
*/
private void setGoodput(int value) {
goodput_ = value;
}
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
*/
private void clearGoodput() {
goodput_ = 0;
}
public static final int QUALITY_FIELD_NUMBER = 2;
private int quality_;
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return quality_;
}
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
* @param value The quality to set.
*/
private void setQuality(int value) {
quality_ = value;
}
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
*/
private void clearQuality() {
quality_ = 0;
}
public static final int RSSI_FIELD_NUMBER = 3;
private int rssi_;
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
* @return The rssi.
*/
@java.lang.Override
public int getRssi() {
return rssi_;
}
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
* @param value The rssi to set.
*/
private void setRssi(int value) {
rssi_ = value;
}
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
*/
private void clearRssi() {
rssi_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.WifiLinkMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.WifiLinkMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
* @return The goodput.
*/
@java.lang.Override
public int getGoodput() {
return instance.getGoodput();
}
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
* @param value The goodput to set.
* @return This builder for chaining.
*/
public Builder setGoodput(int value) {
copyOnWrite();
instance.setGoodput(value);
return this;
}
/**
*
* Wifi link goodput (throughput estimation) (kbit/s)
*
*
* uint32 goodput = 1;
* @return This builder for chaining.
*/
public Builder clearGoodput() {
copyOnWrite();
instance.clearGoodput();
return this;
}
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return instance.getQuality();
}
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
* @param value The quality to set.
* @return This builder for chaining.
*/
public Builder setQuality(int value) {
copyOnWrite();
instance.setQuality(value);
return this;
}
/**
*
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
*
*
* uint32 quality = 2;
* @return This builder for chaining.
*/
public Builder clearQuality() {
copyOnWrite();
instance.clearQuality();
return this;
}
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
* @return The rssi.
*/
@java.lang.Override
public int getRssi() {
return instance.getRssi();
}
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
* @param value The rssi to set.
* @return This builder for chaining.
*/
public Builder setRssi(int value) {
copyOnWrite();
instance.setRssi(value);
return this;
}
/**
*
* Wifi link RSSI (dBm)
*
*
* sint32 rssi = 3;
* @return This builder for chaining.
*/
public Builder clearRssi() {
copyOnWrite();
instance.clearRssi();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.WifiLinkMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"goodput_",
"quality_",
"rssi_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002\u000b" +
"\u0003\u000f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.WifiLinkMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata DEFAULT_INSTANCE;
static {
WifiLinkMetadata defaultInstance = new WifiLinkMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
WifiLinkMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface StarfishLinkInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.StarfishLinkInfo)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return The type.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType getType();
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return The status.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus getStatus();
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
* @return The quality.
*/
int getQuality();
/**
*
* Link active status
*
*
* bool active = 4;
* @return The active.
*/
boolean getActive();
}
/**
* Protobuf type {@code vmeta.StarfishLinkInfo}
*/
public static final class StarfishLinkInfo extends
com.google.protobuf.GeneratedMessageLite<
StarfishLinkInfo, StarfishLinkInfo.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.StarfishLinkInfo)
StarfishLinkInfoOrBuilder {
private StarfishLinkInfo() {
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return type_;
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return The type.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType getType() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType.forNumber(type_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType.UNRECOGNIZED : result;
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @param value The type to set.
*/
private void setType(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType value) {
type_ = value.getNumber();
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
*/
private void clearType() {
type_ = 0;
}
public static final int STATUS_FIELD_NUMBER = 2;
private int status_;
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return status_;
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return The status.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus getStatus() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus.forNumber(status_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus.UNRECOGNIZED : result;
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @param value The enum numeric value on the wire for status to set.
*/
private void setStatusValue(int value) {
status_ = value;
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @param value The status to set.
*/
private void setStatus(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus value) {
status_ = value.getNumber();
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
*/
private void clearStatus() {
status_ = 0;
}
public static final int QUALITY_FIELD_NUMBER = 3;
private int quality_;
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return quality_;
}
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
* @param value The quality to set.
*/
private void setQuality(int value) {
quality_ = value;
}
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
*/
private void clearQuality() {
quality_ = 0;
}
public static final int ACTIVE_FIELD_NUMBER = 4;
private boolean active_;
/**
*
* Link active status
*
*
* bool active = 4;
* @return The active.
*/
@java.lang.Override
public boolean getActive() {
return active_;
}
/**
*
* Link active status
*
*
* bool active = 4;
* @param value The active to set.
*/
private void setActive(boolean value) {
active_ = value;
}
/**
*
* Link active status
*
*
* bool active = 4;
*/
private void clearActive() {
active_ = false;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.StarfishLinkInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.StarfishLinkInfo)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfoOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return instance.getTypeValue();
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return The type.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType getType() {
return instance.getType();
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
*
* Type of link
*
*
* .vmeta.LinkType type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return instance.getStatusValue();
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
copyOnWrite();
instance.setStatusValue(value);
return this;
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return The status.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus getStatus() {
return instance.getStatus();
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus value) {
copyOnWrite();
instance.setStatus(value);
return this;
}
/**
*
* Link status
*
*
* .vmeta.LinkStatus status = 2;
* @return This builder for chaining.
*/
public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return instance.getQuality();
}
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
* @param value The quality to set.
* @return This builder for chaining.
*/
public Builder setQuality(int value) {
copyOnWrite();
instance.setQuality(value);
return this;
}
/**
*
* Link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 3;
* @return This builder for chaining.
*/
public Builder clearQuality() {
copyOnWrite();
instance.clearQuality();
return this;
}
/**
*
* Link active status
*
*
* bool active = 4;
* @return The active.
*/
@java.lang.Override
public boolean getActive() {
return instance.getActive();
}
/**
*
* Link active status
*
*
* bool active = 4;
* @param value The active to set.
* @return This builder for chaining.
*/
public Builder setActive(boolean value) {
copyOnWrite();
instance.setActive(value);
return this;
}
/**
*
* Link active status
*
*
* bool active = 4;
* @return This builder for chaining.
*/
public Builder clearActive() {
copyOnWrite();
instance.clearActive();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.StarfishLinkInfo)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"type_",
"status_",
"quality_",
"active_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\f\u0002\f\u0003" +
"\u0004\u0004\u0007";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.StarfishLinkInfo)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo DEFAULT_INSTANCE;
static {
StarfishLinkInfo defaultInstance = new StarfishLinkInfo();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
StarfishLinkInfo.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface StarfishLinkMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.StarfishLinkMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
java.util.List
getLinksList();
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo getLinks(int index);
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
int getLinksCount();
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
* @return The quality.
*/
int getQuality();
}
/**
* Protobuf type {@code vmeta.StarfishLinkMetadata}
*/
public static final class StarfishLinkMetadata extends
com.google.protobuf.GeneratedMessageLite<
StarfishLinkMetadata, StarfishLinkMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.StarfishLinkMetadata)
StarfishLinkMetadataOrBuilder {
private StarfishLinkMetadata() {
links_ = emptyProtobufList();
}
public static final int LINKS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList links_;
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
@java.lang.Override
public java.util.List getLinksList() {
return links_;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public java.util.List extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfoOrBuilder>
getLinksOrBuilderList() {
return links_;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
@java.lang.Override
public int getLinksCount() {
return links_.size();
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo getLinks(int index) {
return links_.get(index);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfoOrBuilder getLinksOrBuilder(
int index) {
return links_.get(index);
}
private void ensureLinksIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = links_;
if (!tmp.isModifiable()) {
links_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
private void setLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo value) {
value.getClass();
ensureLinksIsMutable();
links_.set(index, value);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
private void addLinks(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo value) {
value.getClass();
ensureLinksIsMutable();
links_.add(value);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
private void addLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo value) {
value.getClass();
ensureLinksIsMutable();
links_.add(index, value);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
private void addAllLinks(
java.lang.Iterable extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo> values) {
ensureLinksIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, links_);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
private void clearLinks() {
links_ = emptyProtobufList();
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
private void removeLinks(int index) {
ensureLinksIsMutable();
links_.remove(index);
}
public static final int QUALITY_FIELD_NUMBER = 2;
private int quality_;
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return quality_;
}
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
* @param value The quality to set.
*/
private void setQuality(int value) {
quality_ = value;
}
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
*/
private void clearQuality() {
quality_ = 0;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.StarfishLinkMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.StarfishLinkMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
@java.lang.Override
public java.util.List getLinksList() {
return java.util.Collections.unmodifiableList(
instance.getLinksList());
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
@java.lang.Override
public int getLinksCount() {
return instance.getLinksCount();
}/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo getLinks(int index) {
return instance.getLinks(index);
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder setLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo value) {
copyOnWrite();
instance.setLinks(index, value);
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder setLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.Builder builderForValue) {
copyOnWrite();
instance.setLinks(index,
builderForValue.build());
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder addLinks(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo value) {
copyOnWrite();
instance.addLinks(value);
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder addLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo value) {
copyOnWrite();
instance.addLinks(index, value);
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder addLinks(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.Builder builderForValue) {
copyOnWrite();
instance.addLinks(builderForValue.build());
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder addLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.Builder builderForValue) {
copyOnWrite();
instance.addLinks(index,
builderForValue.build());
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder addAllLinks(
java.lang.Iterable extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo> values) {
copyOnWrite();
instance.addAllLinks(values);
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder clearLinks() {
copyOnWrite();
instance.clearLinks();
return this;
}
/**
*
* Links
*
*
* repeated .vmeta.StarfishLinkInfo links = 1;
*/
public Builder removeLinks(int index) {
copyOnWrite();
instance.removeLinks(index);
return this;
}
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
* @return The quality.
*/
@java.lang.Override
public int getQuality() {
return instance.getQuality();
}
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
* @param value The quality to set.
* @return This builder for chaining.
*/
public Builder setQuality(int value) {
copyOnWrite();
instance.setQuality(value);
return this;
}
/**
*
* Global link quality indication: 1 (lower) to 5 (better),
* 0 if not available
*
*
* int32 quality = 2;
* @return This builder for chaining.
*/
public Builder clearQuality() {
copyOnWrite();
instance.clearQuality();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.StarfishLinkMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"links_",
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.class,
"quality_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u0004" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.StarfishLinkMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata DEFAULT_INSTANCE;
static {
StarfishLinkMetadata defaultInstance = new StarfishLinkMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
StarfishLinkMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface LinkMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.LinkMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
* @return Whether the wifi field is set.
*/
boolean hasWifi();
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
* @return The wifi.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata getWifi();
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
* @return Whether the starfish field is set.
*/
boolean hasStarfish();
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
* @return The starfish.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata getStarfish();
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.ProtocolCase getProtocolCase();
}
/**
* Protobuf type {@code vmeta.LinkMetadata}
*/
public static final class LinkMetadata extends
com.google.protobuf.GeneratedMessageLite<
LinkMetadata, LinkMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.LinkMetadata)
LinkMetadataOrBuilder {
private LinkMetadata() {
}
private int protocolCase_ = 0;
private java.lang.Object protocol_;
public enum ProtocolCase {
WIFI(1),
STARFISH(2),
PROTOCOL_NOT_SET(0);
private final int value;
private ProtocolCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ProtocolCase valueOf(int value) {
return forNumber(value);
}
public static ProtocolCase forNumber(int value) {
switch (value) {
case 1: return WIFI;
case 2: return STARFISH;
case 0: return PROTOCOL_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public ProtocolCase
getProtocolCase() {
return ProtocolCase.forNumber(
protocolCase_);
}
private void clearProtocol() {
protocolCase_ = 0;
protocol_ = null;
}
public static final int WIFI_FIELD_NUMBER = 1;
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
@java.lang.Override
public boolean hasWifi() {
return protocolCase_ == 1;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata getWifi() {
if (protocolCase_ == 1) {
return (com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata) protocol_;
}
return com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.getDefaultInstance();
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
private void setWifi(com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata value) {
value.getClass();
protocol_ = value;
protocolCase_ = 1;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
private void mergeWifi(com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata value) {
value.getClass();
if (protocolCase_ == 1 &&
protocol_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.getDefaultInstance()) {
protocol_ = com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.newBuilder((com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata) protocol_)
.mergeFrom(value).buildPartial();
} else {
protocol_ = value;
}
protocolCase_ = 1;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
private void clearWifi() {
if (protocolCase_ == 1) {
protocolCase_ = 0;
protocol_ = null;
}
}
public static final int STARFISH_FIELD_NUMBER = 2;
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
@java.lang.Override
public boolean hasStarfish() {
return protocolCase_ == 2;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata getStarfish() {
if (protocolCase_ == 2) {
return (com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata) protocol_;
}
return com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.getDefaultInstance();
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
private void setStarfish(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata value) {
value.getClass();
protocol_ = value;
protocolCase_ = 2;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
private void mergeStarfish(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata value) {
value.getClass();
if (protocolCase_ == 2 &&
protocol_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.getDefaultInstance()) {
protocol_ = com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.newBuilder((com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata) protocol_)
.mergeFrom(value).buildPartial();
} else {
protocol_ = value;
}
protocolCase_ = 2;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
private void clearStarfish() {
if (protocolCase_ == 2) {
protocolCase_ = 0;
protocol_ = null;
}
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.LinkMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.LinkMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public ProtocolCase
getProtocolCase() {
return instance.getProtocolCase();
}
public Builder clearProtocol() {
copyOnWrite();
instance.clearProtocol();
return this;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
@java.lang.Override
public boolean hasWifi() {
return instance.hasWifi();
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata getWifi() {
return instance.getWifi();
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
public Builder setWifi(com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata value) {
copyOnWrite();
instance.setWifi(value);
return this;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
public Builder setWifi(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.Builder builderForValue) {
copyOnWrite();
instance.setWifi(builderForValue.build());
return this;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
public Builder mergeWifi(com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata value) {
copyOnWrite();
instance.mergeWifi(value);
return this;
}
/**
*
* Wifi link metadata
*
*
* .vmeta.WifiLinkMetadata wifi = 1;
*/
public Builder clearWifi() {
copyOnWrite();
instance.clearWifi();
return this;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
@java.lang.Override
public boolean hasStarfish() {
return instance.hasStarfish();
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata getStarfish() {
return instance.getStarfish();
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
public Builder setStarfish(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata value) {
copyOnWrite();
instance.setStarfish(value);
return this;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
public Builder setStarfish(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.Builder builderForValue) {
copyOnWrite();
instance.setStarfish(builderForValue.build());
return this;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
public Builder mergeStarfish(com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata value) {
copyOnWrite();
instance.mergeStarfish(value);
return this;
}
/**
*
* Starfish link metadata
*
*
* .vmeta.StarfishLinkMetadata starfish = 2;
*/
public Builder clearStarfish() {
copyOnWrite();
instance.clearStarfish();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.LinkMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"protocol_",
"protocolCase_",
com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.class,
com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkMetadata.class,
};
java.lang.String info =
"\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
"\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.LinkMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata DEFAULT_INSTANCE;
static {
LinkMetadata defaultInstance = new LinkMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LinkMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ThermalMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.ThermalMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return The enum numeric value on the wire for calibrationState.
*/
int getCalibrationStateValue();
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return The calibrationState.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState getCalibrationState();
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
* @return Whether the min field is set.
*/
boolean hasMin();
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
* @return The min.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getMin();
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
* @return Whether the max field is set.
*/
boolean hasMax();
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
* @return The max.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getMax();
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
* @return Whether the probe field is set.
*/
boolean hasProbe();
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
* @return The probe.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getProbe();
}
/**
* Protobuf type {@code vmeta.ThermalMetadata}
*/
public static final class ThermalMetadata extends
com.google.protobuf.GeneratedMessageLite<
ThermalMetadata, ThermalMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.ThermalMetadata)
ThermalMetadataOrBuilder {
private ThermalMetadata() {
}
private int bitField0_;
public static final int CALIBRATION_STATE_FIELD_NUMBER = 1;
private int calibrationState_;
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return The enum numeric value on the wire for calibrationState.
*/
@java.lang.Override
public int getCalibrationStateValue() {
return calibrationState_;
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return The calibrationState.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState getCalibrationState() {
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState result = com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState.forNumber(calibrationState_);
return result == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState.UNRECOGNIZED : result;
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @param value The enum numeric value on the wire for calibrationState to set.
*/
private void setCalibrationStateValue(int value) {
calibrationState_ = value;
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @param value The calibrationState to set.
*/
private void setCalibrationState(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState value) {
calibrationState_ = value.getNumber();
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
*/
private void clearCalibrationState() {
calibrationState_ = 0;
}
public static final int MIN_FIELD_NUMBER = 2;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot min_;
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
@java.lang.Override
public boolean hasMin() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getMin() {
return min_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.getDefaultInstance() : min_;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
private void setMin(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
value.getClass();
min_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeMin(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
value.getClass();
if (min_ != null &&
min_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.getDefaultInstance()) {
min_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.newBuilder(min_).mergeFrom(value).buildPartial();
} else {
min_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
private void clearMin() { min_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int MAX_FIELD_NUMBER = 3;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot max_;
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
@java.lang.Override
public boolean hasMax() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getMax() {
return max_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.getDefaultInstance() : max_;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
private void setMax(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
value.getClass();
max_ = value;
bitField0_ |= 0x00000002;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeMax(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
value.getClass();
if (max_ != null &&
max_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.getDefaultInstance()) {
max_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.newBuilder(max_).mergeFrom(value).buildPartial();
} else {
max_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
private void clearMax() { max_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int PROBE_FIELD_NUMBER = 4;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot probe_;
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
@java.lang.Override
public boolean hasProbe() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getProbe() {
return probe_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.getDefaultInstance() : probe_;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
private void setProbe(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
value.getClass();
probe_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeProbe(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
value.getClass();
if (probe_ != null &&
probe_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.getDefaultInstance()) {
probe_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.newBuilder(probe_).mergeFrom(value).buildPartial();
} else {
probe_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
private void clearProbe() { probe_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.ThermalMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.ThermalMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return The enum numeric value on the wire for calibrationState.
*/
@java.lang.Override
public int getCalibrationStateValue() {
return instance.getCalibrationStateValue();
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @param value The calibrationState to set.
* @return This builder for chaining.
*/
public Builder setCalibrationStateValue(int value) {
copyOnWrite();
instance.setCalibrationStateValue(value);
return this;
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return The calibrationState.
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState getCalibrationState() {
return instance.getCalibrationState();
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @param value The enum numeric value on the wire for calibrationState to set.
* @return This builder for chaining.
*/
public Builder setCalibrationState(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState value) {
copyOnWrite();
instance.setCalibrationState(value);
return this;
}
/**
*
* Thermal calibration state
*
*
* .vmeta.ThermalCalibrationState calibration_state = 1;
* @return This builder for chaining.
*/
public Builder clearCalibrationState() {
copyOnWrite();
instance.clearCalibrationState();
return this;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
@java.lang.Override
public boolean hasMin() {
return instance.hasMin();
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getMin() {
return instance.getMin();
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
public Builder setMin(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
copyOnWrite();
instance.setMin(value);
return this;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
public Builder setMin(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.Builder builderForValue) {
copyOnWrite();
instance.setMin(builderForValue.build());
return this;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
public Builder mergeMin(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
copyOnWrite();
instance.mergeMin(value);
return this;
}
/**
*
* Minimum temperature spot
*
*
* .vmeta.ThermalSpot min = 2;
*/
public Builder clearMin() { copyOnWrite();
instance.clearMin();
return this;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
@java.lang.Override
public boolean hasMax() {
return instance.hasMax();
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getMax() {
return instance.getMax();
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
public Builder setMax(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
copyOnWrite();
instance.setMax(value);
return this;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
public Builder setMax(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.Builder builderForValue) {
copyOnWrite();
instance.setMax(builderForValue.build());
return this;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
public Builder mergeMax(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
copyOnWrite();
instance.mergeMax(value);
return this;
}
/**
*
* Maximum temperature spot
*
*
* .vmeta.ThermalSpot max = 3;
*/
public Builder clearMax() { copyOnWrite();
instance.clearMax();
return this;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
@java.lang.Override
public boolean hasProbe() {
return instance.hasProbe();
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot getProbe() {
return instance.getProbe();
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
public Builder setProbe(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
copyOnWrite();
instance.setProbe(value);
return this;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
public Builder setProbe(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.Builder builderForValue) {
copyOnWrite();
instance.setProbe(builderForValue.build());
return this;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
public Builder mergeProbe(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot value) {
copyOnWrite();
instance.mergeProbe(value);
return this;
}
/**
*
* Probe temperature spot
*
*
* .vmeta.ThermalSpot probe = 4;
*/
public Builder clearProbe() { copyOnWrite();
instance.clearProbe();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.ThermalMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"calibrationState_",
"min_",
"max_",
"probe_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\f\u0002\u1009" +
"\u0000\u0003\u1009\u0001\u0004\u1009\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.ThermalMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata DEFAULT_INSTANCE;
static {
ThermalMetadata defaultInstance = new ThermalMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ThermalMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface LFICMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.LFICMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
float getX();
/**
* float y = 2;
* @return The y.
*/
float getY();
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
* @return Whether the location field is set.
*/
boolean hasLocation();
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
* @return The location.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation();
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
* @return The gridPrecision.
*/
double getGridPrecision();
}
/**
* Protobuf type {@code vmeta.LFICMetadata}
*/
public static final class LFICMetadata extends
com.google.protobuf.GeneratedMessageLite<
LFICMetadata, LFICMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.LFICMetadata)
LFICMetadataOrBuilder {
private LFICMetadata() {
}
private int bitField0_;
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
* @param value The x to set.
*/
private void setX(float value) {
x_ = value;
}
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
*/
private void clearX() {
x_ = 0F;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* float y = 2;
* @param value The y to set.
*/
private void setY(float value) {
y_ = value;
}
/**
* float y = 2;
*/
private void clearY() {
y_ = 0F;
}
public static final int LOCATION_FIELD_NUMBER = 3;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location location_;
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
@java.lang.Override
public boolean hasLocation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation() {
return location_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance() : location_;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
private void setLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
location_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
value.getClass();
if (location_ != null &&
location_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.getDefaultInstance()) {
location_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
private void clearLocation() { location_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int GRID_PRECISION_FIELD_NUMBER = 4;
private double gridPrecision_;
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
* @return The gridPrecision.
*/
@java.lang.Override
public double getGridPrecision() {
return gridPrecision_;
}
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
* @param value The gridPrecision to set.
*/
private void setGridPrecision(double value) {
gridPrecision_ = value;
}
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
*/
private void clearGridPrecision() {
gridPrecision_ = 0D;
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.LFICMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.LFICMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
* @return The x.
*/
@java.lang.Override
public float getX() {
return instance.getX();
}
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
*
* Position of target [0; 1] in picture
*
*
* float x = 1;
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* float y = 2;
* @return The y.
*/
@java.lang.Override
public float getY() {
return instance.getY();
}
/**
* float y = 2;
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* float y = 2;
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
@java.lang.Override
public boolean hasLocation() {
return instance.hasLocation();
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location getLocation() {
return instance.getLocation();
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
public Builder setLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.setLocation(value);
return this;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
public Builder setLocation(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location.Builder builderForValue) {
copyOnWrite();
instance.setLocation(builderForValue.build());
return this;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
public Builder mergeLocation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Location value) {
copyOnWrite();
instance.mergeLocation(value);
return this;
}
/**
*
* Location of target
*
*
* .vmeta.Location location = 3;
*/
public Builder clearLocation() { copyOnWrite();
instance.clearLocation();
return this;
}
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
* @return The gridPrecision.
*/
@java.lang.Override
public double getGridPrecision() {
return instance.getGridPrecision();
}
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
* @param value The gridPrecision to set.
* @return This builder for chaining.
*/
public Builder setGridPrecision(double value) {
copyOnWrite();
instance.setGridPrecision(value);
return this;
}
/**
*
* Grid precision used for calculation (m)
*
*
* double grid_precision = 4;
* @return This builder for chaining.
*/
public Builder clearGridPrecision() {
copyOnWrite();
instance.clearGridPrecision();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.LFICMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"x_",
"y_",
"location_",
"gridPrecision_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0001\u0002\u0001" +
"\u0003\u1009\u0000\u0004\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.LFICMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata DEFAULT_INSTANCE;
static {
LFICMetadata defaultInstance = new LFICMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LFICMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TimedMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:vmeta.TimedMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
* @return Whether the drone field is set.
*/
boolean hasDrone();
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
* @return The drone.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata getDrone();
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
* @return Whether the camera field is set.
*/
boolean hasCamera();
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
* @return The camera.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata getCamera();
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
java.util.List
getLinksList();
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata getLinks(int index);
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
int getLinksCount();
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
* @return Whether the tracking field is set.
*/
boolean hasTracking();
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
* @return The tracking.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata getTracking();
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
* @return Whether the proposal field is set.
*/
boolean hasProposal();
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
* @return The proposal.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata getProposal();
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
* @return Whether the automation field is set.
*/
boolean hasAutomation();
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
* @return The automation.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata getAutomation();
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
* @return Whether the thermal field is set.
*/
boolean hasThermal();
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
* @return The thermal.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata getThermal();
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
* @return Whether the lfic field is set.
*/
boolean hasLfic();
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
* @return The lfic.
*/
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata getLfic();
}
/**
* Protobuf type {@code vmeta.TimedMetadata}
*/
public static final class TimedMetadata extends
com.google.protobuf.GeneratedMessageLite<
TimedMetadata, TimedMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:vmeta.TimedMetadata)
TimedMetadataOrBuilder {
private TimedMetadata() {
links_ = emptyProtobufList();
}
private int bitField0_;
public static final int DRONE_FIELD_NUMBER = 1;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata drone_;
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
@java.lang.Override
public boolean hasDrone() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata getDrone() {
return drone_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata.getDefaultInstance() : drone_;
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
private void setDrone(com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata value) {
value.getClass();
drone_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeDrone(com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata value) {
value.getClass();
if (drone_ != null &&
drone_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata.getDefaultInstance()) {
drone_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata.newBuilder(drone_).mergeFrom(value).buildPartial();
} else {
drone_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
private void clearDrone() { drone_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int CAMERA_FIELD_NUMBER = 2;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata camera_;
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
@java.lang.Override
public boolean hasCamera() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata getCamera() {
return camera_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata.getDefaultInstance() : camera_;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
private void setCamera(com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata value) {
value.getClass();
camera_ = value;
bitField0_ |= 0x00000002;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeCamera(com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata value) {
value.getClass();
if (camera_ != null &&
camera_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata.getDefaultInstance()) {
camera_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata.newBuilder(camera_).mergeFrom(value).buildPartial();
} else {
camera_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
private void clearCamera() { camera_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int LINKS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList links_;
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
@java.lang.Override
public java.util.List getLinksList() {
return links_;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public java.util.List extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadataOrBuilder>
getLinksOrBuilderList() {
return links_;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
@java.lang.Override
public int getLinksCount() {
return links_.size();
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata getLinks(int index) {
return links_.get(index);
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadataOrBuilder getLinksOrBuilder(
int index) {
return links_.get(index);
}
private void ensureLinksIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = links_;
if (!tmp.isModifiable()) {
links_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
private void setLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata value) {
value.getClass();
ensureLinksIsMutable();
links_.set(index, value);
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
private void addLinks(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata value) {
value.getClass();
ensureLinksIsMutable();
links_.add(value);
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
private void addLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata value) {
value.getClass();
ensureLinksIsMutable();
links_.add(index, value);
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
private void addAllLinks(
java.lang.Iterable extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata> values) {
ensureLinksIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, links_);
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
private void clearLinks() {
links_ = emptyProtobufList();
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
private void removeLinks(int index) {
ensureLinksIsMutable();
links_.remove(index);
}
public static final int TRACKING_FIELD_NUMBER = 4;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata tracking_;
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
@java.lang.Override
public boolean hasTracking() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata getTracking() {
return tracking_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata.getDefaultInstance() : tracking_;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
private void setTracking(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata value) {
value.getClass();
tracking_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTracking(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata value) {
value.getClass();
if (tracking_ != null &&
tracking_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata.getDefaultInstance()) {
tracking_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata.newBuilder(tracking_).mergeFrom(value).buildPartial();
} else {
tracking_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
private void clearTracking() { tracking_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int PROPOSAL_FIELD_NUMBER = 5;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata proposal_;
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
@java.lang.Override
public boolean hasProposal() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata getProposal() {
return proposal_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.getDefaultInstance() : proposal_;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
private void setProposal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata value) {
value.getClass();
proposal_ = value;
bitField0_ |= 0x00000008;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeProposal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata value) {
value.getClass();
if (proposal_ != null &&
proposal_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.getDefaultInstance()) {
proposal_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.newBuilder(proposal_).mergeFrom(value).buildPartial();
} else {
proposal_ = value;
}
bitField0_ |= 0x00000008;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
private void clearProposal() { proposal_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int AUTOMATION_FIELD_NUMBER = 6;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata automation_;
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
@java.lang.Override
public boolean hasAutomation() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata getAutomation() {
return automation_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata.getDefaultInstance() : automation_;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
private void setAutomation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata value) {
value.getClass();
automation_ = value;
bitField0_ |= 0x00000010;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAutomation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata value) {
value.getClass();
if (automation_ != null &&
automation_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata.getDefaultInstance()) {
automation_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata.newBuilder(automation_).mergeFrom(value).buildPartial();
} else {
automation_ = value;
}
bitField0_ |= 0x00000010;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
private void clearAutomation() { automation_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static final int THERMAL_FIELD_NUMBER = 7;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata thermal_;
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
@java.lang.Override
public boolean hasThermal() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata getThermal() {
return thermal_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.getDefaultInstance() : thermal_;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
private void setThermal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata value) {
value.getClass();
thermal_ = value;
bitField0_ |= 0x00000020;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeThermal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata value) {
value.getClass();
if (thermal_ != null &&
thermal_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.getDefaultInstance()) {
thermal_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.newBuilder(thermal_).mergeFrom(value).buildPartial();
} else {
thermal_ = value;
}
bitField0_ |= 0x00000020;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
private void clearThermal() { thermal_ = null;
bitField0_ = (bitField0_ & ~0x00000020);
}
public static final int LFIC_FIELD_NUMBER = 8;
private com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata lfic_;
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
@java.lang.Override
public boolean hasLfic() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata getLfic() {
return lfic_ == null ? com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata.getDefaultInstance() : lfic_;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
private void setLfic(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata value) {
value.getClass();
lfic_ = value;
bitField0_ |= 0x00000040;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLfic(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata value) {
value.getClass();
if (lfic_ != null &&
lfic_ != com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata.getDefaultInstance()) {
lfic_ =
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata.newBuilder(lfic_).mergeFrom(value).buildPartial();
} else {
lfic_ = value;
}
bitField0_ |= 0x00000040;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
private void clearLfic() { lfic_ = null;
bitField0_ = (bitField0_ & ~0x00000040);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code vmeta.TimedMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:vmeta.TimedMetadata)
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder {
// Construct using com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
@java.lang.Override
public boolean hasDrone() {
return instance.hasDrone();
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata getDrone() {
return instance.getDrone();
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
public Builder setDrone(com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata value) {
copyOnWrite();
instance.setDrone(value);
return this;
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
public Builder setDrone(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata.Builder builderForValue) {
copyOnWrite();
instance.setDrone(builderForValue.build());
return this;
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
public Builder mergeDrone(com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata value) {
copyOnWrite();
instance.mergeDrone(value);
return this;
}
/**
*
* Drone-related metadata
*
*
* .vmeta.DroneMetadata drone = 1;
*/
public Builder clearDrone() { copyOnWrite();
instance.clearDrone();
return this;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
@java.lang.Override
public boolean hasCamera() {
return instance.hasCamera();
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata getCamera() {
return instance.getCamera();
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
public Builder setCamera(com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata value) {
copyOnWrite();
instance.setCamera(value);
return this;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
public Builder setCamera(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata.Builder builderForValue) {
copyOnWrite();
instance.setCamera(builderForValue.build());
return this;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
public Builder mergeCamera(com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata value) {
copyOnWrite();
instance.mergeCamera(value);
return this;
}
/**
*
* Camera-related metadata
*
*
* .vmeta.CameraMetadata camera = 2;
*/
public Builder clearCamera() { copyOnWrite();
instance.clearCamera();
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
@java.lang.Override
public java.util.List getLinksList() {
return java.util.Collections.unmodifiableList(
instance.getLinksList());
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
@java.lang.Override
public int getLinksCount() {
return instance.getLinksCount();
}/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata getLinks(int index) {
return instance.getLinks(index);
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder setLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata value) {
copyOnWrite();
instance.setLinks(index, value);
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder setLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.Builder builderForValue) {
copyOnWrite();
instance.setLinks(index,
builderForValue.build());
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder addLinks(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata value) {
copyOnWrite();
instance.addLinks(value);
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder addLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata value) {
copyOnWrite();
instance.addLinks(index, value);
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder addLinks(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.Builder builderForValue) {
copyOnWrite();
instance.addLinks(builderForValue.build());
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder addLinks(
int index, com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.Builder builderForValue) {
copyOnWrite();
instance.addLinks(index,
builderForValue.build());
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder addAllLinks(
java.lang.Iterable extends com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata> values) {
copyOnWrite();
instance.addAllLinks(values);
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder clearLinks() {
copyOnWrite();
instance.clearLinks();
return this;
}
/**
*
* Link-related metadata, one per available link
*
*
* repeated .vmeta.LinkMetadata links = 3;
*/
public Builder removeLinks(int index) {
copyOnWrite();
instance.removeLinks(index);
return this;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
@java.lang.Override
public boolean hasTracking() {
return instance.hasTracking();
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata getTracking() {
return instance.getTracking();
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
public Builder setTracking(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata value) {
copyOnWrite();
instance.setTracking(value);
return this;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
public Builder setTracking(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata.Builder builderForValue) {
copyOnWrite();
instance.setTracking(builderForValue.build());
return this;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
public Builder mergeTracking(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata value) {
copyOnWrite();
instance.mergeTracking(value);
return this;
}
/**
*
* Tracking metadata
*
*
* .vmeta.TrackingMetadata tracking = 4;
*/
public Builder clearTracking() { copyOnWrite();
instance.clearTracking();
return this;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
@java.lang.Override
public boolean hasProposal() {
return instance.hasProposal();
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata getProposal() {
return instance.getProposal();
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
public Builder setProposal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata value) {
copyOnWrite();
instance.setProposal(value);
return this;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
public Builder setProposal(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.Builder builderForValue) {
copyOnWrite();
instance.setProposal(builderForValue.build());
return this;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
public Builder mergeProposal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata value) {
copyOnWrite();
instance.mergeProposal(value);
return this;
}
/**
*
* Tracking proposal metadata
*
*
* .vmeta.TrackingProposalMetadata proposal = 5;
*/
public Builder clearProposal() { copyOnWrite();
instance.clearProposal();
return this;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
@java.lang.Override
public boolean hasAutomation() {
return instance.hasAutomation();
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata getAutomation() {
return instance.getAutomation();
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
public Builder setAutomation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata value) {
copyOnWrite();
instance.setAutomation(value);
return this;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
public Builder setAutomation(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata.Builder builderForValue) {
copyOnWrite();
instance.setAutomation(builderForValue.build());
return this;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
public Builder mergeAutomation(com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata value) {
copyOnWrite();
instance.mergeAutomation(value);
return this;
}
/**
*
* Automation metadata
*
*
* .vmeta.AutomationMetadata automation = 6;
*/
public Builder clearAutomation() { copyOnWrite();
instance.clearAutomation();
return this;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
@java.lang.Override
public boolean hasThermal() {
return instance.hasThermal();
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata getThermal() {
return instance.getThermal();
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
public Builder setThermal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata value) {
copyOnWrite();
instance.setThermal(value);
return this;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
public Builder setThermal(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.Builder builderForValue) {
copyOnWrite();
instance.setThermal(builderForValue.build());
return this;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
public Builder mergeThermal(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata value) {
copyOnWrite();
instance.mergeThermal(value);
return this;
}
/**
*
* Thermal metadata
*
*
* .vmeta.ThermalMetadata thermal = 7;
*/
public Builder clearThermal() { copyOnWrite();
instance.clearThermal();
return this;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
@java.lang.Override
public boolean hasLfic() {
return instance.hasLfic();
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
@java.lang.Override
public com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata getLfic() {
return instance.getLfic();
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
public Builder setLfic(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata value) {
copyOnWrite();
instance.setLfic(value);
return this;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
public Builder setLfic(
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata.Builder builderForValue) {
copyOnWrite();
instance.setLfic(builderForValue.build());
return this;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
public Builder mergeLfic(com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata value) {
copyOnWrite();
instance.mergeLfic(value);
return this;
}
/**
*
* Location From Image Coordinates (LFIC) metadata
*
*
* .vmeta.LFICMetadata lfic = 8;
*/
public Builder clearLfic() { copyOnWrite();
instance.clearLfic();
return this;
}
// @@protoc_insertion_point(builder_scope:vmeta.TimedMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"drone_",
"camera_",
"links_",
com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata.class,
"tracking_",
"proposal_",
"automation_",
"thermal_",
"lfic_",
};
java.lang.String info =
"\u0000\b\u0000\u0001\u0001\b\b\u0000\u0001\u0000\u0001\u1009\u0000\u0002\u1009\u0001" +
"\u0003\u001b\u0004\u1009\u0002\u0005\u1009\u0003\u0006\u1009\u0004\u0007\u1009\u0005" +
"\b\u1009\u0006";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:vmeta.TimedMetadata)
private static final com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata DEFAULT_INSTANCE;
static {
TimedMetadata defaultInstance = new TimedMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TimedMetadata.class, defaultInstance);
}
public static com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}