mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
igpsport: Import java igps sport proto code
This commit is contained in:
committed by
José Rebelo
parent
d66f52cd09
commit
7b4c8d96ba
+4023
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+372
@@ -0,0 +1,372 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/cloud_switch_dev.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class CloudSwitchDev {
|
||||
private CloudSwitchDev() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
public interface cloud_switch_dev_messageOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:cloud_switch_dev_message)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
boolean hasServiceType();
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType();
|
||||
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operateType field is set.
|
||||
*/
|
||||
boolean hasOperateType();
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operateType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperateType();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code cloud_switch_dev_message}
|
||||
*/
|
||||
public static final class cloud_switch_dev_message extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
cloud_switch_dev_message, cloud_switch_dev_message.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:cloud_switch_dev_message)
|
||||
cloud_switch_dev_messageOrBuilder {
|
||||
private cloud_switch_dev_message() {
|
||||
serviceType_ = 28;
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int SERVICE_TYPE_FIELD_NUMBER = 1;
|
||||
private int serviceType_;
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasServiceType() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.forNumber(serviceType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @param value The serviceType to set.
|
||||
*/
|
||||
private void setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
serviceType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
*/
|
||||
private void clearServiceType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
serviceType_ = 28;
|
||||
}
|
||||
|
||||
public static final int OPERATE_TYPE_FIELD_NUMBER = 2;
|
||||
private int operateType_;
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasOperateType() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperateType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.forNumber(operateType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.enum_SERVICE_OPERATE_TYPE_NONE : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The operateType to set.
|
||||
*/
|
||||
private void setOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE value) {
|
||||
operateType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
*/
|
||||
private void clearOperateType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
operateType_ = 0;
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code cloud_switch_dev_message}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:cloud_switch_dev_message)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_messageOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasServiceType() {
|
||||
return instance.hasServiceType();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
|
||||
return instance.getServiceType();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @param value The enum numeric value on the wire for serviceType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
copyOnWrite();
|
||||
instance.setServiceType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearServiceType() {
|
||||
copyOnWrite();
|
||||
instance.clearServiceType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasOperateType() {
|
||||
return instance.hasOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperateType() {
|
||||
return instance.getOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The enum numeric value on the wire for operateType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE value) {
|
||||
copyOnWrite();
|
||||
instance.setOperateType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOperateType() {
|
||||
copyOnWrite();
|
||||
instance.clearOperateType();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:cloud_switch_dev_message)
|
||||
}
|
||||
private byte memoizedIsInitialized = 2;
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"serviceType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.internalGetVerifier(),
|
||||
"operateType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.internalGetVerifier(),
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0002\u0001\u150c\u0000\u0002" +
|
||||
"\u150c\u0001";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message>(
|
||||
DEFAULT_INSTANCE);
|
||||
PARSER = parser;
|
||||
}
|
||||
}
|
||||
}
|
||||
return parser;
|
||||
}
|
||||
case GET_MEMOIZED_IS_INITIALIZED: {
|
||||
return memoizedIsInitialized;
|
||||
}
|
||||
case SET_MEMOIZED_IS_INITIALIZED: {
|
||||
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(class_scope:cloud_switch_dev_message)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message DEFAULT_INSTANCE;
|
||||
static {
|
||||
cloud_switch_dev_message defaultInstance = new cloud_switch_dev_message();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
cloud_switch_dev_message.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.CloudSwitchDev.cloud_switch_dev_message getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<cloud_switch_dev_message> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<cloud_switch_dev_message> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
@@ -0,0 +1,976 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/common.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class Common {
|
||||
private Common() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
/**
|
||||
* Protobuf enum {@code service_type_index}
|
||||
*/
|
||||
public enum service_type_index
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_NONE = 0;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_NONE(0),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_INS = 1;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_INS(1),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_MAP = 2;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_MAP(2),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_BACK = 3;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_BACK(3),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_FIRMWARE = 4;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_FIRMWARE(4),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_WIFI = 5;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_WIFI(5),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_CYCLING_DATA = 6;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_CYCLING_DATA(6),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_ROUTE_PLAN = 7;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_ROUTE_PLAN(7),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE = 8;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE(8),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_USER_CONFIG = 9;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_USER_CONFIG(9),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_BLE = 10;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_BLE(10),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_FACTORY = 11;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_FACTORY(11),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_CONFIG = 12;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_CONFIG(12),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_DEV_STATUS = 13;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_DEV_STATUS(13),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_SENSOR = 14;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_SENSOR(14),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_TRAINING = 15;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_TRAINING(15),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_TEAM_INFO = 16;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_TEAM_INFO(16),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_DEV_VER_INFO = 17;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_DEV_VER_INFO(17),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_LANGUAGE = 18;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_LANGUAGE(18),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_LOG = 19;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_LOG(19),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_THEME = 20;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_THEME(20),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_FILE_OPERATION = 21;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_FILE_OPERATION(21),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_MAP_NEW = 22;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_MAP_NEW(22),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_ROUTE_BOOK = 23;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_ROUTE_BOOK(23),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_STAGE = 24;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_STAGE(24),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_TRAINING_PLAN = 25;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_TRAINING_PLAN(25),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_ALG_GOMORE = 26;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_ALG_GOMORE(26),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_GROUP_RIDE = 27;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_GROUP_RIDE(27),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV = 28;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV(28),
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_MUSIC_CTL = 29;</code>
|
||||
*/
|
||||
enum_SERVICE_TYPE_INDEX_MUSIC_CTL(29),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_NONE = 0;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_INS = 1;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_INS_VALUE = 1;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_MAP = 2;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_MAP_VALUE = 2;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_BACK = 3;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_BACK_VALUE = 3;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_FIRMWARE = 4;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_FIRMWARE_VALUE = 4;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_WIFI = 5;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_WIFI_VALUE = 5;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_CYCLING_DATA = 6;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_CYCLING_DATA_VALUE = 6;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_ROUTE_PLAN = 7;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_ROUTE_PLAN_VALUE = 7;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE = 8;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE_VALUE = 8;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_USER_CONFIG = 9;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_USER_CONFIG_VALUE = 9;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_BLE = 10;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_BLE_VALUE = 10;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_FACTORY = 11;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_FACTORY_VALUE = 11;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_CONFIG = 12;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_CONFIG_VALUE = 12;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_DEV_STATUS = 13;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_DEV_STATUS_VALUE = 13;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_SENSOR = 14;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_SENSOR_VALUE = 14;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_TRAINING = 15;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_TRAINING_VALUE = 15;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_TEAM_INFO = 16;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_TEAM_INFO_VALUE = 16;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_DEV_VER_INFO = 17;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_DEV_VER_INFO_VALUE = 17;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_LANGUAGE = 18;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_LANGUAGE_VALUE = 18;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_LOG = 19;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_LOG_VALUE = 19;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_THEME = 20;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_THEME_VALUE = 20;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_FILE_OPERATION = 21;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_FILE_OPERATION_VALUE = 21;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_MAP_NEW = 22;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_MAP_NEW_VALUE = 22;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_ROUTE_BOOK = 23;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_ROUTE_BOOK_VALUE = 23;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_STAGE = 24;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_STAGE_VALUE = 24;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_TRAINING_PLAN = 25;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_TRAINING_PLAN_VALUE = 25;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_ALG_GOMORE = 26;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_ALG_GOMORE_VALUE = 26;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_GROUP_RIDE = 27;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_GROUP_RIDE_VALUE = 27;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV = 28;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV_VALUE = 28;
|
||||
/**
|
||||
* <code>enum_SERVICE_TYPE_INDEX_MUSIC_CTL = 29;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_TYPE_INDEX_MUSIC_CTL_VALUE = 29;
|
||||
|
||||
|
||||
@java.lang.Override
|
||||
public final int getNumber() {
|
||||
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 service_type_index valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static service_type_index forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return enum_SERVICE_TYPE_INDEX_NONE;
|
||||
case 1: return enum_SERVICE_TYPE_INDEX_INS;
|
||||
case 2: return enum_SERVICE_TYPE_INDEX_MAP;
|
||||
case 3: return enum_SERVICE_TYPE_INDEX_BACK;
|
||||
case 4: return enum_SERVICE_TYPE_INDEX_FIRMWARE;
|
||||
case 5: return enum_SERVICE_TYPE_INDEX_WIFI;
|
||||
case 6: return enum_SERVICE_TYPE_INDEX_CYCLING_DATA;
|
||||
case 7: return enum_SERVICE_TYPE_INDEX_ROUTE_PLAN;
|
||||
case 8: return enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE;
|
||||
case 9: return enum_SERVICE_TYPE_INDEX_USER_CONFIG;
|
||||
case 10: return enum_SERVICE_TYPE_INDEX_BLE;
|
||||
case 11: return enum_SERVICE_TYPE_INDEX_FACTORY;
|
||||
case 12: return enum_SERVICE_TYPE_INDEX_CONFIG;
|
||||
case 13: return enum_SERVICE_TYPE_INDEX_DEV_STATUS;
|
||||
case 14: return enum_SERVICE_TYPE_INDEX_SENSOR;
|
||||
case 15: return enum_SERVICE_TYPE_INDEX_TRAINING;
|
||||
case 16: return enum_SERVICE_TYPE_INDEX_TEAM_INFO;
|
||||
case 17: return enum_SERVICE_TYPE_INDEX_DEV_VER_INFO;
|
||||
case 18: return enum_SERVICE_TYPE_INDEX_LANGUAGE;
|
||||
case 19: return enum_SERVICE_TYPE_INDEX_LOG;
|
||||
case 20: return enum_SERVICE_TYPE_INDEX_THEME;
|
||||
case 21: return enum_SERVICE_TYPE_INDEX_FILE_OPERATION;
|
||||
case 22: return enum_SERVICE_TYPE_INDEX_MAP_NEW;
|
||||
case 23: return enum_SERVICE_TYPE_INDEX_ROUTE_BOOK;
|
||||
case 24: return enum_SERVICE_TYPE_INDEX_STAGE;
|
||||
case 25: return enum_SERVICE_TYPE_INDEX_TRAINING_PLAN;
|
||||
case 26: return enum_SERVICE_TYPE_INDEX_ALG_GOMORE;
|
||||
case 27: return enum_SERVICE_TYPE_INDEX_GROUP_RIDE;
|
||||
case 28: return enum_SERVICE_TYPE_INDEX_CLOUD_SWITCH_DEV;
|
||||
case 29: return enum_SERVICE_TYPE_INDEX_MUSIC_CTL;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<service_type_index>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
service_type_index> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<service_type_index>() {
|
||||
@java.lang.Override
|
||||
public service_type_index findValueByNumber(int number) {
|
||||
return service_type_index.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return service_type_indexVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class service_type_indexVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new service_type_indexVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return service_type_index.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private service_type_index(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:service_type_index)
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code SERVICE_OPERATE_TYPE}
|
||||
*/
|
||||
public enum SERVICE_OPERATE_TYPE
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_NONE = 0;</code>
|
||||
*/
|
||||
enum_SERVICE_OPERATE_TYPE_NONE(0),
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_SET = 1;</code>
|
||||
*/
|
||||
enum_SERVICE_OPERATE_TYPE_SET(1),
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_GET = 2;</code>
|
||||
*/
|
||||
enum_SERVICE_OPERATE_TYPE_GET(2),
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_ADD = 3;</code>
|
||||
*/
|
||||
enum_SERVICE_OPERATE_TYPE_ADD(3),
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_DEL = 4;</code>
|
||||
*/
|
||||
enum_SERVICE_OPERATE_TYPE_DEL(4),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_NONE = 0;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_OPERATE_TYPE_NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_SET = 1;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_OPERATE_TYPE_SET_VALUE = 1;
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_GET = 2;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_OPERATE_TYPE_GET_VALUE = 2;
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_ADD = 3;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_OPERATE_TYPE_ADD_VALUE = 3;
|
||||
/**
|
||||
* <code>enum_SERVICE_OPERATE_TYPE_DEL = 4;</code>
|
||||
*/
|
||||
public static final int enum_SERVICE_OPERATE_TYPE_DEL_VALUE = 4;
|
||||
|
||||
|
||||
@java.lang.Override
|
||||
public final int getNumber() {
|
||||
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 SERVICE_OPERATE_TYPE valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static SERVICE_OPERATE_TYPE forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return enum_SERVICE_OPERATE_TYPE_NONE;
|
||||
case 1: return enum_SERVICE_OPERATE_TYPE_SET;
|
||||
case 2: return enum_SERVICE_OPERATE_TYPE_GET;
|
||||
case 3: return enum_SERVICE_OPERATE_TYPE_ADD;
|
||||
case 4: return enum_SERVICE_OPERATE_TYPE_DEL;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<SERVICE_OPERATE_TYPE>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
SERVICE_OPERATE_TYPE> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<SERVICE_OPERATE_TYPE>() {
|
||||
@java.lang.Override
|
||||
public SERVICE_OPERATE_TYPE findValueByNumber(int number) {
|
||||
return SERVICE_OPERATE_TYPE.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return SERVICE_OPERATE_TYPEVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class SERVICE_OPERATE_TYPEVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new SERVICE_OPERATE_TYPEVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return SERVICE_OPERATE_TYPE.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private SERVICE_OPERATE_TYPE(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:SERVICE_OPERATE_TYPE)
|
||||
}
|
||||
|
||||
public interface file_list_get_messageOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:file_list_get_message)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return Whether the fileNum field is set.
|
||||
*/
|
||||
boolean hasFileNum();
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return The fileNum.
|
||||
*/
|
||||
int getFileNum();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return Whether the fileListSupportNumMax field is set.
|
||||
*/
|
||||
boolean hasFileListSupportNumMax();
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return The fileListSupportNumMax.
|
||||
*/
|
||||
int getFileListSupportNumMax();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return Whether the fileIndexStart field is set.
|
||||
*/
|
||||
boolean hasFileIndexStart();
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return The fileIndexStart.
|
||||
*/
|
||||
int getFileIndexStart();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return Whether the fileIndexEnd field is set.
|
||||
*/
|
||||
boolean hasFileIndexEnd();
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return The fileIndexEnd.
|
||||
*/
|
||||
int getFileIndexEnd();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code file_list_get_message}
|
||||
*/
|
||||
public static final class file_list_get_message extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
file_list_get_message, file_list_get_message.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:file_list_get_message)
|
||||
file_list_get_messageOrBuilder {
|
||||
private file_list_get_message() {
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int FILE_NUM_FIELD_NUMBER = 1;
|
||||
private int fileNum_;
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return Whether the fileNum field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileNum() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return The fileNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileNum() {
|
||||
return fileNum_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @param value The fileNum to set.
|
||||
*/
|
||||
private void setFileNum(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
fileNum_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
*/
|
||||
private void clearFileNum() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
fileNum_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_LIST_SUPPORT_NUM_MAX_FIELD_NUMBER = 2;
|
||||
private int fileListSupportNumMax_;
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return Whether the fileListSupportNumMax field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileListSupportNumMax() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return The fileListSupportNumMax.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileListSupportNumMax() {
|
||||
return fileListSupportNumMax_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @param value The fileListSupportNumMax to set.
|
||||
*/
|
||||
private void setFileListSupportNumMax(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
fileListSupportNumMax_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
*/
|
||||
private void clearFileListSupportNumMax() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
fileListSupportNumMax_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_INDEX_START_FIELD_NUMBER = 3;
|
||||
private int fileIndexStart_;
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return Whether the fileIndexStart field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileIndexStart() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return The fileIndexStart.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileIndexStart() {
|
||||
return fileIndexStart_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @param value The fileIndexStart to set.
|
||||
*/
|
||||
private void setFileIndexStart(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
fileIndexStart_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
*/
|
||||
private void clearFileIndexStart() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
fileIndexStart_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_INDEX_END_FIELD_NUMBER = 4;
|
||||
private int fileIndexEnd_;
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return Whether the fileIndexEnd field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileIndexEnd() {
|
||||
return ((bitField0_ & 0x00000008) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return The fileIndexEnd.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileIndexEnd() {
|
||||
return fileIndexEnd_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @param value The fileIndexEnd to set.
|
||||
*/
|
||||
private void setFileIndexEnd(int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
fileIndexEnd_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
*/
|
||||
private void clearFileIndexEnd() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
fileIndexEnd_ = 0;
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code file_list_get_message}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:file_list_get_message)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_messageOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return Whether the fileNum field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileNum() {
|
||||
return instance.hasFileNum();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return The fileNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileNum() {
|
||||
return instance.getFileNum();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @param value The fileNum to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileNum(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileNum(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_num = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileNum() {
|
||||
copyOnWrite();
|
||||
instance.clearFileNum();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return Whether the fileListSupportNumMax field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileListSupportNumMax() {
|
||||
return instance.hasFileListSupportNumMax();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return The fileListSupportNumMax.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileListSupportNumMax() {
|
||||
return instance.getFileListSupportNumMax();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @param value The fileListSupportNumMax to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileListSupportNumMax(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileListSupportNumMax(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_list_support_num_max = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileListSupportNumMax() {
|
||||
copyOnWrite();
|
||||
instance.clearFileListSupportNumMax();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return Whether the fileIndexStart field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileIndexStart() {
|
||||
return instance.hasFileIndexStart();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return The fileIndexStart.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileIndexStart() {
|
||||
return instance.getFileIndexStart();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @param value The fileIndexStart to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileIndexStart(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileIndexStart(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_start = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileIndexStart() {
|
||||
copyOnWrite();
|
||||
instance.clearFileIndexStart();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return Whether the fileIndexEnd field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileIndexEnd() {
|
||||
return instance.hasFileIndexEnd();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return The fileIndexEnd.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileIndexEnd() {
|
||||
return instance.getFileIndexEnd();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @param value The fileIndexEnd to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileIndexEnd(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileIndexEnd(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_index_end = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileIndexEnd() {
|
||||
copyOnWrite();
|
||||
instance.clearFileIndexEnd();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:file_list_get_message)
|
||||
}
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"fileNum_",
|
||||
"fileListSupportNumMax_",
|
||||
"fileIndexStart_",
|
||||
"fileIndexEnd_",
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u100b\u0000\u0002" +
|
||||
"\u100b\u0001\u0003\u100b\u0002\u0004\u100b\u0003";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message>(
|
||||
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:file_list_get_message)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message DEFAULT_INSTANCE;
|
||||
static {
|
||||
file_list_get_message defaultInstance = new file_list_get_message();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
file_list_get_message.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.file_list_get_message getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<file_list_get_message> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<file_list_get_message> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
+2164
File diff suppressed because it is too large
Load Diff
+4857
File diff suppressed because it is too large
Load Diff
+1406
File diff suppressed because it is too large
Load Diff
+4948
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+744
@@ -0,0 +1,744 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/file_download.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class FileDownload {
|
||||
private FileDownload() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
public interface file_downloadOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:file_download)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return Whether the fileSize field is set.
|
||||
*/
|
||||
boolean hasFileSize();
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return The fileSize.
|
||||
*/
|
||||
int getFileSize();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return Whether the fileType field is set.
|
||||
*/
|
||||
boolean hasFileType();
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return The fileType.
|
||||
*/
|
||||
int getFileType();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return Whether the fileId field is set.
|
||||
*/
|
||||
boolean hasFileId();
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return The fileId.
|
||||
*/
|
||||
int getFileId();
|
||||
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return Whether the fileName field is set.
|
||||
*/
|
||||
boolean hasFileName();
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return The fileName.
|
||||
*/
|
||||
java.lang.String getFileName();
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return The bytes for fileName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getFileNameBytes();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return Whether the fileVerifyVal field is set.
|
||||
*/
|
||||
boolean hasFileVerifyVal();
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return The fileVerifyVal.
|
||||
*/
|
||||
int getFileVerifyVal();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return Whether the fileCrc32 field is set.
|
||||
*/
|
||||
boolean hasFileCrc32();
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return The fileCrc32.
|
||||
*/
|
||||
int getFileCrc32();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code file_download}
|
||||
*/
|
||||
public static final class file_download extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
file_download, file_download.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:file_download)
|
||||
file_downloadOrBuilder {
|
||||
private file_download() {
|
||||
fileName_ = "";
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int FILE_SIZE_FIELD_NUMBER = 1;
|
||||
private int fileSize_;
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return Whether the fileSize field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileSize() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return The fileSize.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileSize() {
|
||||
return fileSize_;
|
||||
}
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @param value The fileSize to set.
|
||||
*/
|
||||
private void setFileSize(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
fileSize_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
*/
|
||||
private void clearFileSize() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
fileSize_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_TYPE_FIELD_NUMBER = 2;
|
||||
private int fileType_;
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return Whether the fileType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileType() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return The fileType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileType() {
|
||||
return fileType_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @param value The fileType to set.
|
||||
*/
|
||||
private void setFileType(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
fileType_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
*/
|
||||
private void clearFileType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
fileType_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_ID_FIELD_NUMBER = 3;
|
||||
private int fileId_;
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return Whether the fileId field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileId() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return The fileId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileId() {
|
||||
return fileId_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @param value The fileId to set.
|
||||
*/
|
||||
private void setFileId(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
fileId_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
*/
|
||||
private void clearFileId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
fileId_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_NAME_FIELD_NUMBER = 4;
|
||||
private java.lang.String fileName_;
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return Whether the fileName field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileName() {
|
||||
return ((bitField0_ & 0x00000008) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return The fileName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getFileName() {
|
||||
return fileName_;
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return The bytes for fileName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getFileNameBytes() {
|
||||
return com.google.protobuf.ByteString.copyFromUtf8(fileName_);
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @param value The fileName to set.
|
||||
*/
|
||||
private void setFileName(
|
||||
java.lang.String value) {
|
||||
java.lang.Class<?> valueClass = value.getClass();
|
||||
bitField0_ |= 0x00000008;
|
||||
fileName_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
*/
|
||||
private void clearFileName() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
fileName_ = getDefaultInstance().getFileName();
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @param value The bytes for fileName to set.
|
||||
*/
|
||||
private void setFileNameBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
fileName_ = value.toStringUtf8();
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
|
||||
public static final int FILE_VERIFY_VAL_FIELD_NUMBER = 7;
|
||||
private int fileVerifyVal_;
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return Whether the fileVerifyVal field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileVerifyVal() {
|
||||
return ((bitField0_ & 0x00000010) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return The fileVerifyVal.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileVerifyVal() {
|
||||
return fileVerifyVal_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @param value The fileVerifyVal to set.
|
||||
*/
|
||||
private void setFileVerifyVal(int value) {
|
||||
bitField0_ |= 0x00000010;
|
||||
fileVerifyVal_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
*/
|
||||
private void clearFileVerifyVal() {
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
fileVerifyVal_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_CRC32_FIELD_NUMBER = 8;
|
||||
private int fileCrc32_;
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return Whether the fileCrc32 field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileCrc32() {
|
||||
return ((bitField0_ & 0x00000020) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return The fileCrc32.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileCrc32() {
|
||||
return fileCrc32_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @param value The fileCrc32 to set.
|
||||
*/
|
||||
private void setFileCrc32(int value) {
|
||||
bitField0_ |= 0x00000020;
|
||||
fileCrc32_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
*/
|
||||
private void clearFileCrc32() {
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
fileCrc32_ = 0;
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code file_download}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:file_download)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_downloadOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return Whether the fileSize field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileSize() {
|
||||
return instance.hasFileSize();
|
||||
}
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return The fileSize.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileSize() {
|
||||
return instance.getFileSize();
|
||||
}
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @param value The fileSize to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileSize(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileSize(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required uint32 file_size = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileSize() {
|
||||
copyOnWrite();
|
||||
instance.clearFileSize();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return Whether the fileType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileType() {
|
||||
return instance.hasFileType();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return The fileType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileType() {
|
||||
return instance.getFileType();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @param value The fileType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileType(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_type = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileType() {
|
||||
copyOnWrite();
|
||||
instance.clearFileType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return Whether the fileId field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileId() {
|
||||
return instance.hasFileId();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return The fileId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileId() {
|
||||
return instance.getFileId();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @param value The fileId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileId(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileId(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_id = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileId() {
|
||||
copyOnWrite();
|
||||
instance.clearFileId();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return Whether the fileName field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileName() {
|
||||
return instance.hasFileName();
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return The fileName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getFileName() {
|
||||
return instance.getFileName();
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return The bytes for fileName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getFileNameBytes() {
|
||||
return instance.getFileNameBytes();
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @param value The fileName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileName(
|
||||
java.lang.String value) {
|
||||
copyOnWrite();
|
||||
instance.setFileName(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileName() {
|
||||
copyOnWrite();
|
||||
instance.clearFileName();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string file_name = 4;</code>
|
||||
* @param value The bytes for fileName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileNameBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
copyOnWrite();
|
||||
instance.setFileNameBytes(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return Whether the fileVerifyVal field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileVerifyVal() {
|
||||
return instance.hasFileVerifyVal();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return The fileVerifyVal.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileVerifyVal() {
|
||||
return instance.getFileVerifyVal();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @param value The fileVerifyVal to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileVerifyVal(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileVerifyVal(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_verify_val = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileVerifyVal() {
|
||||
copyOnWrite();
|
||||
instance.clearFileVerifyVal();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return Whether the fileCrc32 field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileCrc32() {
|
||||
return instance.hasFileCrc32();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return The fileCrc32.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileCrc32() {
|
||||
return instance.getFileCrc32();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @param value The fileCrc32 to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileCrc32(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileCrc32(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 file_crc32 = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileCrc32() {
|
||||
copyOnWrite();
|
||||
instance.clearFileCrc32();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:file_download)
|
||||
}
|
||||
private byte memoizedIsInitialized = 2;
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"fileSize_",
|
||||
"fileType_",
|
||||
"fileId_",
|
||||
"fileName_",
|
||||
"fileVerifyVal_",
|
||||
"fileCrc32_",
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0006\u0000\u0001\u0001\b\u0006\u0000\u0000\u0001\u0001\u150b\u0000\u0002" +
|
||||
"\u100b\u0001\u0003\u100b\u0002\u0004\u1008\u0003\u0007\u100b\u0004\b\u100b\u0005" +
|
||||
"";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download>(
|
||||
DEFAULT_INSTANCE);
|
||||
PARSER = parser;
|
||||
}
|
||||
}
|
||||
}
|
||||
return parser;
|
||||
}
|
||||
case GET_MEMOIZED_IS_INITIALIZED: {
|
||||
return memoizedIsInitialized;
|
||||
}
|
||||
case SET_MEMOIZED_IS_INITIALIZED: {
|
||||
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(class_scope:file_download)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download DEFAULT_INSTANCE;
|
||||
static {
|
||||
file_download defaultInstance = new file_download();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
file_download.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.FileDownload.file_download getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<file_download> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<file_download> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
+1939
File diff suppressed because it is too large
Load Diff
+3872
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+2317
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,928 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/log.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class Log {
|
||||
private Log() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
/**
|
||||
* Protobuf enum {@code LOG_SUB_OPERATE_TYPE}
|
||||
*/
|
||||
public enum LOG_SUB_OPERATE_TYPE
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>enum_LOG_INVALID = 0;</code>
|
||||
*/
|
||||
enum_LOG_INVALID(0),
|
||||
/**
|
||||
* <code>enum_LOG_NUMBER_GET = 16;</code>
|
||||
*/
|
||||
enum_LOG_NUMBER_GET(16),
|
||||
/**
|
||||
* <code>enum_LOG_GET = 17;</code>
|
||||
*/
|
||||
enum_LOG_GET(17),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>enum_LOG_INVALID = 0;</code>
|
||||
*/
|
||||
public static final int enum_LOG_INVALID_VALUE = 0;
|
||||
/**
|
||||
* <code>enum_LOG_NUMBER_GET = 16;</code>
|
||||
*/
|
||||
public static final int enum_LOG_NUMBER_GET_VALUE = 16;
|
||||
/**
|
||||
* <code>enum_LOG_GET = 17;</code>
|
||||
*/
|
||||
public static final int enum_LOG_GET_VALUE = 17;
|
||||
|
||||
|
||||
@java.lang.Override
|
||||
public final int getNumber() {
|
||||
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 LOG_SUB_OPERATE_TYPE valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static LOG_SUB_OPERATE_TYPE forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return enum_LOG_INVALID;
|
||||
case 16: return enum_LOG_NUMBER_GET;
|
||||
case 17: return enum_LOG_GET;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<LOG_SUB_OPERATE_TYPE>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
LOG_SUB_OPERATE_TYPE> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<LOG_SUB_OPERATE_TYPE>() {
|
||||
@java.lang.Override
|
||||
public LOG_SUB_OPERATE_TYPE findValueByNumber(int number) {
|
||||
return LOG_SUB_OPERATE_TYPE.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return LOG_SUB_OPERATE_TYPEVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class LOG_SUB_OPERATE_TYPEVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LOG_SUB_OPERATE_TYPEVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return LOG_SUB_OPERATE_TYPE.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private LOG_SUB_OPERATE_TYPE(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:LOG_SUB_OPERATE_TYPE)
|
||||
}
|
||||
|
||||
public interface log_msgOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:log_msg)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return Whether the service field is set.
|
||||
*/
|
||||
boolean hasService();
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return The service.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getService();
|
||||
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operate field is set.
|
||||
*/
|
||||
boolean hasOperate();
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operate.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperate();
|
||||
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return Whether the subOperate field is set.
|
||||
*/
|
||||
boolean hasSubOperate();
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return The subOperate.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE getSubOperate();
|
||||
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return Whether the logName field is set.
|
||||
*/
|
||||
boolean hasLogName();
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return The logName.
|
||||
*/
|
||||
java.lang.String getLogName();
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return The bytes for logName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getLogNameBytes();
|
||||
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return Whether the content field is set.
|
||||
*/
|
||||
boolean hasContent();
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return The content.
|
||||
*/
|
||||
com.google.protobuf.ByteString getContent();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return Whether the logNum field is set.
|
||||
*/
|
||||
boolean hasLogNum();
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return The logNum.
|
||||
*/
|
||||
int getLogNum();
|
||||
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return Whether the logType field is set.
|
||||
*/
|
||||
boolean hasLogType();
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return The logType.
|
||||
*/
|
||||
int getLogType();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code log_msg}
|
||||
*/
|
||||
public static final class log_msg extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
log_msg, log_msg.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:log_msg)
|
||||
log_msgOrBuilder {
|
||||
private log_msg() {
|
||||
service_ = 19;
|
||||
logName_ = "";
|
||||
content_ = com.google.protobuf.ByteString.EMPTY;
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int SERVICE_FIELD_NUMBER = 1;
|
||||
private int service_;
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return Whether the service field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasService() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return The service.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getService() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.forNumber(service_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.enum_SERVICE_TYPE_INDEX_LOG : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @param value The service to set.
|
||||
*/
|
||||
private void setService(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
service_ = value.getNumber();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
*/
|
||||
private void clearService() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
service_ = 19;
|
||||
}
|
||||
|
||||
public static final int OPERATE_FIELD_NUMBER = 2;
|
||||
private int operate_;
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operate field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasOperate() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operate.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperate() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.forNumber(operate_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.enum_SERVICE_OPERATE_TYPE_NONE : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The operate to set.
|
||||
*/
|
||||
private void setOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE value) {
|
||||
operate_ = value.getNumber();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
*/
|
||||
private void clearOperate() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
operate_ = 0;
|
||||
}
|
||||
|
||||
public static final int SUB_OPERATE_FIELD_NUMBER = 3;
|
||||
private int subOperate_;
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return Whether the subOperate field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasSubOperate() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return The subOperate.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE getSubOperate() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE.forNumber(subOperate_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE.enum_LOG_INVALID : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @param value The subOperate to set.
|
||||
*/
|
||||
private void setSubOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE value) {
|
||||
subOperate_ = value.getNumber();
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
*/
|
||||
private void clearSubOperate() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
subOperate_ = 0;
|
||||
}
|
||||
|
||||
public static final int LOG_NAME_FIELD_NUMBER = 4;
|
||||
private java.lang.String logName_;
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return Whether the logName field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLogName() {
|
||||
return ((bitField0_ & 0x00000008) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return The logName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getLogName() {
|
||||
return logName_;
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return The bytes for logName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getLogNameBytes() {
|
||||
return com.google.protobuf.ByteString.copyFromUtf8(logName_);
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @param value The logName to set.
|
||||
*/
|
||||
private void setLogName(
|
||||
java.lang.String value) {
|
||||
java.lang.Class<?> valueClass = value.getClass();
|
||||
bitField0_ |= 0x00000008;
|
||||
logName_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
*/
|
||||
private void clearLogName() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
logName_ = getDefaultInstance().getLogName();
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @param value The bytes for logName to set.
|
||||
*/
|
||||
private void setLogNameBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
logName_ = value.toStringUtf8();
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
|
||||
public static final int CONTENT_FIELD_NUMBER = 5;
|
||||
private com.google.protobuf.ByteString content_;
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return Whether the content field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasContent() {
|
||||
return ((bitField0_ & 0x00000010) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return The content.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString getContent() {
|
||||
return content_;
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @param value The content to set.
|
||||
*/
|
||||
private void setContent(com.google.protobuf.ByteString value) {
|
||||
java.lang.Class<?> valueClass = value.getClass();
|
||||
bitField0_ |= 0x00000010;
|
||||
content_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
*/
|
||||
private void clearContent() {
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
content_ = getDefaultInstance().getContent();
|
||||
}
|
||||
|
||||
public static final int LOG_NUM_FIELD_NUMBER = 6;
|
||||
private int logNum_;
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return Whether the logNum field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLogNum() {
|
||||
return ((bitField0_ & 0x00000020) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return The logNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLogNum() {
|
||||
return logNum_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @param value The logNum to set.
|
||||
*/
|
||||
private void setLogNum(int value) {
|
||||
bitField0_ |= 0x00000020;
|
||||
logNum_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
*/
|
||||
private void clearLogNum() {
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
logNum_ = 0;
|
||||
}
|
||||
|
||||
public static final int LOG_TYPE_FIELD_NUMBER = 7;
|
||||
private int logType_;
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return Whether the logType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLogType() {
|
||||
return ((bitField0_ & 0x00000040) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return The logType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLogType() {
|
||||
return logType_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @param value The logType to set.
|
||||
*/
|
||||
private void setLogType(int value) {
|
||||
bitField0_ |= 0x00000040;
|
||||
logType_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
*/
|
||||
private void clearLogType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000040);
|
||||
logType_ = 0;
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code log_msg}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:log_msg)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msgOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return Whether the service field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasService() {
|
||||
return instance.hasService();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return The service.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getService() {
|
||||
return instance.getService();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @param value The enum numeric value on the wire for service to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setService(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
copyOnWrite();
|
||||
instance.setService(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service = 1 [default = enum_SERVICE_TYPE_INDEX_LOG];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearService() {
|
||||
copyOnWrite();
|
||||
instance.clearService();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operate field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasOperate() {
|
||||
return instance.hasOperate();
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operate.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperate() {
|
||||
return instance.getOperate();
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The enum numeric value on the wire for operate to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE value) {
|
||||
copyOnWrite();
|
||||
instance.setOperate(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate = 2 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOperate() {
|
||||
copyOnWrite();
|
||||
instance.clearOperate();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return Whether the subOperate field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasSubOperate() {
|
||||
return instance.hasSubOperate();
|
||||
}
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return The subOperate.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE getSubOperate() {
|
||||
return instance.getSubOperate();
|
||||
}
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @param value The enum numeric value on the wire for subOperate to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setSubOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE value) {
|
||||
copyOnWrite();
|
||||
instance.setSubOperate(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .LOG_SUB_OPERATE_TYPE sub_operate = 3 [default = enum_LOG_INVALID];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSubOperate() {
|
||||
copyOnWrite();
|
||||
instance.clearSubOperate();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return Whether the logName field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLogName() {
|
||||
return instance.hasLogName();
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return The logName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getLogName() {
|
||||
return instance.getLogName();
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return The bytes for logName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getLogNameBytes() {
|
||||
return instance.getLogNameBytes();
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @param value The logName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLogName(
|
||||
java.lang.String value) {
|
||||
copyOnWrite();
|
||||
instance.setLogName(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLogName() {
|
||||
copyOnWrite();
|
||||
instance.clearLogName();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string log_name = 4;</code>
|
||||
* @param value The bytes for logName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLogNameBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
copyOnWrite();
|
||||
instance.setLogNameBytes(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return Whether the content field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasContent() {
|
||||
return instance.hasContent();
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return The content.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString getContent() {
|
||||
return instance.getContent();
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @param value The content to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setContent(com.google.protobuf.ByteString value) {
|
||||
copyOnWrite();
|
||||
instance.setContent(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes content = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearContent() {
|
||||
copyOnWrite();
|
||||
instance.clearContent();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return Whether the logNum field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLogNum() {
|
||||
return instance.hasLogNum();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return The logNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLogNum() {
|
||||
return instance.getLogNum();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @param value The logNum to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLogNum(int value) {
|
||||
copyOnWrite();
|
||||
instance.setLogNum(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_num = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLogNum() {
|
||||
copyOnWrite();
|
||||
instance.clearLogNum();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return Whether the logType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLogType() {
|
||||
return instance.hasLogType();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return The logType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLogType() {
|
||||
return instance.getLogType();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @param value The logType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLogType(int value) {
|
||||
copyOnWrite();
|
||||
instance.setLogType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 log_type = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLogType() {
|
||||
copyOnWrite();
|
||||
instance.clearLogType();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:log_msg)
|
||||
}
|
||||
private byte memoizedIsInitialized = 2;
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"service_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.internalGetVerifier(),
|
||||
"operate_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.internalGetVerifier(),
|
||||
"subOperate_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.LOG_SUB_OPERATE_TYPE.internalGetVerifier(),
|
||||
"logName_",
|
||||
"content_",
|
||||
"logNum_",
|
||||
"logType_",
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0000\u0003\u0001\u150c\u0000\u0002" +
|
||||
"\u150c\u0001\u0003\u150c\u0002\u0004\u1008\u0003\u0005\u100a\u0004\u0006\u100b\u0005" +
|
||||
"\u0007\u100b\u0006";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg>(
|
||||
DEFAULT_INSTANCE);
|
||||
PARSER = parser;
|
||||
}
|
||||
}
|
||||
}
|
||||
return parser;
|
||||
}
|
||||
case GET_MEMOIZED_IS_INITIALIZED: {
|
||||
return memoizedIsInitialized;
|
||||
}
|
||||
case SET_MEMOIZED_IS_INITIALIZED: {
|
||||
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(class_scope:log_msg)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg DEFAULT_INSTANCE;
|
||||
static {
|
||||
log_msg defaultInstance = new log_msg();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
log_msg.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Log.log_msg getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<log_msg> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<log_msg> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+302
@@ -0,0 +1,302 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/peripheral_common.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class PeripheralCommon {
|
||||
private PeripheralCommon() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
/**
|
||||
* Protobuf enum {@code PERIPHERAL_SERVICE_TYPE}
|
||||
*/
|
||||
public enum PERIPHERAL_SERVICE_TYPE
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>PST_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
PST_UNSPECIFIED(0),
|
||||
/**
|
||||
* <code>PST_INFO = 101;</code>
|
||||
*/
|
||||
PST_INFO(101),
|
||||
/**
|
||||
* <code>PST_CONFIG = 102;</code>
|
||||
*/
|
||||
PST_CONFIG(102),
|
||||
/**
|
||||
* <code>PST_HR = 103;</code>
|
||||
*/
|
||||
PST_HR(103),
|
||||
/**
|
||||
* <code>PST_RADAR = 104;</code>
|
||||
*/
|
||||
PST_RADAR(104),
|
||||
/**
|
||||
* <code>PST_LIGHT = 105;</code>
|
||||
*/
|
||||
PST_LIGHT(105),
|
||||
/**
|
||||
* <code>PST_BLE_LIGHT = 106;</code>
|
||||
*/
|
||||
PST_BLE_LIGHT(106),
|
||||
/**
|
||||
* <code>PST_FIRMWARE = 121;</code>
|
||||
*/
|
||||
PST_FIRMWARE(121),
|
||||
/**
|
||||
* <code>PST_FACTORY = 131;</code>
|
||||
*/
|
||||
PST_FACTORY(131),
|
||||
/**
|
||||
* <code>PST_OEM = 132;</code>
|
||||
*/
|
||||
PST_OEM(132),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>PST_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
public static final int PST_UNSPECIFIED_VALUE = 0;
|
||||
/**
|
||||
* <code>PST_INFO = 101;</code>
|
||||
*/
|
||||
public static final int PST_INFO_VALUE = 101;
|
||||
/**
|
||||
* <code>PST_CONFIG = 102;</code>
|
||||
*/
|
||||
public static final int PST_CONFIG_VALUE = 102;
|
||||
/**
|
||||
* <code>PST_HR = 103;</code>
|
||||
*/
|
||||
public static final int PST_HR_VALUE = 103;
|
||||
/**
|
||||
* <code>PST_RADAR = 104;</code>
|
||||
*/
|
||||
public static final int PST_RADAR_VALUE = 104;
|
||||
/**
|
||||
* <code>PST_LIGHT = 105;</code>
|
||||
*/
|
||||
public static final int PST_LIGHT_VALUE = 105;
|
||||
/**
|
||||
* <code>PST_BLE_LIGHT = 106;</code>
|
||||
*/
|
||||
public static final int PST_BLE_LIGHT_VALUE = 106;
|
||||
/**
|
||||
* <code>PST_FIRMWARE = 121;</code>
|
||||
*/
|
||||
public static final int PST_FIRMWARE_VALUE = 121;
|
||||
/**
|
||||
* <code>PST_FACTORY = 131;</code>
|
||||
*/
|
||||
public static final int PST_FACTORY_VALUE = 131;
|
||||
/**
|
||||
* <code>PST_OEM = 132;</code>
|
||||
*/
|
||||
public static final int PST_OEM_VALUE = 132;
|
||||
|
||||
|
||||
@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 PERIPHERAL_SERVICE_TYPE valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static PERIPHERAL_SERVICE_TYPE forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return PST_UNSPECIFIED;
|
||||
case 101: return PST_INFO;
|
||||
case 102: return PST_CONFIG;
|
||||
case 103: return PST_HR;
|
||||
case 104: return PST_RADAR;
|
||||
case 105: return PST_LIGHT;
|
||||
case 106: return PST_BLE_LIGHT;
|
||||
case 121: return PST_FIRMWARE;
|
||||
case 131: return PST_FACTORY;
|
||||
case 132: return PST_OEM;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<PERIPHERAL_SERVICE_TYPE>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
PERIPHERAL_SERVICE_TYPE> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<PERIPHERAL_SERVICE_TYPE>() {
|
||||
@java.lang.Override
|
||||
public PERIPHERAL_SERVICE_TYPE findValueByNumber(int number) {
|
||||
return PERIPHERAL_SERVICE_TYPE.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return PERIPHERAL_SERVICE_TYPEVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class PERIPHERAL_SERVICE_TYPEVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PERIPHERAL_SERVICE_TYPEVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return PERIPHERAL_SERVICE_TYPE.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private PERIPHERAL_SERVICE_TYPE(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:PERIPHERAL_SERVICE_TYPE)
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code PERIPHERAL_OPERATE_TYPE}
|
||||
*/
|
||||
public enum PERIPHERAL_OPERATE_TYPE
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>POT_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
POT_UNSPECIFIED(0),
|
||||
/**
|
||||
* <code>POT_SET = 1;</code>
|
||||
*/
|
||||
POT_SET(1),
|
||||
/**
|
||||
* <code>POT_GET = 2;</code>
|
||||
*/
|
||||
POT_GET(2),
|
||||
/**
|
||||
* <code>POT_ADD = 3;</code>
|
||||
*/
|
||||
POT_ADD(3),
|
||||
/**
|
||||
* <code>POT_DEL = 4;</code>
|
||||
*/
|
||||
POT_DEL(4),
|
||||
/**
|
||||
* <code>POT_CON = 5;</code>
|
||||
*/
|
||||
POT_CON(5),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>POT_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
public static final int POT_UNSPECIFIED_VALUE = 0;
|
||||
/**
|
||||
* <code>POT_SET = 1;</code>
|
||||
*/
|
||||
public static final int POT_SET_VALUE = 1;
|
||||
/**
|
||||
* <code>POT_GET = 2;</code>
|
||||
*/
|
||||
public static final int POT_GET_VALUE = 2;
|
||||
/**
|
||||
* <code>POT_ADD = 3;</code>
|
||||
*/
|
||||
public static final int POT_ADD_VALUE = 3;
|
||||
/**
|
||||
* <code>POT_DEL = 4;</code>
|
||||
*/
|
||||
public static final int POT_DEL_VALUE = 4;
|
||||
/**
|
||||
* <code>POT_CON = 5;</code>
|
||||
*/
|
||||
public static final int POT_CON_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 PERIPHERAL_OPERATE_TYPE valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static PERIPHERAL_OPERATE_TYPE forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return POT_UNSPECIFIED;
|
||||
case 1: return POT_SET;
|
||||
case 2: return POT_GET;
|
||||
case 3: return POT_ADD;
|
||||
case 4: return POT_DEL;
|
||||
case 5: return POT_CON;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<PERIPHERAL_OPERATE_TYPE>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
PERIPHERAL_OPERATE_TYPE> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<PERIPHERAL_OPERATE_TYPE>() {
|
||||
@java.lang.Override
|
||||
public PERIPHERAL_OPERATE_TYPE findValueByNumber(int number) {
|
||||
return PERIPHERAL_OPERATE_TYPE.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return PERIPHERAL_OPERATE_TYPEVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class PERIPHERAL_OPERATE_TYPEVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PERIPHERAL_OPERATE_TYPEVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return PERIPHERAL_OPERATE_TYPE.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private PERIPHERAL_OPERATE_TYPE(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:PERIPHERAL_OPERATE_TYPE)
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
+2790
File diff suppressed because it is too large
Load Diff
+9264
File diff suppressed because it is too large
Load Diff
+1295
File diff suppressed because it is too large
Load Diff
+2976
File diff suppressed because it is too large
Load Diff
+4525
File diff suppressed because it is too large
Load Diff
+5293
File diff suppressed because it is too large
Load Diff
+10805
File diff suppressed because it is too large
Load Diff
+2498
File diff suppressed because it is too large
Load Diff
+2223
File diff suppressed because it is too large
Load Diff
+939
@@ -0,0 +1,939 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/real_time_trace.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class RealTimeTrace {
|
||||
private RealTimeTrace() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
/**
|
||||
* Protobuf enum {@code REAL_TIME_TRACE_OPERATE_TYPE}
|
||||
*/
|
||||
public enum REAL_TIME_TRACE_OPERATE_TYPE
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE = 0;</code>
|
||||
*/
|
||||
enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE(0),
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_GET = 1;</code>
|
||||
*/
|
||||
enum_REAL_TIME_TRACE_OPERATE_TYPE_GET(1),
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT = 2;</code>
|
||||
*/
|
||||
enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT(2),
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH = 3;</code>
|
||||
*/
|
||||
enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH(3),
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_END = 4;</code>
|
||||
*/
|
||||
enum_REAL_TIME_TRACE_OPERATE_TYPE_END(4),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE = 0;</code>
|
||||
*/
|
||||
public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_GET = 1;</code>
|
||||
*/
|
||||
public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_GET_VALUE = 1;
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT = 2;</code>
|
||||
*/
|
||||
public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT_VALUE = 2;
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH = 3;</code>
|
||||
*/
|
||||
public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH_VALUE = 3;
|
||||
/**
|
||||
* <code>enum_REAL_TIME_TRACE_OPERATE_TYPE_END = 4;</code>
|
||||
*/
|
||||
public static final int enum_REAL_TIME_TRACE_OPERATE_TYPE_END_VALUE = 4;
|
||||
|
||||
|
||||
@java.lang.Override
|
||||
public final int getNumber() {
|
||||
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 REAL_TIME_TRACE_OPERATE_TYPE valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static REAL_TIME_TRACE_OPERATE_TYPE forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE;
|
||||
case 1: return enum_REAL_TIME_TRACE_OPERATE_TYPE_GET;
|
||||
case 2: return enum_REAL_TIME_TRACE_OPERATE_TYPE_FIT;
|
||||
case 3: return enum_REAL_TIME_TRACE_OPERATE_TYPE_FINISH;
|
||||
case 4: return enum_REAL_TIME_TRACE_OPERATE_TYPE_END;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<REAL_TIME_TRACE_OPERATE_TYPE>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
REAL_TIME_TRACE_OPERATE_TYPE> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<REAL_TIME_TRACE_OPERATE_TYPE>() {
|
||||
@java.lang.Override
|
||||
public REAL_TIME_TRACE_OPERATE_TYPE findValueByNumber(int number) {
|
||||
return REAL_TIME_TRACE_OPERATE_TYPE.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return REAL_TIME_TRACE_OPERATE_TYPEVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class REAL_TIME_TRACE_OPERATE_TYPEVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new REAL_TIME_TRACE_OPERATE_TYPEVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return REAL_TIME_TRACE_OPERATE_TYPE.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private REAL_TIME_TRACE_OPERATE_TYPE(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:REAL_TIME_TRACE_OPERATE_TYPE)
|
||||
}
|
||||
|
||||
public interface real_time_trace_fit_messageOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:real_time_trace_fit_message)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return Whether the timestamp field is set.
|
||||
*/
|
||||
boolean hasTimestamp();
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return The timestamp.
|
||||
*/
|
||||
int getTimestamp();
|
||||
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return Whether the fitContent field is set.
|
||||
*/
|
||||
boolean hasFitContent();
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return The fitContent.
|
||||
*/
|
||||
com.google.protobuf.ByteString getFitContent();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code real_time_trace_fit_message}
|
||||
*/
|
||||
public static final class real_time_trace_fit_message extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
real_time_trace_fit_message, real_time_trace_fit_message.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:real_time_trace_fit_message)
|
||||
real_time_trace_fit_messageOrBuilder {
|
||||
private real_time_trace_fit_message() {
|
||||
fitContent_ = com.google.protobuf.ByteString.EMPTY;
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int TIMESTAMP_FIELD_NUMBER = 1;
|
||||
private int timestamp_;
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return Whether the timestamp field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasTimestamp() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return The timestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTimestamp() {
|
||||
return timestamp_;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @param value The timestamp to set.
|
||||
*/
|
||||
private void setTimestamp(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
timestamp_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
*/
|
||||
private void clearTimestamp() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
timestamp_ = 0;
|
||||
}
|
||||
|
||||
public static final int FIT_CONTENT_FIELD_NUMBER = 2;
|
||||
private com.google.protobuf.ByteString fitContent_;
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return Whether the fitContent field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFitContent() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return The fitContent.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString getFitContent() {
|
||||
return fitContent_;
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @param value The fitContent to set.
|
||||
*/
|
||||
private void setFitContent(com.google.protobuf.ByteString value) {
|
||||
java.lang.Class<?> valueClass = value.getClass();
|
||||
bitField0_ |= 0x00000002;
|
||||
fitContent_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
*/
|
||||
private void clearFitContent() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
fitContent_ = getDefaultInstance().getFitContent();
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code real_time_trace_fit_message}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:real_time_trace_fit_message)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_messageOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return Whether the timestamp field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasTimestamp() {
|
||||
return instance.hasTimestamp();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return The timestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTimestamp() {
|
||||
return instance.getTimestamp();
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @param value The timestamp to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTimestamp(int value) {
|
||||
copyOnWrite();
|
||||
instance.setTimestamp(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional uint32 timestamp = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTimestamp() {
|
||||
copyOnWrite();
|
||||
instance.clearTimestamp();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return Whether the fitContent field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFitContent() {
|
||||
return instance.hasFitContent();
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return The fitContent.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString getFitContent() {
|
||||
return instance.getFitContent();
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @param value The fitContent to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFitContent(com.google.protobuf.ByteString value) {
|
||||
copyOnWrite();
|
||||
instance.setFitContent(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional bytes fit_content = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFitContent() {
|
||||
copyOnWrite();
|
||||
instance.clearFitContent();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:real_time_trace_fit_message)
|
||||
}
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"timestamp_",
|
||||
"fitContent_",
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u100b\u0000\u0002" +
|
||||
"\u100a\u0001";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message>(
|
||||
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:real_time_trace_fit_message)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message DEFAULT_INSTANCE;
|
||||
static {
|
||||
real_time_trace_fit_message defaultInstance = new real_time_trace_fit_message();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
real_time_trace_fit_message.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<real_time_trace_fit_message> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<real_time_trace_fit_message> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
public interface real_time_trace_msgOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:real_time_trace_msg)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
boolean hasServiceType();
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType();
|
||||
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the realTimeTraceOperateType field is set.
|
||||
*/
|
||||
boolean hasRealTimeTraceOperateType();
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The realTimeTraceOperateType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE getRealTimeTraceOperateType();
|
||||
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
* @return Whether the realTimeTraceFitMsg field is set.
|
||||
*/
|
||||
boolean hasRealTimeTraceFitMsg();
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
* @return The realTimeTraceFitMsg.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getRealTimeTraceFitMsg();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code real_time_trace_msg}
|
||||
*/
|
||||
public static final class real_time_trace_msg extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
real_time_trace_msg, real_time_trace_msg.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:real_time_trace_msg)
|
||||
real_time_trace_msgOrBuilder {
|
||||
private real_time_trace_msg() {
|
||||
serviceType_ = 8;
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int SERVICE_TYPE_FIELD_NUMBER = 1;
|
||||
private int serviceType_;
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasServiceType() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.forNumber(serviceType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @param value The serviceType to set.
|
||||
*/
|
||||
private void setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
serviceType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
*/
|
||||
private void clearServiceType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
serviceType_ = 8;
|
||||
}
|
||||
|
||||
public static final int REAL_TIME_TRACE_OPERATE_TYPE_FIELD_NUMBER = 2;
|
||||
private int realTimeTraceOperateType_;
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the realTimeTraceOperateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasRealTimeTraceOperateType() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The realTimeTraceOperateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE getRealTimeTraceOperateType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE.forNumber(realTimeTraceOperateType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE.enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The realTimeTraceOperateType to set.
|
||||
*/
|
||||
private void setRealTimeTraceOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE value) {
|
||||
realTimeTraceOperateType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
*/
|
||||
private void clearRealTimeTraceOperateType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
realTimeTraceOperateType_ = 0;
|
||||
}
|
||||
|
||||
public static final int REAL_TIME_TRACE_FIT_MSG_FIELD_NUMBER = 3;
|
||||
private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message realTimeTraceFitMsg_;
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasRealTimeTraceFitMsg() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getRealTimeTraceFitMsg() {
|
||||
return realTimeTraceFitMsg_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.getDefaultInstance() : realTimeTraceFitMsg_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
private void setRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
|
||||
value.getClass();
|
||||
realTimeTraceFitMsg_ = value;
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
@java.lang.SuppressWarnings({"ReferenceEquality"})
|
||||
private void mergeRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
|
||||
value.getClass();
|
||||
if (realTimeTraceFitMsg_ != null &&
|
||||
realTimeTraceFitMsg_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.getDefaultInstance()) {
|
||||
realTimeTraceFitMsg_ =
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.newBuilder(realTimeTraceFitMsg_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
realTimeTraceFitMsg_ = value;
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
private void clearRealTimeTraceFitMsg() { realTimeTraceFitMsg_ = null;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code real_time_trace_msg}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:real_time_trace_msg)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msgOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasServiceType() {
|
||||
return instance.hasServiceType();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
|
||||
return instance.getServiceType();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @param value The enum numeric value on the wire for serviceType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
copyOnWrite();
|
||||
instance.setServiceType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_REAL_TIME_TRACE];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearServiceType() {
|
||||
copyOnWrite();
|
||||
instance.clearServiceType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the realTimeTraceOperateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasRealTimeTraceOperateType() {
|
||||
return instance.hasRealTimeTraceOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The realTimeTraceOperateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE getRealTimeTraceOperateType() {
|
||||
return instance.getRealTimeTraceOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The enum numeric value on the wire for realTimeTraceOperateType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRealTimeTraceOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE value) {
|
||||
copyOnWrite();
|
||||
instance.setRealTimeTraceOperateType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .REAL_TIME_TRACE_OPERATE_TYPE real_time_trace_operate_type = 2 [default = enum_REAL_TIME_TRACE_OPERATE_TYPE_NONE];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRealTimeTraceOperateType() {
|
||||
copyOnWrite();
|
||||
instance.clearRealTimeTraceOperateType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasRealTimeTraceFitMsg() {
|
||||
return instance.hasRealTimeTraceFitMsg();
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message getRealTimeTraceFitMsg() {
|
||||
return instance.getRealTimeTraceFitMsg();
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
public Builder setRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
|
||||
copyOnWrite();
|
||||
instance.setRealTimeTraceFitMsg(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
public Builder setRealTimeTraceFitMsg(
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message.Builder builderForValue) {
|
||||
copyOnWrite();
|
||||
instance.setRealTimeTraceFitMsg(builderForValue.build());
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
public Builder mergeRealTimeTraceFitMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_fit_message value) {
|
||||
copyOnWrite();
|
||||
instance.mergeRealTimeTraceFitMsg(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .real_time_trace_fit_message real_time_trace_fit_msg = 3;</code>
|
||||
*/
|
||||
public Builder clearRealTimeTraceFitMsg() { copyOnWrite();
|
||||
instance.clearRealTimeTraceFitMsg();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:real_time_trace_msg)
|
||||
}
|
||||
private byte memoizedIsInitialized = 2;
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"serviceType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.internalGetVerifier(),
|
||||
"realTimeTraceOperateType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.REAL_TIME_TRACE_OPERATE_TYPE.internalGetVerifier(),
|
||||
"realTimeTraceFitMsg_",
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0002\u0001\u150c\u0000\u0002" +
|
||||
"\u150c\u0001\u0003\u1009\u0002";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg>(
|
||||
DEFAULT_INSTANCE);
|
||||
PARSER = parser;
|
||||
}
|
||||
}
|
||||
}
|
||||
return parser;
|
||||
}
|
||||
case GET_MEMOIZED_IS_INITIALIZED: {
|
||||
return memoizedIsInitialized;
|
||||
}
|
||||
case SET_MEMOIZED_IS_INITIALIZED: {
|
||||
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(class_scope:real_time_trace_msg)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg DEFAULT_INSTANCE;
|
||||
static {
|
||||
real_time_trace_msg defaultInstance = new real_time_trace_msg();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
real_time_trace_msg.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.RealTimeTrace.real_time_trace_msg getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<real_time_trace_msg> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<real_time_trace_msg> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
+1459
File diff suppressed because it is too large
Load Diff
+3513
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,740 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: igpsport/train_plan.proto
|
||||
|
||||
package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;
|
||||
|
||||
public final class TrainPlan {
|
||||
private TrainPlan() {}
|
||||
public static void registerAllExtensions(
|
||||
com.google.protobuf.ExtensionRegistryLite registry) {
|
||||
}
|
||||
/**
|
||||
* Protobuf enum {@code TRAINING_PLAN_OPERATE_TYPE}
|
||||
*/
|
||||
public enum TRAINING_PLAN_OPERATE_TYPE
|
||||
implements com.google.protobuf.Internal.EnumLite {
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_NONE = 0;</code>
|
||||
*/
|
||||
enum_TRAINING_PLAN_OPERATE_TYPE_NONE(0),
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_NUM = 1;</code>
|
||||
*/
|
||||
enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_NUM(1),
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_FILE = 2;</code>
|
||||
*/
|
||||
enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_FILE(2),
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_START = 3;</code>
|
||||
*/
|
||||
enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_START(3),
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_END = 4;</code>
|
||||
*/
|
||||
enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_END(4),
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_UPDATE_SCHEDULE_STATE_INFO = 5;</code>
|
||||
*/
|
||||
enum_TRAINING_PLAN_OPERATE_TYPE_UPDATE_SCHEDULE_STATE_INFO(5),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_NONE = 0;</code>
|
||||
*/
|
||||
public static final int enum_TRAINING_PLAN_OPERATE_TYPE_NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_NUM = 1;</code>
|
||||
*/
|
||||
public static final int enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_NUM_VALUE = 1;
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_FILE = 2;</code>
|
||||
*/
|
||||
public static final int enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_FILE_VALUE = 2;
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_START = 3;</code>
|
||||
*/
|
||||
public static final int enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_START_VALUE = 3;
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_END = 4;</code>
|
||||
*/
|
||||
public static final int enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_END_VALUE = 4;
|
||||
/**
|
||||
* <code>enum_TRAINING_PLAN_OPERATE_TYPE_UPDATE_SCHEDULE_STATE_INFO = 5;</code>
|
||||
*/
|
||||
public static final int enum_TRAINING_PLAN_OPERATE_TYPE_UPDATE_SCHEDULE_STATE_INFO_VALUE = 5;
|
||||
|
||||
|
||||
@java.lang.Override
|
||||
public final int getNumber() {
|
||||
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 TRAINING_PLAN_OPERATE_TYPE valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
public static TRAINING_PLAN_OPERATE_TYPE forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return enum_TRAINING_PLAN_OPERATE_TYPE_NONE;
|
||||
case 1: return enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_NUM;
|
||||
case 2: return enum_TRAINING_PLAN_OPERATE_TYPE_GET_SCHEDULE_FILE;
|
||||
case 3: return enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_START;
|
||||
case 4: return enum_TRAINING_PLAN_OPERATE_TYPE_SYNC_TRAINING_FILE_END;
|
||||
case 5: return enum_TRAINING_PLAN_OPERATE_TYPE_UPDATE_SCHEDULE_STATE_INFO;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<TRAINING_PLAN_OPERATE_TYPE>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
TRAINING_PLAN_OPERATE_TYPE> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<TRAINING_PLAN_OPERATE_TYPE>() {
|
||||
@java.lang.Override
|
||||
public TRAINING_PLAN_OPERATE_TYPE findValueByNumber(int number) {
|
||||
return TRAINING_PLAN_OPERATE_TYPE.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Internal.EnumVerifier
|
||||
internalGetVerifier() {
|
||||
return TRAINING_PLAN_OPERATE_TYPEVerifier.INSTANCE;
|
||||
}
|
||||
|
||||
private static final class TRAINING_PLAN_OPERATE_TYPEVerifier implements
|
||||
com.google.protobuf.Internal.EnumVerifier {
|
||||
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new TRAINING_PLAN_OPERATE_TYPEVerifier();
|
||||
@java.lang.Override
|
||||
public boolean isInRange(int number) {
|
||||
return TRAINING_PLAN_OPERATE_TYPE.forNumber(number) != null;
|
||||
}
|
||||
};
|
||||
|
||||
private final int value;
|
||||
|
||||
private TRAINING_PLAN_OPERATE_TYPE(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:TRAINING_PLAN_OPERATE_TYPE)
|
||||
}
|
||||
|
||||
public interface schedule_data_msgOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:schedule_data_msg)
|
||||
com.google.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
boolean hasServiceType();
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType();
|
||||
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the scheduleDateOperateType field is set.
|
||||
*/
|
||||
boolean hasScheduleDateOperateType();
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return The scheduleDateOperateType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE getScheduleDateOperateType();
|
||||
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operateType field is set.
|
||||
*/
|
||||
boolean hasOperateType();
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operateType.
|
||||
*/
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperateType();
|
||||
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return Whether the fileNumber field is set.
|
||||
*/
|
||||
boolean hasFileNumber();
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return The fileNumber.
|
||||
*/
|
||||
int getFileNumber();
|
||||
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return Whether the utcTime field is set.
|
||||
*/
|
||||
boolean hasUtcTime();
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return The utcTime.
|
||||
*/
|
||||
int getUtcTime();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code schedule_data_msg}
|
||||
*/
|
||||
public static final class schedule_data_msg extends
|
||||
com.google.protobuf.GeneratedMessageLite<
|
||||
schedule_data_msg, schedule_data_msg.Builder> implements
|
||||
// @@protoc_insertion_point(message_implements:schedule_data_msg)
|
||||
schedule_data_msgOrBuilder {
|
||||
private schedule_data_msg() {
|
||||
serviceType_ = 25;
|
||||
}
|
||||
private int bitField0_;
|
||||
public static final int SERVICE_TYPE_FIELD_NUMBER = 1;
|
||||
private int serviceType_;
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasServiceType() {
|
||||
return ((bitField0_ & 0x00000001) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.forNumber(serviceType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.enum_SERVICE_TYPE_INDEX_TRAINING_PLAN : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @param value The serviceType to set.
|
||||
*/
|
||||
private void setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
serviceType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
*/
|
||||
private void clearServiceType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
serviceType_ = 25;
|
||||
}
|
||||
|
||||
public static final int SCHEDULE_DATE_OPERATE_TYPE_FIELD_NUMBER = 2;
|
||||
private int scheduleDateOperateType_;
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the scheduleDateOperateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasScheduleDateOperateType() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return The scheduleDateOperateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE getScheduleDateOperateType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE.forNumber(scheduleDateOperateType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE.enum_TRAINING_PLAN_OPERATE_TYPE_NONE : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The scheduleDateOperateType to set.
|
||||
*/
|
||||
private void setScheduleDateOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE value) {
|
||||
scheduleDateOperateType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
*/
|
||||
private void clearScheduleDateOperateType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
scheduleDateOperateType_ = 0;
|
||||
}
|
||||
|
||||
public static final int OPERATE_TYPE_FIELD_NUMBER = 3;
|
||||
private int operateType_;
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasOperateType() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperateType() {
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.forNumber(operateType_);
|
||||
return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.enum_SERVICE_OPERATE_TYPE_NONE : result;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The operateType to set.
|
||||
*/
|
||||
private void setOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE value) {
|
||||
operateType_ = value.getNumber();
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
*/
|
||||
private void clearOperateType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
operateType_ = 0;
|
||||
}
|
||||
|
||||
public static final int FILE_NUMBER_FIELD_NUMBER = 4;
|
||||
private int fileNumber_;
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return Whether the fileNumber field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileNumber() {
|
||||
return ((bitField0_ & 0x00000008) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return The fileNumber.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileNumber() {
|
||||
return fileNumber_;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @param value The fileNumber to set.
|
||||
*/
|
||||
private void setFileNumber(int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
fileNumber_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
*/
|
||||
private void clearFileNumber() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
fileNumber_ = 0;
|
||||
}
|
||||
|
||||
public static final int UTC_TIME_FIELD_NUMBER = 5;
|
||||
private int utcTime_;
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return Whether the utcTime field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasUtcTime() {
|
||||
return ((bitField0_ & 0x00000010) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return The utcTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getUtcTime() {
|
||||
return utcTime_;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @param value The utcTime to set.
|
||||
*/
|
||||
private void setUtcTime(int value) {
|
||||
bitField0_ |= 0x00000010;
|
||||
utcTime_ = value;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
*/
|
||||
private void clearUtcTime() {
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
utcTime_ = 0;
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, data);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageLite.parseFrom(
|
||||
DEFAULT_INSTANCE, input);
|
||||
}
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg prototype) {
|
||||
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf type {@code schedule_data_msg}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageLite.Builder<
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg, Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:schedule_data_msg)
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msgOrBuilder {
|
||||
// Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg.newBuilder()
|
||||
private Builder() {
|
||||
super(DEFAULT_INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return Whether the serviceType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasServiceType() {
|
||||
return instance.hasServiceType();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return The serviceType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
|
||||
return instance.getServiceType();
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @param value The enum numeric value on the wire for serviceType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
|
||||
copyOnWrite();
|
||||
instance.setServiceType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_TRAINING_PLAN];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearServiceType() {
|
||||
copyOnWrite();
|
||||
instance.clearServiceType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the scheduleDateOperateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasScheduleDateOperateType() {
|
||||
return instance.hasScheduleDateOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return The scheduleDateOperateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE getScheduleDateOperateType() {
|
||||
return instance.getScheduleDateOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The enum numeric value on the wire for scheduleDateOperateType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setScheduleDateOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE value) {
|
||||
copyOnWrite();
|
||||
instance.setScheduleDateOperateType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .TRAINING_PLAN_OPERATE_TYPE schedule_date_operate_type = 2 [default = enum_TRAINING_PLAN_OPERATE_TYPE_NONE];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearScheduleDateOperateType() {
|
||||
copyOnWrite();
|
||||
instance.clearScheduleDateOperateType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return Whether the operateType field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasOperateType() {
|
||||
return instance.hasOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return The operateType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE getOperateType() {
|
||||
return instance.getOperateType();
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @param value The enum numeric value on the wire for operateType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE value) {
|
||||
copyOnWrite();
|
||||
instance.setOperateType(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .SERVICE_OPERATE_TYPE operate_type = 3 [default = enum_SERVICE_OPERATE_TYPE_NONE];</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOperateType() {
|
||||
copyOnWrite();
|
||||
instance.clearOperateType();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return Whether the fileNumber field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasFileNumber() {
|
||||
return instance.hasFileNumber();
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return The fileNumber.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFileNumber() {
|
||||
return instance.getFileNumber();
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @param value The fileNumber to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFileNumber(int value) {
|
||||
copyOnWrite();
|
||||
instance.setFileNumber(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 file_number = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFileNumber() {
|
||||
copyOnWrite();
|
||||
instance.clearFileNumber();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return Whether the utcTime field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasUtcTime() {
|
||||
return instance.hasUtcTime();
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return The utcTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getUtcTime() {
|
||||
return instance.getUtcTime();
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @param value The utcTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUtcTime(int value) {
|
||||
copyOnWrite();
|
||||
instance.setUtcTime(value);
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 utc_time = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUtcTime() {
|
||||
copyOnWrite();
|
||||
instance.clearUtcTime();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:schedule_data_msg)
|
||||
}
|
||||
private byte memoizedIsInitialized = 2;
|
||||
@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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg();
|
||||
}
|
||||
case NEW_BUILDER: {
|
||||
return new Builder();
|
||||
}
|
||||
case BUILD_MESSAGE_INFO: {
|
||||
java.lang.Object[] objects = new java.lang.Object[] {
|
||||
"bitField0_",
|
||||
"serviceType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.internalGetVerifier(),
|
||||
"scheduleDateOperateType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.TRAINING_PLAN_OPERATE_TYPE.internalGetVerifier(),
|
||||
"operateType_",
|
||||
nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.SERVICE_OPERATE_TYPE.internalGetVerifier(),
|
||||
"fileNumber_",
|
||||
"utcTime_",
|
||||
};
|
||||
java.lang.String info =
|
||||
"\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0003\u0001\u150c\u0000\u0002" +
|
||||
"\u150c\u0001\u0003\u150c\u0002\u0004\u1004\u0003\u0005\u1004\u0004";
|
||||
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
|
||||
}
|
||||
// fall through
|
||||
case GET_DEFAULT_INSTANCE: {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
case GET_PARSER: {
|
||||
com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg> parser = PARSER;
|
||||
if (parser == null) {
|
||||
synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg.class) {
|
||||
parser = PARSER;
|
||||
if (parser == null) {
|
||||
parser =
|
||||
new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg>(
|
||||
DEFAULT_INSTANCE);
|
||||
PARSER = parser;
|
||||
}
|
||||
}
|
||||
}
|
||||
return parser;
|
||||
}
|
||||
case GET_MEMOIZED_IS_INITIALIZED: {
|
||||
return memoizedIsInitialized;
|
||||
}
|
||||
case SET_MEMOIZED_IS_INITIALIZED: {
|
||||
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(class_scope:schedule_data_msg)
|
||||
private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg DEFAULT_INSTANCE;
|
||||
static {
|
||||
schedule_data_msg defaultInstance = new schedule_data_msg();
|
||||
// New instances are implicitly immutable so no need to make
|
||||
// immutable.
|
||||
DEFAULT_INSTANCE = defaultInstance;
|
||||
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
|
||||
schedule_data_msg.class, defaultInstance);
|
||||
}
|
||||
|
||||
public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.TrainPlan.schedule_data_msg getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static volatile com.google.protobuf.Parser<schedule_data_msg> PARSER;
|
||||
|
||||
public static com.google.protobuf.Parser<schedule_data_msg> parser() {
|
||||
return DEFAULT_INSTANCE.getParserForType();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
+1460
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user