| File was renamed from ard-work/src/main/java/com/ard/tianyu/netty/protobuf/TelemetryDataPB.java |
| | |
| | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | | // source: TelemetryDataBuf.proto |
| | | |
| | | package com.ard.tianyu.netty.protobuf; |
| | | package com.ard.tianyu.component.netty.protobuf; |
| | | |
| | | public final class TelemetryDataPB { |
| | | private TelemetryDataPB() {} |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryData_descriptor; |
| | | return TelemetryDataPB.internal_static_TelemetryData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_TelemetryData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder.class); |
| | | TelemetryDataPB.TelemetryData.class, TelemetryDataPB.TelemetryData.Builder.class); |
| | | } |
| | | |
| | | public static final int LNG_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData)) { |
| | | if (!(obj instanceof TelemetryDataPB.TelemetryData)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData) obj; |
| | | TelemetryDataPB.TelemetryData other = (TelemetryDataPB.TelemetryData) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && ( |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom( |
| | | public static TelemetryDataPB.TelemetryData parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom( |
| | | public static TelemetryDataPB.TelemetryData parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom(byte[] data) |
| | | public static TelemetryDataPB.TelemetryData parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom( |
| | | public static TelemetryDataPB.TelemetryData parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.TelemetryData parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom( |
| | | public static TelemetryDataPB.TelemetryData parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.TelemetryData parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseDelimitedFrom( |
| | | public static TelemetryDataPB.TelemetryData parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom( |
| | | public static TelemetryDataPB.TelemetryData parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parseFrom( |
| | | public static TelemetryDataPB.TelemetryData parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.TelemetryData prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:TelemetryData) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder { |
| | | TelemetryDataPB.TelemetryDataOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryData_descriptor; |
| | | return TelemetryDataPB.internal_static_TelemetryData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_TelemetryData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder.class); |
| | | TelemetryDataPB.TelemetryData.class, TelemetryDataPB.TelemetryData.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryData_descriptor; |
| | | return TelemetryDataPB.internal_static_TelemetryData_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.getDefaultInstance(); |
| | | public TelemetryDataPB.TelemetryData getDefaultInstanceForType() { |
| | | return TelemetryDataPB.TelemetryData.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData result = buildPartial(); |
| | | public TelemetryDataPB.TelemetryData build() { |
| | | TelemetryDataPB.TelemetryData result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData(this); |
| | | public TelemetryDataPB.TelemetryData buildPartial() { |
| | | TelemetryDataPB.TelemetryData result = new TelemetryDataPB.TelemetryData(this); |
| | | result.lng_ = lng_; |
| | | result.lat_ = lat_; |
| | | result.altitude_ = altitude_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData)other); |
| | | if (other instanceof TelemetryDataPB.TelemetryData) { |
| | | return mergeFrom((TelemetryDataPB.TelemetryData)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.TelemetryData other) { |
| | | if (other == TelemetryDataPB.TelemetryData.getDefaultInstance()) return this; |
| | | if (other.getLng() != 0D) { |
| | | setLng(other.getLng()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData parsedMessage = null; |
| | | TelemetryDataPB.TelemetryData parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.TelemetryData) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:TelemetryData) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.TelemetryData DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.TelemetryData(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData getDefaultInstance() { |
| | | public static TelemetryDataPB.TelemetryData getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData getDefaultInstanceForType() { |
| | | public TelemetryDataPB.TelemetryData getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData> |
| | | java.util.List<TelemetryDataPB.TelemetryData> |
| | | getTelemetryListList(); |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData getTelemetryList(int index); |
| | | TelemetryDataPB.TelemetryData getTelemetryList(int index); |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.TelemetryDataOrBuilder> |
| | | getTelemetryListOrBuilderList(); |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder getTelemetryListOrBuilder( |
| | | TelemetryDataPB.TelemetryDataOrBuilder getTelemetryListOrBuilder( |
| | | int index); |
| | | } |
| | | /** |
| | |
| | | } |
| | | case 10: { |
| | | if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| | | telemetryList_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData>(); |
| | | telemetryList_ = new java.util.ArrayList<TelemetryDataPB.TelemetryData>(); |
| | | mutable_bitField0_ |= 0x00000001; |
| | | } |
| | | telemetryList_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.TelemetryData.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | } |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryList_descriptor; |
| | | return TelemetryDataPB.internal_static_TelemetryList_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryList_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_TelemetryList_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.Builder.class); |
| | | TelemetryDataPB.TelemetryList.class, TelemetryDataPB.TelemetryList.Builder.class); |
| | | } |
| | | |
| | | public static final int TELEMETRYLIST_FIELD_NUMBER = 1; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData> telemetryList_; |
| | | private java.util.List<TelemetryDataPB.TelemetryData> telemetryList_; |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData> getTelemetryListList() { |
| | | public java.util.List<TelemetryDataPB.TelemetryData> getTelemetryListList() { |
| | | return telemetryList_; |
| | | } |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.TelemetryDataOrBuilder> |
| | | getTelemetryListOrBuilderList() { |
| | | return telemetryList_; |
| | | } |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData getTelemetryList(int index) { |
| | | public TelemetryDataPB.TelemetryData getTelemetryList(int index) { |
| | | return telemetryList_.get(index); |
| | | } |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder getTelemetryListOrBuilder( |
| | | public TelemetryDataPB.TelemetryDataOrBuilder getTelemetryListOrBuilder( |
| | | int index) { |
| | | return telemetryList_.get(index); |
| | | } |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList)) { |
| | | if (!(obj instanceof TelemetryDataPB.TelemetryList)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList) obj; |
| | | TelemetryDataPB.TelemetryList other = (TelemetryDataPB.TelemetryList) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getTelemetryListList() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom( |
| | | public static TelemetryDataPB.TelemetryList parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom( |
| | | public static TelemetryDataPB.TelemetryList parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom(byte[] data) |
| | | public static TelemetryDataPB.TelemetryList parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom( |
| | | public static TelemetryDataPB.TelemetryList parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.TelemetryList parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom( |
| | | public static TelemetryDataPB.TelemetryList parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.TelemetryList parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseDelimitedFrom( |
| | | public static TelemetryDataPB.TelemetryList parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom( |
| | | public static TelemetryDataPB.TelemetryList parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parseFrom( |
| | | public static TelemetryDataPB.TelemetryList parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.TelemetryList prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:TelemetryList) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryListOrBuilder { |
| | | TelemetryDataPB.TelemetryListOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryList_descriptor; |
| | | return TelemetryDataPB.internal_static_TelemetryList_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryList_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_TelemetryList_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.Builder.class); |
| | | TelemetryDataPB.TelemetryList.class, TelemetryDataPB.TelemetryList.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_TelemetryList_descriptor; |
| | | return TelemetryDataPB.internal_static_TelemetryList_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.getDefaultInstance(); |
| | | public TelemetryDataPB.TelemetryList getDefaultInstanceForType() { |
| | | return TelemetryDataPB.TelemetryList.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList result = buildPartial(); |
| | | public TelemetryDataPB.TelemetryList build() { |
| | | TelemetryDataPB.TelemetryList result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList(this); |
| | | public TelemetryDataPB.TelemetryList buildPartial() { |
| | | TelemetryDataPB.TelemetryList result = new TelemetryDataPB.TelemetryList(this); |
| | | int from_bitField0_ = bitField0_; |
| | | if (telemetryListBuilder_ == null) { |
| | | if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList)other); |
| | | if (other instanceof TelemetryDataPB.TelemetryList) { |
| | | return mergeFrom((TelemetryDataPB.TelemetryList)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.TelemetryList other) { |
| | | if (other == TelemetryDataPB.TelemetryList.getDefaultInstance()) return this; |
| | | if (telemetryListBuilder_ == null) { |
| | | if (!other.telemetryList_.isEmpty()) { |
| | | if (telemetryList_.isEmpty()) { |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList parsedMessage = null; |
| | | TelemetryDataPB.TelemetryList parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.TelemetryList) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | private int bitField0_; |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData> telemetryList_ = |
| | | private java.util.List<TelemetryDataPB.TelemetryData> telemetryList_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureTelemetryListIsMutable() { |
| | | if (!((bitField0_ & 0x00000001) == 0x00000001)) { |
| | | telemetryList_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData>(telemetryList_); |
| | | telemetryList_ = new java.util.ArrayList<TelemetryDataPB.TelemetryData>(telemetryList_); |
| | | bitField0_ |= 0x00000001; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder> telemetryListBuilder_; |
| | | TelemetryDataPB.TelemetryData, TelemetryDataPB.TelemetryData.Builder, TelemetryDataPB.TelemetryDataOrBuilder> telemetryListBuilder_; |
| | | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData> getTelemetryListList() { |
| | | public java.util.List<TelemetryDataPB.TelemetryData> getTelemetryListList() { |
| | | if (telemetryListBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(telemetryList_); |
| | | } else { |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData getTelemetryList(int index) { |
| | | public TelemetryDataPB.TelemetryData getTelemetryList(int index) { |
| | | if (telemetryListBuilder_ == null) { |
| | | return telemetryList_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder setTelemetryList( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData value) { |
| | | int index, TelemetryDataPB.TelemetryData value) { |
| | | if (telemetryListBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder setTelemetryList( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.TelemetryData.Builder builderForValue) { |
| | | if (telemetryListBuilder_ == null) { |
| | | ensureTelemetryListIsMutable(); |
| | | telemetryList_.set(index, builderForValue.build()); |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder addTelemetryList(com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData value) { |
| | | public Builder addTelemetryList(TelemetryDataPB.TelemetryData value) { |
| | | if (telemetryListBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder addTelemetryList( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData value) { |
| | | int index, TelemetryDataPB.TelemetryData value) { |
| | | if (telemetryListBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder addTelemetryList( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder builderForValue) { |
| | | TelemetryDataPB.TelemetryData.Builder builderForValue) { |
| | | if (telemetryListBuilder_ == null) { |
| | | ensureTelemetryListIsMutable(); |
| | | telemetryList_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder addTelemetryList( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.TelemetryData.Builder builderForValue) { |
| | | if (telemetryListBuilder_ == null) { |
| | | ensureTelemetryListIsMutable(); |
| | | telemetryList_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public Builder addAllTelemetryList( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.TelemetryData> values) { |
| | | if (telemetryListBuilder_ == null) { |
| | | ensureTelemetryListIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder getTelemetryListBuilder( |
| | | public TelemetryDataPB.TelemetryData.Builder getTelemetryListBuilder( |
| | | int index) { |
| | | return getTelemetryListFieldBuilder().getBuilder(index); |
| | | } |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder getTelemetryListOrBuilder( |
| | | public TelemetryDataPB.TelemetryDataOrBuilder getTelemetryListOrBuilder( |
| | | int index) { |
| | | if (telemetryListBuilder_ == null) { |
| | | return telemetryList_.get(index); } else { |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.TelemetryDataOrBuilder> |
| | | getTelemetryListOrBuilderList() { |
| | | if (telemetryListBuilder_ != null) { |
| | | return telemetryListBuilder_.getMessageOrBuilderList(); |
| | |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder addTelemetryListBuilder() { |
| | | public TelemetryDataPB.TelemetryData.Builder addTelemetryListBuilder() { |
| | | return getTelemetryListFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.getDefaultInstance()); |
| | | TelemetryDataPB.TelemetryData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder addTelemetryListBuilder( |
| | | public TelemetryDataPB.TelemetryData.Builder addTelemetryListBuilder( |
| | | int index) { |
| | | return getTelemetryListFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.getDefaultInstance()); |
| | | index, TelemetryDataPB.TelemetryData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <code>repeated .TelemetryData telemetryList = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder> |
| | | public java.util.List<TelemetryDataPB.TelemetryData.Builder> |
| | | getTelemetryListBuilderList() { |
| | | return getTelemetryListFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder> |
| | | TelemetryDataPB.TelemetryData, TelemetryDataPB.TelemetryData.Builder, TelemetryDataPB.TelemetryDataOrBuilder> |
| | | getTelemetryListFieldBuilder() { |
| | | if (telemetryListBuilder_ == null) { |
| | | telemetryListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryDataOrBuilder>( |
| | | TelemetryDataPB.TelemetryData, TelemetryDataPB.TelemetryData.Builder, TelemetryDataPB.TelemetryDataOrBuilder>( |
| | | telemetryList_, |
| | | ((bitField0_ & 0x00000001) == 0x00000001), |
| | | getParentForChildren(), |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:TelemetryList) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.TelemetryList DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.TelemetryList(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList getDefaultInstance() { |
| | | public static TelemetryDataPB.TelemetryList getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.TelemetryList getDefaultInstanceForType() { |
| | | public TelemetryDataPB.TelemetryList getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_SignalInfo_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalInfo_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_SignalInfo_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder.class); |
| | | TelemetryDataPB.SignalInfo.class, TelemetryDataPB.SignalInfo.Builder.class); |
| | | } |
| | | |
| | | public static final int MODE_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo)) { |
| | | if (!(obj instanceof TelemetryDataPB.SignalInfo)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo) obj; |
| | | TelemetryDataPB.SignalInfo other = (TelemetryDataPB.SignalInfo) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getMode() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom( |
| | | public static TelemetryDataPB.SignalInfo parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom( |
| | | public static TelemetryDataPB.SignalInfo parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom(byte[] data) |
| | | public static TelemetryDataPB.SignalInfo parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom( |
| | | public static TelemetryDataPB.SignalInfo parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.SignalInfo parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom( |
| | | public static TelemetryDataPB.SignalInfo parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.SignalInfo parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseDelimitedFrom( |
| | | public static TelemetryDataPB.SignalInfo parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom( |
| | | public static TelemetryDataPB.SignalInfo parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parseFrom( |
| | | public static TelemetryDataPB.SignalInfo parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.SignalInfo prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:SignalInfo) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder { |
| | | TelemetryDataPB.SignalInfoOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_SignalInfo_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalInfo_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_SignalInfo_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder.class); |
| | | TelemetryDataPB.SignalInfo.class, TelemetryDataPB.SignalInfo.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_SignalInfo_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.getDefaultInstance(); |
| | | public TelemetryDataPB.SignalInfo getDefaultInstanceForType() { |
| | | return TelemetryDataPB.SignalInfo.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo result = buildPartial(); |
| | | public TelemetryDataPB.SignalInfo build() { |
| | | TelemetryDataPB.SignalInfo result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo(this); |
| | | public TelemetryDataPB.SignalInfo buildPartial() { |
| | | TelemetryDataPB.SignalInfo result = new TelemetryDataPB.SignalInfo(this); |
| | | result.mode_ = mode_; |
| | | result.mcc_ = mcc_; |
| | | result.mnc_ = mnc_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo)other); |
| | | if (other instanceof TelemetryDataPB.SignalInfo) { |
| | | return mergeFrom((TelemetryDataPB.SignalInfo)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.SignalInfo other) { |
| | | if (other == TelemetryDataPB.SignalInfo.getDefaultInstance()) return this; |
| | | if (!other.getMode().isEmpty()) { |
| | | mode_ = other.mode_; |
| | | onChanged(); |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo parsedMessage = null; |
| | | TelemetryDataPB.SignalInfo parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.SignalInfo) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:SignalInfo) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.SignalInfo DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.SignalInfo(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo getDefaultInstance() { |
| | | public static TelemetryDataPB.SignalInfo getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo getDefaultInstanceForType() { |
| | | public TelemetryDataPB.SignalInfo getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo> |
| | | java.util.List<TelemetryDataPB.SignalInfo> |
| | | getSignalInfoList(); |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo getSignalInfo(int index); |
| | | TelemetryDataPB.SignalInfo getSignalInfo(int index); |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.SignalInfoOrBuilder> |
| | | getSignalInfoOrBuilderList(); |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder getSignalInfoOrBuilder( |
| | | TelemetryDataPB.SignalInfoOrBuilder getSignalInfoOrBuilder( |
| | | int index); |
| | | } |
| | | /** |
| | |
| | | } |
| | | case 10: { |
| | | if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| | | signalInfo_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo>(); |
| | | signalInfo_ = new java.util.ArrayList<TelemetryDataPB.SignalInfo>(); |
| | | mutable_bitField0_ |= 0x00000001; |
| | | } |
| | | signalInfo_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.SignalInfo.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | } |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalList_descriptor; |
| | | return TelemetryDataPB.internal_static_SignalList_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalList_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_SignalList_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.Builder.class); |
| | | TelemetryDataPB.SignalList.class, TelemetryDataPB.SignalList.Builder.class); |
| | | } |
| | | |
| | | public static final int SIGNALINFO_FIELD_NUMBER = 1; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo> signalInfo_; |
| | | private java.util.List<TelemetryDataPB.SignalInfo> signalInfo_; |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo> getSignalInfoList() { |
| | | public java.util.List<TelemetryDataPB.SignalInfo> getSignalInfoList() { |
| | | return signalInfo_; |
| | | } |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.SignalInfoOrBuilder> |
| | | getSignalInfoOrBuilderList() { |
| | | return signalInfo_; |
| | | } |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo getSignalInfo(int index) { |
| | | public TelemetryDataPB.SignalInfo getSignalInfo(int index) { |
| | | return signalInfo_.get(index); |
| | | } |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder getSignalInfoOrBuilder( |
| | | public TelemetryDataPB.SignalInfoOrBuilder getSignalInfoOrBuilder( |
| | | int index) { |
| | | return signalInfo_.get(index); |
| | | } |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList)) { |
| | | if (!(obj instanceof TelemetryDataPB.SignalList)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList) obj; |
| | | TelemetryDataPB.SignalList other = (TelemetryDataPB.SignalList) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getSignalInfoList() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom( |
| | | public static TelemetryDataPB.SignalList parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom( |
| | | public static TelemetryDataPB.SignalList parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom(byte[] data) |
| | | public static TelemetryDataPB.SignalList parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom( |
| | | public static TelemetryDataPB.SignalList parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.SignalList parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom( |
| | | public static TelemetryDataPB.SignalList parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.SignalList parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseDelimitedFrom( |
| | | public static TelemetryDataPB.SignalList parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom( |
| | | public static TelemetryDataPB.SignalList parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parseFrom( |
| | | public static TelemetryDataPB.SignalList parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.SignalList prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:SignalList) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalListOrBuilder { |
| | | TelemetryDataPB.SignalListOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalList_descriptor; |
| | | return TelemetryDataPB.internal_static_SignalList_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalList_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_SignalList_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.Builder.class); |
| | | TelemetryDataPB.SignalList.class, TelemetryDataPB.SignalList.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SignalList_descriptor; |
| | | return TelemetryDataPB.internal_static_SignalList_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.getDefaultInstance(); |
| | | public TelemetryDataPB.SignalList getDefaultInstanceForType() { |
| | | return TelemetryDataPB.SignalList.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList result = buildPartial(); |
| | | public TelemetryDataPB.SignalList build() { |
| | | TelemetryDataPB.SignalList result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList(this); |
| | | public TelemetryDataPB.SignalList buildPartial() { |
| | | TelemetryDataPB.SignalList result = new TelemetryDataPB.SignalList(this); |
| | | int from_bitField0_ = bitField0_; |
| | | if (signalInfoBuilder_ == null) { |
| | | if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList)other); |
| | | if (other instanceof TelemetryDataPB.SignalList) { |
| | | return mergeFrom((TelemetryDataPB.SignalList)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.SignalList other) { |
| | | if (other == TelemetryDataPB.SignalList.getDefaultInstance()) return this; |
| | | if (signalInfoBuilder_ == null) { |
| | | if (!other.signalInfo_.isEmpty()) { |
| | | if (signalInfo_.isEmpty()) { |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList parsedMessage = null; |
| | | TelemetryDataPB.SignalList parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.SignalList) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | private int bitField0_; |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo> signalInfo_ = |
| | | private java.util.List<TelemetryDataPB.SignalInfo> signalInfo_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureSignalInfoIsMutable() { |
| | | if (!((bitField0_ & 0x00000001) == 0x00000001)) { |
| | | signalInfo_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo>(signalInfo_); |
| | | signalInfo_ = new java.util.ArrayList<TelemetryDataPB.SignalInfo>(signalInfo_); |
| | | bitField0_ |= 0x00000001; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder> signalInfoBuilder_; |
| | | TelemetryDataPB.SignalInfo, TelemetryDataPB.SignalInfo.Builder, TelemetryDataPB.SignalInfoOrBuilder> signalInfoBuilder_; |
| | | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo> getSignalInfoList() { |
| | | public java.util.List<TelemetryDataPB.SignalInfo> getSignalInfoList() { |
| | | if (signalInfoBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(signalInfo_); |
| | | } else { |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo getSignalInfo(int index) { |
| | | public TelemetryDataPB.SignalInfo getSignalInfo(int index) { |
| | | if (signalInfoBuilder_ == null) { |
| | | return signalInfo_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder setSignalInfo( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo value) { |
| | | int index, TelemetryDataPB.SignalInfo value) { |
| | | if (signalInfoBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder setSignalInfo( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder builderForValue) { |
| | | int index, TelemetryDataPB.SignalInfo.Builder builderForValue) { |
| | | if (signalInfoBuilder_ == null) { |
| | | ensureSignalInfoIsMutable(); |
| | | signalInfo_.set(index, builderForValue.build()); |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder addSignalInfo(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo value) { |
| | | public Builder addSignalInfo(TelemetryDataPB.SignalInfo value) { |
| | | if (signalInfoBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder addSignalInfo( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo value) { |
| | | int index, TelemetryDataPB.SignalInfo value) { |
| | | if (signalInfoBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder addSignalInfo( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder builderForValue) { |
| | | TelemetryDataPB.SignalInfo.Builder builderForValue) { |
| | | if (signalInfoBuilder_ == null) { |
| | | ensureSignalInfoIsMutable(); |
| | | signalInfo_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder addSignalInfo( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder builderForValue) { |
| | | int index, TelemetryDataPB.SignalInfo.Builder builderForValue) { |
| | | if (signalInfoBuilder_ == null) { |
| | | ensureSignalInfoIsMutable(); |
| | | signalInfo_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public Builder addAllSignalInfo( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.SignalInfo> values) { |
| | | if (signalInfoBuilder_ == null) { |
| | | ensureSignalInfoIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder getSignalInfoBuilder( |
| | | public TelemetryDataPB.SignalInfo.Builder getSignalInfoBuilder( |
| | | int index) { |
| | | return getSignalInfoFieldBuilder().getBuilder(index); |
| | | } |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder getSignalInfoOrBuilder( |
| | | public TelemetryDataPB.SignalInfoOrBuilder getSignalInfoOrBuilder( |
| | | int index) { |
| | | if (signalInfoBuilder_ == null) { |
| | | return signalInfo_.get(index); } else { |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.SignalInfoOrBuilder> |
| | | getSignalInfoOrBuilderList() { |
| | | if (signalInfoBuilder_ != null) { |
| | | return signalInfoBuilder_.getMessageOrBuilderList(); |
| | |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder addSignalInfoBuilder() { |
| | | public TelemetryDataPB.SignalInfo.Builder addSignalInfoBuilder() { |
| | | return getSignalInfoFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.getDefaultInstance()); |
| | | TelemetryDataPB.SignalInfo.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder addSignalInfoBuilder( |
| | | public TelemetryDataPB.SignalInfo.Builder addSignalInfoBuilder( |
| | | int index) { |
| | | return getSignalInfoFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.getDefaultInstance()); |
| | | index, TelemetryDataPB.SignalInfo.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <code>repeated .SignalInfo signalInfo = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder> |
| | | public java.util.List<TelemetryDataPB.SignalInfo.Builder> |
| | | getSignalInfoBuilderList() { |
| | | return getSignalInfoFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder> |
| | | TelemetryDataPB.SignalInfo, TelemetryDataPB.SignalInfo.Builder, TelemetryDataPB.SignalInfoOrBuilder> |
| | | getSignalInfoFieldBuilder() { |
| | | if (signalInfoBuilder_ == null) { |
| | | signalInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalInfoOrBuilder>( |
| | | TelemetryDataPB.SignalInfo, TelemetryDataPB.SignalInfo.Builder, TelemetryDataPB.SignalInfoOrBuilder>( |
| | | signalInfo_, |
| | | ((bitField0_ & 0x00000001) == 0x00000001), |
| | | getParentForChildren(), |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:SignalList) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.SignalList DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.SignalList(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList getDefaultInstance() { |
| | | public static TelemetryDataPB.SignalList getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SignalList getDefaultInstanceForType() { |
| | | public TelemetryDataPB.SignalList getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState getFlightControllerState(); |
| | | TelemetryDataPB.FlightControllerState getFlightControllerState(); |
| | | /** |
| | | * <pre> |
| | | *飞控状态 |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder getFlightControllerStateOrBuilder(); |
| | | TelemetryDataPB.FlightControllerStateOrBuilder getFlightControllerStateOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState getBatteryState(); |
| | | TelemetryDataPB.BatteryState getBatteryState(); |
| | | /** |
| | | * <pre> |
| | | *电池状态 |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder getBatteryStateOrBuilder(); |
| | | TelemetryDataPB.BatteryStateOrBuilder getBatteryStateOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState getPtzState(); |
| | | TelemetryDataPB.PtzState getPtzState(); |
| | | /** |
| | | * <pre> |
| | | *云台状态 |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder getPtzStateOrBuilder(); |
| | | TelemetryDataPB.PtzStateOrBuilder getPtzStateOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState getCameraState(); |
| | | TelemetryDataPB.CameraState getCameraState(); |
| | | /** |
| | | * <pre> |
| | | *相机状态 |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder getCameraStateOrBuilder(); |
| | | TelemetryDataPB.CameraStateOrBuilder getCameraStateOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState getMissionState(); |
| | | TelemetryDataPB.MissionState getMissionState(); |
| | | /** |
| | | * <pre> |
| | | *任务状态 |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder getMissionStateOrBuilder(); |
| | | TelemetryDataPB.MissionStateOrBuilder getMissionStateOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData getAvoidanceData(); |
| | | TelemetryDataPB.AvoidanceData getAvoidanceData(); |
| | | /** |
| | | * <pre> |
| | | *避障数据 |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder getAvoidanceDataOrBuilder(); |
| | | TelemetryDataPB.AvoidanceDataOrBuilder getAvoidanceDataOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData> |
| | | java.util.List<TelemetryDataPB.HmsAlarmData> |
| | | getHmsAlarmDataList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData getHmsAlarmData(int index); |
| | | TelemetryDataPB.HmsAlarmData getHmsAlarmData(int index); |
| | | /** |
| | | * <pre> |
| | | *Hms报警信息[飞机告警信息] |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | getHmsAlarmDataOrBuilderList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder getHmsAlarmDataOrBuilder( |
| | | TelemetryDataPB.HmsAlarmDataOrBuilder getHmsAlarmDataOrBuilder( |
| | | int index); |
| | | } |
| | | /** |
| | |
| | | break; |
| | | } |
| | | case 10: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder subBuilder = null; |
| | | TelemetryDataPB.FlightControllerState.Builder subBuilder = null; |
| | | if (flightControllerState_ != null) { |
| | | subBuilder = flightControllerState_.toBuilder(); |
| | | } |
| | | flightControllerState_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.parser(), extensionRegistry); |
| | | flightControllerState_ = input.readMessage(TelemetryDataPB.FlightControllerState.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(flightControllerState_); |
| | | flightControllerState_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 18: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder subBuilder = null; |
| | | TelemetryDataPB.BatteryState.Builder subBuilder = null; |
| | | if (batteryState_ != null) { |
| | | subBuilder = batteryState_.toBuilder(); |
| | | } |
| | | batteryState_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.parser(), extensionRegistry); |
| | | batteryState_ = input.readMessage(TelemetryDataPB.BatteryState.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(batteryState_); |
| | | batteryState_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 26: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder subBuilder = null; |
| | | TelemetryDataPB.PtzState.Builder subBuilder = null; |
| | | if (ptzState_ != null) { |
| | | subBuilder = ptzState_.toBuilder(); |
| | | } |
| | | ptzState_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.parser(), extensionRegistry); |
| | | ptzState_ = input.readMessage(TelemetryDataPB.PtzState.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(ptzState_); |
| | | ptzState_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 34: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder subBuilder = null; |
| | | TelemetryDataPB.CameraState.Builder subBuilder = null; |
| | | if (cameraState_ != null) { |
| | | subBuilder = cameraState_.toBuilder(); |
| | | } |
| | | cameraState_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.parser(), extensionRegistry); |
| | | cameraState_ = input.readMessage(TelemetryDataPB.CameraState.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(cameraState_); |
| | | cameraState_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 42: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder subBuilder = null; |
| | | TelemetryDataPB.MissionState.Builder subBuilder = null; |
| | | if (missionState_ != null) { |
| | | subBuilder = missionState_.toBuilder(); |
| | | } |
| | | missionState_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.parser(), extensionRegistry); |
| | | missionState_ = input.readMessage(TelemetryDataPB.MissionState.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(missionState_); |
| | | missionState_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 58: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder subBuilder = null; |
| | | TelemetryDataPB.AvoidanceData.Builder subBuilder = null; |
| | | if (avoidanceData_ != null) { |
| | | subBuilder = avoidanceData_.toBuilder(); |
| | | } |
| | | avoidanceData_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.parser(), extensionRegistry); |
| | | avoidanceData_ = input.readMessage(TelemetryDataPB.AvoidanceData.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(avoidanceData_); |
| | | avoidanceData_ = subBuilder.buildPartial(); |
| | |
| | | } |
| | | case 66: { |
| | | if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { |
| | | hmsAlarmData_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData>(); |
| | | hmsAlarmData_ = new java.util.ArrayList<TelemetryDataPB.HmsAlarmData>(); |
| | | mutable_bitField0_ |= 0x00000080; |
| | | } |
| | | hmsAlarmData_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.HmsAlarmData.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | } |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavState_descriptor; |
| | | return TelemetryDataPB.internal_static_UavState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_UavState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.Builder.class); |
| | | TelemetryDataPB.UavState.class, TelemetryDataPB.UavState.Builder.class); |
| | | } |
| | | |
| | | private int bitField0_; |
| | | public static final int FLIGHTCONTROLLERSTATE_FIELD_NUMBER = 1; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState flightControllerState_; |
| | | private TelemetryDataPB.FlightControllerState flightControllerState_; |
| | | /** |
| | | * <pre> |
| | | *飞控状态 |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState getFlightControllerState() { |
| | | return flightControllerState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.getDefaultInstance() : flightControllerState_; |
| | | public TelemetryDataPB.FlightControllerState getFlightControllerState() { |
| | | return flightControllerState_ == null ? TelemetryDataPB.FlightControllerState.getDefaultInstance() : flightControllerState_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder getFlightControllerStateOrBuilder() { |
| | | public TelemetryDataPB.FlightControllerStateOrBuilder getFlightControllerStateOrBuilder() { |
| | | return getFlightControllerState(); |
| | | } |
| | | |
| | | public static final int BATTERYSTATE_FIELD_NUMBER = 2; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState batteryState_; |
| | | private TelemetryDataPB.BatteryState batteryState_; |
| | | /** |
| | | * <pre> |
| | | *电池状态 |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState getBatteryState() { |
| | | return batteryState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.getDefaultInstance() : batteryState_; |
| | | public TelemetryDataPB.BatteryState getBatteryState() { |
| | | return batteryState_ == null ? TelemetryDataPB.BatteryState.getDefaultInstance() : batteryState_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder getBatteryStateOrBuilder() { |
| | | public TelemetryDataPB.BatteryStateOrBuilder getBatteryStateOrBuilder() { |
| | | return getBatteryState(); |
| | | } |
| | | |
| | | public static final int PTZSTATE_FIELD_NUMBER = 3; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState ptzState_; |
| | | private TelemetryDataPB.PtzState ptzState_; |
| | | /** |
| | | * <pre> |
| | | *云台状态 |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState getPtzState() { |
| | | return ptzState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.getDefaultInstance() : ptzState_; |
| | | public TelemetryDataPB.PtzState getPtzState() { |
| | | return ptzState_ == null ? TelemetryDataPB.PtzState.getDefaultInstance() : ptzState_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder getPtzStateOrBuilder() { |
| | | public TelemetryDataPB.PtzStateOrBuilder getPtzStateOrBuilder() { |
| | | return getPtzState(); |
| | | } |
| | | |
| | | public static final int CAMERASTATE_FIELD_NUMBER = 4; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState cameraState_; |
| | | private TelemetryDataPB.CameraState cameraState_; |
| | | /** |
| | | * <pre> |
| | | *相机状态 |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState getCameraState() { |
| | | return cameraState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.getDefaultInstance() : cameraState_; |
| | | public TelemetryDataPB.CameraState getCameraState() { |
| | | return cameraState_ == null ? TelemetryDataPB.CameraState.getDefaultInstance() : cameraState_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder getCameraStateOrBuilder() { |
| | | public TelemetryDataPB.CameraStateOrBuilder getCameraStateOrBuilder() { |
| | | return getCameraState(); |
| | | } |
| | | |
| | | public static final int MISSIONSTATE_FIELD_NUMBER = 5; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState missionState_; |
| | | private TelemetryDataPB.MissionState missionState_; |
| | | /** |
| | | * <pre> |
| | | *任务状态 |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState getMissionState() { |
| | | return missionState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.getDefaultInstance() : missionState_; |
| | | public TelemetryDataPB.MissionState getMissionState() { |
| | | return missionState_ == null ? TelemetryDataPB.MissionState.getDefaultInstance() : missionState_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder getMissionStateOrBuilder() { |
| | | public TelemetryDataPB.MissionStateOrBuilder getMissionStateOrBuilder() { |
| | | return getMissionState(); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | public static final int AVOIDANCEDATA_FIELD_NUMBER = 7; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData avoidanceData_; |
| | | private TelemetryDataPB.AvoidanceData avoidanceData_; |
| | | /** |
| | | * <pre> |
| | | *避障数据 |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData getAvoidanceData() { |
| | | return avoidanceData_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.getDefaultInstance() : avoidanceData_; |
| | | public TelemetryDataPB.AvoidanceData getAvoidanceData() { |
| | | return avoidanceData_ == null ? TelemetryDataPB.AvoidanceData.getDefaultInstance() : avoidanceData_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder getAvoidanceDataOrBuilder() { |
| | | public TelemetryDataPB.AvoidanceDataOrBuilder getAvoidanceDataOrBuilder() { |
| | | return getAvoidanceData(); |
| | | } |
| | | |
| | | public static final int HMSALARMDATA_FIELD_NUMBER = 8; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData> hmsAlarmData_; |
| | | private java.util.List<TelemetryDataPB.HmsAlarmData> hmsAlarmData_; |
| | | /** |
| | | * <pre> |
| | | *Hms报警信息[飞机告警信息] |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData> getHmsAlarmDataList() { |
| | | public java.util.List<TelemetryDataPB.HmsAlarmData> getHmsAlarmDataList() { |
| | | return hmsAlarmData_; |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | getHmsAlarmDataOrBuilderList() { |
| | | return hmsAlarmData_; |
| | | } |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData getHmsAlarmData(int index) { |
| | | public TelemetryDataPB.HmsAlarmData getHmsAlarmData(int index) { |
| | | return hmsAlarmData_.get(index); |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder getHmsAlarmDataOrBuilder( |
| | | public TelemetryDataPB.HmsAlarmDataOrBuilder getHmsAlarmDataOrBuilder( |
| | | int index) { |
| | | return hmsAlarmData_.get(index); |
| | | } |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState)) { |
| | | if (!(obj instanceof TelemetryDataPB.UavState)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState) obj; |
| | | TelemetryDataPB.UavState other = (TelemetryDataPB.UavState) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (hasFlightControllerState() == other.hasFlightControllerState()); |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom( |
| | | public static TelemetryDataPB.UavState parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom( |
| | | public static TelemetryDataPB.UavState parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom(byte[] data) |
| | | public static TelemetryDataPB.UavState parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom( |
| | | public static TelemetryDataPB.UavState parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.UavState parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom( |
| | | public static TelemetryDataPB.UavState parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.UavState parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseDelimitedFrom( |
| | | public static TelemetryDataPB.UavState parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom( |
| | | public static TelemetryDataPB.UavState parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parseFrom( |
| | | public static TelemetryDataPB.UavState parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.UavState prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:UavState) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavStateOrBuilder { |
| | | TelemetryDataPB.UavStateOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavState_descriptor; |
| | | return TelemetryDataPB.internal_static_UavState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_UavState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.Builder.class); |
| | | TelemetryDataPB.UavState.class, TelemetryDataPB.UavState.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavState_descriptor; |
| | | return TelemetryDataPB.internal_static_UavState_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.getDefaultInstance(); |
| | | public TelemetryDataPB.UavState getDefaultInstanceForType() { |
| | | return TelemetryDataPB.UavState.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState result = buildPartial(); |
| | | public TelemetryDataPB.UavState build() { |
| | | TelemetryDataPB.UavState result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState(this); |
| | | public TelemetryDataPB.UavState buildPartial() { |
| | | TelemetryDataPB.UavState result = new TelemetryDataPB.UavState(this); |
| | | int from_bitField0_ = bitField0_; |
| | | int to_bitField0_ = 0; |
| | | if (flightControllerStateBuilder_ == null) { |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState)other); |
| | | if (other instanceof TelemetryDataPB.UavState) { |
| | | return mergeFrom((TelemetryDataPB.UavState)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.UavState other) { |
| | | if (other == TelemetryDataPB.UavState.getDefaultInstance()) return this; |
| | | if (other.hasFlightControllerState()) { |
| | | mergeFlightControllerState(other.getFlightControllerState()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState parsedMessage = null; |
| | | TelemetryDataPB.UavState parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.UavState) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | private int bitField0_; |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState flightControllerState_ = null; |
| | | private TelemetryDataPB.FlightControllerState flightControllerState_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder> flightControllerStateBuilder_; |
| | | TelemetryDataPB.FlightControllerState, TelemetryDataPB.FlightControllerState.Builder, TelemetryDataPB.FlightControllerStateOrBuilder> flightControllerStateBuilder_; |
| | | /** |
| | | * <pre> |
| | | *飞控状态 |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState getFlightControllerState() { |
| | | public TelemetryDataPB.FlightControllerState getFlightControllerState() { |
| | | if (flightControllerStateBuilder_ == null) { |
| | | return flightControllerState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.getDefaultInstance() : flightControllerState_; |
| | | return flightControllerState_ == null ? TelemetryDataPB.FlightControllerState.getDefaultInstance() : flightControllerState_; |
| | | } else { |
| | | return flightControllerStateBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public Builder setFlightControllerState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState value) { |
| | | public Builder setFlightControllerState(TelemetryDataPB.FlightControllerState value) { |
| | | if (flightControllerStateBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public Builder setFlightControllerState( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder builderForValue) { |
| | | TelemetryDataPB.FlightControllerState.Builder builderForValue) { |
| | | if (flightControllerStateBuilder_ == null) { |
| | | flightControllerState_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public Builder mergeFlightControllerState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState value) { |
| | | public Builder mergeFlightControllerState(TelemetryDataPB.FlightControllerState value) { |
| | | if (flightControllerStateBuilder_ == null) { |
| | | if (flightControllerState_ != null) { |
| | | flightControllerState_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.newBuilder(flightControllerState_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.FlightControllerState.newBuilder(flightControllerState_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | flightControllerState_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder getFlightControllerStateBuilder() { |
| | | public TelemetryDataPB.FlightControllerState.Builder getFlightControllerStateBuilder() { |
| | | |
| | | onChanged(); |
| | | return getFlightControllerStateFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder getFlightControllerStateOrBuilder() { |
| | | public TelemetryDataPB.FlightControllerStateOrBuilder getFlightControllerStateOrBuilder() { |
| | | if (flightControllerStateBuilder_ != null) { |
| | | return flightControllerStateBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return flightControllerState_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.getDefaultInstance() : flightControllerState_; |
| | | TelemetryDataPB.FlightControllerState.getDefaultInstance() : flightControllerState_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .FlightControllerState flightControllerState = 1;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder> |
| | | TelemetryDataPB.FlightControllerState, TelemetryDataPB.FlightControllerState.Builder, TelemetryDataPB.FlightControllerStateOrBuilder> |
| | | getFlightControllerStateFieldBuilder() { |
| | | if (flightControllerStateBuilder_ == null) { |
| | | flightControllerStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder>( |
| | | TelemetryDataPB.FlightControllerState, TelemetryDataPB.FlightControllerState.Builder, TelemetryDataPB.FlightControllerStateOrBuilder>( |
| | | getFlightControllerState(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return flightControllerStateBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState batteryState_ = null; |
| | | private TelemetryDataPB.BatteryState batteryState_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder> batteryStateBuilder_; |
| | | TelemetryDataPB.BatteryState, TelemetryDataPB.BatteryState.Builder, TelemetryDataPB.BatteryStateOrBuilder> batteryStateBuilder_; |
| | | /** |
| | | * <pre> |
| | | *电池状态 |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState getBatteryState() { |
| | | public TelemetryDataPB.BatteryState getBatteryState() { |
| | | if (batteryStateBuilder_ == null) { |
| | | return batteryState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.getDefaultInstance() : batteryState_; |
| | | return batteryState_ == null ? TelemetryDataPB.BatteryState.getDefaultInstance() : batteryState_; |
| | | } else { |
| | | return batteryStateBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public Builder setBatteryState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState value) { |
| | | public Builder setBatteryState(TelemetryDataPB.BatteryState value) { |
| | | if (batteryStateBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public Builder setBatteryState( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder builderForValue) { |
| | | TelemetryDataPB.BatteryState.Builder builderForValue) { |
| | | if (batteryStateBuilder_ == null) { |
| | | batteryState_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public Builder mergeBatteryState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState value) { |
| | | public Builder mergeBatteryState(TelemetryDataPB.BatteryState value) { |
| | | if (batteryStateBuilder_ == null) { |
| | | if (batteryState_ != null) { |
| | | batteryState_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.newBuilder(batteryState_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.BatteryState.newBuilder(batteryState_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | batteryState_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder getBatteryStateBuilder() { |
| | | public TelemetryDataPB.BatteryState.Builder getBatteryStateBuilder() { |
| | | |
| | | onChanged(); |
| | | return getBatteryStateFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder getBatteryStateOrBuilder() { |
| | | public TelemetryDataPB.BatteryStateOrBuilder getBatteryStateOrBuilder() { |
| | | if (batteryStateBuilder_ != null) { |
| | | return batteryStateBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return batteryState_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.getDefaultInstance() : batteryState_; |
| | | TelemetryDataPB.BatteryState.getDefaultInstance() : batteryState_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .BatteryState batteryState = 2;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder> |
| | | TelemetryDataPB.BatteryState, TelemetryDataPB.BatteryState.Builder, TelemetryDataPB.BatteryStateOrBuilder> |
| | | getBatteryStateFieldBuilder() { |
| | | if (batteryStateBuilder_ == null) { |
| | | batteryStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder>( |
| | | TelemetryDataPB.BatteryState, TelemetryDataPB.BatteryState.Builder, TelemetryDataPB.BatteryStateOrBuilder>( |
| | | getBatteryState(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return batteryStateBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState ptzState_ = null; |
| | | private TelemetryDataPB.PtzState ptzState_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder> ptzStateBuilder_; |
| | | TelemetryDataPB.PtzState, TelemetryDataPB.PtzState.Builder, TelemetryDataPB.PtzStateOrBuilder> ptzStateBuilder_; |
| | | /** |
| | | * <pre> |
| | | *云台状态 |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState getPtzState() { |
| | | public TelemetryDataPB.PtzState getPtzState() { |
| | | if (ptzStateBuilder_ == null) { |
| | | return ptzState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.getDefaultInstance() : ptzState_; |
| | | return ptzState_ == null ? TelemetryDataPB.PtzState.getDefaultInstance() : ptzState_; |
| | | } else { |
| | | return ptzStateBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public Builder setPtzState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState value) { |
| | | public Builder setPtzState(TelemetryDataPB.PtzState value) { |
| | | if (ptzStateBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public Builder setPtzState( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder builderForValue) { |
| | | TelemetryDataPB.PtzState.Builder builderForValue) { |
| | | if (ptzStateBuilder_ == null) { |
| | | ptzState_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public Builder mergePtzState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState value) { |
| | | public Builder mergePtzState(TelemetryDataPB.PtzState value) { |
| | | if (ptzStateBuilder_ == null) { |
| | | if (ptzState_ != null) { |
| | | ptzState_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.newBuilder(ptzState_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.PtzState.newBuilder(ptzState_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | ptzState_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder getPtzStateBuilder() { |
| | | public TelemetryDataPB.PtzState.Builder getPtzStateBuilder() { |
| | | |
| | | onChanged(); |
| | | return getPtzStateFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder getPtzStateOrBuilder() { |
| | | public TelemetryDataPB.PtzStateOrBuilder getPtzStateOrBuilder() { |
| | | if (ptzStateBuilder_ != null) { |
| | | return ptzStateBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return ptzState_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.getDefaultInstance() : ptzState_; |
| | | TelemetryDataPB.PtzState.getDefaultInstance() : ptzState_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .PtzState ptzState = 3;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder> |
| | | TelemetryDataPB.PtzState, TelemetryDataPB.PtzState.Builder, TelemetryDataPB.PtzStateOrBuilder> |
| | | getPtzStateFieldBuilder() { |
| | | if (ptzStateBuilder_ == null) { |
| | | ptzStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder>( |
| | | TelemetryDataPB.PtzState, TelemetryDataPB.PtzState.Builder, TelemetryDataPB.PtzStateOrBuilder>( |
| | | getPtzState(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return ptzStateBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState cameraState_ = null; |
| | | private TelemetryDataPB.CameraState cameraState_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder> cameraStateBuilder_; |
| | | TelemetryDataPB.CameraState, TelemetryDataPB.CameraState.Builder, TelemetryDataPB.CameraStateOrBuilder> cameraStateBuilder_; |
| | | /** |
| | | * <pre> |
| | | *相机状态 |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState getCameraState() { |
| | | public TelemetryDataPB.CameraState getCameraState() { |
| | | if (cameraStateBuilder_ == null) { |
| | | return cameraState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.getDefaultInstance() : cameraState_; |
| | | return cameraState_ == null ? TelemetryDataPB.CameraState.getDefaultInstance() : cameraState_; |
| | | } else { |
| | | return cameraStateBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public Builder setCameraState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState value) { |
| | | public Builder setCameraState(TelemetryDataPB.CameraState value) { |
| | | if (cameraStateBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public Builder setCameraState( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder builderForValue) { |
| | | TelemetryDataPB.CameraState.Builder builderForValue) { |
| | | if (cameraStateBuilder_ == null) { |
| | | cameraState_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public Builder mergeCameraState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState value) { |
| | | public Builder mergeCameraState(TelemetryDataPB.CameraState value) { |
| | | if (cameraStateBuilder_ == null) { |
| | | if (cameraState_ != null) { |
| | | cameraState_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.newBuilder(cameraState_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.CameraState.newBuilder(cameraState_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | cameraState_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder getCameraStateBuilder() { |
| | | public TelemetryDataPB.CameraState.Builder getCameraStateBuilder() { |
| | | |
| | | onChanged(); |
| | | return getCameraStateFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder getCameraStateOrBuilder() { |
| | | public TelemetryDataPB.CameraStateOrBuilder getCameraStateOrBuilder() { |
| | | if (cameraStateBuilder_ != null) { |
| | | return cameraStateBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return cameraState_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.getDefaultInstance() : cameraState_; |
| | | TelemetryDataPB.CameraState.getDefaultInstance() : cameraState_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .CameraState cameraState = 4;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder> |
| | | TelemetryDataPB.CameraState, TelemetryDataPB.CameraState.Builder, TelemetryDataPB.CameraStateOrBuilder> |
| | | getCameraStateFieldBuilder() { |
| | | if (cameraStateBuilder_ == null) { |
| | | cameraStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder>( |
| | | TelemetryDataPB.CameraState, TelemetryDataPB.CameraState.Builder, TelemetryDataPB.CameraStateOrBuilder>( |
| | | getCameraState(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return cameraStateBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState missionState_ = null; |
| | | private TelemetryDataPB.MissionState missionState_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder> missionStateBuilder_; |
| | | TelemetryDataPB.MissionState, TelemetryDataPB.MissionState.Builder, TelemetryDataPB.MissionStateOrBuilder> missionStateBuilder_; |
| | | /** |
| | | * <pre> |
| | | *任务状态 |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState getMissionState() { |
| | | public TelemetryDataPB.MissionState getMissionState() { |
| | | if (missionStateBuilder_ == null) { |
| | | return missionState_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.getDefaultInstance() : missionState_; |
| | | return missionState_ == null ? TelemetryDataPB.MissionState.getDefaultInstance() : missionState_; |
| | | } else { |
| | | return missionStateBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public Builder setMissionState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState value) { |
| | | public Builder setMissionState(TelemetryDataPB.MissionState value) { |
| | | if (missionStateBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public Builder setMissionState( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder builderForValue) { |
| | | TelemetryDataPB.MissionState.Builder builderForValue) { |
| | | if (missionStateBuilder_ == null) { |
| | | missionState_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public Builder mergeMissionState(com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState value) { |
| | | public Builder mergeMissionState(TelemetryDataPB.MissionState value) { |
| | | if (missionStateBuilder_ == null) { |
| | | if (missionState_ != null) { |
| | | missionState_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.newBuilder(missionState_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.MissionState.newBuilder(missionState_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | missionState_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder getMissionStateBuilder() { |
| | | public TelemetryDataPB.MissionState.Builder getMissionStateBuilder() { |
| | | |
| | | onChanged(); |
| | | return getMissionStateFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder getMissionStateOrBuilder() { |
| | | public TelemetryDataPB.MissionStateOrBuilder getMissionStateOrBuilder() { |
| | | if (missionStateBuilder_ != null) { |
| | | return missionStateBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return missionState_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.getDefaultInstance() : missionState_; |
| | | TelemetryDataPB.MissionState.getDefaultInstance() : missionState_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .MissionState missionState = 5;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder> |
| | | TelemetryDataPB.MissionState, TelemetryDataPB.MissionState.Builder, TelemetryDataPB.MissionStateOrBuilder> |
| | | getMissionStateFieldBuilder() { |
| | | if (missionStateBuilder_ == null) { |
| | | missionStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder>( |
| | | TelemetryDataPB.MissionState, TelemetryDataPB.MissionState.Builder, TelemetryDataPB.MissionStateOrBuilder>( |
| | | getMissionState(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return this; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData avoidanceData_ = null; |
| | | private TelemetryDataPB.AvoidanceData avoidanceData_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder> avoidanceDataBuilder_; |
| | | TelemetryDataPB.AvoidanceData, TelemetryDataPB.AvoidanceData.Builder, TelemetryDataPB.AvoidanceDataOrBuilder> avoidanceDataBuilder_; |
| | | /** |
| | | * <pre> |
| | | *避障数据 |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData getAvoidanceData() { |
| | | public TelemetryDataPB.AvoidanceData getAvoidanceData() { |
| | | if (avoidanceDataBuilder_ == null) { |
| | | return avoidanceData_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.getDefaultInstance() : avoidanceData_; |
| | | return avoidanceData_ == null ? TelemetryDataPB.AvoidanceData.getDefaultInstance() : avoidanceData_; |
| | | } else { |
| | | return avoidanceDataBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public Builder setAvoidanceData(com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData value) { |
| | | public Builder setAvoidanceData(TelemetryDataPB.AvoidanceData value) { |
| | | if (avoidanceDataBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public Builder setAvoidanceData( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder builderForValue) { |
| | | TelemetryDataPB.AvoidanceData.Builder builderForValue) { |
| | | if (avoidanceDataBuilder_ == null) { |
| | | avoidanceData_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public Builder mergeAvoidanceData(com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData value) { |
| | | public Builder mergeAvoidanceData(TelemetryDataPB.AvoidanceData value) { |
| | | if (avoidanceDataBuilder_ == null) { |
| | | if (avoidanceData_ != null) { |
| | | avoidanceData_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.newBuilder(avoidanceData_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.AvoidanceData.newBuilder(avoidanceData_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | avoidanceData_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder getAvoidanceDataBuilder() { |
| | | public TelemetryDataPB.AvoidanceData.Builder getAvoidanceDataBuilder() { |
| | | |
| | | onChanged(); |
| | | return getAvoidanceDataFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder getAvoidanceDataOrBuilder() { |
| | | public TelemetryDataPB.AvoidanceDataOrBuilder getAvoidanceDataOrBuilder() { |
| | | if (avoidanceDataBuilder_ != null) { |
| | | return avoidanceDataBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return avoidanceData_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.getDefaultInstance() : avoidanceData_; |
| | | TelemetryDataPB.AvoidanceData.getDefaultInstance() : avoidanceData_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .AvoidanceData avoidanceData = 7;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder> |
| | | TelemetryDataPB.AvoidanceData, TelemetryDataPB.AvoidanceData.Builder, TelemetryDataPB.AvoidanceDataOrBuilder> |
| | | getAvoidanceDataFieldBuilder() { |
| | | if (avoidanceDataBuilder_ == null) { |
| | | avoidanceDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder>( |
| | | TelemetryDataPB.AvoidanceData, TelemetryDataPB.AvoidanceData.Builder, TelemetryDataPB.AvoidanceDataOrBuilder>( |
| | | getAvoidanceData(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return avoidanceDataBuilder_; |
| | | } |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData> hmsAlarmData_ = |
| | | private java.util.List<TelemetryDataPB.HmsAlarmData> hmsAlarmData_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureHmsAlarmDataIsMutable() { |
| | | if (!((bitField0_ & 0x00000080) == 0x00000080)) { |
| | | hmsAlarmData_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData>(hmsAlarmData_); |
| | | hmsAlarmData_ = new java.util.ArrayList<TelemetryDataPB.HmsAlarmData>(hmsAlarmData_); |
| | | bitField0_ |= 0x00000080; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder> hmsAlarmDataBuilder_; |
| | | TelemetryDataPB.HmsAlarmData, TelemetryDataPB.HmsAlarmData.Builder, TelemetryDataPB.HmsAlarmDataOrBuilder> hmsAlarmDataBuilder_; |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData> getHmsAlarmDataList() { |
| | | public java.util.List<TelemetryDataPB.HmsAlarmData> getHmsAlarmDataList() { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(hmsAlarmData_); |
| | | } else { |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData getHmsAlarmData(int index) { |
| | | public TelemetryDataPB.HmsAlarmData getHmsAlarmData(int index) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | return hmsAlarmData_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder setHmsAlarmData( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData value) { |
| | | int index, TelemetryDataPB.HmsAlarmData value) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder setHmsAlarmData( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.HmsAlarmData.Builder builderForValue) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | ensureHmsAlarmDataIsMutable(); |
| | | hmsAlarmData_.set(index, builderForValue.build()); |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder addHmsAlarmData(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData value) { |
| | | public Builder addHmsAlarmData(TelemetryDataPB.HmsAlarmData value) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder addHmsAlarmData( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData value) { |
| | | int index, TelemetryDataPB.HmsAlarmData value) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder addHmsAlarmData( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder builderForValue) { |
| | | TelemetryDataPB.HmsAlarmData.Builder builderForValue) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | ensureHmsAlarmDataIsMutable(); |
| | | hmsAlarmData_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder addHmsAlarmData( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.HmsAlarmData.Builder builderForValue) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | ensureHmsAlarmDataIsMutable(); |
| | | hmsAlarmData_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public Builder addAllHmsAlarmData( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.HmsAlarmData> values) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | ensureHmsAlarmDataIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder getHmsAlarmDataBuilder( |
| | | public TelemetryDataPB.HmsAlarmData.Builder getHmsAlarmDataBuilder( |
| | | int index) { |
| | | return getHmsAlarmDataFieldBuilder().getBuilder(index); |
| | | } |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder getHmsAlarmDataOrBuilder( |
| | | public TelemetryDataPB.HmsAlarmDataOrBuilder getHmsAlarmDataOrBuilder( |
| | | int index) { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | return hmsAlarmData_.get(index); } else { |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | getHmsAlarmDataOrBuilderList() { |
| | | if (hmsAlarmDataBuilder_ != null) { |
| | | return hmsAlarmDataBuilder_.getMessageOrBuilderList(); |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder addHmsAlarmDataBuilder() { |
| | | public TelemetryDataPB.HmsAlarmData.Builder addHmsAlarmDataBuilder() { |
| | | return getHmsAlarmDataFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.getDefaultInstance()); |
| | | TelemetryDataPB.HmsAlarmData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder addHmsAlarmDataBuilder( |
| | | public TelemetryDataPB.HmsAlarmData.Builder addHmsAlarmDataBuilder( |
| | | int index) { |
| | | return getHmsAlarmDataFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.getDefaultInstance()); |
| | | index, TelemetryDataPB.HmsAlarmData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .HmsAlarmData hmsAlarmData = 8;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder> |
| | | public java.util.List<TelemetryDataPB.HmsAlarmData.Builder> |
| | | getHmsAlarmDataBuilderList() { |
| | | return getHmsAlarmDataFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | TelemetryDataPB.HmsAlarmData, TelemetryDataPB.HmsAlarmData.Builder, TelemetryDataPB.HmsAlarmDataOrBuilder> |
| | | getHmsAlarmDataFieldBuilder() { |
| | | if (hmsAlarmDataBuilder_ == null) { |
| | | hmsAlarmDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder>( |
| | | TelemetryDataPB.HmsAlarmData, TelemetryDataPB.HmsAlarmData.Builder, TelemetryDataPB.HmsAlarmDataOrBuilder>( |
| | | hmsAlarmData_, |
| | | ((bitField0_ & 0x00000080) == 0x00000080), |
| | | getParentForChildren(), |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:UavState) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.UavState DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.UavState(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState getDefaultInstance() { |
| | | public static TelemetryDataPB.UavState getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavState getDefaultInstanceForType() { |
| | | public TelemetryDataPB.UavState getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getStartPoint(); |
| | | TelemetryDataPB.PointData getStartPoint(); |
| | | /** |
| | | * <pre> |
| | | *起飞点(只包含lat和lng信息) |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getStartPointOrBuilder(); |
| | | TelemetryDataPB.PointDataOrBuilder getStartPointOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getHomePoint(); |
| | | TelemetryDataPB.PointData getHomePoint(); |
| | | /** |
| | | * <pre> |
| | | *返航点(只包含lat和lng信息) |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getHomePointOrBuilder(); |
| | | TelemetryDataPB.PointDataOrBuilder getHomePointOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | break; |
| | | } |
| | | case 42: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder subBuilder = null; |
| | | TelemetryDataPB.PointData.Builder subBuilder = null; |
| | | if (startPoint_ != null) { |
| | | subBuilder = startPoint_.toBuilder(); |
| | | } |
| | | startPoint_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry); |
| | | startPoint_ = input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(startPoint_); |
| | | startPoint_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 50: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder subBuilder = null; |
| | | TelemetryDataPB.PointData.Builder subBuilder = null; |
| | | if (homePoint_ != null) { |
| | | subBuilder = homePoint_.toBuilder(); |
| | | } |
| | | homePoint_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry); |
| | | homePoint_ = input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(homePoint_); |
| | | homePoint_ = subBuilder.buildPartial(); |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_FlightControllerState_descriptor; |
| | | return TelemetryDataPB.internal_static_FlightControllerState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_FlightControllerState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_FlightControllerState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder.class); |
| | | TelemetryDataPB.FlightControllerState.class, TelemetryDataPB.FlightControllerState.Builder.class); |
| | | } |
| | | |
| | | public static final int SATELLITECOUNT_FIELD_NUMBER = 1; |
| | |
| | | } |
| | | |
| | | public static final int STARTPOINT_FIELD_NUMBER = 5; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData startPoint_; |
| | | private TelemetryDataPB.PointData startPoint_; |
| | | /** |
| | | * <pre> |
| | | *起飞点(只包含lat和lng信息) |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getStartPoint() { |
| | | return startPoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : startPoint_; |
| | | public TelemetryDataPB.PointData getStartPoint() { |
| | | return startPoint_ == null ? TelemetryDataPB.PointData.getDefaultInstance() : startPoint_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getStartPointOrBuilder() { |
| | | public TelemetryDataPB.PointDataOrBuilder getStartPointOrBuilder() { |
| | | return getStartPoint(); |
| | | } |
| | | |
| | | public static final int HOMEPOINT_FIELD_NUMBER = 6; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData homePoint_; |
| | | private TelemetryDataPB.PointData homePoint_; |
| | | /** |
| | | * <pre> |
| | | *返航点(只包含lat和lng信息) |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getHomePoint() { |
| | | return homePoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : homePoint_; |
| | | public TelemetryDataPB.PointData getHomePoint() { |
| | | return homePoint_ == null ? TelemetryDataPB.PointData.getDefaultInstance() : homePoint_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getHomePointOrBuilder() { |
| | | public TelemetryDataPB.PointDataOrBuilder getHomePointOrBuilder() { |
| | | return getHomePoint(); |
| | | } |
| | | |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState)) { |
| | | if (!(obj instanceof TelemetryDataPB.FlightControllerState)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState) obj; |
| | | TelemetryDataPB.FlightControllerState other = (TelemetryDataPB.FlightControllerState) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getSatelliteCount() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom(byte[] data) |
| | | public static TelemetryDataPB.FlightControllerState parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.FlightControllerState parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.FlightControllerState parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseDelimitedFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parseFrom( |
| | | public static TelemetryDataPB.FlightControllerState parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.FlightControllerState prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:FlightControllerState) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerStateOrBuilder { |
| | | TelemetryDataPB.FlightControllerStateOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_FlightControllerState_descriptor; |
| | | return TelemetryDataPB.internal_static_FlightControllerState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_FlightControllerState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_FlightControllerState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.Builder.class); |
| | | TelemetryDataPB.FlightControllerState.class, TelemetryDataPB.FlightControllerState.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_FlightControllerState_descriptor; |
| | | return TelemetryDataPB.internal_static_FlightControllerState_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.getDefaultInstance(); |
| | | public TelemetryDataPB.FlightControllerState getDefaultInstanceForType() { |
| | | return TelemetryDataPB.FlightControllerState.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState result = buildPartial(); |
| | | public TelemetryDataPB.FlightControllerState build() { |
| | | TelemetryDataPB.FlightControllerState result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState(this); |
| | | public TelemetryDataPB.FlightControllerState buildPartial() { |
| | | TelemetryDataPB.FlightControllerState result = new TelemetryDataPB.FlightControllerState(this); |
| | | result.satelliteCount_ = satelliteCount_; |
| | | result.gpsSignalLevel_ = gpsSignalLevel_; |
| | | result.flightMode_ = flightMode_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState)other); |
| | | if (other instanceof TelemetryDataPB.FlightControllerState) { |
| | | return mergeFrom((TelemetryDataPB.FlightControllerState)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.FlightControllerState other) { |
| | | if (other == TelemetryDataPB.FlightControllerState.getDefaultInstance()) return this; |
| | | if (other.getSatelliteCount() != 0) { |
| | | setSatelliteCount(other.getSatelliteCount()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState parsedMessage = null; |
| | | TelemetryDataPB.FlightControllerState parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.FlightControllerState) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | return this; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData startPoint_ = null; |
| | | private TelemetryDataPB.PointData startPoint_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> startPointBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> startPointBuilder_; |
| | | /** |
| | | * <pre> |
| | | *起飞点(只包含lat和lng信息) |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getStartPoint() { |
| | | public TelemetryDataPB.PointData getStartPoint() { |
| | | if (startPointBuilder_ == null) { |
| | | return startPoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : startPoint_; |
| | | return startPoint_ == null ? TelemetryDataPB.PointData.getDefaultInstance() : startPoint_; |
| | | } else { |
| | | return startPointBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public Builder setStartPoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder setStartPoint(TelemetryDataPB.PointData value) { |
| | | if (startPointBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public Builder setStartPoint( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (startPointBuilder_ == null) { |
| | | startPoint_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public Builder mergeStartPoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder mergeStartPoint(TelemetryDataPB.PointData value) { |
| | | if (startPointBuilder_ == null) { |
| | | if (startPoint_ != null) { |
| | | startPoint_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.newBuilder(startPoint_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.PointData.newBuilder(startPoint_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | startPoint_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getStartPointBuilder() { |
| | | public TelemetryDataPB.PointData.Builder getStartPointBuilder() { |
| | | |
| | | onChanged(); |
| | | return getStartPointFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getStartPointOrBuilder() { |
| | | public TelemetryDataPB.PointDataOrBuilder getStartPointOrBuilder() { |
| | | if (startPointBuilder_ != null) { |
| | | return startPointBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return startPoint_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : startPoint_; |
| | | TelemetryDataPB.PointData.getDefaultInstance() : startPoint_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .PointData startPoint = 5;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getStartPointFieldBuilder() { |
| | | if (startPointBuilder_ == null) { |
| | | startPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | getStartPoint(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return startPointBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData homePoint_ = null; |
| | | private TelemetryDataPB.PointData homePoint_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> homePointBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> homePointBuilder_; |
| | | /** |
| | | * <pre> |
| | | *返航点(只包含lat和lng信息) |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getHomePoint() { |
| | | public TelemetryDataPB.PointData getHomePoint() { |
| | | if (homePointBuilder_ == null) { |
| | | return homePoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : homePoint_; |
| | | return homePoint_ == null ? TelemetryDataPB.PointData.getDefaultInstance() : homePoint_; |
| | | } else { |
| | | return homePointBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public Builder setHomePoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder setHomePoint(TelemetryDataPB.PointData value) { |
| | | if (homePointBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public Builder setHomePoint( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (homePointBuilder_ == null) { |
| | | homePoint_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public Builder mergeHomePoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder mergeHomePoint(TelemetryDataPB.PointData value) { |
| | | if (homePointBuilder_ == null) { |
| | | if (homePoint_ != null) { |
| | | homePoint_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.newBuilder(homePoint_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.PointData.newBuilder(homePoint_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | homePoint_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getHomePointBuilder() { |
| | | public TelemetryDataPB.PointData.Builder getHomePointBuilder() { |
| | | |
| | | onChanged(); |
| | | return getHomePointFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getHomePointOrBuilder() { |
| | | public TelemetryDataPB.PointDataOrBuilder getHomePointOrBuilder() { |
| | | if (homePointBuilder_ != null) { |
| | | return homePointBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return homePoint_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : homePoint_; |
| | | TelemetryDataPB.PointData.getDefaultInstance() : homePoint_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .PointData homePoint = 6;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getHomePointFieldBuilder() { |
| | | if (homePointBuilder_ == null) { |
| | | homePointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | getHomePoint(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:FlightControllerState) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.FlightControllerState DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.FlightControllerState(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState getDefaultInstance() { |
| | | public static TelemetryDataPB.FlightControllerState getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.FlightControllerState getDefaultInstanceForType() { |
| | | public TelemetryDataPB.FlightControllerState getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getFirstBatteryInfo(); |
| | | TelemetryDataPB.BatteryStateInfo getFirstBatteryInfo(); |
| | | /** |
| | | * <pre> |
| | | *第一块电池状态信息(安装在飞机左边电池槽) |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder getFirstBatteryInfoOrBuilder(); |
| | | TelemetryDataPB.BatteryStateInfoOrBuilder getFirstBatteryInfoOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getSecondBatteryInfo(); |
| | | TelemetryDataPB.BatteryStateInfo getSecondBatteryInfo(); |
| | | /** |
| | | * <pre> |
| | | *第二块电池状态信息(安装在飞机右边电池槽) |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder getSecondBatteryInfoOrBuilder(); |
| | | TelemetryDataPB.BatteryStateInfoOrBuilder getSecondBatteryInfoOrBuilder(); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | break; |
| | | } |
| | | case 34: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder subBuilder = null; |
| | | TelemetryDataPB.BatteryStateInfo.Builder subBuilder = null; |
| | | if (firstBatteryInfo_ != null) { |
| | | subBuilder = firstBatteryInfo_.toBuilder(); |
| | | } |
| | | firstBatteryInfo_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.parser(), extensionRegistry); |
| | | firstBatteryInfo_ = input.readMessage(TelemetryDataPB.BatteryStateInfo.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(firstBatteryInfo_); |
| | | firstBatteryInfo_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 42: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder subBuilder = null; |
| | | TelemetryDataPB.BatteryStateInfo.Builder subBuilder = null; |
| | | if (secondBatteryInfo_ != null) { |
| | | subBuilder = secondBatteryInfo_.toBuilder(); |
| | | } |
| | | secondBatteryInfo_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.parser(), extensionRegistry); |
| | | secondBatteryInfo_ = input.readMessage(TelemetryDataPB.BatteryStateInfo.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(secondBatteryInfo_); |
| | | secondBatteryInfo_ = subBuilder.buildPartial(); |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryState_descriptor; |
| | | return TelemetryDataPB.internal_static_BatteryState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_BatteryState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder.class); |
| | | TelemetryDataPB.BatteryState.class, TelemetryDataPB.BatteryState.Builder.class); |
| | | } |
| | | |
| | | public static final int BATTERYNUM_FIELD_NUMBER = 1; |
| | |
| | | } |
| | | |
| | | public static final int FIRSTBATTERYINFO_FIELD_NUMBER = 4; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo firstBatteryInfo_; |
| | | private TelemetryDataPB.BatteryStateInfo firstBatteryInfo_; |
| | | /** |
| | | * <pre> |
| | | *第一块电池状态信息(安装在飞机左边电池槽) |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getFirstBatteryInfo() { |
| | | return firstBatteryInfo_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : firstBatteryInfo_; |
| | | public TelemetryDataPB.BatteryStateInfo getFirstBatteryInfo() { |
| | | return firstBatteryInfo_ == null ? TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : firstBatteryInfo_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder getFirstBatteryInfoOrBuilder() { |
| | | public TelemetryDataPB.BatteryStateInfoOrBuilder getFirstBatteryInfoOrBuilder() { |
| | | return getFirstBatteryInfo(); |
| | | } |
| | | |
| | | public static final int SECONDBATTERYINFO_FIELD_NUMBER = 5; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo secondBatteryInfo_; |
| | | private TelemetryDataPB.BatteryStateInfo secondBatteryInfo_; |
| | | /** |
| | | * <pre> |
| | | *第二块电池状态信息(安装在飞机右边电池槽) |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getSecondBatteryInfo() { |
| | | return secondBatteryInfo_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : secondBatteryInfo_; |
| | | public TelemetryDataPB.BatteryStateInfo getSecondBatteryInfo() { |
| | | return secondBatteryInfo_ == null ? TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : secondBatteryInfo_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder getSecondBatteryInfoOrBuilder() { |
| | | public TelemetryDataPB.BatteryStateInfoOrBuilder getSecondBatteryInfoOrBuilder() { |
| | | return getSecondBatteryInfo(); |
| | | } |
| | | |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState)) { |
| | | if (!(obj instanceof TelemetryDataPB.BatteryState)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState) obj; |
| | | TelemetryDataPB.BatteryState other = (TelemetryDataPB.BatteryState) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getBatteryNum() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom( |
| | | public static TelemetryDataPB.BatteryState parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom( |
| | | public static TelemetryDataPB.BatteryState parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom(byte[] data) |
| | | public static TelemetryDataPB.BatteryState parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom( |
| | | public static TelemetryDataPB.BatteryState parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.BatteryState parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom( |
| | | public static TelemetryDataPB.BatteryState parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.BatteryState parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseDelimitedFrom( |
| | | public static TelemetryDataPB.BatteryState parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom( |
| | | public static TelemetryDataPB.BatteryState parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parseFrom( |
| | | public static TelemetryDataPB.BatteryState parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.BatteryState prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:BatteryState) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateOrBuilder { |
| | | TelemetryDataPB.BatteryStateOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryState_descriptor; |
| | | return TelemetryDataPB.internal_static_BatteryState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_BatteryState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.Builder.class); |
| | | TelemetryDataPB.BatteryState.class, TelemetryDataPB.BatteryState.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryState_descriptor; |
| | | return TelemetryDataPB.internal_static_BatteryState_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.getDefaultInstance(); |
| | | public TelemetryDataPB.BatteryState getDefaultInstanceForType() { |
| | | return TelemetryDataPB.BatteryState.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState result = buildPartial(); |
| | | public TelemetryDataPB.BatteryState build() { |
| | | TelemetryDataPB.BatteryState result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState(this); |
| | | public TelemetryDataPB.BatteryState buildPartial() { |
| | | TelemetryDataPB.BatteryState result = new TelemetryDataPB.BatteryState(this); |
| | | result.batteryNum_ = batteryNum_; |
| | | result.batteryPower_ = batteryPower_; |
| | | result.batteryVoltage_ = batteryVoltage_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState)other); |
| | | if (other instanceof TelemetryDataPB.BatteryState) { |
| | | return mergeFrom((TelemetryDataPB.BatteryState)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.BatteryState other) { |
| | | if (other == TelemetryDataPB.BatteryState.getDefaultInstance()) return this; |
| | | if (other.getBatteryNum() != 0) { |
| | | setBatteryNum(other.getBatteryNum()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState parsedMessage = null; |
| | | TelemetryDataPB.BatteryState parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.BatteryState) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | return this; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo firstBatteryInfo_ = null; |
| | | private TelemetryDataPB.BatteryStateInfo firstBatteryInfo_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder> firstBatteryInfoBuilder_; |
| | | TelemetryDataPB.BatteryStateInfo, TelemetryDataPB.BatteryStateInfo.Builder, TelemetryDataPB.BatteryStateInfoOrBuilder> firstBatteryInfoBuilder_; |
| | | /** |
| | | * <pre> |
| | | *第一块电池状态信息(安装在飞机左边电池槽) |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getFirstBatteryInfo() { |
| | | public TelemetryDataPB.BatteryStateInfo getFirstBatteryInfo() { |
| | | if (firstBatteryInfoBuilder_ == null) { |
| | | return firstBatteryInfo_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : firstBatteryInfo_; |
| | | return firstBatteryInfo_ == null ? TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : firstBatteryInfo_; |
| | | } else { |
| | | return firstBatteryInfoBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public Builder setFirstBatteryInfo(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo value) { |
| | | public Builder setFirstBatteryInfo(TelemetryDataPB.BatteryStateInfo value) { |
| | | if (firstBatteryInfoBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public Builder setFirstBatteryInfo( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder builderForValue) { |
| | | TelemetryDataPB.BatteryStateInfo.Builder builderForValue) { |
| | | if (firstBatteryInfoBuilder_ == null) { |
| | | firstBatteryInfo_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public Builder mergeFirstBatteryInfo(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo value) { |
| | | public Builder mergeFirstBatteryInfo(TelemetryDataPB.BatteryStateInfo value) { |
| | | if (firstBatteryInfoBuilder_ == null) { |
| | | if (firstBatteryInfo_ != null) { |
| | | firstBatteryInfo_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.newBuilder(firstBatteryInfo_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.BatteryStateInfo.newBuilder(firstBatteryInfo_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | firstBatteryInfo_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder getFirstBatteryInfoBuilder() { |
| | | public TelemetryDataPB.BatteryStateInfo.Builder getFirstBatteryInfoBuilder() { |
| | | |
| | | onChanged(); |
| | | return getFirstBatteryInfoFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder getFirstBatteryInfoOrBuilder() { |
| | | public TelemetryDataPB.BatteryStateInfoOrBuilder getFirstBatteryInfoOrBuilder() { |
| | | if (firstBatteryInfoBuilder_ != null) { |
| | | return firstBatteryInfoBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return firstBatteryInfo_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : firstBatteryInfo_; |
| | | TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : firstBatteryInfo_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .BatteryStateInfo firstBatteryInfo = 4;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder> |
| | | TelemetryDataPB.BatteryStateInfo, TelemetryDataPB.BatteryStateInfo.Builder, TelemetryDataPB.BatteryStateInfoOrBuilder> |
| | | getFirstBatteryInfoFieldBuilder() { |
| | | if (firstBatteryInfoBuilder_ == null) { |
| | | firstBatteryInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder>( |
| | | TelemetryDataPB.BatteryStateInfo, TelemetryDataPB.BatteryStateInfo.Builder, TelemetryDataPB.BatteryStateInfoOrBuilder>( |
| | | getFirstBatteryInfo(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return firstBatteryInfoBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo secondBatteryInfo_ = null; |
| | | private TelemetryDataPB.BatteryStateInfo secondBatteryInfo_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder> secondBatteryInfoBuilder_; |
| | | TelemetryDataPB.BatteryStateInfo, TelemetryDataPB.BatteryStateInfo.Builder, TelemetryDataPB.BatteryStateInfoOrBuilder> secondBatteryInfoBuilder_; |
| | | /** |
| | | * <pre> |
| | | *第二块电池状态信息(安装在飞机右边电池槽) |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getSecondBatteryInfo() { |
| | | public TelemetryDataPB.BatteryStateInfo getSecondBatteryInfo() { |
| | | if (secondBatteryInfoBuilder_ == null) { |
| | | return secondBatteryInfo_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : secondBatteryInfo_; |
| | | return secondBatteryInfo_ == null ? TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : secondBatteryInfo_; |
| | | } else { |
| | | return secondBatteryInfoBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public Builder setSecondBatteryInfo(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo value) { |
| | | public Builder setSecondBatteryInfo(TelemetryDataPB.BatteryStateInfo value) { |
| | | if (secondBatteryInfoBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public Builder setSecondBatteryInfo( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder builderForValue) { |
| | | TelemetryDataPB.BatteryStateInfo.Builder builderForValue) { |
| | | if (secondBatteryInfoBuilder_ == null) { |
| | | secondBatteryInfo_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public Builder mergeSecondBatteryInfo(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo value) { |
| | | public Builder mergeSecondBatteryInfo(TelemetryDataPB.BatteryStateInfo value) { |
| | | if (secondBatteryInfoBuilder_ == null) { |
| | | if (secondBatteryInfo_ != null) { |
| | | secondBatteryInfo_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.newBuilder(secondBatteryInfo_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.BatteryStateInfo.newBuilder(secondBatteryInfo_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | secondBatteryInfo_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder getSecondBatteryInfoBuilder() { |
| | | public TelemetryDataPB.BatteryStateInfo.Builder getSecondBatteryInfoBuilder() { |
| | | |
| | | onChanged(); |
| | | return getSecondBatteryInfoFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder getSecondBatteryInfoOrBuilder() { |
| | | public TelemetryDataPB.BatteryStateInfoOrBuilder getSecondBatteryInfoOrBuilder() { |
| | | if (secondBatteryInfoBuilder_ != null) { |
| | | return secondBatteryInfoBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return secondBatteryInfo_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : secondBatteryInfo_; |
| | | TelemetryDataPB.BatteryStateInfo.getDefaultInstance() : secondBatteryInfo_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .BatteryStateInfo secondBatteryInfo = 5;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder> |
| | | TelemetryDataPB.BatteryStateInfo, TelemetryDataPB.BatteryStateInfo.Builder, TelemetryDataPB.BatteryStateInfoOrBuilder> |
| | | getSecondBatteryInfoFieldBuilder() { |
| | | if (secondBatteryInfoBuilder_ == null) { |
| | | secondBatteryInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder>( |
| | | TelemetryDataPB.BatteryStateInfo, TelemetryDataPB.BatteryStateInfo.Builder, TelemetryDataPB.BatteryStateInfoOrBuilder>( |
| | | getSecondBatteryInfo(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:BatteryState) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.BatteryState DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.BatteryState(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState getDefaultInstance() { |
| | | public static TelemetryDataPB.BatteryState getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryState getDefaultInstanceForType() { |
| | | public TelemetryDataPB.BatteryState getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryStateInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_BatteryStateInfo_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryStateInfo_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_BatteryStateInfo_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder.class); |
| | | TelemetryDataPB.BatteryStateInfo.class, TelemetryDataPB.BatteryStateInfo.Builder.class); |
| | | } |
| | | |
| | | public static final int ISBATTERYEMBED_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo)) { |
| | | if (!(obj instanceof TelemetryDataPB.BatteryStateInfo)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo) obj; |
| | | TelemetryDataPB.BatteryStateInfo other = (TelemetryDataPB.BatteryStateInfo) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getIsBatteryEmbed() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom(byte[] data) |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.BatteryStateInfo parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseDelimitedFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | public static TelemetryDataPB.BatteryStateInfo parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.BatteryStateInfo prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:BatteryStateInfo) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfoOrBuilder { |
| | | TelemetryDataPB.BatteryStateInfoOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryStateInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_BatteryStateInfo_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryStateInfo_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_BatteryStateInfo_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.Builder.class); |
| | | TelemetryDataPB.BatteryStateInfo.class, TelemetryDataPB.BatteryStateInfo.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_BatteryStateInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_BatteryStateInfo_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance(); |
| | | public TelemetryDataPB.BatteryStateInfo getDefaultInstanceForType() { |
| | | return TelemetryDataPB.BatteryStateInfo.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo result = buildPartial(); |
| | | public TelemetryDataPB.BatteryStateInfo build() { |
| | | TelemetryDataPB.BatteryStateInfo result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo(this); |
| | | public TelemetryDataPB.BatteryStateInfo buildPartial() { |
| | | TelemetryDataPB.BatteryStateInfo result = new TelemetryDataPB.BatteryStateInfo(this); |
| | | result.isBatteryEmbed_ = isBatteryEmbed_; |
| | | result.batteryCapacityPercent_ = batteryCapacityPercent_; |
| | | result.currentVoltage_ = currentVoltage_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo)other); |
| | | if (other instanceof TelemetryDataPB.BatteryStateInfo) { |
| | | return mergeFrom((TelemetryDataPB.BatteryStateInfo)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.BatteryStateInfo other) { |
| | | if (other == TelemetryDataPB.BatteryStateInfo.getDefaultInstance()) return this; |
| | | if (other.getIsBatteryEmbed() != 0) { |
| | | setIsBatteryEmbed(other.getIsBatteryEmbed()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo parsedMessage = null; |
| | | TelemetryDataPB.BatteryStateInfo parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.BatteryStateInfo) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:BatteryStateInfo) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.BatteryStateInfo DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.BatteryStateInfo(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getDefaultInstance() { |
| | | public static TelemetryDataPB.BatteryStateInfo getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.BatteryStateInfo getDefaultInstanceForType() { |
| | | public TelemetryDataPB.BatteryStateInfo getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PtzState_descriptor; |
| | | return TelemetryDataPB.internal_static_PtzState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PtzState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PtzState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder.class); |
| | | TelemetryDataPB.PtzState.class, TelemetryDataPB.PtzState.Builder.class); |
| | | } |
| | | |
| | | public static final int PITCH_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState)) { |
| | | if (!(obj instanceof TelemetryDataPB.PtzState)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState) obj; |
| | | TelemetryDataPB.PtzState other = (TelemetryDataPB.PtzState) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && ( |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom( |
| | | public static TelemetryDataPB.PtzState parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom( |
| | | public static TelemetryDataPB.PtzState parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom(byte[] data) |
| | | public static TelemetryDataPB.PtzState parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom( |
| | | public static TelemetryDataPB.PtzState parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PtzState parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom( |
| | | public static TelemetryDataPB.PtzState parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PtzState parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseDelimitedFrom( |
| | | public static TelemetryDataPB.PtzState parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom( |
| | | public static TelemetryDataPB.PtzState parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parseFrom( |
| | | public static TelemetryDataPB.PtzState parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.PtzState prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:PtzState) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzStateOrBuilder { |
| | | TelemetryDataPB.PtzStateOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PtzState_descriptor; |
| | | return TelemetryDataPB.internal_static_PtzState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PtzState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PtzState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.Builder.class); |
| | | TelemetryDataPB.PtzState.class, TelemetryDataPB.PtzState.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PtzState_descriptor; |
| | | return TelemetryDataPB.internal_static_PtzState_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.getDefaultInstance(); |
| | | public TelemetryDataPB.PtzState getDefaultInstanceForType() { |
| | | return TelemetryDataPB.PtzState.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState result = buildPartial(); |
| | | public TelemetryDataPB.PtzState build() { |
| | | TelemetryDataPB.PtzState result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState(this); |
| | | public TelemetryDataPB.PtzState buildPartial() { |
| | | TelemetryDataPB.PtzState result = new TelemetryDataPB.PtzState(this); |
| | | result.pitch_ = pitch_; |
| | | result.roll_ = roll_; |
| | | result.yaw_ = yaw_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState)other); |
| | | if (other instanceof TelemetryDataPB.PtzState) { |
| | | return mergeFrom((TelemetryDataPB.PtzState)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.PtzState other) { |
| | | if (other == TelemetryDataPB.PtzState.getDefaultInstance()) return this; |
| | | if (other.getPitch() != 0F) { |
| | | setPitch(other.getPitch()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState parsedMessage = null; |
| | | TelemetryDataPB.PtzState parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.PtzState) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:PtzState) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.PtzState DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.PtzState(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState getDefaultInstance() { |
| | | public static TelemetryDataPB.PtzState getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PtzState getDefaultInstanceForType() { |
| | | public TelemetryDataPB.PtzState getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_CameraState_descriptor; |
| | | return TelemetryDataPB.internal_static_CameraState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_CameraState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_CameraState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder.class); |
| | | TelemetryDataPB.CameraState.class, TelemetryDataPB.CameraState.Builder.class); |
| | | } |
| | | |
| | | public static final int MODE_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState)) { |
| | | if (!(obj instanceof TelemetryDataPB.CameraState)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState) obj; |
| | | TelemetryDataPB.CameraState other = (TelemetryDataPB.CameraState) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getMode() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom( |
| | | public static TelemetryDataPB.CameraState parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom( |
| | | public static TelemetryDataPB.CameraState parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom(byte[] data) |
| | | public static TelemetryDataPB.CameraState parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom( |
| | | public static TelemetryDataPB.CameraState parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.CameraState parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom( |
| | | public static TelemetryDataPB.CameraState parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.CameraState parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseDelimitedFrom( |
| | | public static TelemetryDataPB.CameraState parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom( |
| | | public static TelemetryDataPB.CameraState parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parseFrom( |
| | | public static TelemetryDataPB.CameraState parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.CameraState prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:CameraState) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraStateOrBuilder { |
| | | TelemetryDataPB.CameraStateOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_CameraState_descriptor; |
| | | return TelemetryDataPB.internal_static_CameraState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_CameraState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_CameraState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.Builder.class); |
| | | TelemetryDataPB.CameraState.class, TelemetryDataPB.CameraState.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_CameraState_descriptor; |
| | | return TelemetryDataPB.internal_static_CameraState_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.getDefaultInstance(); |
| | | public TelemetryDataPB.CameraState getDefaultInstanceForType() { |
| | | return TelemetryDataPB.CameraState.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState result = buildPartial(); |
| | | public TelemetryDataPB.CameraState build() { |
| | | TelemetryDataPB.CameraState result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState(this); |
| | | public TelemetryDataPB.CameraState buildPartial() { |
| | | TelemetryDataPB.CameraState result = new TelemetryDataPB.CameraState(this); |
| | | result.mode_ = mode_; |
| | | result.isRecording_ = isRecording_; |
| | | result.recordDuration_ = recordDuration_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState)other); |
| | | if (other instanceof TelemetryDataPB.CameraState) { |
| | | return mergeFrom((TelemetryDataPB.CameraState)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.CameraState other) { |
| | | if (other == TelemetryDataPB.CameraState.getDefaultInstance()) return this; |
| | | if (other.getMode() != 0) { |
| | | setMode(other.getMode()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState parsedMessage = null; |
| | | TelemetryDataPB.CameraState parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.CameraState) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:CameraState) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.CameraState DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.CameraState(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState getDefaultInstance() { |
| | | public static TelemetryDataPB.CameraState getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.CameraState getDefaultInstanceForType() { |
| | | public TelemetryDataPB.CameraState getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_MissionState_descriptor; |
| | | return TelemetryDataPB.internal_static_MissionState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_MissionState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_MissionState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder.class); |
| | | TelemetryDataPB.MissionState.class, TelemetryDataPB.MissionState.Builder.class); |
| | | } |
| | | |
| | | public static final int ISPAUSE_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState)) { |
| | | if (!(obj instanceof TelemetryDataPB.MissionState)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState) obj; |
| | | TelemetryDataPB.MissionState other = (TelemetryDataPB.MissionState) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getIsPause() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom( |
| | | public static TelemetryDataPB.MissionState parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom( |
| | | public static TelemetryDataPB.MissionState parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom(byte[] data) |
| | | public static TelemetryDataPB.MissionState parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom( |
| | | public static TelemetryDataPB.MissionState parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.MissionState parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom( |
| | | public static TelemetryDataPB.MissionState parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.MissionState parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseDelimitedFrom( |
| | | public static TelemetryDataPB.MissionState parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom( |
| | | public static TelemetryDataPB.MissionState parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parseFrom( |
| | | public static TelemetryDataPB.MissionState parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.MissionState prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:MissionState) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionStateOrBuilder { |
| | | TelemetryDataPB.MissionStateOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_MissionState_descriptor; |
| | | return TelemetryDataPB.internal_static_MissionState_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_MissionState_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_MissionState_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.Builder.class); |
| | | TelemetryDataPB.MissionState.class, TelemetryDataPB.MissionState.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_MissionState_descriptor; |
| | | return TelemetryDataPB.internal_static_MissionState_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.getDefaultInstance(); |
| | | public TelemetryDataPB.MissionState getDefaultInstanceForType() { |
| | | return TelemetryDataPB.MissionState.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState result = buildPartial(); |
| | | public TelemetryDataPB.MissionState build() { |
| | | TelemetryDataPB.MissionState result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState(this); |
| | | public TelemetryDataPB.MissionState buildPartial() { |
| | | TelemetryDataPB.MissionState result = new TelemetryDataPB.MissionState(this); |
| | | result.isPause_ = isPause_; |
| | | result.targetWaypointIndex_ = targetWaypointIndex_; |
| | | result.isWaypointFinished_ = isWaypointFinished_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState)other); |
| | | if (other instanceof TelemetryDataPB.MissionState) { |
| | | return mergeFrom((TelemetryDataPB.MissionState)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.MissionState other) { |
| | | if (other == TelemetryDataPB.MissionState.getDefaultInstance()) return this; |
| | | if (other.getIsPause() != 0) { |
| | | setIsPause(other.getIsPause()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState parsedMessage = null; |
| | | TelemetryDataPB.MissionState parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.MissionState) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:MissionState) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.MissionState DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.MissionState(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState getDefaultInstance() { |
| | | public static TelemetryDataPB.MissionState getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.MissionState getDefaultInstanceForType() { |
| | | public TelemetryDataPB.MissionState getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_AvoidanceData_descriptor; |
| | | return TelemetryDataPB.internal_static_AvoidanceData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_AvoidanceData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_AvoidanceData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder.class); |
| | | TelemetryDataPB.AvoidanceData.class, TelemetryDataPB.AvoidanceData.Builder.class); |
| | | } |
| | | |
| | | public static final int DOWNHEALTH_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData)) { |
| | | if (!(obj instanceof TelemetryDataPB.AvoidanceData)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData) obj; |
| | | TelemetryDataPB.AvoidanceData other = (TelemetryDataPB.AvoidanceData) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getDownHealth() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom(byte[] data) |
| | | public static TelemetryDataPB.AvoidanceData parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.AvoidanceData parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.AvoidanceData parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseDelimitedFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parseFrom( |
| | | public static TelemetryDataPB.AvoidanceData parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.AvoidanceData prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:AvoidanceData) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceDataOrBuilder { |
| | | TelemetryDataPB.AvoidanceDataOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_AvoidanceData_descriptor; |
| | | return TelemetryDataPB.internal_static_AvoidanceData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_AvoidanceData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_AvoidanceData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.Builder.class); |
| | | TelemetryDataPB.AvoidanceData.class, TelemetryDataPB.AvoidanceData.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_AvoidanceData_descriptor; |
| | | return TelemetryDataPB.internal_static_AvoidanceData_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.getDefaultInstance(); |
| | | public TelemetryDataPB.AvoidanceData getDefaultInstanceForType() { |
| | | return TelemetryDataPB.AvoidanceData.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData result = buildPartial(); |
| | | public TelemetryDataPB.AvoidanceData build() { |
| | | TelemetryDataPB.AvoidanceData result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData(this); |
| | | public TelemetryDataPB.AvoidanceData buildPartial() { |
| | | TelemetryDataPB.AvoidanceData result = new TelemetryDataPB.AvoidanceData(this); |
| | | result.downHealth_ = downHealth_; |
| | | result.down_ = down_; |
| | | result.frontHealth_ = frontHealth_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData)other); |
| | | if (other instanceof TelemetryDataPB.AvoidanceData) { |
| | | return mergeFrom((TelemetryDataPB.AvoidanceData)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.AvoidanceData other) { |
| | | if (other == TelemetryDataPB.AvoidanceData.getDefaultInstance()) return this; |
| | | if (other.getDownHealth() != 0) { |
| | | setDownHealth(other.getDownHealth()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData parsedMessage = null; |
| | | TelemetryDataPB.AvoidanceData parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.AvoidanceData) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:AvoidanceData) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.AvoidanceData DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.AvoidanceData(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData getDefaultInstance() { |
| | | public static TelemetryDataPB.AvoidanceData getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.AvoidanceData getDefaultInstanceForType() { |
| | | public TelemetryDataPB.AvoidanceData getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HmsAlarmData_descriptor; |
| | | return TelemetryDataPB.internal_static_HmsAlarmData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HmsAlarmData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_HmsAlarmData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder.class); |
| | | TelemetryDataPB.HmsAlarmData.class, TelemetryDataPB.HmsAlarmData.Builder.class); |
| | | } |
| | | |
| | | public static final int ALARMID_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData)) { |
| | | if (!(obj instanceof TelemetryDataPB.HmsAlarmData)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData) obj; |
| | | TelemetryDataPB.HmsAlarmData other = (TelemetryDataPB.HmsAlarmData) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getAlarmId() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom(byte[] data) |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.HmsAlarmData parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseDelimitedFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parseFrom( |
| | | public static TelemetryDataPB.HmsAlarmData parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.HmsAlarmData prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:HmsAlarmData) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmDataOrBuilder { |
| | | TelemetryDataPB.HmsAlarmDataOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HmsAlarmData_descriptor; |
| | | return TelemetryDataPB.internal_static_HmsAlarmData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HmsAlarmData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_HmsAlarmData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.Builder.class); |
| | | TelemetryDataPB.HmsAlarmData.class, TelemetryDataPB.HmsAlarmData.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HmsAlarmData_descriptor; |
| | | return TelemetryDataPB.internal_static_HmsAlarmData_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.getDefaultInstance(); |
| | | public TelemetryDataPB.HmsAlarmData getDefaultInstanceForType() { |
| | | return TelemetryDataPB.HmsAlarmData.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData result = buildPartial(); |
| | | public TelemetryDataPB.HmsAlarmData build() { |
| | | TelemetryDataPB.HmsAlarmData result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData(this); |
| | | public TelemetryDataPB.HmsAlarmData buildPartial() { |
| | | TelemetryDataPB.HmsAlarmData result = new TelemetryDataPB.HmsAlarmData(this); |
| | | result.alarmId_ = alarmId_; |
| | | result.reportLevel_ = reportLevel_; |
| | | result.alarmMssInfo_ = alarmMssInfo_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData)other); |
| | | if (other instanceof TelemetryDataPB.HmsAlarmData) { |
| | | return mergeFrom((TelemetryDataPB.HmsAlarmData)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.HmsAlarmData other) { |
| | | if (other == TelemetryDataPB.HmsAlarmData.getDefaultInstance()) return this; |
| | | if (other.getAlarmId() != 0) { |
| | | setAlarmId(other.getAlarmId()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData parsedMessage = null; |
| | | TelemetryDataPB.HmsAlarmData parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.HmsAlarmData) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:HmsAlarmData) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.HmsAlarmData DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.HmsAlarmData(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData getDefaultInstance() { |
| | | public static TelemetryDataPB.HmsAlarmData getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HmsAlarmData getDefaultInstanceForType() { |
| | | public TelemetryDataPB.HmsAlarmData getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> |
| | | java.util.List<TelemetryDataPB.PointData> |
| | | getPointsList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getPoints(int index); |
| | | TelemetryDataPB.PointData getPoints(int index); |
| | | /** |
| | | * <pre> |
| | | *坐标点数组 |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getPointsOrBuilderList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getPointsOrBuilder( |
| | | TelemetryDataPB.PointDataOrBuilder getPointsOrBuilder( |
| | | int index); |
| | | |
| | | /** |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getTakePoint(); |
| | | TelemetryDataPB.HangarPoint getTakePoint(); |
| | | /** |
| | | * <pre> |
| | | *起飞点机库信息 |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder getTakePointOrBuilder(); |
| | | TelemetryDataPB.HangarPointOrBuilder getTakePointOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getLandPoint(); |
| | | TelemetryDataPB.HangarPoint getLandPoint(); |
| | | /** |
| | | * <pre> |
| | | *降落点机库信息 |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder getLandPointOrBuilder(); |
| | | TelemetryDataPB.HangarPointOrBuilder getLandPointOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> |
| | | java.util.List<TelemetryDataPB.PointData> |
| | | getInterestsList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getInterests(int index); |
| | | TelemetryDataPB.PointData getInterests(int index); |
| | | /** |
| | | * <pre> |
| | | *兴趣点数组(对象只包含经纬高) |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getInterestsOrBuilderList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getInterestsOrBuilder( |
| | | TelemetryDataPB.PointDataOrBuilder getInterestsOrBuilder( |
| | | int index); |
| | | |
| | | /** |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel getNormalModel(); |
| | | TelemetryDataPB.NormalModel getNormalModel(); |
| | | /** |
| | | * <pre> |
| | | *普通建模 |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder getNormalModelOrBuilder(); |
| | | TelemetryDataPB.NormalModelOrBuilder getNormalModelOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel getSurroundModel(); |
| | | TelemetryDataPB.SurroundModel getSurroundModel(); |
| | | /** |
| | | * <pre> |
| | | *环绕建模 |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder getSurroundModelOrBuilder(); |
| | | TelemetryDataPB.SurroundModelOrBuilder getSurroundModelOrBuilder(); |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getTakeOffPoint(); |
| | | TelemetryDataPB.PointData getTakeOffPoint(); |
| | | /** |
| | | * <pre> |
| | | *起飞点(对象只包含经纬高) |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getTakeOffPointOrBuilder(); |
| | | TelemetryDataPB.PointDataOrBuilder getTakeOffPointOrBuilder(); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | } |
| | | case 34: { |
| | | if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| | | points_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(); |
| | | points_ = new java.util.ArrayList<TelemetryDataPB.PointData>(); |
| | | mutable_bitField0_ |= 0x00000008; |
| | | } |
| | | points_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | case 40: { |
| | |
| | | break; |
| | | } |
| | | case 66: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder subBuilder = null; |
| | | TelemetryDataPB.HangarPoint.Builder subBuilder = null; |
| | | if (takePoint_ != null) { |
| | | subBuilder = takePoint_.toBuilder(); |
| | | } |
| | | takePoint_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.parser(), extensionRegistry); |
| | | takePoint_ = input.readMessage(TelemetryDataPB.HangarPoint.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(takePoint_); |
| | | takePoint_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 74: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder subBuilder = null; |
| | | TelemetryDataPB.HangarPoint.Builder subBuilder = null; |
| | | if (landPoint_ != null) { |
| | | subBuilder = landPoint_.toBuilder(); |
| | | } |
| | | landPoint_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.parser(), extensionRegistry); |
| | | landPoint_ = input.readMessage(TelemetryDataPB.HangarPoint.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(landPoint_); |
| | | landPoint_ = subBuilder.buildPartial(); |
| | |
| | | } |
| | | case 82: { |
| | | if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { |
| | | interests_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(); |
| | | interests_ = new java.util.ArrayList<TelemetryDataPB.PointData>(); |
| | | mutable_bitField0_ |= 0x00000200; |
| | | } |
| | | interests_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | case 90: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder subBuilder = null; |
| | | TelemetryDataPB.NormalModel.Builder subBuilder = null; |
| | | if (normalModel_ != null) { |
| | | subBuilder = normalModel_.toBuilder(); |
| | | } |
| | | normalModel_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.parser(), extensionRegistry); |
| | | normalModel_ = input.readMessage(TelemetryDataPB.NormalModel.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(normalModel_); |
| | | normalModel_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 98: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder subBuilder = null; |
| | | TelemetryDataPB.SurroundModel.Builder subBuilder = null; |
| | | if (surroundModel_ != null) { |
| | | subBuilder = surroundModel_.toBuilder(); |
| | | } |
| | | surroundModel_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.parser(), extensionRegistry); |
| | | surroundModel_ = input.readMessage(TelemetryDataPB.SurroundModel.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(surroundModel_); |
| | | surroundModel_ = subBuilder.buildPartial(); |
| | |
| | | break; |
| | | } |
| | | case 106: { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder subBuilder = null; |
| | | TelemetryDataPB.PointData.Builder subBuilder = null; |
| | | if (takeOffPoint_ != null) { |
| | | subBuilder = takeOffPoint_.toBuilder(); |
| | | } |
| | | takeOffPoint_ = input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry); |
| | | takeOffPoint_ = input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry); |
| | | if (subBuilder != null) { |
| | | subBuilder.mergeFrom(takeOffPoint_); |
| | | takeOffPoint_ = subBuilder.buildPartial(); |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PlanLineData_descriptor; |
| | | return TelemetryDataPB.internal_static_PlanLineData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PlanLineData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PlanLineData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.Builder.class); |
| | | TelemetryDataPB.PlanLineData.class, TelemetryDataPB.PlanLineData.Builder.class); |
| | | } |
| | | |
| | | private int bitField0_; |
| | |
| | | } |
| | | |
| | | public static final int POINTS_FIELD_NUMBER = 4; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> points_; |
| | | private java.util.List<TelemetryDataPB.PointData> points_; |
| | | /** |
| | | * <pre> |
| | | *坐标点数组 |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getPointsList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getPointsList() { |
| | | return points_; |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getPointsOrBuilderList() { |
| | | return points_; |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getPoints(int index) { |
| | | public TelemetryDataPB.PointData getPoints(int index) { |
| | | return points_.get(index); |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getPointsOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getPointsOrBuilder( |
| | | int index) { |
| | | return points_.get(index); |
| | | } |
| | |
| | | } |
| | | |
| | | public static final int TAKEPOINT_FIELD_NUMBER = 8; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint takePoint_; |
| | | private TelemetryDataPB.HangarPoint takePoint_; |
| | | /** |
| | | * <pre> |
| | | *起飞点机库信息 |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getTakePoint() { |
| | | return takePoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance() : takePoint_; |
| | | public TelemetryDataPB.HangarPoint getTakePoint() { |
| | | return takePoint_ == null ? TelemetryDataPB.HangarPoint.getDefaultInstance() : takePoint_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder getTakePointOrBuilder() { |
| | | public TelemetryDataPB.HangarPointOrBuilder getTakePointOrBuilder() { |
| | | return getTakePoint(); |
| | | } |
| | | |
| | | public static final int LANDPOINT_FIELD_NUMBER = 9; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint landPoint_; |
| | | private TelemetryDataPB.HangarPoint landPoint_; |
| | | /** |
| | | * <pre> |
| | | *降落点机库信息 |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getLandPoint() { |
| | | return landPoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance() : landPoint_; |
| | | public TelemetryDataPB.HangarPoint getLandPoint() { |
| | | return landPoint_ == null ? TelemetryDataPB.HangarPoint.getDefaultInstance() : landPoint_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder getLandPointOrBuilder() { |
| | | public TelemetryDataPB.HangarPointOrBuilder getLandPointOrBuilder() { |
| | | return getLandPoint(); |
| | | } |
| | | |
| | | public static final int INTERESTS_FIELD_NUMBER = 10; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> interests_; |
| | | private java.util.List<TelemetryDataPB.PointData> interests_; |
| | | /** |
| | | * <pre> |
| | | *兴趣点数组(对象只包含经纬高) |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getInterestsList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getInterestsList() { |
| | | return interests_; |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getInterestsOrBuilderList() { |
| | | return interests_; |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getInterests(int index) { |
| | | public TelemetryDataPB.PointData getInterests(int index) { |
| | | return interests_.get(index); |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getInterestsOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getInterestsOrBuilder( |
| | | int index) { |
| | | return interests_.get(index); |
| | | } |
| | | |
| | | public static final int NORMALMODEL_FIELD_NUMBER = 11; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel normalModel_; |
| | | private TelemetryDataPB.NormalModel normalModel_; |
| | | /** |
| | | * <pre> |
| | | *普通建模 |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel getNormalModel() { |
| | | return normalModel_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.getDefaultInstance() : normalModel_; |
| | | public TelemetryDataPB.NormalModel getNormalModel() { |
| | | return normalModel_ == null ? TelemetryDataPB.NormalModel.getDefaultInstance() : normalModel_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder getNormalModelOrBuilder() { |
| | | public TelemetryDataPB.NormalModelOrBuilder getNormalModelOrBuilder() { |
| | | return getNormalModel(); |
| | | } |
| | | |
| | | public static final int SURROUNDMODEL_FIELD_NUMBER = 12; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel surroundModel_; |
| | | private TelemetryDataPB.SurroundModel surroundModel_; |
| | | /** |
| | | * <pre> |
| | | *环绕建模 |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel getSurroundModel() { |
| | | return surroundModel_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.getDefaultInstance() : surroundModel_; |
| | | public TelemetryDataPB.SurroundModel getSurroundModel() { |
| | | return surroundModel_ == null ? TelemetryDataPB.SurroundModel.getDefaultInstance() : surroundModel_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder getSurroundModelOrBuilder() { |
| | | public TelemetryDataPB.SurroundModelOrBuilder getSurroundModelOrBuilder() { |
| | | return getSurroundModel(); |
| | | } |
| | | |
| | | public static final int TAKEOFFPOINT_FIELD_NUMBER = 13; |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData takeOffPoint_; |
| | | private TelemetryDataPB.PointData takeOffPoint_; |
| | | /** |
| | | * <pre> |
| | | *起飞点(对象只包含经纬高) |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getTakeOffPoint() { |
| | | return takeOffPoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : takeOffPoint_; |
| | | public TelemetryDataPB.PointData getTakeOffPoint() { |
| | | return takeOffPoint_ == null ? TelemetryDataPB.PointData.getDefaultInstance() : takeOffPoint_; |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getTakeOffPointOrBuilder() { |
| | | public TelemetryDataPB.PointDataOrBuilder getTakeOffPointOrBuilder() { |
| | | return getTakeOffPoint(); |
| | | } |
| | | |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData)) { |
| | | if (!(obj instanceof TelemetryDataPB.PlanLineData)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData) obj; |
| | | TelemetryDataPB.PlanLineData other = (TelemetryDataPB.PlanLineData) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getFinishedAction() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom( |
| | | public static TelemetryDataPB.PlanLineData parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom( |
| | | public static TelemetryDataPB.PlanLineData parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom(byte[] data) |
| | | public static TelemetryDataPB.PlanLineData parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom( |
| | | public static TelemetryDataPB.PlanLineData parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PlanLineData parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom( |
| | | public static TelemetryDataPB.PlanLineData parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PlanLineData parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseDelimitedFrom( |
| | | public static TelemetryDataPB.PlanLineData parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom( |
| | | public static TelemetryDataPB.PlanLineData parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parseFrom( |
| | | public static TelemetryDataPB.PlanLineData parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.PlanLineData prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:PlanLineData) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineDataOrBuilder { |
| | | TelemetryDataPB.PlanLineDataOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PlanLineData_descriptor; |
| | | return TelemetryDataPB.internal_static_PlanLineData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PlanLineData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PlanLineData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.Builder.class); |
| | | TelemetryDataPB.PlanLineData.class, TelemetryDataPB.PlanLineData.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PlanLineData_descriptor; |
| | | return TelemetryDataPB.internal_static_PlanLineData_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.getDefaultInstance(); |
| | | public TelemetryDataPB.PlanLineData getDefaultInstanceForType() { |
| | | return TelemetryDataPB.PlanLineData.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData result = buildPartial(); |
| | | public TelemetryDataPB.PlanLineData build() { |
| | | TelemetryDataPB.PlanLineData result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData(this); |
| | | public TelemetryDataPB.PlanLineData buildPartial() { |
| | | TelemetryDataPB.PlanLineData result = new TelemetryDataPB.PlanLineData(this); |
| | | int from_bitField0_ = bitField0_; |
| | | int to_bitField0_ = 0; |
| | | result.finishedAction_ = finishedAction_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData)other); |
| | | if (other instanceof TelemetryDataPB.PlanLineData) { |
| | | return mergeFrom((TelemetryDataPB.PlanLineData)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.PlanLineData other) { |
| | | if (other == TelemetryDataPB.PlanLineData.getDefaultInstance()) return this; |
| | | if (other.getFinishedAction() != 0) { |
| | | setFinishedAction(other.getFinishedAction()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData parsedMessage = null; |
| | | TelemetryDataPB.PlanLineData parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.PlanLineData) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | return this; |
| | | } |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> points_ = |
| | | private java.util.List<TelemetryDataPB.PointData> points_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensurePointsIsMutable() { |
| | | if (!((bitField0_ & 0x00000008) == 0x00000008)) { |
| | | points_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(points_); |
| | | points_ = new java.util.ArrayList<TelemetryDataPB.PointData>(points_); |
| | | bitField0_ |= 0x00000008; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> pointsBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> pointsBuilder_; |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getPointsList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getPointsList() { |
| | | if (pointsBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(points_); |
| | | } else { |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getPoints(int index) { |
| | | public TelemetryDataPB.PointData getPoints(int index) { |
| | | if (pointsBuilder_ == null) { |
| | | return points_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder setPoints( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (pointsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder setPoints( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (pointsBuilder_ == null) { |
| | | ensurePointsIsMutable(); |
| | | points_.set(index, builderForValue.build()); |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder addPoints(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder addPoints(TelemetryDataPB.PointData value) { |
| | | if (pointsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder addPoints( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (pointsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder addPoints( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (pointsBuilder_ == null) { |
| | | ensurePointsIsMutable(); |
| | | points_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder addPoints( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (pointsBuilder_ == null) { |
| | | ensurePointsIsMutable(); |
| | | points_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public Builder addAllPoints( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.PointData> values) { |
| | | if (pointsBuilder_ == null) { |
| | | ensurePointsIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getPointsBuilder( |
| | | public TelemetryDataPB.PointData.Builder getPointsBuilder( |
| | | int index) { |
| | | return getPointsFieldBuilder().getBuilder(index); |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getPointsOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getPointsOrBuilder( |
| | | int index) { |
| | | if (pointsBuilder_ == null) { |
| | | return points_.get(index); } else { |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getPointsOrBuilderList() { |
| | | if (pointsBuilder_ != null) { |
| | | return pointsBuilder_.getMessageOrBuilderList(); |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addPointsBuilder() { |
| | | public TelemetryDataPB.PointData.Builder addPointsBuilder() { |
| | | return getPointsFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addPointsBuilder( |
| | | public TelemetryDataPB.PointData.Builder addPointsBuilder( |
| | | int index) { |
| | | return getPointsFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | index, TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData points = 4;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder> |
| | | public java.util.List<TelemetryDataPB.PointData.Builder> |
| | | getPointsBuilderList() { |
| | | return getPointsFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getPointsFieldBuilder() { |
| | | if (pointsBuilder_ == null) { |
| | | pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | points_, |
| | | ((bitField0_ & 0x00000008) == 0x00000008), |
| | | getParentForChildren(), |
| | |
| | | return this; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint takePoint_ = null; |
| | | private TelemetryDataPB.HangarPoint takePoint_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder> takePointBuilder_; |
| | | TelemetryDataPB.HangarPoint, TelemetryDataPB.HangarPoint.Builder, TelemetryDataPB.HangarPointOrBuilder> takePointBuilder_; |
| | | /** |
| | | * <pre> |
| | | *起飞点机库信息 |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getTakePoint() { |
| | | public TelemetryDataPB.HangarPoint getTakePoint() { |
| | | if (takePointBuilder_ == null) { |
| | | return takePoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance() : takePoint_; |
| | | return takePoint_ == null ? TelemetryDataPB.HangarPoint.getDefaultInstance() : takePoint_; |
| | | } else { |
| | | return takePointBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public Builder setTakePoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint value) { |
| | | public Builder setTakePoint(TelemetryDataPB.HangarPoint value) { |
| | | if (takePointBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public Builder setTakePoint( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder builderForValue) { |
| | | TelemetryDataPB.HangarPoint.Builder builderForValue) { |
| | | if (takePointBuilder_ == null) { |
| | | takePoint_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public Builder mergeTakePoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint value) { |
| | | public Builder mergeTakePoint(TelemetryDataPB.HangarPoint value) { |
| | | if (takePointBuilder_ == null) { |
| | | if (takePoint_ != null) { |
| | | takePoint_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.newBuilder(takePoint_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.HangarPoint.newBuilder(takePoint_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | takePoint_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder getTakePointBuilder() { |
| | | public TelemetryDataPB.HangarPoint.Builder getTakePointBuilder() { |
| | | |
| | | onChanged(); |
| | | return getTakePointFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder getTakePointOrBuilder() { |
| | | public TelemetryDataPB.HangarPointOrBuilder getTakePointOrBuilder() { |
| | | if (takePointBuilder_ != null) { |
| | | return takePointBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return takePoint_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance() : takePoint_; |
| | | TelemetryDataPB.HangarPoint.getDefaultInstance() : takePoint_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .HangarPoint takePoint = 8;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder> |
| | | TelemetryDataPB.HangarPoint, TelemetryDataPB.HangarPoint.Builder, TelemetryDataPB.HangarPointOrBuilder> |
| | | getTakePointFieldBuilder() { |
| | | if (takePointBuilder_ == null) { |
| | | takePointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder>( |
| | | TelemetryDataPB.HangarPoint, TelemetryDataPB.HangarPoint.Builder, TelemetryDataPB.HangarPointOrBuilder>( |
| | | getTakePoint(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return takePointBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint landPoint_ = null; |
| | | private TelemetryDataPB.HangarPoint landPoint_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder> landPointBuilder_; |
| | | TelemetryDataPB.HangarPoint, TelemetryDataPB.HangarPoint.Builder, TelemetryDataPB.HangarPointOrBuilder> landPointBuilder_; |
| | | /** |
| | | * <pre> |
| | | *降落点机库信息 |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getLandPoint() { |
| | | public TelemetryDataPB.HangarPoint getLandPoint() { |
| | | if (landPointBuilder_ == null) { |
| | | return landPoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance() : landPoint_; |
| | | return landPoint_ == null ? TelemetryDataPB.HangarPoint.getDefaultInstance() : landPoint_; |
| | | } else { |
| | | return landPointBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public Builder setLandPoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint value) { |
| | | public Builder setLandPoint(TelemetryDataPB.HangarPoint value) { |
| | | if (landPointBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public Builder setLandPoint( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder builderForValue) { |
| | | TelemetryDataPB.HangarPoint.Builder builderForValue) { |
| | | if (landPointBuilder_ == null) { |
| | | landPoint_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public Builder mergeLandPoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint value) { |
| | | public Builder mergeLandPoint(TelemetryDataPB.HangarPoint value) { |
| | | if (landPointBuilder_ == null) { |
| | | if (landPoint_ != null) { |
| | | landPoint_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.newBuilder(landPoint_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.HangarPoint.newBuilder(landPoint_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | landPoint_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder getLandPointBuilder() { |
| | | public TelemetryDataPB.HangarPoint.Builder getLandPointBuilder() { |
| | | |
| | | onChanged(); |
| | | return getLandPointFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder getLandPointOrBuilder() { |
| | | public TelemetryDataPB.HangarPointOrBuilder getLandPointOrBuilder() { |
| | | if (landPointBuilder_ != null) { |
| | | return landPointBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return landPoint_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance() : landPoint_; |
| | | TelemetryDataPB.HangarPoint.getDefaultInstance() : landPoint_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .HangarPoint landPoint = 9;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder> |
| | | TelemetryDataPB.HangarPoint, TelemetryDataPB.HangarPoint.Builder, TelemetryDataPB.HangarPointOrBuilder> |
| | | getLandPointFieldBuilder() { |
| | | if (landPointBuilder_ == null) { |
| | | landPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder>( |
| | | TelemetryDataPB.HangarPoint, TelemetryDataPB.HangarPoint.Builder, TelemetryDataPB.HangarPointOrBuilder>( |
| | | getLandPoint(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return landPointBuilder_; |
| | | } |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> interests_ = |
| | | private java.util.List<TelemetryDataPB.PointData> interests_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureInterestsIsMutable() { |
| | | if (!((bitField0_ & 0x00000200) == 0x00000200)) { |
| | | interests_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(interests_); |
| | | interests_ = new java.util.ArrayList<TelemetryDataPB.PointData>(interests_); |
| | | bitField0_ |= 0x00000200; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> interestsBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> interestsBuilder_; |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getInterestsList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getInterestsList() { |
| | | if (interestsBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(interests_); |
| | | } else { |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getInterests(int index) { |
| | | public TelemetryDataPB.PointData getInterests(int index) { |
| | | if (interestsBuilder_ == null) { |
| | | return interests_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder setInterests( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (interestsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder setInterests( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (interestsBuilder_ == null) { |
| | | ensureInterestsIsMutable(); |
| | | interests_.set(index, builderForValue.build()); |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder addInterests(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder addInterests(TelemetryDataPB.PointData value) { |
| | | if (interestsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder addInterests( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (interestsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder addInterests( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (interestsBuilder_ == null) { |
| | | ensureInterestsIsMutable(); |
| | | interests_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder addInterests( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (interestsBuilder_ == null) { |
| | | ensureInterestsIsMutable(); |
| | | interests_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public Builder addAllInterests( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.PointData> values) { |
| | | if (interestsBuilder_ == null) { |
| | | ensureInterestsIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getInterestsBuilder( |
| | | public TelemetryDataPB.PointData.Builder getInterestsBuilder( |
| | | int index) { |
| | | return getInterestsFieldBuilder().getBuilder(index); |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getInterestsOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getInterestsOrBuilder( |
| | | int index) { |
| | | if (interestsBuilder_ == null) { |
| | | return interests_.get(index); } else { |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getInterestsOrBuilderList() { |
| | | if (interestsBuilder_ != null) { |
| | | return interestsBuilder_.getMessageOrBuilderList(); |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addInterestsBuilder() { |
| | | public TelemetryDataPB.PointData.Builder addInterestsBuilder() { |
| | | return getInterestsFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addInterestsBuilder( |
| | | public TelemetryDataPB.PointData.Builder addInterestsBuilder( |
| | | int index) { |
| | | return getInterestsFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | index, TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData interests = 10;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder> |
| | | public java.util.List<TelemetryDataPB.PointData.Builder> |
| | | getInterestsBuilderList() { |
| | | return getInterestsFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getInterestsFieldBuilder() { |
| | | if (interestsBuilder_ == null) { |
| | | interestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | interests_, |
| | | ((bitField0_ & 0x00000200) == 0x00000200), |
| | | getParentForChildren(), |
| | |
| | | return interestsBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel normalModel_ = null; |
| | | private TelemetryDataPB.NormalModel normalModel_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder> normalModelBuilder_; |
| | | TelemetryDataPB.NormalModel, TelemetryDataPB.NormalModel.Builder, TelemetryDataPB.NormalModelOrBuilder> normalModelBuilder_; |
| | | /** |
| | | * <pre> |
| | | *普通建模 |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel getNormalModel() { |
| | | public TelemetryDataPB.NormalModel getNormalModel() { |
| | | if (normalModelBuilder_ == null) { |
| | | return normalModel_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.getDefaultInstance() : normalModel_; |
| | | return normalModel_ == null ? TelemetryDataPB.NormalModel.getDefaultInstance() : normalModel_; |
| | | } else { |
| | | return normalModelBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public Builder setNormalModel(com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel value) { |
| | | public Builder setNormalModel(TelemetryDataPB.NormalModel value) { |
| | | if (normalModelBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public Builder setNormalModel( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder builderForValue) { |
| | | TelemetryDataPB.NormalModel.Builder builderForValue) { |
| | | if (normalModelBuilder_ == null) { |
| | | normalModel_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public Builder mergeNormalModel(com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel value) { |
| | | public Builder mergeNormalModel(TelemetryDataPB.NormalModel value) { |
| | | if (normalModelBuilder_ == null) { |
| | | if (normalModel_ != null) { |
| | | normalModel_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.newBuilder(normalModel_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.NormalModel.newBuilder(normalModel_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | normalModel_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder getNormalModelBuilder() { |
| | | public TelemetryDataPB.NormalModel.Builder getNormalModelBuilder() { |
| | | |
| | | onChanged(); |
| | | return getNormalModelFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder getNormalModelOrBuilder() { |
| | | public TelemetryDataPB.NormalModelOrBuilder getNormalModelOrBuilder() { |
| | | if (normalModelBuilder_ != null) { |
| | | return normalModelBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return normalModel_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.getDefaultInstance() : normalModel_; |
| | | TelemetryDataPB.NormalModel.getDefaultInstance() : normalModel_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .NormalModel normalModel = 11;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder> |
| | | TelemetryDataPB.NormalModel, TelemetryDataPB.NormalModel.Builder, TelemetryDataPB.NormalModelOrBuilder> |
| | | getNormalModelFieldBuilder() { |
| | | if (normalModelBuilder_ == null) { |
| | | normalModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder>( |
| | | TelemetryDataPB.NormalModel, TelemetryDataPB.NormalModel.Builder, TelemetryDataPB.NormalModelOrBuilder>( |
| | | getNormalModel(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return normalModelBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel surroundModel_ = null; |
| | | private TelemetryDataPB.SurroundModel surroundModel_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder> surroundModelBuilder_; |
| | | TelemetryDataPB.SurroundModel, TelemetryDataPB.SurroundModel.Builder, TelemetryDataPB.SurroundModelOrBuilder> surroundModelBuilder_; |
| | | /** |
| | | * <pre> |
| | | *环绕建模 |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel getSurroundModel() { |
| | | public TelemetryDataPB.SurroundModel getSurroundModel() { |
| | | if (surroundModelBuilder_ == null) { |
| | | return surroundModel_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.getDefaultInstance() : surroundModel_; |
| | | return surroundModel_ == null ? TelemetryDataPB.SurroundModel.getDefaultInstance() : surroundModel_; |
| | | } else { |
| | | return surroundModelBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public Builder setSurroundModel(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel value) { |
| | | public Builder setSurroundModel(TelemetryDataPB.SurroundModel value) { |
| | | if (surroundModelBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public Builder setSurroundModel( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder builderForValue) { |
| | | TelemetryDataPB.SurroundModel.Builder builderForValue) { |
| | | if (surroundModelBuilder_ == null) { |
| | | surroundModel_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public Builder mergeSurroundModel(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel value) { |
| | | public Builder mergeSurroundModel(TelemetryDataPB.SurroundModel value) { |
| | | if (surroundModelBuilder_ == null) { |
| | | if (surroundModel_ != null) { |
| | | surroundModel_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.newBuilder(surroundModel_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.SurroundModel.newBuilder(surroundModel_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | surroundModel_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder getSurroundModelBuilder() { |
| | | public TelemetryDataPB.SurroundModel.Builder getSurroundModelBuilder() { |
| | | |
| | | onChanged(); |
| | | return getSurroundModelFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder getSurroundModelOrBuilder() { |
| | | public TelemetryDataPB.SurroundModelOrBuilder getSurroundModelOrBuilder() { |
| | | if (surroundModelBuilder_ != null) { |
| | | return surroundModelBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return surroundModel_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.getDefaultInstance() : surroundModel_; |
| | | TelemetryDataPB.SurroundModel.getDefaultInstance() : surroundModel_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .SurroundModel surroundModel = 12;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder> |
| | | TelemetryDataPB.SurroundModel, TelemetryDataPB.SurroundModel.Builder, TelemetryDataPB.SurroundModelOrBuilder> |
| | | getSurroundModelFieldBuilder() { |
| | | if (surroundModelBuilder_ == null) { |
| | | surroundModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder>( |
| | | TelemetryDataPB.SurroundModel, TelemetryDataPB.SurroundModel.Builder, TelemetryDataPB.SurroundModelOrBuilder>( |
| | | getSurroundModel(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | return surroundModelBuilder_; |
| | | } |
| | | |
| | | private com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData takeOffPoint_ = null; |
| | | private TelemetryDataPB.PointData takeOffPoint_ = null; |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> takeOffPointBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> takeOffPointBuilder_; |
| | | /** |
| | | * <pre> |
| | | *起飞点(对象只包含经纬高) |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getTakeOffPoint() { |
| | | public TelemetryDataPB.PointData getTakeOffPoint() { |
| | | if (takeOffPointBuilder_ == null) { |
| | | return takeOffPoint_ == null ? com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : takeOffPoint_; |
| | | return takeOffPoint_ == null ? TelemetryDataPB.PointData.getDefaultInstance() : takeOffPoint_; |
| | | } else { |
| | | return takeOffPointBuilder_.getMessage(); |
| | | } |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public Builder setTakeOffPoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder setTakeOffPoint(TelemetryDataPB.PointData value) { |
| | | if (takeOffPointBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public Builder setTakeOffPoint( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (takeOffPointBuilder_ == null) { |
| | | takeOffPoint_ = builderForValue.build(); |
| | | onChanged(); |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public Builder mergeTakeOffPoint(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder mergeTakeOffPoint(TelemetryDataPB.PointData value) { |
| | | if (takeOffPointBuilder_ == null) { |
| | | if (takeOffPoint_ != null) { |
| | | takeOffPoint_ = |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.newBuilder(takeOffPoint_).mergeFrom(value).buildPartial(); |
| | | TelemetryDataPB.PointData.newBuilder(takeOffPoint_).mergeFrom(value).buildPartial(); |
| | | } else { |
| | | takeOffPoint_ = value; |
| | | } |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getTakeOffPointBuilder() { |
| | | public TelemetryDataPB.PointData.Builder getTakeOffPointBuilder() { |
| | | |
| | | onChanged(); |
| | | return getTakeOffPointFieldBuilder().getBuilder(); |
| | |
| | | * |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getTakeOffPointOrBuilder() { |
| | | public TelemetryDataPB.PointDataOrBuilder getTakeOffPointOrBuilder() { |
| | | if (takeOffPointBuilder_ != null) { |
| | | return takeOffPointBuilder_.getMessageOrBuilder(); |
| | | } else { |
| | | return takeOffPoint_ == null ? |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance() : takeOffPoint_; |
| | | TelemetryDataPB.PointData.getDefaultInstance() : takeOffPoint_; |
| | | } |
| | | } |
| | | /** |
| | |
| | | * <code>optional .PointData takeOffPoint = 13;</code> |
| | | */ |
| | | private com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getTakeOffPointFieldBuilder() { |
| | | if (takeOffPointBuilder_ == null) { |
| | | takeOffPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | getTakeOffPoint(), |
| | | getParentForChildren(), |
| | | isClean()); |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:PlanLineData) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.PlanLineData DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.PlanLineData(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData getDefaultInstance() { |
| | | public static TelemetryDataPB.PlanLineData getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PlanLineData getDefaultInstanceForType() { |
| | | public TelemetryDataPB.PlanLineData getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction> |
| | | java.util.List<TelemetryDataPB.PointAction> |
| | | getActionsList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction getActions(int index); |
| | | TelemetryDataPB.PointAction getActions(int index); |
| | | /** |
| | | * <pre> |
| | | *动作数组 |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.PointActionOrBuilder> |
| | | getActionsOrBuilderList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder getActionsOrBuilder( |
| | | TelemetryDataPB.PointActionOrBuilder getActionsOrBuilder( |
| | | int index); |
| | | |
| | | /** |
| | |
| | | } |
| | | case 42: { |
| | | if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { |
| | | actions_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction>(); |
| | | actions_ = new java.util.ArrayList<TelemetryDataPB.PointAction>(); |
| | | mutable_bitField0_ |= 0x00000010; |
| | | } |
| | | actions_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.PointAction.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | case 48: { |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointData_descriptor; |
| | | return TelemetryDataPB.internal_static_PointData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PointData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder.class); |
| | | TelemetryDataPB.PointData.class, TelemetryDataPB.PointData.Builder.class); |
| | | } |
| | | |
| | | private int bitField0_; |
| | |
| | | } |
| | | |
| | | public static final int ACTIONS_FIELD_NUMBER = 5; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction> actions_; |
| | | private java.util.List<TelemetryDataPB.PointAction> actions_; |
| | | /** |
| | | * <pre> |
| | | *动作数组 |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction> getActionsList() { |
| | | public java.util.List<TelemetryDataPB.PointAction> getActionsList() { |
| | | return actions_; |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointActionOrBuilder> |
| | | getActionsOrBuilderList() { |
| | | return actions_; |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction getActions(int index) { |
| | | public TelemetryDataPB.PointAction getActions(int index) { |
| | | return actions_.get(index); |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder getActionsOrBuilder( |
| | | public TelemetryDataPB.PointActionOrBuilder getActionsOrBuilder( |
| | | int index) { |
| | | return actions_.get(index); |
| | | } |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData)) { |
| | | if (!(obj instanceof TelemetryDataPB.PointData)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData) obj; |
| | | TelemetryDataPB.PointData other = (TelemetryDataPB.PointData) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && ( |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom( |
| | | public static TelemetryDataPB.PointData parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom( |
| | | public static TelemetryDataPB.PointData parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom(byte[] data) |
| | | public static TelemetryDataPB.PointData parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom( |
| | | public static TelemetryDataPB.PointData parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PointData parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom( |
| | | public static TelemetryDataPB.PointData parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PointData parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseDelimitedFrom( |
| | | public static TelemetryDataPB.PointData parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom( |
| | | public static TelemetryDataPB.PointData parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parseFrom( |
| | | public static TelemetryDataPB.PointData parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.PointData prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:PointData) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder { |
| | | TelemetryDataPB.PointDataOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointData_descriptor; |
| | | return TelemetryDataPB.internal_static_PointData_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointData_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PointData_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder.class); |
| | | TelemetryDataPB.PointData.class, TelemetryDataPB.PointData.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointData_descriptor; |
| | | return TelemetryDataPB.internal_static_PointData_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance(); |
| | | public TelemetryDataPB.PointData getDefaultInstanceForType() { |
| | | return TelemetryDataPB.PointData.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData result = buildPartial(); |
| | | public TelemetryDataPB.PointData build() { |
| | | TelemetryDataPB.PointData result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData(this); |
| | | public TelemetryDataPB.PointData buildPartial() { |
| | | TelemetryDataPB.PointData result = new TelemetryDataPB.PointData(this); |
| | | int from_bitField0_ = bitField0_; |
| | | int to_bitField0_ = 0; |
| | | result.lng_ = lng_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData)other); |
| | | if (other instanceof TelemetryDataPB.PointData) { |
| | | return mergeFrom((TelemetryDataPB.PointData)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.PointData other) { |
| | | if (other == TelemetryDataPB.PointData.getDefaultInstance()) return this; |
| | | if (other.getLng() != 0D) { |
| | | setLng(other.getLng()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData parsedMessage = null; |
| | | TelemetryDataPB.PointData parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.PointData) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | return this; |
| | | } |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction> actions_ = |
| | | private java.util.List<TelemetryDataPB.PointAction> actions_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureActionsIsMutable() { |
| | | if (!((bitField0_ & 0x00000010) == 0x00000010)) { |
| | | actions_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction>(actions_); |
| | | actions_ = new java.util.ArrayList<TelemetryDataPB.PointAction>(actions_); |
| | | bitField0_ |= 0x00000010; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder> actionsBuilder_; |
| | | TelemetryDataPB.PointAction, TelemetryDataPB.PointAction.Builder, TelemetryDataPB.PointActionOrBuilder> actionsBuilder_; |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction> getActionsList() { |
| | | public java.util.List<TelemetryDataPB.PointAction> getActionsList() { |
| | | if (actionsBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(actions_); |
| | | } else { |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction getActions(int index) { |
| | | public TelemetryDataPB.PointAction getActions(int index) { |
| | | if (actionsBuilder_ == null) { |
| | | return actions_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder setActions( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction value) { |
| | | int index, TelemetryDataPB.PointAction value) { |
| | | if (actionsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder setActions( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointAction.Builder builderForValue) { |
| | | if (actionsBuilder_ == null) { |
| | | ensureActionsIsMutable(); |
| | | actions_.set(index, builderForValue.build()); |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder addActions(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction value) { |
| | | public Builder addActions(TelemetryDataPB.PointAction value) { |
| | | if (actionsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder addActions( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction value) { |
| | | int index, TelemetryDataPB.PointAction value) { |
| | | if (actionsBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder addActions( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder builderForValue) { |
| | | TelemetryDataPB.PointAction.Builder builderForValue) { |
| | | if (actionsBuilder_ == null) { |
| | | ensureActionsIsMutable(); |
| | | actions_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder addActions( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointAction.Builder builderForValue) { |
| | | if (actionsBuilder_ == null) { |
| | | ensureActionsIsMutable(); |
| | | actions_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public Builder addAllActions( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.PointAction> values) { |
| | | if (actionsBuilder_ == null) { |
| | | ensureActionsIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder getActionsBuilder( |
| | | public TelemetryDataPB.PointAction.Builder getActionsBuilder( |
| | | int index) { |
| | | return getActionsFieldBuilder().getBuilder(index); |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder getActionsOrBuilder( |
| | | public TelemetryDataPB.PointActionOrBuilder getActionsOrBuilder( |
| | | int index) { |
| | | if (actionsBuilder_ == null) { |
| | | return actions_.get(index); } else { |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointActionOrBuilder> |
| | | getActionsOrBuilderList() { |
| | | if (actionsBuilder_ != null) { |
| | | return actionsBuilder_.getMessageOrBuilderList(); |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder addActionsBuilder() { |
| | | public TelemetryDataPB.PointAction.Builder addActionsBuilder() { |
| | | return getActionsFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.getDefaultInstance()); |
| | | TelemetryDataPB.PointAction.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder addActionsBuilder( |
| | | public TelemetryDataPB.PointAction.Builder addActionsBuilder( |
| | | int index) { |
| | | return getActionsFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.getDefaultInstance()); |
| | | index, TelemetryDataPB.PointAction.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointAction actions = 5;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder> |
| | | public java.util.List<TelemetryDataPB.PointAction.Builder> |
| | | getActionsBuilderList() { |
| | | return getActionsFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder> |
| | | TelemetryDataPB.PointAction, TelemetryDataPB.PointAction.Builder, TelemetryDataPB.PointActionOrBuilder> |
| | | getActionsFieldBuilder() { |
| | | if (actionsBuilder_ == null) { |
| | | actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder>( |
| | | TelemetryDataPB.PointAction, TelemetryDataPB.PointAction.Builder, TelemetryDataPB.PointActionOrBuilder>( |
| | | actions_, |
| | | ((bitField0_ & 0x00000010) == 0x00000010), |
| | | getParentForChildren(), |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:PointData) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.PointData DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.PointData(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getDefaultInstance() { |
| | | public static TelemetryDataPB.PointData getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getDefaultInstanceForType() { |
| | | public TelemetryDataPB.PointData getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointAction_descriptor; |
| | | return TelemetryDataPB.internal_static_PointAction_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointAction_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PointAction_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder.class); |
| | | TelemetryDataPB.PointAction.class, TelemetryDataPB.PointAction.Builder.class); |
| | | } |
| | | |
| | | public static final int TYPE_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction)) { |
| | | if (!(obj instanceof TelemetryDataPB.PointAction)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction) obj; |
| | | TelemetryDataPB.PointAction other = (TelemetryDataPB.PointAction) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && (getType() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom( |
| | | public static TelemetryDataPB.PointAction parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom( |
| | | public static TelemetryDataPB.PointAction parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom(byte[] data) |
| | | public static TelemetryDataPB.PointAction parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom( |
| | | public static TelemetryDataPB.PointAction parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PointAction parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom( |
| | | public static TelemetryDataPB.PointAction parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.PointAction parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseDelimitedFrom( |
| | | public static TelemetryDataPB.PointAction parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom( |
| | | public static TelemetryDataPB.PointAction parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parseFrom( |
| | | public static TelemetryDataPB.PointAction parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.PointAction prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:PointAction) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointActionOrBuilder { |
| | | TelemetryDataPB.PointActionOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointAction_descriptor; |
| | | return TelemetryDataPB.internal_static_PointAction_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointAction_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_PointAction_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.Builder.class); |
| | | TelemetryDataPB.PointAction.class, TelemetryDataPB.PointAction.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_PointAction_descriptor; |
| | | return TelemetryDataPB.internal_static_PointAction_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.getDefaultInstance(); |
| | | public TelemetryDataPB.PointAction getDefaultInstanceForType() { |
| | | return TelemetryDataPB.PointAction.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction result = buildPartial(); |
| | | public TelemetryDataPB.PointAction build() { |
| | | TelemetryDataPB.PointAction result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction(this); |
| | | public TelemetryDataPB.PointAction buildPartial() { |
| | | TelemetryDataPB.PointAction result = new TelemetryDataPB.PointAction(this); |
| | | result.type_ = type_; |
| | | result.param_ = param_; |
| | | result.waitTime_ = waitTime_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction)other); |
| | | if (other instanceof TelemetryDataPB.PointAction) { |
| | | return mergeFrom((TelemetryDataPB.PointAction)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.PointAction other) { |
| | | if (other == TelemetryDataPB.PointAction.getDefaultInstance()) return this; |
| | | if (other.getType() != 0) { |
| | | setType(other.getType()); |
| | | } |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction parsedMessage = null; |
| | | TelemetryDataPB.PointAction parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.PointAction) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:PointAction) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.PointAction DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.PointAction(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction getDefaultInstance() { |
| | | public static TelemetryDataPB.PointAction getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointAction getDefaultInstanceForType() { |
| | | public TelemetryDataPB.PointAction getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HangarPoint_descriptor; |
| | | return TelemetryDataPB.internal_static_HangarPoint_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HangarPoint_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_HangarPoint_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder.class); |
| | | TelemetryDataPB.HangarPoint.class, TelemetryDataPB.HangarPoint.Builder.class); |
| | | } |
| | | |
| | | public static final int HANGARID_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint)) { |
| | | if (!(obj instanceof TelemetryDataPB.HangarPoint)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint) obj; |
| | | TelemetryDataPB.HangarPoint other = (TelemetryDataPB.HangarPoint) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getHangarId() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom( |
| | | public static TelemetryDataPB.HangarPoint parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom( |
| | | public static TelemetryDataPB.HangarPoint parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom(byte[] data) |
| | | public static TelemetryDataPB.HangarPoint parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom( |
| | | public static TelemetryDataPB.HangarPoint parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.HangarPoint parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom( |
| | | public static TelemetryDataPB.HangarPoint parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.HangarPoint parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseDelimitedFrom( |
| | | public static TelemetryDataPB.HangarPoint parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom( |
| | | public static TelemetryDataPB.HangarPoint parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parseFrom( |
| | | public static TelemetryDataPB.HangarPoint parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.HangarPoint prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:HangarPoint) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPointOrBuilder { |
| | | TelemetryDataPB.HangarPointOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HangarPoint_descriptor; |
| | | return TelemetryDataPB.internal_static_HangarPoint_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HangarPoint_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_HangarPoint_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.Builder.class); |
| | | TelemetryDataPB.HangarPoint.class, TelemetryDataPB.HangarPoint.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_HangarPoint_descriptor; |
| | | return TelemetryDataPB.internal_static_HangarPoint_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance(); |
| | | public TelemetryDataPB.HangarPoint getDefaultInstanceForType() { |
| | | return TelemetryDataPB.HangarPoint.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint result = buildPartial(); |
| | | public TelemetryDataPB.HangarPoint build() { |
| | | TelemetryDataPB.HangarPoint result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint(this); |
| | | public TelemetryDataPB.HangarPoint buildPartial() { |
| | | TelemetryDataPB.HangarPoint result = new TelemetryDataPB.HangarPoint(this); |
| | | result.hangarId_ = hangarId_; |
| | | result.hangarLng_ = hangarLng_; |
| | | result.hangarLat_ = hangarLat_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint)other); |
| | | if (other instanceof TelemetryDataPB.HangarPoint) { |
| | | return mergeFrom((TelemetryDataPB.HangarPoint)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.HangarPoint other) { |
| | | if (other == TelemetryDataPB.HangarPoint.getDefaultInstance()) return this; |
| | | if (!other.getHangarId().isEmpty()) { |
| | | hangarId_ = other.hangarId_; |
| | | onChanged(); |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint parsedMessage = null; |
| | | TelemetryDataPB.HangarPoint parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.HangarPoint) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:HangarPoint) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.HangarPoint DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.HangarPoint(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getDefaultInstance() { |
| | | public static TelemetryDataPB.HangarPoint getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.HangarPoint getDefaultInstanceForType() { |
| | | public TelemetryDataPB.HangarPoint getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> |
| | | java.util.List<TelemetryDataPB.PointData> |
| | | getAreaList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getArea(int index); |
| | | TelemetryDataPB.PointData getArea(int index); |
| | | /** |
| | | * <pre> |
| | | *作业区域 |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaOrBuilderList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | int index); |
| | | |
| | | /** |
| | |
| | | } |
| | | case 10: { |
| | | if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| | | area_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(); |
| | | area_ = new java.util.ArrayList<TelemetryDataPB.PointData>(); |
| | | mutable_bitField0_ |= 0x00000001; |
| | | } |
| | | area_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | case 16: { |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_NormalModel_descriptor; |
| | | return TelemetryDataPB.internal_static_NormalModel_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_NormalModel_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_NormalModel_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder.class); |
| | | TelemetryDataPB.NormalModel.class, TelemetryDataPB.NormalModel.Builder.class); |
| | | } |
| | | |
| | | private int bitField0_; |
| | | public static final int AREA_FIELD_NUMBER = 1; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> area_; |
| | | private java.util.List<TelemetryDataPB.PointData> area_; |
| | | /** |
| | | * <pre> |
| | | *作业区域 |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getAreaList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getAreaList() { |
| | | return area_; |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaOrBuilderList() { |
| | | return area_; |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getArea(int index) { |
| | | public TelemetryDataPB.PointData getArea(int index) { |
| | | return area_.get(index); |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | int index) { |
| | | return area_.get(index); |
| | | } |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel)) { |
| | | if (!(obj instanceof TelemetryDataPB.NormalModel)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel) obj; |
| | | TelemetryDataPB.NormalModel other = (TelemetryDataPB.NormalModel) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getAreaList() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom( |
| | | public static TelemetryDataPB.NormalModel parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom( |
| | | public static TelemetryDataPB.NormalModel parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom(byte[] data) |
| | | public static TelemetryDataPB.NormalModel parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom( |
| | | public static TelemetryDataPB.NormalModel parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.NormalModel parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom( |
| | | public static TelemetryDataPB.NormalModel parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.NormalModel parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseDelimitedFrom( |
| | | public static TelemetryDataPB.NormalModel parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom( |
| | | public static TelemetryDataPB.NormalModel parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parseFrom( |
| | | public static TelemetryDataPB.NormalModel parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.NormalModel prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:NormalModel) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModelOrBuilder { |
| | | TelemetryDataPB.NormalModelOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_NormalModel_descriptor; |
| | | return TelemetryDataPB.internal_static_NormalModel_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_NormalModel_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_NormalModel_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.Builder.class); |
| | | TelemetryDataPB.NormalModel.class, TelemetryDataPB.NormalModel.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_NormalModel_descriptor; |
| | | return TelemetryDataPB.internal_static_NormalModel_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.getDefaultInstance(); |
| | | public TelemetryDataPB.NormalModel getDefaultInstanceForType() { |
| | | return TelemetryDataPB.NormalModel.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel result = buildPartial(); |
| | | public TelemetryDataPB.NormalModel build() { |
| | | TelemetryDataPB.NormalModel result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel(this); |
| | | public TelemetryDataPB.NormalModel buildPartial() { |
| | | TelemetryDataPB.NormalModel result = new TelemetryDataPB.NormalModel(this); |
| | | int from_bitField0_ = bitField0_; |
| | | int to_bitField0_ = 0; |
| | | if (areaBuilder_ == null) { |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel)other); |
| | | if (other instanceof TelemetryDataPB.NormalModel) { |
| | | return mergeFrom((TelemetryDataPB.NormalModel)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.NormalModel other) { |
| | | if (other == TelemetryDataPB.NormalModel.getDefaultInstance()) return this; |
| | | if (areaBuilder_ == null) { |
| | | if (!other.area_.isEmpty()) { |
| | | if (area_.isEmpty()) { |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel parsedMessage = null; |
| | | TelemetryDataPB.NormalModel parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.NormalModel) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | private int bitField0_; |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> area_ = |
| | | private java.util.List<TelemetryDataPB.PointData> area_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureAreaIsMutable() { |
| | | if (!((bitField0_ & 0x00000001) == 0x00000001)) { |
| | | area_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(area_); |
| | | area_ = new java.util.ArrayList<TelemetryDataPB.PointData>(area_); |
| | | bitField0_ |= 0x00000001; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> areaBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> areaBuilder_; |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getAreaList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getAreaList() { |
| | | if (areaBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(area_); |
| | | } else { |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getArea(int index) { |
| | | public TelemetryDataPB.PointData getArea(int index) { |
| | | if (areaBuilder_ == null) { |
| | | return area_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder setArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (areaBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder setArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | area_.set(index, builderForValue.build()); |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder addArea(TelemetryDataPB.PointData value) { |
| | | if (areaBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (areaBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | area_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | area_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addAllArea( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.PointData> values) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getAreaBuilder( |
| | | public TelemetryDataPB.PointData.Builder getAreaBuilder( |
| | | int index) { |
| | | return getAreaFieldBuilder().getBuilder(index); |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | int index) { |
| | | if (areaBuilder_ == null) { |
| | | return area_.get(index); } else { |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaOrBuilderList() { |
| | | if (areaBuilder_ != null) { |
| | | return areaBuilder_.getMessageOrBuilderList(); |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addAreaBuilder() { |
| | | public TelemetryDataPB.PointData.Builder addAreaBuilder() { |
| | | return getAreaFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addAreaBuilder( |
| | | public TelemetryDataPB.PointData.Builder addAreaBuilder( |
| | | int index) { |
| | | return getAreaFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | index, TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder> |
| | | public java.util.List<TelemetryDataPB.PointData.Builder> |
| | | getAreaBuilderList() { |
| | | return getAreaFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaFieldBuilder() { |
| | | if (areaBuilder_ == null) { |
| | | areaBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | area_, |
| | | ((bitField0_ & 0x00000001) == 0x00000001), |
| | | getParentForChildren(), |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:NormalModel) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.NormalModel DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.NormalModel(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel getDefaultInstance() { |
| | | public static TelemetryDataPB.NormalModel getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.NormalModel getDefaultInstanceForType() { |
| | | public TelemetryDataPB.NormalModel getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> |
| | | java.util.List<TelemetryDataPB.PointData> |
| | | getAreaList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getArea(int index); |
| | | TelemetryDataPB.PointData getArea(int index); |
| | | /** |
| | | * <pre> |
| | | *作业区域 |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaOrBuilderList(); |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | int index); |
| | | |
| | | /** |
| | |
| | | } |
| | | case 10: { |
| | | if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| | | area_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(); |
| | | area_ = new java.util.ArrayList<TelemetryDataPB.PointData>(); |
| | | mutable_bitField0_ |= 0x00000001; |
| | | } |
| | | area_.add( |
| | | input.readMessage(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | input.readMessage(TelemetryDataPB.PointData.parser(), extensionRegistry)); |
| | | break; |
| | | } |
| | | case 16: { |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SurroundModel_descriptor; |
| | | return TelemetryDataPB.internal_static_SurroundModel_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SurroundModel_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_SurroundModel_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder.class); |
| | | TelemetryDataPB.SurroundModel.class, TelemetryDataPB.SurroundModel.Builder.class); |
| | | } |
| | | |
| | | private int bitField0_; |
| | | public static final int AREA_FIELD_NUMBER = 1; |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> area_; |
| | | private java.util.List<TelemetryDataPB.PointData> area_; |
| | | /** |
| | | * <pre> |
| | | *作业区域 |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getAreaList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getAreaList() { |
| | | return area_; |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaOrBuilderList() { |
| | | return area_; |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getArea(int index) { |
| | | public TelemetryDataPB.PointData getArea(int index) { |
| | | return area_.get(index); |
| | | } |
| | | /** |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | int index) { |
| | | return area_.get(index); |
| | | } |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel)) { |
| | | if (!(obj instanceof TelemetryDataPB.SurroundModel)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel) obj; |
| | | TelemetryDataPB.SurroundModel other = (TelemetryDataPB.SurroundModel) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getAreaList() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom( |
| | | public static TelemetryDataPB.SurroundModel parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom( |
| | | public static TelemetryDataPB.SurroundModel parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom(byte[] data) |
| | | public static TelemetryDataPB.SurroundModel parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom( |
| | | public static TelemetryDataPB.SurroundModel parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.SurroundModel parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom( |
| | | public static TelemetryDataPB.SurroundModel parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.SurroundModel parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseDelimitedFrom( |
| | | public static TelemetryDataPB.SurroundModel parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom( |
| | | public static TelemetryDataPB.SurroundModel parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parseFrom( |
| | | public static TelemetryDataPB.SurroundModel parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.SurroundModel prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:SurroundModel) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModelOrBuilder { |
| | | TelemetryDataPB.SurroundModelOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SurroundModel_descriptor; |
| | | return TelemetryDataPB.internal_static_SurroundModel_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SurroundModel_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_SurroundModel_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.Builder.class); |
| | | TelemetryDataPB.SurroundModel.class, TelemetryDataPB.SurroundModel.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_SurroundModel_descriptor; |
| | | return TelemetryDataPB.internal_static_SurroundModel_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.getDefaultInstance(); |
| | | public TelemetryDataPB.SurroundModel getDefaultInstanceForType() { |
| | | return TelemetryDataPB.SurroundModel.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel result = buildPartial(); |
| | | public TelemetryDataPB.SurroundModel build() { |
| | | TelemetryDataPB.SurroundModel result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel(this); |
| | | public TelemetryDataPB.SurroundModel buildPartial() { |
| | | TelemetryDataPB.SurroundModel result = new TelemetryDataPB.SurroundModel(this); |
| | | int from_bitField0_ = bitField0_; |
| | | int to_bitField0_ = 0; |
| | | if (areaBuilder_ == null) { |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel)other); |
| | | if (other instanceof TelemetryDataPB.SurroundModel) { |
| | | return mergeFrom((TelemetryDataPB.SurroundModel)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.SurroundModel other) { |
| | | if (other == TelemetryDataPB.SurroundModel.getDefaultInstance()) return this; |
| | | if (areaBuilder_ == null) { |
| | | if (!other.area_.isEmpty()) { |
| | | if (area_.isEmpty()) { |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel parsedMessage = null; |
| | | TelemetryDataPB.SurroundModel parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.SurroundModel) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | private int bitField0_; |
| | | |
| | | private java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> area_ = |
| | | private java.util.List<TelemetryDataPB.PointData> area_ = |
| | | java.util.Collections.emptyList(); |
| | | private void ensureAreaIsMutable() { |
| | | if (!((bitField0_ & 0x00000001) == 0x00000001)) { |
| | | area_ = new java.util.ArrayList<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData>(area_); |
| | | area_ = new java.util.ArrayList<TelemetryDataPB.PointData>(area_); |
| | | bitField0_ |= 0x00000001; |
| | | } |
| | | } |
| | | |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> areaBuilder_; |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> areaBuilder_; |
| | | |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> getAreaList() { |
| | | public java.util.List<TelemetryDataPB.PointData> getAreaList() { |
| | | if (areaBuilder_ == null) { |
| | | return java.util.Collections.unmodifiableList(area_); |
| | | } else { |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData getArea(int index) { |
| | | public TelemetryDataPB.PointData getArea(int index) { |
| | | if (areaBuilder_ == null) { |
| | | return area_.get(index); |
| | | } else { |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder setArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (areaBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder setArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | area_.set(index, builderForValue.build()); |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea(com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | public Builder addArea(TelemetryDataPB.PointData value) { |
| | | if (areaBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData value) { |
| | | int index, TelemetryDataPB.PointData value) { |
| | | if (areaBuilder_ == null) { |
| | | if (value == null) { |
| | | throw new NullPointerException(); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | area_.add(builderForValue.build()); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addArea( |
| | | int index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder builderForValue) { |
| | | int index, TelemetryDataPB.PointData.Builder builderForValue) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | area_.add(index, builderForValue.build()); |
| | |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public Builder addAllArea( |
| | | java.lang.Iterable<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData> values) { |
| | | java.lang.Iterable<? extends TelemetryDataPB.PointData> values) { |
| | | if (areaBuilder_ == null) { |
| | | ensureAreaIsMutable(); |
| | | com.google.protobuf.AbstractMessageLite.Builder.addAll( |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder getAreaBuilder( |
| | | public TelemetryDataPB.PointData.Builder getAreaBuilder( |
| | | int index) { |
| | | return getAreaFieldBuilder().getBuilder(index); |
| | | } |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | public TelemetryDataPB.PointDataOrBuilder getAreaOrBuilder( |
| | | int index) { |
| | | if (areaBuilder_ == null) { |
| | | return area_.get(index); } else { |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<? extends com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | public java.util.List<? extends TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaOrBuilderList() { |
| | | if (areaBuilder_ != null) { |
| | | return areaBuilder_.getMessageOrBuilderList(); |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addAreaBuilder() { |
| | | public TelemetryDataPB.PointData.Builder addAreaBuilder() { |
| | | return getAreaFieldBuilder().addBuilder( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder addAreaBuilder( |
| | | public TelemetryDataPB.PointData.Builder addAreaBuilder( |
| | | int index) { |
| | | return getAreaFieldBuilder().addBuilder( |
| | | index, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.getDefaultInstance()); |
| | | index, TelemetryDataPB.PointData.getDefaultInstance()); |
| | | } |
| | | /** |
| | | * <pre> |
| | |
| | | * |
| | | * <code>repeated .PointData area = 1;</code> |
| | | */ |
| | | public java.util.List<com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder> |
| | | public java.util.List<TelemetryDataPB.PointData.Builder> |
| | | getAreaBuilderList() { |
| | | return getAreaFieldBuilder().getBuilderList(); |
| | | } |
| | | private com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder> |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder> |
| | | getAreaFieldBuilder() { |
| | | if (areaBuilder_ == null) { |
| | | areaBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointData.Builder, com.ard.tianyu.netty.protobuf.TelemetryDataPB.PointDataOrBuilder>( |
| | | TelemetryDataPB.PointData, TelemetryDataPB.PointData.Builder, TelemetryDataPB.PointDataOrBuilder>( |
| | | area_, |
| | | ((bitField0_ & 0x00000001) == 0x00000001), |
| | | getParentForChildren(), |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:SurroundModel) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.SurroundModel DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.SurroundModel(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel getDefaultInstance() { |
| | | public static TelemetryDataPB.SurroundModel getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.SurroundModel getDefaultInstanceForType() { |
| | | public TelemetryDataPB.SurroundModel getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | } |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavInitInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_UavInitInfo_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavInitInfo_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_UavInitInfo_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.Builder.class); |
| | | TelemetryDataPB.UavInitInfo.class, TelemetryDataPB.UavInitInfo.Builder.class); |
| | | } |
| | | |
| | | public static final int UAVMODEL_FIELD_NUMBER = 1; |
| | |
| | | if (obj == this) { |
| | | return true; |
| | | } |
| | | if (!(obj instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo)) { |
| | | if (!(obj instanceof TelemetryDataPB.UavInitInfo)) { |
| | | return super.equals(obj); |
| | | } |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo other = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo) obj; |
| | | TelemetryDataPB.UavInitInfo other = (TelemetryDataPB.UavInitInfo) obj; |
| | | |
| | | boolean result = true; |
| | | result = result && getUavModel() |
| | |
| | | return hash; |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseFrom( |
| | | com.google.protobuf.ByteString data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseFrom( |
| | | com.google.protobuf.ByteString data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom(byte[] data) |
| | | public static TelemetryDataPB.UavInitInfo parseFrom(byte[] data) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseFrom( |
| | | byte[] data, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws com.google.protobuf.InvalidProtocolBufferException { |
| | | return PARSER.parseFrom(data, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.UavInitInfo parseFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseDelimitedFrom(java.io.InputStream input) |
| | | public static TelemetryDataPB.UavInitInfo parseDelimitedFrom(java.io.InputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseDelimitedFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseDelimitedFrom( |
| | | java.io.InputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseDelimitedWithIOException(PARSER, input, extensionRegistry); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseFrom( |
| | | com.google.protobuf.CodedInputStream input) |
| | | throws java.io.IOException { |
| | | return com.google.protobuf.GeneratedMessageV3 |
| | | .parseWithIOException(PARSER, input); |
| | | } |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parseFrom( |
| | | public static TelemetryDataPB.UavInitInfo parseFrom( |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | |
| | | public static Builder newBuilder() { |
| | | return DEFAULT_INSTANCE.toBuilder(); |
| | | } |
| | | public static Builder newBuilder(com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo prototype) { |
| | | public static Builder newBuilder(TelemetryDataPB.UavInitInfo prototype) { |
| | | return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); |
| | | } |
| | | public Builder toBuilder() { |
| | |
| | | public static final class Builder extends |
| | | com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements |
| | | // @@protoc_insertion_point(builder_implements:UavInitInfo) |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfoOrBuilder { |
| | | TelemetryDataPB.UavInitInfoOrBuilder { |
| | | public static final com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptor() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavInitInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_UavInitInfo_descriptor; |
| | | } |
| | | |
| | | protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
| | | internalGetFieldAccessorTable() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavInitInfo_fieldAccessorTable |
| | | return TelemetryDataPB.internal_static_UavInitInfo_fieldAccessorTable |
| | | .ensureFieldAccessorsInitialized( |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.class, com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.Builder.class); |
| | | TelemetryDataPB.UavInitInfo.class, TelemetryDataPB.UavInitInfo.Builder.class); |
| | | } |
| | | |
| | | // Construct using com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.newBuilder() |
| | |
| | | |
| | | public com.google.protobuf.Descriptors.Descriptor |
| | | getDescriptorForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.internal_static_UavInitInfo_descriptor; |
| | | return TelemetryDataPB.internal_static_UavInitInfo_descriptor; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo getDefaultInstanceForType() { |
| | | return com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.getDefaultInstance(); |
| | | public TelemetryDataPB.UavInitInfo getDefaultInstanceForType() { |
| | | return TelemetryDataPB.UavInitInfo.getDefaultInstance(); |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo build() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo result = buildPartial(); |
| | | public TelemetryDataPB.UavInitInfo build() { |
| | | TelemetryDataPB.UavInitInfo result = buildPartial(); |
| | | if (!result.isInitialized()) { |
| | | throw newUninitializedMessageException(result); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo buildPartial() { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo result = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo(this); |
| | | public TelemetryDataPB.UavInitInfo buildPartial() { |
| | | TelemetryDataPB.UavInitInfo result = new TelemetryDataPB.UavInitInfo(this); |
| | | result.uavModel_ = uavModel_; |
| | | result.uavSn_ = uavSn_; |
| | | result.uavVersion_ = uavVersion_; |
| | |
| | | return (Builder) super.addRepeatedField(field, value); |
| | | } |
| | | public Builder mergeFrom(com.google.protobuf.Message other) { |
| | | if (other instanceof com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo) { |
| | | return mergeFrom((com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo)other); |
| | | if (other instanceof TelemetryDataPB.UavInitInfo) { |
| | | return mergeFrom((TelemetryDataPB.UavInitInfo)other); |
| | | } else { |
| | | super.mergeFrom(other); |
| | | return this; |
| | | } |
| | | } |
| | | |
| | | public Builder mergeFrom(com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo other) { |
| | | if (other == com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo.getDefaultInstance()) return this; |
| | | public Builder mergeFrom(TelemetryDataPB.UavInitInfo other) { |
| | | if (other == TelemetryDataPB.UavInitInfo.getDefaultInstance()) return this; |
| | | if (!other.getUavModel().isEmpty()) { |
| | | uavModel_ = other.uavModel_; |
| | | onChanged(); |
| | |
| | | com.google.protobuf.CodedInputStream input, |
| | | com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| | | throws java.io.IOException { |
| | | com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo parsedMessage = null; |
| | | TelemetryDataPB.UavInitInfo parsedMessage = null; |
| | | try { |
| | | parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| | | } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| | | parsedMessage = (com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo) e.getUnfinishedMessage(); |
| | | parsedMessage = (TelemetryDataPB.UavInitInfo) e.getUnfinishedMessage(); |
| | | throw e.unwrapIOException(); |
| | | } finally { |
| | | if (parsedMessage != null) { |
| | |
| | | } |
| | | |
| | | // @@protoc_insertion_point(class_scope:UavInitInfo) |
| | | private static final com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo DEFAULT_INSTANCE; |
| | | private static final TelemetryDataPB.UavInitInfo DEFAULT_INSTANCE; |
| | | static { |
| | | DEFAULT_INSTANCE = new com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo(); |
| | | DEFAULT_INSTANCE = new TelemetryDataPB.UavInitInfo(); |
| | | } |
| | | |
| | | public static com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo getDefaultInstance() { |
| | | public static TelemetryDataPB.UavInitInfo getDefaultInstance() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |
| | |
| | | return PARSER; |
| | | } |
| | | |
| | | public com.ard.tianyu.netty.protobuf.TelemetryDataPB.UavInitInfo getDefaultInstanceForType() { |
| | | public TelemetryDataPB.UavInitInfo getDefaultInstanceForType() { |
| | | return DEFAULT_INSTANCE; |
| | | } |
| | | |