// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: webapi.proto
package com.geeksville.dapi;
public final class Webapi {
private Webapi() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code com.geeksville.dapi.AccessCode}
*
* <pre>
**
*The privacy level for missions (can be changed later through the web user interface)
*This code does not affect _storage_ of the flight in the corpus for offline viewing. That can be set with the
*StopMissionMsg.keepFlight field.
* </pre>
*/
public enum AccessCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>DEFAULT = 0;</code>
*
* <pre>
* Use whatever privacy level the user selected as their default (stored in the user account on the server)
* </pre>
*/
DEFAULT(0, 0),
/**
* <code>PRIVATE = 10;</code>
*
* <pre>
* Only the user can see this mission
* </pre>
*/
PRIVATE(1, 10),
/**
* <code>SHARED = 20;</code>
*
* <pre>
* Only others with the URL for this mission can see it, mission will not be publically listed
* </pre>
*/
SHARED(2, 20),
/**
* <code>RESEARCHER = 30;</code>
*
* <pre>
* Academic researchers will have access to this flight
* </pre>
*/
RESEARCHER(3, 30),
/**
* <code>PUBLIC = 40;</code>
*
* <pre>
* Anyone can see this flight
* </pre>
*/
PUBLIC(4, 40),
;
/**
* <code>DEFAULT = 0;</code>
*
* <pre>
* Use whatever privacy level the user selected as their default (stored in the user account on the server)
* </pre>
*/
public static final int DEFAULT_VALUE = 0;
/**
* <code>PRIVATE = 10;</code>
*
* <pre>
* Only the user can see this mission
* </pre>
*/
public static final int PRIVATE_VALUE = 10;
/**
* <code>SHARED = 20;</code>
*
* <pre>
* Only others with the URL for this mission can see it, mission will not be publically listed
* </pre>
*/
public static final int SHARED_VALUE = 20;
/**
* <code>RESEARCHER = 30;</code>
*
* <pre>
* Academic researchers will have access to this flight
* </pre>
*/
public static final int RESEARCHER_VALUE = 30;
/**
* <code>PUBLIC = 40;</code>
*
* <pre>
* Anyone can see this flight
* </pre>
*/
public static final int PUBLIC_VALUE = 40;
public final int getNumber() { return value; }
public static AccessCode valueOf(int value) {
switch (value) {
case 0: return DEFAULT;
case 10: return PRIVATE;
case 20: return SHARED;
case 30: return RESEARCHER;
case 40: return PUBLIC;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AccessCode>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<AccessCode>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccessCode>() {
public AccessCode findValueByNumber(int number) {
return AccessCode.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.geeksville.dapi.Webapi.getDescriptor().getEnumTypes().get(0);
}
private static final AccessCode[] VALUES = values();
public static AccessCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private AccessCode(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.geeksville.dapi.AccessCode)
}
/**
* Protobuf enum {@code com.geeksville.dapi.LoginRequestCode}
*/
public enum LoginRequestCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>LOGIN = 0;</code>
*
* <pre>
* Please log me in
* </pre>
*/
LOGIN(0, 0),
/**
* <code>CREATE = 1;</code>
*
* <pre>
* Please attempt to create a new user (and log me in)
* </pre>
*/
CREATE(1, 1),
/**
* <code>CHECK_USERNAME = 2;</code>
*
* <pre>
* Just check if the username is available (return OK or NAME_UNAVAILABLE)
* </pre>
*/
CHECK_USERNAME(2, 2),
;
/**
* <code>LOGIN = 0;</code>
*
* <pre>
* Please log me in
* </pre>
*/
public static final int LOGIN_VALUE = 0;
/**
* <code>CREATE = 1;</code>
*
* <pre>
* Please attempt to create a new user (and log me in)
* </pre>
*/
public static final int CREATE_VALUE = 1;
/**
* <code>CHECK_USERNAME = 2;</code>
*
* <pre>
* Just check if the username is available (return OK or NAME_UNAVAILABLE)
* </pre>
*/
public static final int CHECK_USERNAME_VALUE = 2;
public final int getNumber() { return value; }
public static LoginRequestCode valueOf(int value) {
switch (value) {
case 0: return LOGIN;
case 1: return CREATE;
case 2: return CHECK_USERNAME;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LoginRequestCode>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<LoginRequestCode>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<LoginRequestCode>() {
public LoginRequestCode findValueByNumber(int number) {
return LoginRequestCode.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.geeksville.dapi.Webapi.getDescriptor().getEnumTypes().get(1);
}
private static final LoginRequestCode[] VALUES = values();
public static LoginRequestCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private LoginRequestCode(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.geeksville.dapi.LoginRequestCode)
}
public interface LoginMsgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .com.geeksville.dapi.LoginRequestCode code = 1;
/**
* <code>required .com.geeksville.dapi.LoginRequestCode code = 1;</code>
*/
boolean hasCode();
/**
* <code>required .com.geeksville.dapi.LoginRequestCode code = 1;</code>
*/
com.geeksville.dapi.Webapi.LoginRequestCode getCode();
// required string username =
没有合适的资源?快使用搜索试试~ 我知道了~
droidplanner-master.zip_APP_droidplanner 下载_droidplanner-master_
共1984个文件
java:833个
png:432个
class:315个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 12 浏览量
2022-09-23
02:35:59
上传
评论
收藏 15.01MB ZIP 举报
温馨提示
droidplanner-master飞控平台APP源代码
资源推荐
资源详情
资源评论
收起资源包目录
droidplanner-master.zip_APP_droidplanner 下载_droidplanner-master_ (1984个子文件)
PebbleKit-debug.aar 22KB
PebbleKit-release.aar 22KB
IDroneApi.aidl 6KB
IDroidPlannerServices.aidl 1KB
IObserver.aidl 950B
IApiListener.aidl 624B
IMavlinkObserver.aidl 463B
StructureScanner.aidl 95B
CameraDetail.aidl 91B
ConnectionParameter.aidl 88B
ConnectionResult.aidl 85B
Survey.aidl 85B
DroneSharePrefs.aidl 84B
MissionItem.aidl 82B
MavlinkMessageWrapper.aidl 80B
StreamRates.aidl 80B
VehicleMode.aidl 78B
GuidedState.aidl 78B
Parameters.aidl 77B
FootPrint.aidl 76B
Altitude.aidl 75B
Attitude.aidl 75B
LatLongAlt.aidl 75B
Battery.aidl 74B
FollowState.aidl 74B
Signal.aidl 73B
Mission.aidl 73B
FollowType.aidl 73B
State.aidl 72B
Speed.aidl 72B
Type.aidl 71B
Home.aidl 71B
Gps.aidl 70B
LatLong.aidl 70B
resources-debug-test.ap_ 2KB
GoogleMapFragment.bak 31KB
AMapFragment.bak 29KB
gradlew.bat 2KB
fileSnapshots.bin 19.02MB
fileHashes.bin 1.83MB
model_data.bin 252KB
taskArtifacts.bin 176KB
outputFileStates.bin 32KB
main.c 7KB
jarlist.cache 120B
proguard.cfg 2KB
EditorActivity.class 17KB
GoogleMapFragment.class 17KB
ParamsFragment.class 14KB
MissionProxy.class 14KB
LocatorActivity.class 12KB
CopterFlightActionsFragment.class 12KB
MissionDetailFragment.class 12KB
MissionSurveyFragment.class 11KB
SuperUI.class 11KB
FlightActivity.class 11KB
DroidPlannerApp.class 10KB
FilterableArrayAdapter.class 10KB
FragmentSetupIMU.class 9KB
PebbleKit.class 9KB
PebbleKit.class 9KB
MissionStructureScannerFragment.class 9KB
PlaneFlightActionsFragment.class 9KB
SettingsFragment.class 8KB
DroneMap.class 8KB
DroidPlannerPrefs.class 8KB
PebbleDictionary.class 8KB
PebbleDictionary.class 8KB
FragmentSetupMAG.class 8KB
StatusBarNotificationProvider.class 8KB
CheckListItem.class 7KB
DrawerNavigationUI.class 7KB
EditorToolsFragment.class 7KB
AbstractWheel.class 7KB
TTSNotificationProvider.class 7KB
TabPageIndicator.class 6KB
BluetoothDevicesActivity.class 6KB
FlightMapFragment.class 6KB
InfoBarActionProvider.class 6KB
CheckListXmlParser.class 6KB
AttitudeIndicator.class 6KB
ModeFollowFragment.class 5KB
PebbleKit$PebbleDataLogReceiver.class 5KB
PebbleKit$PebbleDataLogReceiver.class 5KB
FlightModePanel.class 5KB
StatusBarNotificationProvider$InboxStyleBuilder.class 5KB
MissionDetailFragment$OnMissionDetailListener.class 5KB
EditorListFragment.class 5KB
EditorMapFragment.class 5KB
PebbleNotificationProvider.class 5KB
WheelScroller.class 5KB
InfoBarItem.class 5KB
GestureMapFragment.class 5KB
ParamsAdapterItem.class 5KB
MissionItemProxy.class 5KB
ChecklistFragment.class 5KB
AbstractWheelTextAdapter.class 5KB
LocatorListFragment.class 5KB
ConfigurationActivity.class 5KB
InfoBarItem$SignalInfo.class 5KB
共 1984 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- pzs135396613112024-02-22资源很赞,希望多一些这类资源。
刘良运
- 粉丝: 69
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于51单片机+共阴极数码管设计00-99计数器Proteus仿真+软件程序C源代码.zip
- 基于STM32的单片机动态加载函数库设计源码 - dynamic_loader
- 基于51单片机设计可预置可逆4位计数器Proteus仿真+软件程序C源代码.zip
- xiaomi10青春版完好机备份基带qcn.qcn
- 基于51单片机的汉字点阵显示Proteus仿真+软件程序C源码.zip
- 甘晴void:一位多才多艺的编程新星.zip
- 基于C++的App图标资源库设计源码 - libicon
- 基于Java的日记本应用程序设计源码 - Diary
- 基于C#的.NET模板引擎设计源码 - jntemplate
- 基于51单片机+AC24C04+LCD1602显示的电子密码锁程序源代码及电路仿真.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功