diff --git a/giscat-vector/giscat-vector-mbexpression/pom.xml b/giscat-vector/giscat-vector-mbexpression/pom.xml index a275e81..ae87ddb 100644 --- a/giscat-vector/giscat-vector-mbexpression/pom.xml +++ b/giscat-vector/giscat-vector-mbexpression/pom.xml @@ -5,12 +5,12 @@ giscat-vector org.wowtools - 1.4.0-STABLE + g1.5.0 4.0.0 giscat-vector-mbexpression - 1.4.0-STABLE + g1.5.0 mapbox expressions表达式解析为java对象,用以支持数据过滤等场景 diff --git a/giscat-vector/giscat-vector-mbexpression/src/test/java/org/wowtools/giscat/vector/mbexpression/ExpressionTest.java b/giscat-vector/giscat-vector-mbexpression/src/test/java/org/wowtools/giscat/vector/mbexpression/ExpressionTest.java index f8c3246..8cd1169 100644 --- a/giscat-vector/giscat-vector-mbexpression/src/test/java/org/wowtools/giscat/vector/mbexpression/ExpressionTest.java +++ b/giscat-vector/giscat-vector-mbexpression/src/test/java/org/wowtools/giscat/vector/mbexpression/ExpressionTest.java @@ -80,6 +80,16 @@ public void decision() { Assert.assertEquals(false, getValue(feature, "[\"any\", false,false,false]") ); + //case + Assert.assertEquals(1, + getValue(feature, "[\"case\", true,1,0]") + ); + Assert.assertEquals(2, + getValue(feature, "[\"case\", false,1,true,2,0]") + ); + Assert.assertEquals(0, + getValue(feature, "[\"case\", false,1,false,2,0]") + ); //== Assert.assertEquals(true, getValue(feature, "[\"==\", 1.0,1.0]") diff --git a/giscat-vector/giscat-vector-mvt/pom.xml b/giscat-vector/giscat-vector-mvt/pom.xml index 9aec33f..0b49093 100644 --- a/giscat-vector/giscat-vector-mvt/pom.xml +++ b/giscat-vector/giscat-vector-mvt/pom.xml @@ -5,12 +5,12 @@ giscat org.wowtools - 1.4.0-STABLE + g1.5.0 4.0.0 giscat-vector-mvt - 1.4.0-STABLE + g1.5.0 Mapbox vector tile (mvt) 的序列化与反序列化 diff --git a/giscat-vector/giscat-vector-pojo/pom.xml b/giscat-vector/giscat-vector-pojo/pom.xml index 8119a52..7f96ff0 100644 --- a/giscat-vector/giscat-vector-pojo/pom.xml +++ b/giscat-vector/giscat-vector-pojo/pom.xml @@ -5,12 +5,12 @@ giscat-vector org.wowtools - 1.4.0-STABLE + g1.5.0 4.0.0 giscat-vector-pojo - 1.4.0-STABLE + g1.5.0 org.locationtech.jts diff --git a/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverter.java b/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverter.java index 1dc6398..6f4a5ba 100644 --- a/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverter.java +++ b/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverter.java @@ -37,6 +37,8 @@ */ public class ProtoFeatureConverter { + private static final ProtoFeature.NullGeometry nullGeometry = ProtoFeature.NullGeometry.getDefaultInstance(); + /** * geometry 转 ProtoFeature bytes * @@ -49,7 +51,9 @@ public static byte[] geometry2Proto(Geometry geometry) { private static ProtoFeature.Geometry.Builder geometry2ProtoBuilder(Geometry geometry) { ProtoFeature.Geometry.Builder geometryBuilder = ProtoFeature.Geometry.newBuilder(); - if (geometry instanceof Point) { + if (null == geometry) { + geometryBuilder.setNullGeometry(nullGeometry); + } else if (geometry instanceof Point) { geometryBuilder.setPoint(point2Proto((Point) geometry)); } else if (geometry instanceof LineString) { geometryBuilder.setLineString(lineString2Proto((LineString) geometry)); @@ -262,6 +266,10 @@ private static ProtoFeature.GeometryCollection.Builder geometryCollection2Proto( ProtoFeature.GeometryCollection.Builder builder = ProtoFeature.GeometryCollection.newBuilder(); for (int i = 0; i < geometryCollection.getNumGeometries(); i++) { Geometry geometry = geometryCollection.getGeometryN(i); + // geometryCollection中不允许null,所以这个检查可以跳过 +// if (null == geometry) { +// continue; +// } if (geometry instanceof Point) { builder.addPoints(point2Proto((Point) geometry)); } else if (geometry instanceof LineString) { @@ -333,6 +341,9 @@ private static Geometry proto2Geometry(ProtoFeature.Geometry pGeometry, Geometry ProtoFeature.GeometryCollection pGeometryCollection = pGeometry.getGeometryCollection(); return proto2GeometryCollection(pGeometryCollection, geometryFactory); } + if (pGeometry.hasNullGeometry()) { + return null; + } throw new RuntimeException("解析pGeometry逻辑错误"); } @@ -516,6 +527,24 @@ private static GeometryCollection proto2GeometryCollection(ProtoFeature.Geometry return geometryFactory.createGeometryCollection(geometries); } + /** + * Feature 转 ProtoFeature bytes + * + * @param feature + * @return ProtoFeature bytes + */ + public static byte[] feature2Proto(Feature feature) { + ProtoFeature.Feature.Builder builder = ProtoFeature.Feature.newBuilder(); + builder.setGeometry(geometry2ProtoBuilder(feature.getGeometry())); + + List keyValueBuilders = new ArrayList<>(feature.getProperties().size()); + feature.getProperties().forEach((k, v) -> { + + }); + + return builder.build().toByteArray(); + } + /** * FeatureCollection 转 ProtoFeature bytes * @@ -538,11 +567,9 @@ public static byte[] featureCollection2Proto(FeatureCollection featureCollection } //geometry转换 Geometry geometry = feature.getGeometry(); - if (null == geometry) { - throw new RuntimeException("geometry不能为空"); - } ProtoFeature.Geometry.Builder geometryBuilder = geometry2ProtoBuilder(geometry); builder.addGeometries(geometryBuilder); + } keyValueCell.toProto(builder); return builder.build().toByteArray(); diff --git a/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/proto/ProtoFeature.java b/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/proto/ProtoFeature.java index fb75b82..61ff018 100644 --- a/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/proto/ProtoFeature.java +++ b/giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/proto/ProtoFeature.java @@ -17,58 +17,37 @@ public static void registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } - public interface PointOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.Point) + public interface NullGeometryOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.NullGeometry) com.google.protobuf.MessageOrBuilder { - - /** - * double x = 1; - * - * @return The x. - */ - double getX(); - - /** - * double y = 2; - * - * @return The y. - */ - double getY(); - - /** - * double z = 3; - * - * @return The z. - */ - double getZ(); } /** *
-     * Point,包含点的 x y z坐标 ,z可选。
+     * 空几何对象 解析后返回null
      * 
*

- * Protobuf type {@code pojo.Point} + * Protobuf type {@code pojo.NullGeometry} */ - public static final class Point extends + public static final class NullGeometry extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.Point) - PointOrBuilder { + // @@protoc_insertion_point(message_implements:pojo.NullGeometry) + NullGeometryOrBuilder { private static final long serialVersionUID = 0L; - // Use Point.newBuilder() to construct. - private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use NullGeometry.newBuilder() to construct. + private NullGeometry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Point() { + private NullGeometry() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Point(); + return new NullGeometry(); } @java.lang.Override @@ -77,7 +56,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private Point( + private NullGeometry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -95,21 +74,6 @@ private Point( case 0: done = true; break; - case 9: { - - x_ = input.readDouble(); - break; - } - case 17: { - - y_ = input.readDouble(); - break; - } - case 25: { - - z_ = input.readDouble(); - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -134,54 +98,15 @@ private Point( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_NullGeometry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_NullGeometry_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder.class); - } - - public static final int X_FIELD_NUMBER = 1; - private double x_; - - /** - * double x = 1; - * - * @return The x. - */ - @java.lang.Override - public double getX() { - return x_; - } - - public static final int Y_FIELD_NUMBER = 2; - private double y_; - - /** - * double y = 2; - * - * @return The y. - */ - @java.lang.Override - public double getY() { - return y_; - } - - public static final int Z_FIELD_NUMBER = 3; - private double z_; - - /** - * double z = 3; - * - * @return The z. - */ - @java.lang.Override - public double getZ() { - return z_; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder.class); } private byte memoizedIsInitialized = -1; @@ -199,15 +124,6 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (java.lang.Double.doubleToRawLongBits(x_) != 0) { - output.writeDouble(1, x_); - } - if (java.lang.Double.doubleToRawLongBits(y_) != 0) { - output.writeDouble(2, y_); - } - if (java.lang.Double.doubleToRawLongBits(z_) != 0) { - output.writeDouble(3, z_); - } unknownFields.writeTo(output); } @@ -217,18 +133,6 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (java.lang.Double.doubleToRawLongBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, x_); - } - if (java.lang.Double.doubleToRawLongBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, y_); - } - if (java.lang.Double.doubleToRawLongBits(z_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, z_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -239,20 +143,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry) obj; - if (java.lang.Double.doubleToLongBits(getX()) - != java.lang.Double.doubleToLongBits( - other.getX())) return false; - if (java.lang.Double.doubleToLongBits(getY()) - != java.lang.Double.doubleToLongBits( - other.getY())) return false; - if (java.lang.Double.doubleToLongBits(getZ()) - != java.lang.Double.doubleToLongBits( - other.getZ())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,65 +159,56 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getX())); - hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getY())); - hash = (37 * hash) + Z_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getZ())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -330,13 +216,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -344,14 +230,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseDeli .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -368,7 +254,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -381,34 +267,35 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *

-         * Point,包含点的 x y z坐标 ,z可选。
+         * 空几何对象 解析后返回null
          * 
*

- * Protobuf type {@code pojo.Point} + * Protobuf type {@code pojo.NullGeometry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.Point) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.NullGeometry) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_NullGeometry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_NullGeometry_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -428,29 +315,23 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - x_ = 0D; - - y_ = 0D; - - z_ = 0D; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_NullGeometry_descriptor; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.getDefaultInstance(); } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point result = buildPartial(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -458,11 +339,8 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point build() { } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point(this); - result.x_ = x_; - result.y_ = y_; - result.z_ = z_; + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry(this); onBuilt(); return result; } @@ -507,25 +385,17 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance()) return this; - if (other.getX() != 0D) { - setX(other.getX()); - } - if (other.getY() != 0D) { - setY(other.getY()); - } - if (other.getZ() != 0D) { - setZ(other.getZ()); - } + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -541,11 +411,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,271 +425,112 @@ public Builder mergeFrom( return this; } - private double x_; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - /** - * double x = 1; - * - * @return The x. - */ @java.lang.Override - public double getX() { - return x_; + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - /** - * double x = 1; - * - * @param value The x to set. - * @return This builder for chaining. - */ - public Builder setX(double value) { - x_ = value; - onChanged(); - return this; - } + // @@protoc_insertion_point(builder_scope:pojo.NullGeometry) + } - /** - * double x = 1; - * - * @return This builder for chaining. - */ - public Builder clearX() { + // @@protoc_insertion_point(class_scope:pojo.NullGeometry) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry DEFAULT_INSTANCE; - x_ = 0D; - onChanged(); - return this; - } + static { + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry(); + } - private double y_; + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * double y = 2; - * - * @return The y. - */ + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public double getY() { - return y_; + public NullGeometry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NullGeometry(input, extensionRegistry); } + }; - /** - * double y = 2; - * - * @param value The y to set. - * @return This builder for chaining. - */ - public Builder setY(double value) { + public static com.google.protobuf.Parser parser() { + return PARSER; + } - y_ = value; - onChanged(); - return this; - } - - /** - * double y = 2; - * - * @return This builder for chaining. - */ - public Builder clearY() { - - y_ = 0D; - onChanged(); - return this; - } - - private double z_; - - /** - * double z = 3; - * - * @return The z. - */ - @java.lang.Override - public double getZ() { - return z_; - } - - /** - * double z = 3; - * - * @param value The z to set. - * @return This builder for chaining. - */ - public Builder setZ(double value) { - - z_ = value; - onChanged(); - return this; - } - - /** - * double z = 3; - * - * @return This builder for chaining. - */ - public Builder clearZ() { - - z_ = 0D; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:pojo.Point) - } - - // @@protoc_insertion_point(class_scope:pojo.Point) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point(); - } - - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LineStringOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.LineString) + public interface PointOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.Point) com.google.protobuf.MessageOrBuilder { /** - * repeated double xs = 1; - * - * @return A list containing the xs. - */ - java.util.List getXsList(); - - /** - * repeated double xs = 1; - * - * @return The count of xs. - */ - int getXsCount(); - - /** - * repeated double xs = 1; - * - * @param index The index of the element to return. - * @return The xs at the given index. - */ - double getXs(int index); - - /** - * repeated double ys = 2; - * - * @return A list containing the ys. - */ - java.util.List getYsList(); - - /** - * repeated double ys = 2; - * - * @return The count of ys. - */ - int getYsCount(); - - /** - * repeated double ys = 2; - * - * @param index The index of the element to return. - * @return The ys at the given index. - */ - double getYs(int index); - - /** - * repeated double zs = 3; + * double x = 1; * - * @return A list containing the zs. + * @return The x. */ - java.util.List getZsList(); + double getX(); /** - * repeated double zs = 3; + * double y = 2; * - * @return The count of zs. + * @return The y. */ - int getZsCount(); + double getY(); /** - * repeated double zs = 3; + * double z = 3; * - * @param index The index of the element to return. - * @return The zs at the given index. + * @return The z. */ - double getZs(int index); + double getZ(); } /** *

-     * LineString 包含线段上各个点的x y z坐标,z可选。
+     * Point,包含点的 x y z坐标 ,z可选。
      * 
*

- * Protobuf type {@code pojo.LineString} + * Protobuf type {@code pojo.Point} */ - public static final class LineString extends + public static final class Point extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.LineString) - LineStringOrBuilder { + // @@protoc_insertion_point(message_implements:pojo.Point) + PointOrBuilder { private static final long serialVersionUID = 0L; - // Use LineString.newBuilder() to construct. - private LineString(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Point.newBuilder() to construct. + private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LineString() { - xs_ = emptyDoubleList(); - ys_ = emptyDoubleList(); - zs_ = emptyDoubleList(); + private Point() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new LineString(); + return new Point(); } @java.lang.Override @@ -828,7 +539,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private LineString( + private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -836,7 +547,6 @@ private LineString( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -848,66 +558,18 @@ private LineString( done = true; break; case 9: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - xs_ = newDoubleList(); - mutable_bitField0_ |= 0x00000001; - } - xs_.addDouble(input.readDouble()); - break; - } - case 10: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - xs_ = newDoubleList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - xs_.addDouble(input.readDouble()); - } - input.popLimit(limit); + + x_ = input.readDouble(); break; } case 17: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - ys_ = newDoubleList(); - mutable_bitField0_ |= 0x00000002; - } - ys_.addDouble(input.readDouble()); - break; - } - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - ys_ = newDoubleList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - ys_.addDouble(input.readDouble()); - } - input.popLimit(limit); + + y_ = input.readDouble(); break; } case 25: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - zs_ = newDoubleList(); - mutable_bitField0_ |= 0x00000004; - } - zs_.addDouble(input.readDouble()); - break; - } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { - zs_ = newDoubleList(); - mutable_bitField0_ |= 0x00000004; - } - while (input.getBytesUntilLimit() > 0) { - zs_.addDouble(input.readDouble()); - } - input.popLimit(limit); + + z_ = input.readDouble(); break; } default: { @@ -927,15 +589,6 @@ private LineString( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - xs_.makeImmutable(); // C - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - ys_.makeImmutable(); // C - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - zs_.makeImmutable(); // C - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -943,122 +596,56 @@ private LineString( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder.class); } - public static final int XS_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.DoubleList xs_; + public static final int X_FIELD_NUMBER = 1; + private double x_; /** - * repeated double xs = 1; + * double x = 1; * - * @return A list containing the xs. + * @return The x. */ @java.lang.Override - public java.util.List - getXsList() { - return xs_; - } - - /** - * repeated double xs = 1; - * - * @return The count of xs. - */ - public int getXsCount() { - return xs_.size(); - } - - /** - * repeated double xs = 1; - * - * @param index The index of the element to return. - * @return The xs at the given index. - */ - public double getXs(int index) { - return xs_.getDouble(index); + public double getX() { + return x_; } - private int xsMemoizedSerializedSize = -1; - - public static final int YS_FIELD_NUMBER = 2; - private com.google.protobuf.Internal.DoubleList ys_; + public static final int Y_FIELD_NUMBER = 2; + private double y_; /** - * repeated double ys = 2; + * double y = 2; * - * @return A list containing the ys. + * @return The y. */ @java.lang.Override - public java.util.List - getYsList() { - return ys_; - } - - /** - * repeated double ys = 2; - * - * @return The count of ys. - */ - public int getYsCount() { - return ys_.size(); - } - - /** - * repeated double ys = 2; - * - * @param index The index of the element to return. - * @return The ys at the given index. - */ - public double getYs(int index) { - return ys_.getDouble(index); + public double getY() { + return y_; } - private int ysMemoizedSerializedSize = -1; - - public static final int ZS_FIELD_NUMBER = 3; - private com.google.protobuf.Internal.DoubleList zs_; + public static final int Z_FIELD_NUMBER = 3; + private double z_; /** - * repeated double zs = 3; + * double z = 3; * - * @return A list containing the zs. + * @return The z. */ @java.lang.Override - public java.util.List - getZsList() { - return zs_; - } - - /** - * repeated double zs = 3; - * - * @return The count of zs. - */ - public int getZsCount() { - return zs_.size(); - } - - /** - * repeated double zs = 3; - * - * @param index The index of the element to return. - * @return The zs at the given index. - */ - public double getZs(int index) { - return zs_.getDouble(index); + public double getZ() { + return z_; } - private int zsMemoizedSerializedSize = -1; - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1074,27 +661,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (getXsList().size() > 0) { - output.writeUInt32NoTag(10); - output.writeUInt32NoTag(xsMemoizedSerializedSize); - } - for (int i = 0; i < xs_.size(); i++) { - output.writeDoubleNoTag(xs_.getDouble(i)); - } - if (getYsList().size() > 0) { - output.writeUInt32NoTag(18); - output.writeUInt32NoTag(ysMemoizedSerializedSize); - } - for (int i = 0; i < ys_.size(); i++) { - output.writeDoubleNoTag(ys_.getDouble(i)); + if (java.lang.Double.doubleToRawLongBits(x_) != 0) { + output.writeDouble(1, x_); } - if (getZsList().size() > 0) { - output.writeUInt32NoTag(26); - output.writeUInt32NoTag(zsMemoizedSerializedSize); + if (java.lang.Double.doubleToRawLongBits(y_) != 0) { + output.writeDouble(2, y_); } - for (int i = 0; i < zs_.size(); i++) { - output.writeDoubleNoTag(zs_.getDouble(i)); + if (java.lang.Double.doubleToRawLongBits(z_) != 0) { + output.writeDouble(3, z_); } unknownFields.writeTo(output); } @@ -1105,38 +679,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - { - int dataSize = 0; - dataSize = 8 * getXsList().size(); - size += dataSize; - if (!getXsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - xsMemoizedSerializedSize = dataSize; + if (java.lang.Double.doubleToRawLongBits(x_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, x_); } - { - int dataSize = 0; - dataSize = 8 * getYsList().size(); - size += dataSize; - if (!getYsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - ysMemoizedSerializedSize = dataSize; + if (java.lang.Double.doubleToRawLongBits(y_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, y_); } - { - int dataSize = 0; - dataSize = 8 * getZsList().size(); - size += dataSize; - if (!getZsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - zsMemoizedSerializedSize = dataSize; + if (java.lang.Double.doubleToRawLongBits(z_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, z_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1148,17 +701,20 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) obj; - if (!getXsList() - .equals(other.getXsList())) return false; - if (!getYsList() - .equals(other.getYsList())) return false; - if (!getZsList() - .equals(other.getZsList())) return false; + if (java.lang.Double.doubleToLongBits(getX()) + != java.lang.Double.doubleToLongBits( + other.getX())) return false; + if (java.lang.Double.doubleToLongBits(getY()) + != java.lang.Double.doubleToLongBits( + other.getY())) return false; + if (java.lang.Double.doubleToLongBits(getZ()) + != java.lang.Double.doubleToLongBits( + other.getZ())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1170,68 +726,65 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getXsCount() > 0) { - hash = (37 * hash) + XS_FIELD_NUMBER; - hash = (53 * hash) + getXsList().hashCode(); - } - if (getYsCount() > 0) { - hash = (37 * hash) + YS_FIELD_NUMBER; - hash = (53 * hash) + getYsList().hashCode(); - } - if (getZsCount() > 0) { - hash = (37 * hash) + ZS_FIELD_NUMBER; - hash = (53 * hash) + getZsList().hashCode(); - } + hash = (37 * hash) + X_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getX())); + hash = (37 * hash) + Y_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getY())); + hash = (37 * hash) + Z_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getZ())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1239,13 +792,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString pars .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1253,14 +806,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString pars .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1277,7 +830,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -1290,34 +843,35 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *

-         * LineString 包含线段上各个点的x y z坐标,z可选。
+         * Point,包含点的 x y z坐标 ,z可选。
          * 
*

- * Protobuf type {@code pojo.LineString} + * Protobuf type {@code pojo.Point} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.LineString) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.Point) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -1337,29 +891,29 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - xs_ = emptyDoubleList(); - bitField0_ = (bitField0_ & ~0x00000001); - ys_ = emptyDoubleList(); - bitField0_ = (bitField0_ & ~0x00000002); - zs_ = emptyDoubleList(); - bitField0_ = (bitField0_ & ~0x00000004); + x_ = 0D; + + y_ = 0D; + + z_ = 0D; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Point_descriptor; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance(); } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString result = buildPartial(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1367,24 +921,11 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString build() { } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - xs_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.xs_ = xs_; - if (((bitField0_ & 0x00000002) != 0)) { - ys_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.ys_ = ys_; - if (((bitField0_ & 0x00000004) != 0)) { - zs_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.zs_ = zs_; + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point(this); + result.x_ = x_; + result.y_ = y_; + result.z_ = z_; onBuilt(); return result; } @@ -1429,46 +970,24 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance()) - return this; - if (!other.xs_.isEmpty()) { - if (xs_.isEmpty()) { - xs_ = other.xs_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureXsIsMutable(); - xs_.addAll(other.xs_); - } - onChanged(); + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance()) return this; + if (other.getX() != 0D) { + setX(other.getX()); } - if (!other.ys_.isEmpty()) { - if (ys_.isEmpty()) { - ys_ = other.ys_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureYsIsMutable(); - ys_.addAll(other.ys_); - } - onChanged(); + if (other.getY() != 0D) { + setY(other.getY()); } - if (!other.zs_.isEmpty()) { - if (zs_.isEmpty()) { - zs_ = other.zs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureZsIsMutable(); - zs_.addAll(other.zs_); - } - onChanged(); + if (other.getZ() != 0D) { + setZ(other.getZ()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1485,11 +1004,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1499,294 +1018,121 @@ public Builder mergeFrom( return this; } - private int bitField0_; - - private com.google.protobuf.Internal.DoubleList xs_ = emptyDoubleList(); - - private void ensureXsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - xs_ = mutableCopy(xs_); - bitField0_ |= 0x00000001; - } - } + private double x_; /** - * repeated double xs = 1; + * double x = 1; * - * @return A list containing the xs. + * @return The x. */ - public java.util.List - getXsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(xs_) : xs_; + @java.lang.Override + public double getX() { + return x_; } /** - * repeated double xs = 1; + * double x = 1; * - * @return The count of xs. + * @param value The x to set. + * @return This builder for chaining. */ - public int getXsCount() { - return xs_.size(); - } + public Builder setX(double value) { - /** - * repeated double xs = 1; - * - * @param index The index of the element to return. - * @return The xs at the given index. - */ - public double getXs(int index) { - return xs_.getDouble(index); + x_ = value; + onChanged(); + return this; } /** - * repeated double xs = 1; + * double x = 1; * - * @param index The index to set the value at. - * @param value The xs to set. * @return This builder for chaining. */ - public Builder setXs( - int index, double value) { - ensureXsIsMutable(); - xs_.setDouble(index, value); + public Builder clearX() { + + x_ = 0D; onChanged(); return this; } + private double y_; + /** - * repeated double xs = 1; + * double y = 2; * - * @param value The xs to add. - * @return This builder for chaining. + * @return The y. */ - public Builder addXs(double value) { - ensureXsIsMutable(); - xs_.addDouble(value); - onChanged(); - return this; + @java.lang.Override + public double getY() { + return y_; } /** - * repeated double xs = 1; + * double y = 2; * - * @param values The xs to add. + * @param value The y to set. * @return This builder for chaining. */ - public Builder addAllXs( - java.lang.Iterable values) { - ensureXsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, xs_); + public Builder setY(double value) { + + y_ = value; onChanged(); return this; } /** - * repeated double xs = 1; + * double y = 2; * * @return This builder for chaining. */ - public Builder clearXs() { - xs_ = emptyDoubleList(); - bitField0_ = (bitField0_ & ~0x00000001); + public Builder clearY() { + + y_ = 0D; onChanged(); return this; } - private com.google.protobuf.Internal.DoubleList ys_ = emptyDoubleList(); - - private void ensureYsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - ys_ = mutableCopy(ys_); - bitField0_ |= 0x00000002; - } - } - - /** - * repeated double ys = 2; - * - * @return A list containing the ys. - */ - public java.util.List - getYsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(ys_) : ys_; - } - - /** - * repeated double ys = 2; - * - * @return The count of ys. - */ - public int getYsCount() { - return ys_.size(); - } + private double z_; /** - * repeated double ys = 2; + * double z = 3; * - * @param index The index of the element to return. - * @return The ys at the given index. + * @return The z. */ - public double getYs(int index) { - return ys_.getDouble(index); + @java.lang.Override + public double getZ() { + return z_; } /** - * repeated double ys = 2; + * double z = 3; * - * @param index The index to set the value at. - * @param value The ys to set. + * @param value The z to set. * @return This builder for chaining. */ - public Builder setYs( - int index, double value) { - ensureYsIsMutable(); - ys_.setDouble(index, value); + public Builder setZ(double value) { + + z_ = value; onChanged(); return this; } /** - * repeated double ys = 2; + * double z = 3; * - * @param value The ys to add. * @return This builder for chaining. */ - public Builder addYs(double value) { - ensureYsIsMutable(); - ys_.addDouble(value); + public Builder clearZ() { + + z_ = 0D; onChanged(); return this; } - /** - * repeated double ys = 2; - * - * @param values The ys to add. - * @return This builder for chaining. - */ - public Builder addAllYs( - java.lang.Iterable values) { - ensureYsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ys_); - onChanged(); - return this; - } - - /** - * repeated double ys = 2; - * - * @return This builder for chaining. - */ - public Builder clearYs() { - ys_ = emptyDoubleList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - private com.google.protobuf.Internal.DoubleList zs_ = emptyDoubleList(); - - private void ensureZsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - zs_ = mutableCopy(zs_); - bitField0_ |= 0x00000004; - } - } - - /** - * repeated double zs = 3; - * - * @return A list containing the zs. - */ - public java.util.List - getZsList() { - return ((bitField0_ & 0x00000004) != 0) ? - java.util.Collections.unmodifiableList(zs_) : zs_; - } - - /** - * repeated double zs = 3; - * - * @return The count of zs. - */ - public int getZsCount() { - return zs_.size(); - } - - /** - * repeated double zs = 3; - * - * @param index The index of the element to return. - * @return The zs at the given index. - */ - public double getZs(int index) { - return zs_.getDouble(index); - } - - /** - * repeated double zs = 3; - * - * @param index The index to set the value at. - * @param value The zs to set. - * @return This builder for chaining. - */ - public Builder setZs( - int index, double value) { - ensureZsIsMutable(); - zs_.setDouble(index, value); - onChanged(); - return this; - } - - /** - * repeated double zs = 3; - * - * @param value The zs to add. - * @return This builder for chaining. - */ - public Builder addZs(double value) { - ensureZsIsMutable(); - zs_.addDouble(value); - onChanged(); - return this; - } - - /** - * repeated double zs = 3; - * - * @param values The zs to add. - * @return This builder for chaining. - */ - public Builder addAllZs( - java.lang.Iterable values) { - ensureZsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, zs_); - onChanged(); - return this; - } - - /** - * repeated double zs = 3; - * - * @return This builder for chaining. - */ - public Builder clearZs() { - zs_ = emptyDoubleList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -1796,49 +1142,49 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:pojo.LineString) + // @@protoc_insertion_point(builder_scope:pojo.Point) } - // @@protoc_insertion_point(class_scope:pojo.LineString) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:pojo.Point) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public LineString parsePartialFrom( + public Point parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LineString(input, extensionRegistry); + return new Point(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface PolygonOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.Polygon) + public interface LineStringOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.LineString) com.google.protobuf.MessageOrBuilder { /** @@ -1906,64 +1252,37 @@ public interface PolygonOrBuilder extends * @return The zs at the given index. */ double getZs(int index); - - /** - * repeated int32 separators = 4; - * - * @return A list containing the separators. - */ - java.util.List getSeparatorsList(); - - /** - * repeated int32 separators = 4; - * - * @return The count of separators. - */ - int getSeparatorsCount(); - - /** - * repeated int32 separators = 4; - * - * @param index The index of the element to return. - * @return The separators at the given index. - */ - int getSeparators(int index); } /** *

-     * Polygon 包含多边形上各个点的x y z坐标,z可选。
-     * separators用于将坐标串分割为环 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
-     * 则separators=[3,7]将坐标串分割为多边形Polygon((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
-     * 即separators[i]的意义为第i个环的终点(从0开始计数);最后一个环的终点显然是数组的最后一位,故将其省略。
-     * 注意,由于环的最后一个坐标必然和第一个坐标相等,故将环的最后一个坐标省略,仅在转换为jts等对象时将其补全。
+     * LineString 包含线段上各个点的x y z坐标,z可选。
      * 
*

- * Protobuf type {@code pojo.Polygon} + * Protobuf type {@code pojo.LineString} */ - public static final class Polygon extends + public static final class LineString extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.Polygon) - PolygonOrBuilder { + // @@protoc_insertion_point(message_implements:pojo.LineString) + LineStringOrBuilder { private static final long serialVersionUID = 0L; - // Use Polygon.newBuilder() to construct. - private Polygon(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use LineString.newBuilder() to construct. + private LineString(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Polygon() { + private LineString() { xs_ = emptyDoubleList(); ys_ = emptyDoubleList(); zs_ = emptyDoubleList(); - separators_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Polygon(); + return new LineString(); } @java.lang.Override @@ -1972,7 +1291,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private Polygon( + private LineString( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -2054,27 +1373,6 @@ private Polygon( input.popLimit(limit); break; } - case 32: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - separators_ = newIntList(); - mutable_bitField0_ |= 0x00000008; - } - separators_.addInt(input.readInt32()); - break; - } - case 34: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { - separators_ = newIntList(); - mutable_bitField0_ |= 0x00000008; - } - while (input.getBytesUntilLimit() > 0) { - separators_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -2101,9 +1399,6 @@ private Polygon( if (((mutable_bitField0_ & 0x00000004) != 0)) { zs_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - separators_.makeImmutable(); // C - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -2111,15 +1406,15 @@ private Polygon( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder.class); } public static final int XS_FIELD_NUMBER = 1; @@ -2227,41 +1522,6 @@ public double getZs(int index) { private int zsMemoizedSerializedSize = -1; - public static final int SEPARATORS_FIELD_NUMBER = 4; - private com.google.protobuf.Internal.IntList separators_; - - /** - * repeated int32 separators = 4; - * - * @return A list containing the separators. - */ - @java.lang.Override - public java.util.List - getSeparatorsList() { - return separators_; - } - - /** - * repeated int32 separators = 4; - * - * @return The count of separators. - */ - public int getSeparatorsCount() { - return separators_.size(); - } - - /** - * repeated int32 separators = 4; - * - * @param index The index of the element to return. - * @return The separators at the given index. - */ - public int getSeparators(int index) { - return separators_.getInt(index); - } - - private int separatorsMemoizedSerializedSize = -1; - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2299,13 +1559,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < zs_.size(); i++) { output.writeDoubleNoTag(zs_.getDouble(i)); } - if (getSeparatorsList().size() > 0) { - output.writeUInt32NoTag(34); - output.writeUInt32NoTag(separatorsMemoizedSerializedSize); - } - for (int i = 0; i < separators_.size(); i++) { - output.writeInt32NoTag(separators_.getInt(i)); - } unknownFields.writeTo(output); } @@ -2348,20 +1601,6 @@ public int getSerializedSize() { } zsMemoizedSerializedSize = dataSize; } - { - int dataSize = 0; - for (int i = 0; i < separators_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(separators_.getInt(i)); - } - size += dataSize; - if (!getSeparatorsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - separatorsMemoizedSerializedSize = dataSize; - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2372,10 +1611,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) obj; if (!getXsList() .equals(other.getXsList())) return false; @@ -2383,8 +1622,6 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getYsList())) return false; if (!getZsList() .equals(other.getZsList())) return false; - if (!getSeparatorsList() - .equals(other.getSeparatorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2408,60 +1645,56 @@ public int hashCode() { hash = (37 * hash) + ZS_FIELD_NUMBER; hash = (53 * hash) + getZsList().hashCode(); } - if (getSeparatorsCount() > 0) { - hash = (37 * hash) + SEPARATORS_FIELD_NUMBER; - hash = (53 * hash) + getSeparatorsList().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2469,13 +1702,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFr .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2483,14 +1716,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseDe .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2507,7 +1740,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -2520,38 +1753,35 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *

-         * Polygon 包含多边形上各个点的x y z坐标,z可选。
-         * separators用于将坐标串分割为环 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
-         * 则separators=[3,7]将坐标串分割为多边形Polygon((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
-         * 即separators[i]的意义为第i个环的终点(从0开始计数);最后一个环的终点显然是数组的最后一位,故将其省略。
-         * 注意,由于环的最后一个坐标必然和第一个坐标相等,故将环的最后一个坐标省略,仅在转换为jts等对象时将其补全。
+         * LineString 包含线段上各个点的x y z坐标,z可选。
          * 
*

- * Protobuf type {@code pojo.Polygon} + * Protobuf type {@code pojo.LineString} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.Polygon) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.LineString) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -2577,25 +1807,23 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); zs_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000004); - separators_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_LineString_descriptor; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance(); } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon result = buildPartial(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2603,8 +1831,8 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon build() { } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon(this); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { xs_.makeImmutable(); @@ -2621,11 +1849,6 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon buildPartial() bitField0_ = (bitField0_ & ~0x00000004); } result.zs_ = zs_; - if (((bitField0_ & 0x00000008) != 0)) { - separators_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.separators_ = separators_; onBuilt(); return result; } @@ -2670,16 +1893,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance()) + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance()) return this; if (!other.xs_.isEmpty()) { if (xs_.isEmpty()) { @@ -2711,16 +1934,6 @@ public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Poly } onChanged(); } - if (!other.separators_.isEmpty()) { - if (separators_.isEmpty()) { - separators_ = other.separators_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureSeparatorsIsMutable(); - separators_.addAll(other.separators_); - } - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2736,11 +1949,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3034,100 +2247,6 @@ public Builder clearZs() { return this; } - private com.google.protobuf.Internal.IntList separators_ = emptyIntList(); - - private void ensureSeparatorsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - separators_ = mutableCopy(separators_); - bitField0_ |= 0x00000008; - } - } - - /** - * repeated int32 separators = 4; - * - * @return A list containing the separators. - */ - public java.util.List - getSeparatorsList() { - return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(separators_) : separators_; - } - - /** - * repeated int32 separators = 4; - * - * @return The count of separators. - */ - public int getSeparatorsCount() { - return separators_.size(); - } - - /** - * repeated int32 separators = 4; - * - * @param index The index of the element to return. - * @return The separators at the given index. - */ - public int getSeparators(int index) { - return separators_.getInt(index); - } - - /** - * repeated int32 separators = 4; - * - * @param index The index to set the value at. - * @param value The separators to set. - * @return This builder for chaining. - */ - public Builder setSeparators( - int index, int value) { - ensureSeparatorsIsMutable(); - separators_.setInt(index, value); - onChanged(); - return this; - } - - /** - * repeated int32 separators = 4; - * - * @param value The separators to add. - * @return This builder for chaining. - */ - public Builder addSeparators(int value) { - ensureSeparatorsIsMutable(); - separators_.addInt(value); - onChanged(); - return this; - } - - /** - * repeated int32 separators = 4; - * - * @param values The separators to add. - * @return This builder for chaining. - */ - public Builder addAllSeparators( - java.lang.Iterable values) { - ensureSeparatorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, separators_); - onChanged(); - return this; - } - - /** - * repeated int32 separators = 4; - * - * @return This builder for chaining. - */ - public Builder clearSeparators() { - separators_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3141,49 +2260,49 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:pojo.Polygon) + // @@protoc_insertion_point(builder_scope:pojo.LineString) } - // @@protoc_insertion_point(class_scope:pojo.Polygon) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:pojo.LineString) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Polygon parsePartialFrom( + public LineString parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Polygon(input, extensionRegistry); + return new LineString(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface MultiPointOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.MultiPoint) + public interface PolygonOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.Polygon) com.google.protobuf.MessageOrBuilder { /** @@ -3251,37 +2370,64 @@ public interface MultiPointOrBuilder extends * @return The zs at the given index. */ double getZs(int index); - } - /** - *

-     * MultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。
-     * 
- *

- * Protobuf type {@code pojo.MultiPoint} - */ - public static final class MultiPoint extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.MultiPoint) - MultiPointOrBuilder { - private static final long serialVersionUID = 0L; + /** + * repeated int32 separators = 4; + * + * @return A list containing the separators. + */ + java.util.List getSeparatorsList(); - // Use MultiPoint.newBuilder() to construct. - private MultiPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { + /** + * repeated int32 separators = 4; + * + * @return The count of separators. + */ + int getSeparatorsCount(); + + /** + * repeated int32 separators = 4; + * + * @param index The index of the element to return. + * @return The separators at the given index. + */ + int getSeparators(int index); + } + + /** + *

+     * Polygon 包含多边形上各个点的x y z坐标,z可选。
+     * separators用于将坐标串分割为环 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
+     * 则separators=[3,7]将坐标串分割为多边形Polygon((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
+     * 即separators[i]的意义为第i个环的终点(从0开始计数);最后一个环的终点显然是数组的最后一位,故将其省略。
+     * 注意,由于环的最后一个坐标必然和第一个坐标相等,故将环的最后一个坐标省略,仅在转换为jts等对象时将其补全。
+     * 
+ *

+ * Protobuf type {@code pojo.Polygon} + */ + public static final class Polygon extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:pojo.Polygon) + PolygonOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Polygon.newBuilder() to construct. + private Polygon(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MultiPoint() { + private Polygon() { xs_ = emptyDoubleList(); ys_ = emptyDoubleList(); zs_ = emptyDoubleList(); + separators_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new MultiPoint(); + return new Polygon(); } @java.lang.Override @@ -3290,7 +2436,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private MultiPoint( + private Polygon( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3372,6 +2518,27 @@ private MultiPoint( input.popLimit(limit); break; } + case 32: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + separators_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + separators_.addInt(input.readInt32()); + break; + } + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + separators_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + while (input.getBytesUntilLimit() > 0) { + separators_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -3398,6 +2565,9 @@ private MultiPoint( if (((mutable_bitField0_ & 0x00000004) != 0)) { zs_.makeImmutable(); // C } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + separators_.makeImmutable(); // C + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -3405,15 +2575,15 @@ private MultiPoint( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder.class); } public static final int XS_FIELD_NUMBER = 1; @@ -3521,6 +2691,41 @@ public double getZs(int index) { private int zsMemoizedSerializedSize = -1; + public static final int SEPARATORS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.IntList separators_; + + /** + * repeated int32 separators = 4; + * + * @return A list containing the separators. + */ + @java.lang.Override + public java.util.List + getSeparatorsList() { + return separators_; + } + + /** + * repeated int32 separators = 4; + * + * @return The count of separators. + */ + public int getSeparatorsCount() { + return separators_.size(); + } + + /** + * repeated int32 separators = 4; + * + * @param index The index of the element to return. + * @return The separators at the given index. + */ + public int getSeparators(int index) { + return separators_.getInt(index); + } + + private int separatorsMemoizedSerializedSize = -1; + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3558,6 +2763,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < zs_.size(); i++) { output.writeDoubleNoTag(zs_.getDouble(i)); } + if (getSeparatorsList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(separatorsMemoizedSerializedSize); + } + for (int i = 0; i < separators_.size(); i++) { + output.writeInt32NoTag(separators_.getInt(i)); + } unknownFields.writeTo(output); } @@ -3600,6 +2812,20 @@ public int getSerializedSize() { } zsMemoizedSerializedSize = dataSize; } + { + int dataSize = 0; + for (int i = 0; i < separators_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(separators_.getInt(i)); + } + size += dataSize; + if (!getSeparatorsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + separatorsMemoizedSerializedSize = dataSize; + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3610,10 +2836,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) obj; if (!getXsList() .equals(other.getXsList())) return false; @@ -3621,6 +2847,8 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getYsList())) return false; if (!getZsList() .equals(other.getZsList())) return false; + if (!getSeparatorsList() + .equals(other.getSeparatorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3644,56 +2872,60 @@ public int hashCode() { hash = (37 * hash) + ZS_FIELD_NUMBER; hash = (53 * hash) + getZsList().hashCode(); } + if (getSeparatorsCount() > 0) { + hash = (37 * hash) + SEPARATORS_FIELD_NUMBER; + hash = (53 * hash) + getSeparatorsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -3701,13 +2933,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint pars .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -3715,14 +2947,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint pars .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -3739,7 +2971,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -3752,34 +2984,39 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *

-         * MultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。
+         * Polygon 包含多边形上各个点的x y z坐标,z可选。
+         * separators用于将坐标串分割为环 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
+         * 则separators=[3,7]将坐标串分割为多边形Polygon((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
+         * 即separators[i]的意义为第i个环的终点(从0开始计数);最后一个环的终点显然是数组的最后一位,故将其省略。
+         * 注意,由于环的最后一个坐标必然和第一个坐标相等,故将环的最后一个坐标省略,仅在转换为jts等对象时将其补全。
          * 
*

- * Protobuf type {@code pojo.MultiPoint} + * Protobuf type {@code pojo.Polygon} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.MultiPoint) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.Polygon) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -3805,23 +3042,25 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); zs_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000004); + separators_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Polygon_descriptor; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance(); } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint result = buildPartial(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3829,8 +3068,8 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint build() { } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint(this); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { xs_.makeImmutable(); @@ -3847,6 +3086,11 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint buildPartia bitField0_ = (bitField0_ & ~0x00000004); } result.zs_ = zs_; + if (((bitField0_ & 0x00000008) != 0)) { + separators_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.separators_ = separators_; onBuilt(); return result; } @@ -3891,16 +3135,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance()) + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance()) return this; if (!other.xs_.isEmpty()) { if (xs_.isEmpty()) { @@ -3932,6 +3176,16 @@ public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Mult } onChanged(); } + if (!other.separators_.isEmpty()) { + if (separators_.isEmpty()) { + separators_ = other.separators_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureSeparatorsIsMutable(); + separators_.addAll(other.separators_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3947,11 +3201,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4245,62 +3499,156 @@ public Builder clearZs() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + private com.google.protobuf.Internal.IntList separators_ = emptyIntList(); - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + private void ensureSeparatorsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + separators_ = mutableCopy(separators_); + bitField0_ |= 0x00000008; + } } + /** + * repeated int32 separators = 4; + * + * @return A list containing the separators. + */ + public java.util.List + getSeparatorsList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(separators_) : separators_; + } - // @@protoc_insertion_point(builder_scope:pojo.MultiPoint) - } - - // @@protoc_insertion_point(class_scope:pojo.MultiPoint) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint DEFAULT_INSTANCE; + /** + * repeated int32 separators = 4; + * + * @return The count of separators. + */ + public int getSeparatorsCount() { + return separators_.size(); + } + + /** + * repeated int32 separators = 4; + * + * @param index The index of the element to return. + * @return The separators at the given index. + */ + public int getSeparators(int index) { + return separators_.getInt(index); + } + + /** + * repeated int32 separators = 4; + * + * @param index The index to set the value at. + * @param value The separators to set. + * @return This builder for chaining. + */ + public Builder setSeparators( + int index, int value) { + ensureSeparatorsIsMutable(); + separators_.setInt(index, value); + onChanged(); + return this; + } + + /** + * repeated int32 separators = 4; + * + * @param value The separators to add. + * @return This builder for chaining. + */ + public Builder addSeparators(int value) { + ensureSeparatorsIsMutable(); + separators_.addInt(value); + onChanged(); + return this; + } + + /** + * repeated int32 separators = 4; + * + * @param values The separators to add. + * @return This builder for chaining. + */ + public Builder addAllSeparators( + java.lang.Iterable values) { + ensureSeparatorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, separators_); + onChanged(); + return this; + } + + /** + * repeated int32 separators = 4; + * + * @return This builder for chaining. + */ + public Builder clearSeparators() { + separators_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:pojo.Polygon) + } + + // @@protoc_insertion_point(class_scope:pojo.Polygon) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public MultiPoint parsePartialFrom( + public Polygon parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MultiPoint(input, extensionRegistry); + return new Polygon(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface MultiLineStringOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.MultiLineString) + public interface MultiPointOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.MultiPoint) com.google.protobuf.MessageOrBuilder { /** @@ -4368,63 +3716,37 @@ public interface MultiLineStringOrBuilder extends * @return The zs at the given index. */ double getZs(int index); - - /** - * repeated int32 separators = 4; - * - * @return A list containing the separators. - */ - java.util.List getSeparatorsList(); - - /** - * repeated int32 separators = 4; - * - * @return The count of separators. - */ - int getSeparatorsCount(); - - /** - * repeated int32 separators = 4; - * - * @param index The index of the element to return. - * @return The separators at the given index. - */ - int getSeparators(int index); } /** *

-     * MultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。
-     * separators用于将坐标串分割为子线段 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
-     * 则separators=[3,7]将坐标串分割为MultiLineString((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
-     * 即separators[i]的意义为第i条子线段的终点(从0开始计数);最后一条子线段的终点显然是数组的最后一位,故将其省略。
+     * MultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。
      * 
*

- * Protobuf type {@code pojo.MultiLineString} + * Protobuf type {@code pojo.MultiPoint} */ - public static final class MultiLineString extends + public static final class MultiPoint extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.MultiLineString) - MultiLineStringOrBuilder { + // @@protoc_insertion_point(message_implements:pojo.MultiPoint) + MultiPointOrBuilder { private static final long serialVersionUID = 0L; - // Use MultiLineString.newBuilder() to construct. - private MultiLineString(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use MultiPoint.newBuilder() to construct. + private MultiPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MultiLineString() { + private MultiPoint() { xs_ = emptyDoubleList(); ys_ = emptyDoubleList(); zs_ = emptyDoubleList(); - separators_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new MultiLineString(); + return new MultiPoint(); } @java.lang.Override @@ -4433,7 +3755,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private MultiLineString( + private MultiPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4515,27 +3837,6 @@ private MultiLineString( input.popLimit(limit); break; } - case 32: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - separators_ = newIntList(); - mutable_bitField0_ |= 0x00000008; - } - separators_.addInt(input.readInt32()); - break; - } - case 34: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { - separators_ = newIntList(); - mutable_bitField0_ |= 0x00000008; - } - while (input.getBytesUntilLimit() > 0) { - separators_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -4562,9 +3863,6 @@ private MultiLineString( if (((mutable_bitField0_ & 0x00000004) != 0)) { zs_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - separators_.makeImmutable(); // C - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -4572,15 +3870,15 @@ private MultiLineString( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder.class); } public static final int XS_FIELD_NUMBER = 1; @@ -4688,41 +3986,6 @@ public double getZs(int index) { private int zsMemoizedSerializedSize = -1; - public static final int SEPARATORS_FIELD_NUMBER = 4; - private com.google.protobuf.Internal.IntList separators_; - - /** - * repeated int32 separators = 4; - * - * @return A list containing the separators. - */ - @java.lang.Override - public java.util.List - getSeparatorsList() { - return separators_; - } - - /** - * repeated int32 separators = 4; - * - * @return The count of separators. - */ - public int getSeparatorsCount() { - return separators_.size(); - } - - /** - * repeated int32 separators = 4; - * - * @param index The index of the element to return. - * @return The separators at the given index. - */ - public int getSeparators(int index) { - return separators_.getInt(index); - } - - private int separatorsMemoizedSerializedSize = -1; - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -4760,13 +4023,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < zs_.size(); i++) { output.writeDoubleNoTag(zs_.getDouble(i)); } - if (getSeparatorsList().size() > 0) { - output.writeUInt32NoTag(34); - output.writeUInt32NoTag(separatorsMemoizedSerializedSize); - } - for (int i = 0; i < separators_.size(); i++) { - output.writeInt32NoTag(separators_.getInt(i)); - } unknownFields.writeTo(output); } @@ -4809,20 +4065,6 @@ public int getSerializedSize() { } zsMemoizedSerializedSize = dataSize; } - { - int dataSize = 0; - for (int i = 0; i < separators_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(separators_.getInt(i)); - } - size += dataSize; - if (!getSeparatorsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - separatorsMemoizedSerializedSize = dataSize; - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -4833,10 +4075,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) obj; if (!getXsList() .equals(other.getXsList())) return false; @@ -4844,8 +4086,6 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getYsList())) return false; if (!getZsList() .equals(other.getZsList())) return false; - if (!getSeparatorsList() - .equals(other.getSeparatorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4869,60 +4109,56 @@ public int hashCode() { hash = (37 * hash) + ZS_FIELD_NUMBER; hash = (53 * hash) + getZsList().hashCode(); } - if (getSeparatorsCount() > 0) { - hash = (37 * hash) + SEPARATORS_FIELD_NUMBER; - hash = (53 * hash) + getSeparatorsList().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4930,13 +4166,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4944,14 +4180,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4968,7 +4204,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -4981,37 +4217,35 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *

-         * MultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。
-         * separators用于将坐标串分割为子线段 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
-         * 则separators=[3,7]将坐标串分割为MultiLineString((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
-         * 即separators[i]的意义为第i条子线段的终点(从0开始计数);最后一条子线段的终点显然是数组的最后一位,故将其省略。
+         * MultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。
          * 
*

- * Protobuf type {@code pojo.MultiLineString} + * Protobuf type {@code pojo.MultiPoint} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.MultiLineString) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.MultiPoint) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -5037,25 +4271,23 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); zs_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000004); - separators_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPoint_descriptor; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance(); } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString result = buildPartial(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5063,8 +4295,8 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString build( } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString(this); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { xs_.makeImmutable(); @@ -5081,11 +4313,6 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString buildP bitField0_ = (bitField0_ & ~0x00000004); } result.zs_ = zs_; - if (((bitField0_ & 0x00000008) != 0)) { - separators_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.separators_ = separators_; onBuilt(); return result; } @@ -5130,16 +4357,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance()) + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance()) return this; if (!other.xs_.isEmpty()) { if (xs_.isEmpty()) { @@ -5171,16 +4398,6 @@ public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Mult } onChanged(); } - if (!other.separators_.isEmpty()) { - if (separators_.isEmpty()) { - separators_ = other.separators_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureSeparatorsIsMutable(); - separators_.addAll(other.separators_); - } - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -5196,11 +4413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5494,100 +4711,6 @@ public Builder clearZs() { return this; } - private com.google.protobuf.Internal.IntList separators_ = emptyIntList(); - - private void ensureSeparatorsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - separators_ = mutableCopy(separators_); - bitField0_ |= 0x00000008; - } - } - - /** - * repeated int32 separators = 4; - * - * @return A list containing the separators. - */ - public java.util.List - getSeparatorsList() { - return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(separators_) : separators_; - } - - /** - * repeated int32 separators = 4; - * - * @return The count of separators. - */ - public int getSeparatorsCount() { - return separators_.size(); - } - - /** - * repeated int32 separators = 4; - * - * @param index The index of the element to return. - * @return The separators at the given index. - */ - public int getSeparators(int index) { - return separators_.getInt(index); - } - - /** - * repeated int32 separators = 4; - * - * @param index The index to set the value at. - * @param value The separators to set. - * @return This builder for chaining. - */ - public Builder setSeparators( - int index, int value) { - ensureSeparatorsIsMutable(); - separators_.setInt(index, value); - onChanged(); - return this; - } - - /** - * repeated int32 separators = 4; - * - * @param value The separators to add. - * @return This builder for chaining. - */ - public Builder addSeparators(int value) { - ensureSeparatorsIsMutable(); - separators_.addInt(value); - onChanged(); - return this; - } - - /** - * repeated int32 separators = 4; - * - * @param values The separators to add. - * @return This builder for chaining. - */ - public Builder addAllSeparators( - java.lang.Iterable values) { - ensureSeparatorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, separators_); - onChanged(); - return this; - } - - /** - * repeated int32 separators = 4; - * - * @return This builder for chaining. - */ - public Builder clearSeparators() { - separators_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5601,49 +4724,49 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:pojo.MultiLineString) + // @@protoc_insertion_point(builder_scope:pojo.MultiPoint) } - // @@protoc_insertion_point(class_scope:pojo.MultiLineString) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:pojo.MultiPoint) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public MultiLineString parsePartialFrom( + public MultiPoint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MultiLineString(input, extensionRegistry); + return new MultiPoint(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface MultiPolygonOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.MultiPolygon) + public interface MultiLineStringOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.MultiLineString) com.google.protobuf.MessageOrBuilder { /** @@ -5713,85 +4836,61 @@ public interface MultiPolygonOrBuilder extends double getZs(int index); /** - * repeated int32 coordSeparators = 4; - * - * @return A list containing the coordSeparators. - */ - java.util.List getCoordSeparatorsList(); - - /** - * repeated int32 coordSeparators = 4; - * - * @return The count of coordSeparators. - */ - int getCoordSeparatorsCount(); - - /** - * repeated int32 coordSeparators = 4; - * - * @param index The index of the element to return. - * @return The coordSeparators at the given index. - */ - int getCoordSeparators(int index); - - /** - * repeated int32 polygonSeparators = 5; + * repeated int32 separators = 4; * - * @return A list containing the polygonSeparators. + * @return A list containing the separators. */ - java.util.List getPolygonSeparatorsList(); + java.util.List getSeparatorsList(); /** - * repeated int32 polygonSeparators = 5; + * repeated int32 separators = 4; * - * @return The count of polygonSeparators. + * @return The count of separators. */ - int getPolygonSeparatorsCount(); + int getSeparatorsCount(); /** - * repeated int32 polygonSeparators = 5; + * repeated int32 separators = 4; * * @param index The index of the element to return. - * @return The polygonSeparators at the given index. + * @return The separators at the given index. */ - int getPolygonSeparators(int index); + int getSeparators(int index); } /** *

-     * MultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。
-     * polygonSeparators用于将坐标串分割为子多边形 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
-     * 则polygonSeparators=[3,7]将坐标串分割为MultiPolygon(((p0 p1 p2)),((p3 p4 p5 p6)),((p7 p8 p9)))。
-     * 即polygonSeparators[i]的意义为第i个子多边形的终点(从0开始计数);最后一个子多边形的终点显然是数组的最后一位,故将其省略。
-     * 经过polygonSeparators分割后的子多边形坐标串,进一步由coordSeparators分割为环,分割依据与Polygon的separators一致
+     * MultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。
+     * separators用于将坐标串分割为子线段 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
+     * 则separators=[3,7]将坐标串分割为MultiLineString((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
+     * 即separators[i]的意义为第i条子线段的终点(从0开始计数);最后一条子线段的终点显然是数组的最后一位,故将其省略。
      * 
*

- * Protobuf type {@code pojo.MultiPolygon} + * Protobuf type {@code pojo.MultiLineString} */ - public static final class MultiPolygon extends + public static final class MultiLineString extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.MultiPolygon) - MultiPolygonOrBuilder { + // @@protoc_insertion_point(message_implements:pojo.MultiLineString) + MultiLineStringOrBuilder { private static final long serialVersionUID = 0L; - // Use MultiPolygon.newBuilder() to construct. - private MultiPolygon(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use MultiLineString.newBuilder() to construct. + private MultiLineString(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MultiPolygon() { + private MultiLineString() { xs_ = emptyDoubleList(); ys_ = emptyDoubleList(); zs_ = emptyDoubleList(); - coordSeparators_ = emptyIntList(); - polygonSeparators_ = emptyIntList(); + separators_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new MultiPolygon(); + return new MultiLineString(); } @java.lang.Override @@ -5800,7 +4899,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private MultiPolygon( + private MultiLineString( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5884,42 +4983,21 @@ private MultiPolygon( } case 32: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { - coordSeparators_ = newIntList(); + separators_ = newIntList(); mutable_bitField0_ |= 0x00000008; } - coordSeparators_.addInt(input.readInt32()); + separators_.addInt(input.readInt32()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { - coordSeparators_ = newIntList(); + separators_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { - coordSeparators_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } - case 40: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - polygonSeparators_ = newIntList(); - mutable_bitField0_ |= 0x00000010; - } - polygonSeparators_.addInt(input.readInt32()); - break; - } - case 42: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) { - polygonSeparators_ = newIntList(); - mutable_bitField0_ |= 0x00000010; - } - while (input.getBytesUntilLimit() > 0) { - polygonSeparators_.addInt(input.readInt32()); + separators_.addInt(input.readInt32()); } input.popLimit(limit); break; @@ -5951,10 +5029,7 @@ private MultiPolygon( zs_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000008) != 0)) { - coordSeparators_.makeImmutable(); // C - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - polygonSeparators_.makeImmutable(); // C + separators_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -5963,15 +5038,15 @@ private MultiPolygon( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder.class); } public static final int XS_FIELD_NUMBER = 1; @@ -6079,75 +5154,40 @@ public double getZs(int index) { private int zsMemoizedSerializedSize = -1; - public static final int COORDSEPARATORS_FIELD_NUMBER = 4; - private com.google.protobuf.Internal.IntList coordSeparators_; - - /** - * repeated int32 coordSeparators = 4; - * - * @return A list containing the coordSeparators. - */ - @java.lang.Override - public java.util.List - getCoordSeparatorsList() { - return coordSeparators_; - } - - /** - * repeated int32 coordSeparators = 4; - * - * @return The count of coordSeparators. - */ - public int getCoordSeparatorsCount() { - return coordSeparators_.size(); - } - - /** - * repeated int32 coordSeparators = 4; - * - * @param index The index of the element to return. - * @return The coordSeparators at the given index. - */ - public int getCoordSeparators(int index) { - return coordSeparators_.getInt(index); - } - - private int coordSeparatorsMemoizedSerializedSize = -1; - - public static final int POLYGONSEPARATORS_FIELD_NUMBER = 5; - private com.google.protobuf.Internal.IntList polygonSeparators_; + public static final int SEPARATORS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.IntList separators_; /** - * repeated int32 polygonSeparators = 5; + * repeated int32 separators = 4; * - * @return A list containing the polygonSeparators. + * @return A list containing the separators. */ @java.lang.Override public java.util.List - getPolygonSeparatorsList() { - return polygonSeparators_; + getSeparatorsList() { + return separators_; } /** - * repeated int32 polygonSeparators = 5; + * repeated int32 separators = 4; * - * @return The count of polygonSeparators. + * @return The count of separators. */ - public int getPolygonSeparatorsCount() { - return polygonSeparators_.size(); + public int getSeparatorsCount() { + return separators_.size(); } /** - * repeated int32 polygonSeparators = 5; + * repeated int32 separators = 4; * * @param index The index of the element to return. - * @return The polygonSeparators at the given index. + * @return The separators at the given index. */ - public int getPolygonSeparators(int index) { - return polygonSeparators_.getInt(index); + public int getSeparators(int index) { + return separators_.getInt(index); } - private int polygonSeparatorsMemoizedSerializedSize = -1; + private int separatorsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @@ -6186,19 +5226,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < zs_.size(); i++) { output.writeDoubleNoTag(zs_.getDouble(i)); } - if (getCoordSeparatorsList().size() > 0) { + if (getSeparatorsList().size() > 0) { output.writeUInt32NoTag(34); - output.writeUInt32NoTag(coordSeparatorsMemoizedSerializedSize); - } - for (int i = 0; i < coordSeparators_.size(); i++) { - output.writeInt32NoTag(coordSeparators_.getInt(i)); - } - if (getPolygonSeparatorsList().size() > 0) { - output.writeUInt32NoTag(42); - output.writeUInt32NoTag(polygonSeparatorsMemoizedSerializedSize); + output.writeUInt32NoTag(separatorsMemoizedSerializedSize); } - for (int i = 0; i < polygonSeparators_.size(); i++) { - output.writeInt32NoTag(polygonSeparators_.getInt(i)); + for (int i = 0; i < separators_.size(); i++) { + output.writeInt32NoTag(separators_.getInt(i)); } unknownFields.writeTo(output); } @@ -6244,31 +5277,17 @@ public int getSerializedSize() { } { int dataSize = 0; - for (int i = 0; i < coordSeparators_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(coordSeparators_.getInt(i)); - } - size += dataSize; - if (!getCoordSeparatorsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - coordSeparatorsMemoizedSerializedSize = dataSize; - } - { - int dataSize = 0; - for (int i = 0; i < polygonSeparators_.size(); i++) { + for (int i = 0; i < separators_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(polygonSeparators_.getInt(i)); + .computeInt32SizeNoTag(separators_.getInt(i)); } size += dataSize; - if (!getPolygonSeparatorsList().isEmpty()) { + if (!getSeparatorsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } - polygonSeparatorsMemoizedSerializedSize = dataSize; + separatorsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6280,10 +5299,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) obj; if (!getXsList() .equals(other.getXsList())) return false; @@ -6291,10 +5310,8 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getYsList())) return false; if (!getZsList() .equals(other.getZsList())) return false; - if (!getCoordSeparatorsList() - .equals(other.getCoordSeparatorsList())) return false; - if (!getPolygonSeparatorsList() - .equals(other.getPolygonSeparatorsList())) return false; + if (!getSeparatorsList() + .equals(other.getSeparatorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6318,64 +5335,60 @@ public int hashCode() { hash = (37 * hash) + ZS_FIELD_NUMBER; hash = (53 * hash) + getZsList().hashCode(); } - if (getCoordSeparatorsCount() > 0) { - hash = (37 * hash) + COORDSEPARATORS_FIELD_NUMBER; - hash = (53 * hash) + getCoordSeparatorsList().hashCode(); - } - if (getPolygonSeparatorsCount() > 0) { - hash = (37 * hash) + POLYGONSEPARATORS_FIELD_NUMBER; - hash = (53 * hash) + getPolygonSeparatorsList().hashCode(); + if (getSeparatorsCount() > 0) { + hash = (37 * hash) + SEPARATORS_FIELD_NUMBER; + hash = (53 * hash) + getSeparatorsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6383,13 +5396,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon pa .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6397,14 +5410,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon pa .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6421,7 +5434,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -6434,38 +5447,38 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *

-         * MultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。
-         * polygonSeparators用于将坐标串分割为子多边形 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
-         * 则polygonSeparators=[3,7]将坐标串分割为MultiPolygon(((p0 p1 p2)),((p3 p4 p5 p6)),((p7 p8 p9)))。
-         * 即polygonSeparators[i]的意义为第i个子多边形的终点(从0开始计数);最后一个子多边形的终点显然是数组的最后一位,故将其省略。
-         * 经过polygonSeparators分割后的子多边形坐标串,进一步由coordSeparators分割为环,分割依据与Polygon的separators一致
+         * MultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。
+         * separators用于将坐标串分割为子线段 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
+         * 则separators=[3,7]将坐标串分割为MultiLineString((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。
+         * 即separators[i]的意义为第i条子线段的终点(从0开始计数);最后一条子线段的终点显然是数组的最后一位,故将其省略。
          * 
*

- * Protobuf type {@code pojo.MultiPolygon} + * Protobuf type {@code pojo.MultiLineString} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.MultiPolygon) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.MultiLineString) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -6491,27 +5504,25 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); zs_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000004); - coordSeparators_ = emptyIntList(); + separators_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); - polygonSeparators_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiLineString_descriptor; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance(); } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon result = buildPartial(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6519,8 +5530,8 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon build() { } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon(this); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { xs_.makeImmutable(); @@ -6538,15 +5549,10 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon buildPart } result.zs_ = zs_; if (((bitField0_ & 0x00000008) != 0)) { - coordSeparators_.makeImmutable(); + separators_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } - result.coordSeparators_ = coordSeparators_; - if (((bitField0_ & 0x00000010) != 0)) { - polygonSeparators_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.polygonSeparators_ = polygonSeparators_; + result.separators_ = separators_; onBuilt(); return result; } @@ -6591,16 +5597,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance()) + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance()) return this; if (!other.xs_.isEmpty()) { if (xs_.isEmpty()) { @@ -6632,23 +5638,13 @@ public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Mult } onChanged(); } - if (!other.coordSeparators_.isEmpty()) { - if (coordSeparators_.isEmpty()) { - coordSeparators_ = other.coordSeparators_; + if (!other.separators_.isEmpty()) { + if (separators_.isEmpty()) { + separators_ = other.separators_; bitField0_ = (bitField0_ & ~0x00000008); } else { - ensureCoordSeparatorsIsMutable(); - coordSeparators_.addAll(other.coordSeparators_); - } - onChanged(); - } - if (!other.polygonSeparators_.isEmpty()) { - if (polygonSeparators_.isEmpty()) { - polygonSeparators_ = other.polygonSeparators_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensurePolygonSeparatorsIsMutable(); - polygonSeparators_.addAll(other.polygonSeparators_); + ensureSeparatorsIsMutable(); + separators_.addAll(other.separators_); } onChanged(); } @@ -6667,11 +5663,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6965,194 +5961,100 @@ public Builder clearZs() { return this; } - private com.google.protobuf.Internal.IntList coordSeparators_ = emptyIntList(); + private com.google.protobuf.Internal.IntList separators_ = emptyIntList(); - private void ensureCoordSeparatorsIsMutable() { + private void ensureSeparatorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - coordSeparators_ = mutableCopy(coordSeparators_); + separators_ = mutableCopy(separators_); bitField0_ |= 0x00000008; } } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * - * @return A list containing the coordSeparators. + * @return A list containing the separators. */ public java.util.List - getCoordSeparatorsList() { + getSeparatorsList() { return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(coordSeparators_) : coordSeparators_; + java.util.Collections.unmodifiableList(separators_) : separators_; } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * - * @return The count of coordSeparators. + * @return The count of separators. */ - public int getCoordSeparatorsCount() { - return coordSeparators_.size(); + public int getSeparatorsCount() { + return separators_.size(); } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * * @param index The index of the element to return. - * @return The coordSeparators at the given index. + * @return The separators at the given index. */ - public int getCoordSeparators(int index) { - return coordSeparators_.getInt(index); + public int getSeparators(int index) { + return separators_.getInt(index); } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * * @param index The index to set the value at. - * @param value The coordSeparators to set. + * @param value The separators to set. * @return This builder for chaining. */ - public Builder setCoordSeparators( + public Builder setSeparators( int index, int value) { - ensureCoordSeparatorsIsMutable(); - coordSeparators_.setInt(index, value); + ensureSeparatorsIsMutable(); + separators_.setInt(index, value); onChanged(); return this; } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * - * @param value The coordSeparators to add. + * @param value The separators to add. * @return This builder for chaining. */ - public Builder addCoordSeparators(int value) { - ensureCoordSeparatorsIsMutable(); - coordSeparators_.addInt(value); + public Builder addSeparators(int value) { + ensureSeparatorsIsMutable(); + separators_.addInt(value); onChanged(); return this; } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * - * @param values The coordSeparators to add. + * @param values The separators to add. * @return This builder for chaining. */ - public Builder addAllCoordSeparators( + public Builder addAllSeparators( java.lang.Iterable values) { - ensureCoordSeparatorsIsMutable(); + ensureSeparatorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, coordSeparators_); + values, separators_); onChanged(); return this; } /** - * repeated int32 coordSeparators = 4; + * repeated int32 separators = 4; * * @return This builder for chaining. */ - public Builder clearCoordSeparators() { - coordSeparators_ = emptyIntList(); + public Builder clearSeparators() { + separators_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } - private com.google.protobuf.Internal.IntList polygonSeparators_ = emptyIntList(); - - private void ensurePolygonSeparatorsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - polygonSeparators_ = mutableCopy(polygonSeparators_); - bitField0_ |= 0x00000010; - } - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @return A list containing the polygonSeparators. - */ - public java.util.List - getPolygonSeparatorsList() { - return ((bitField0_ & 0x00000010) != 0) ? - java.util.Collections.unmodifiableList(polygonSeparators_) : polygonSeparators_; - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @return The count of polygonSeparators. - */ - public int getPolygonSeparatorsCount() { - return polygonSeparators_.size(); - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @param index The index of the element to return. - * @return The polygonSeparators at the given index. - */ - public int getPolygonSeparators(int index) { - return polygonSeparators_.getInt(index); - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @param index The index to set the value at. - * @param value The polygonSeparators to set. - * @return This builder for chaining. - */ - public Builder setPolygonSeparators( - int index, int value) { - ensurePolygonSeparatorsIsMutable(); - polygonSeparators_.setInt(index, value); - onChanged(); - return this; - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @param value The polygonSeparators to add. - * @return This builder for chaining. - */ - public Builder addPolygonSeparators(int value) { - ensurePolygonSeparatorsIsMutable(); - polygonSeparators_.addInt(value); - onChanged(); - return this; - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @param values The polygonSeparators to add. - * @return This builder for chaining. - */ - public Builder addAllPolygonSeparators( - java.lang.Iterable values) { - ensurePolygonSeparatorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, polygonSeparators_); - onChanged(); - return this; - } - - /** - * repeated int32 polygonSeparators = 5; - * - * @return This builder for chaining. - */ - public Builder clearPolygonSeparators() { - polygonSeparators_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7166,302 +6068,197 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:pojo.MultiPolygon) + // @@protoc_insertion_point(builder_scope:pojo.MultiLineString) } - // @@protoc_insertion_point(class_scope:pojo.MultiPolygon) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:pojo.MultiLineString) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public MultiPolygon parsePartialFrom( + public MultiLineString parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MultiPolygon(input, extensionRegistry); + return new MultiLineString(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GeometryCollectionOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.GeometryCollection) + public interface MultiPolygonOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.MultiPolygon) com.google.protobuf.MessageOrBuilder { /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return A list containing the xs. */ - java.util.List - getPointsList(); + java.util.List getXsList(); /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return The count of xs. */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoints(int index); + int getXsCount(); /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @param index The index of the element to return. + * @return The xs at the given index. */ - int getPointsCount(); + double getXs(int index); /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @return A list containing the ys. */ - java.util.List - getPointsOrBuilderList(); + java.util.List getYsList(); /** - * repeated .pojo.Point points = 1; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointsOrBuilder( - int index); - - /** - * repeated .pojo.LineString lineStrings = 2; - */ - java.util.List - getLineStringsList(); - - /** - * repeated .pojo.LineString lineStrings = 2; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineStrings(int index); - - /** - * repeated .pojo.LineString lineStrings = 2; - */ - int getLineStringsCount(); - - /** - * repeated .pojo.LineString lineStrings = 2; - */ - java.util.List - getLineStringsOrBuilderList(); - - /** - * repeated .pojo.LineString lineStrings = 2; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringsOrBuilder( - int index); - - /** - * repeated .pojo.Polygon polygons = 3; - */ - java.util.List - getPolygonsList(); - - /** - * repeated .pojo.Polygon polygons = 3; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygons(int index); - - /** - * repeated .pojo.Polygon polygons = 3; - */ - int getPolygonsCount(); - - /** - * repeated .pojo.Polygon polygons = 3; - */ - java.util.List - getPolygonsOrBuilderList(); - - /** - * repeated .pojo.Polygon polygons = 3; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonsOrBuilder( - int index); - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - java.util.List - getMultiPointsList(); - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoints(int index); - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - int getMultiPointsCount(); - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - java.util.List - getMultiPointsOrBuilderList(); - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointsOrBuilder( - int index); - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - java.util.List - getMultiLineStringsList(); - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineStrings(int index); - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - int getMultiLineStringsCount(); - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - java.util.List - getMultiLineStringsOrBuilderList(); - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; + * repeated double ys = 2; + * + * @return The count of ys. */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringsOrBuilder( - int index); + int getYsCount(); /** - * repeated .pojo.MultiPolygon multiPolygons = 6; + * repeated double ys = 2; + * + * @param index The index of the element to return. + * @return The ys at the given index. */ - java.util.List - getMultiPolygonsList(); + double getYs(int index); /** - * repeated .pojo.MultiPolygon multiPolygons = 6; + * repeated double zs = 3; + * + * @return A list containing the zs. */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygons(int index); + java.util.List getZsList(); /** - * repeated .pojo.MultiPolygon multiPolygons = 6; + * repeated double zs = 3; + * + * @return The count of zs. */ - int getMultiPolygonsCount(); + int getZsCount(); /** - * repeated .pojo.MultiPolygon multiPolygons = 6; + * repeated double zs = 3; + * + * @param index The index of the element to return. + * @return The zs at the given index. */ - java.util.List - getMultiPolygonsOrBuilderList(); + double getZs(int index); /** - * repeated .pojo.MultiPolygon multiPolygons = 6; + * repeated int32 coordSeparators = 4; + * + * @return A list containing the coordSeparators. */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonsOrBuilder( - int index); + java.util.List getCoordSeparatorsList(); /** - *

-         * 允许嵌套
-         * 
+ * repeated int32 coordSeparators = 4; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @return The count of coordSeparators. */ - java.util.List - getGeometryCollectionsList(); + int getCoordSeparatorsCount(); /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 coordSeparators = 4; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @param index The index of the element to return. + * @return The coordSeparators at the given index. */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollections(int index); + int getCoordSeparators(int index); /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 polygonSeparators = 5; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @return A list containing the polygonSeparators. */ - int getGeometryCollectionsCount(); + java.util.List getPolygonSeparatorsList(); /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 polygonSeparators = 5; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @return The count of polygonSeparators. */ - java.util.List - getGeometryCollectionsOrBuilderList(); + int getPolygonSeparatorsCount(); /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 polygonSeparators = 5; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @param index The index of the element to return. + * @return The polygonSeparators at the given index. */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionsOrBuilder( - int index); + int getPolygonSeparators(int index); } /** *
-     * GeometryCollection
-     * 注意 GeometryCollection允许嵌套
+     * MultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。
+     * polygonSeparators用于将坐标串分割为子多边形 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
+     * 则polygonSeparators=[3,7]将坐标串分割为MultiPolygon(((p0 p1 p2)),((p3 p4 p5 p6)),((p7 p8 p9)))。
+     * 即polygonSeparators[i]的意义为第i个子多边形的终点(从0开始计数);最后一个子多边形的终点显然是数组的最后一位,故将其省略。
+     * 经过polygonSeparators分割后的子多边形坐标串,进一步由coordSeparators分割为环,分割依据与Polygon的separators一致
      * 
*

- * Protobuf type {@code pojo.GeometryCollection} + * Protobuf type {@code pojo.MultiPolygon} */ - public static final class GeometryCollection extends + public static final class MultiPolygon extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.GeometryCollection) - GeometryCollectionOrBuilder { + // @@protoc_insertion_point(message_implements:pojo.MultiPolygon) + MultiPolygonOrBuilder { private static final long serialVersionUID = 0L; - // Use GeometryCollection.newBuilder() to construct. - private GeometryCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use MultiPolygon.newBuilder() to construct. + private MultiPolygon(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GeometryCollection() { - points_ = java.util.Collections.emptyList(); - lineStrings_ = java.util.Collections.emptyList(); - polygons_ = java.util.Collections.emptyList(); - multiPoints_ = java.util.Collections.emptyList(); - multiLineStrings_ = java.util.Collections.emptyList(); - multiPolygons_ = java.util.Collections.emptyList(); - geometryCollections_ = java.util.Collections.emptyList(); + private MultiPolygon() { + xs_ = emptyDoubleList(); + ys_ = emptyDoubleList(); + zs_ = emptyDoubleList(); + coordSeparators_ = emptyIntList(); + polygonSeparators_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new GeometryCollection(); + return new MultiPolygon(); } @java.lang.Override @@ -7470,7 +6267,7 @@ protected java.lang.Object newInstance( return this.unknownFields; } - private GeometryCollection( + private MultiPolygon( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7489,67 +6286,109 @@ private GeometryCollection( case 0: done = true; break; - case 10: { + case 9: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(); + xs_ = newDoubleList(); mutable_bitField0_ |= 0x00000001; } - points_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.parser(), extensionRegistry)); + xs_.addDouble(input.readDouble()); break; } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - lineStrings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 10: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + xs_ = newDoubleList(); + mutable_bitField0_ |= 0x00000001; } - lineStrings_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.parser(), extensionRegistry)); - break; - } - case 26: { + while (input.getBytesUntilLimit() > 0) { + xs_.addDouble(input.readDouble()); + } + input.popLimit(limit); + break; + } + case 17: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + ys_ = newDoubleList(); + mutable_bitField0_ |= 0x00000002; + } + ys_.addDouble(input.readDouble()); + break; + } + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + ys_ = newDoubleList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + ys_.addDouble(input.readDouble()); + } + input.popLimit(limit); + break; + } + case 25: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { - polygons_ = new java.util.ArrayList(); + zs_ = newDoubleList(); mutable_bitField0_ |= 0x00000004; } - polygons_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.parser(), extensionRegistry)); + zs_.addDouble(input.readDouble()); break; } - case 34: { + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { + zs_ = newDoubleList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + zs_.addDouble(input.readDouble()); + } + input.popLimit(limit); + break; + } + case 32: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { - multiPoints_ = new java.util.ArrayList(); + coordSeparators_ = newIntList(); mutable_bitField0_ |= 0x00000008; } - multiPoints_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.parser(), extensionRegistry)); + coordSeparators_.addInt(input.readInt32()); break; } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - multiLineStrings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + coordSeparators_ = newIntList(); + mutable_bitField0_ |= 0x00000008; } - multiLineStrings_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.parser(), extensionRegistry)); + while (input.getBytesUntilLimit() > 0) { + coordSeparators_.addInt(input.readInt32()); + } + input.popLimit(limit); break; } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - multiPolygons_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + case 40: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + polygonSeparators_ = newIntList(); + mutable_bitField0_ |= 0x00000010; } - multiPolygons_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.parser(), extensionRegistry)); + polygonSeparators_.addInt(input.readInt32()); break; } - case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - geometryCollections_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; + case 42: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) { + polygonSeparators_ = newIntList(); + mutable_bitField0_ |= 0x00000010; } - geometryCollections_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.parser(), extensionRegistry)); + while (input.getBytesUntilLimit() > 0) { + polygonSeparators_.addInt(input.readInt32()); + } + input.popLimit(limit); break; } default: { @@ -7570,25 +6409,19 @@ private GeometryCollection( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = java.util.Collections.unmodifiableList(points_); + xs_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000002) != 0)) { - lineStrings_ = java.util.Collections.unmodifiableList(lineStrings_); + ys_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000004) != 0)) { - polygons_ = java.util.Collections.unmodifiableList(polygons_); + zs_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000008) != 0)) { - multiPoints_ = java.util.Collections.unmodifiableList(multiPoints_); + coordSeparators_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000010) != 0)) { - multiLineStrings_ = java.util.Collections.unmodifiableList(multiLineStrings_); - } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - multiPolygons_ = java.util.Collections.unmodifiableList(multiPolygons_); - } - if (((mutable_bitField0_ & 0x00000040) != 0)) { - geometryCollections_ = java.util.Collections.unmodifiableList(geometryCollections_); + polygonSeparators_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -7597,351 +6430,191 @@ private GeometryCollection( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder.class); } - public static final int POINTS_FIELD_NUMBER = 1; - private java.util.List points_; + public static final int XS_FIELD_NUMBER = 1; + private com.google.protobuf.Internal.DoubleList xs_; /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return A list containing the xs. */ @java.lang.Override - public java.util.List getPointsList() { - return points_; + public java.util.List + getXsList() { + return xs_; } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return The count of xs. */ - @java.lang.Override - public java.util.List - getPointsOrBuilderList() { - return points_; + public int getXsCount() { + return xs_.size(); } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @param index The index of the element to return. + * @return The xs at the given index. */ - @java.lang.Override - public int getPointsCount() { - return points_.size(); + public double getXs(int index) { + return xs_.getDouble(index); } - /** - * repeated .pojo.Point points = 1; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoints(int index) { - return points_.get(index); - } + private int xsMemoizedSerializedSize = -1; + + public static final int YS_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.DoubleList ys_; /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @return A list containing the ys. */ @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointsOrBuilder( - int index) { - return points_.get(index); + public java.util.List + getYsList() { + return ys_; } - public static final int LINESTRINGS_FIELD_NUMBER = 2; - private java.util.List lineStrings_; - /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double ys = 2; + * + * @return The count of ys. */ - @java.lang.Override - public java.util.List getLineStringsList() { - return lineStrings_; + public int getYsCount() { + return ys_.size(); } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double ys = 2; + * + * @param index The index of the element to return. + * @return The ys at the given index. */ - @java.lang.Override - public java.util.List - getLineStringsOrBuilderList() { - return lineStrings_; + public double getYs(int index) { + return ys_.getDouble(index); } + private int ysMemoizedSerializedSize = -1; + + public static final int ZS_FIELD_NUMBER = 3; + private com.google.protobuf.Internal.DoubleList zs_; + /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double zs = 3; + * + * @return A list containing the zs. */ @java.lang.Override - public int getLineStringsCount() { - return lineStrings_.size(); + public java.util.List + getZsList() { + return zs_; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double zs = 3; + * + * @return The count of zs. */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineStrings(int index) { - return lineStrings_.get(index); + public int getZsCount() { + return zs_.size(); } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double zs = 3; + * + * @param index The index of the element to return. + * @return The zs at the given index. */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringsOrBuilder( - int index) { - return lineStrings_.get(index); + public double getZs(int index) { + return zs_.getDouble(index); } - public static final int POLYGONS_FIELD_NUMBER = 3; - private java.util.List polygons_; + private int zsMemoizedSerializedSize = -1; + + public static final int COORDSEPARATORS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.IntList coordSeparators_; /** - * repeated .pojo.Polygon polygons = 3; + * repeated int32 coordSeparators = 4; + * + * @return A list containing the coordSeparators. */ @java.lang.Override - public java.util.List getPolygonsList() { - return polygons_; + public java.util.List + getCoordSeparatorsList() { + return coordSeparators_; } /** - * repeated .pojo.Polygon polygons = 3; + * repeated int32 coordSeparators = 4; + * + * @return The count of coordSeparators. */ - @java.lang.Override - public java.util.List - getPolygonsOrBuilderList() { - return polygons_; + public int getCoordSeparatorsCount() { + return coordSeparators_.size(); } /** - * repeated .pojo.Polygon polygons = 3; - */ - @java.lang.Override - public int getPolygonsCount() { - return polygons_.size(); - } - - /** - * repeated .pojo.Polygon polygons = 3; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygons(int index) { - return polygons_.get(index); - } - - /** - * repeated .pojo.Polygon polygons = 3; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonsOrBuilder( - int index) { - return polygons_.get(index); - } - - public static final int MULTIPOINTS_FIELD_NUMBER = 4; - private java.util.List multiPoints_; - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - @java.lang.Override - public java.util.List getMultiPointsList() { - return multiPoints_; - } - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - @java.lang.Override - public java.util.List - getMultiPointsOrBuilderList() { - return multiPoints_; - } - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - @java.lang.Override - public int getMultiPointsCount() { - return multiPoints_.size(); - } - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoints(int index) { - return multiPoints_.get(index); - } - - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointsOrBuilder( - int index) { - return multiPoints_.get(index); - } - - public static final int MULTILINESTRINGS_FIELD_NUMBER = 5; - private java.util.List multiLineStrings_; - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - @java.lang.Override - public java.util.List getMultiLineStringsList() { - return multiLineStrings_; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - @java.lang.Override - public java.util.List - getMultiLineStringsOrBuilderList() { - return multiLineStrings_; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - @java.lang.Override - public int getMultiLineStringsCount() { - return multiLineStrings_.size(); - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineStrings(int index) { - return multiLineStrings_.get(index); - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringsOrBuilder( - int index) { - return multiLineStrings_.get(index); - } - - public static final int MULTIPOLYGONS_FIELD_NUMBER = 6; - private java.util.List multiPolygons_; - - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - @java.lang.Override - public java.util.List getMultiPolygonsList() { - return multiPolygons_; - } - - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - @java.lang.Override - public java.util.List - getMultiPolygonsOrBuilderList() { - return multiPolygons_; - } - - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - @java.lang.Override - public int getMultiPolygonsCount() { - return multiPolygons_.size(); - } - - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygons(int index) { - return multiPolygons_.get(index); - } - - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; + * repeated int32 coordSeparators = 4; + * + * @param index The index of the element to return. + * @return The coordSeparators at the given index. */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonsOrBuilder( - int index) { - return multiPolygons_.get(index); + public int getCoordSeparators(int index) { + return coordSeparators_.getInt(index); } - public static final int GEOMETRYCOLLECTIONS_FIELD_NUMBER = 7; - private java.util.List geometryCollections_; + private int coordSeparatorsMemoizedSerializedSize = -1; - /** - *

-         * 允许嵌套
-         * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - @java.lang.Override - public java.util.List getGeometryCollectionsList() { - return geometryCollections_; - } + public static final int POLYGONSEPARATORS_FIELD_NUMBER = 5; + private com.google.protobuf.Internal.IntList polygonSeparators_; /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 polygonSeparators = 5; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @return A list containing the polygonSeparators. */ @java.lang.Override - public java.util.List - getGeometryCollectionsOrBuilderList() { - return geometryCollections_; + public java.util.List + getPolygonSeparatorsList() { + return polygonSeparators_; } /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 polygonSeparators = 5; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @return The count of polygonSeparators. */ - @java.lang.Override - public int getGeometryCollectionsCount() { - return geometryCollections_.size(); + public int getPolygonSeparatorsCount() { + return polygonSeparators_.size(); } /** - *
-         * 允许嵌套
-         * 
+ * repeated int32 polygonSeparators = 5; * - * repeated .pojo.GeometryCollection geometryCollections = 7; + * @param index The index of the element to return. + * @return The polygonSeparators at the given index. */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollections(int index) { - return geometryCollections_.get(index); + public int getPolygonSeparators(int index) { + return polygonSeparators_.getInt(index); } - /** - *
-         * 允许嵌套
-         * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionsOrBuilder( - int index) { - return geometryCollections_.get(index); - } + private int polygonSeparatorsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @@ -7958,28 +6631,43 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < points_.size(); i++) { - output.writeMessage(1, points_.get(i)); - } - for (int i = 0; i < lineStrings_.size(); i++) { - output.writeMessage(2, lineStrings_.get(i)); + getSerializedSize(); + if (getXsList().size() > 0) { + output.writeUInt32NoTag(10); + output.writeUInt32NoTag(xsMemoizedSerializedSize); } - for (int i = 0; i < polygons_.size(); i++) { - output.writeMessage(3, polygons_.get(i)); + for (int i = 0; i < xs_.size(); i++) { + output.writeDoubleNoTag(xs_.getDouble(i)); } - for (int i = 0; i < multiPoints_.size(); i++) { - output.writeMessage(4, multiPoints_.get(i)); + if (getYsList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(ysMemoizedSerializedSize); } - for (int i = 0; i < multiLineStrings_.size(); i++) { - output.writeMessage(5, multiLineStrings_.get(i)); + for (int i = 0; i < ys_.size(); i++) { + output.writeDoubleNoTag(ys_.getDouble(i)); } - for (int i = 0; i < multiPolygons_.size(); i++) { - output.writeMessage(6, multiPolygons_.get(i)); + if (getZsList().size() > 0) { + output.writeUInt32NoTag(26); + output.writeUInt32NoTag(zsMemoizedSerializedSize); } - for (int i = 0; i < geometryCollections_.size(); i++) { - output.writeMessage(7, geometryCollections_.get(i)); + for (int i = 0; i < zs_.size(); i++) { + output.writeDoubleNoTag(zs_.getDouble(i)); } - unknownFields.writeTo(output); + if (getCoordSeparatorsList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(coordSeparatorsMemoizedSerializedSize); + } + for (int i = 0; i < coordSeparators_.size(); i++) { + output.writeInt32NoTag(coordSeparators_.getInt(i)); + } + if (getPolygonSeparatorsList().size() > 0) { + output.writeUInt32NoTag(42); + output.writeUInt32NoTag(polygonSeparatorsMemoizedSerializedSize); + } + for (int i = 0; i < polygonSeparators_.size(); i++) { + output.writeInt32NoTag(polygonSeparators_.getInt(i)); + } + unknownFields.writeTo(output); } @java.lang.Override @@ -7988,33 +6676,66 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, points_.get(i)); - } - for (int i = 0; i < lineStrings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, lineStrings_.get(i)); - } - for (int i = 0; i < polygons_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, polygons_.get(i)); + { + int dataSize = 0; + dataSize = 8 * getXsList().size(); + size += dataSize; + if (!getXsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + xsMemoizedSerializedSize = dataSize; } - for (int i = 0; i < multiPoints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, multiPoints_.get(i)); + { + int dataSize = 0; + dataSize = 8 * getYsList().size(); + size += dataSize; + if (!getYsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + ysMemoizedSerializedSize = dataSize; } - for (int i = 0; i < multiLineStrings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, multiLineStrings_.get(i)); + { + int dataSize = 0; + dataSize = 8 * getZsList().size(); + size += dataSize; + if (!getZsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + zsMemoizedSerializedSize = dataSize; } - for (int i = 0; i < multiPolygons_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, multiPolygons_.get(i)); + { + int dataSize = 0; + for (int i = 0; i < coordSeparators_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(coordSeparators_.getInt(i)); + } + size += dataSize; + if (!getCoordSeparatorsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + coordSeparatorsMemoizedSerializedSize = dataSize; } - for (int i = 0; i < geometryCollections_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, geometryCollections_.get(i)); + { + int dataSize = 0; + for (int i = 0; i < polygonSeparators_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(polygonSeparators_.getInt(i)); + } + size += dataSize; + if (!getPolygonSeparatorsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + polygonSeparatorsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8026,25 +6747,21 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection)) { + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon)) { return super.equals(obj); } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) obj; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) obj; - if (!getPointsList() - .equals(other.getPointsList())) return false; - if (!getLineStringsList() - .equals(other.getLineStringsList())) return false; - if (!getPolygonsList() - .equals(other.getPolygonsList())) return false; - if (!getMultiPointsList() - .equals(other.getMultiPointsList())) return false; - if (!getMultiLineStringsList() - .equals(other.getMultiLineStringsList())) return false; - if (!getMultiPolygonsList() - .equals(other.getMultiPolygonsList())) return false; - if (!getGeometryCollectionsList() - .equals(other.getGeometryCollectionsList())) return false; + if (!getXsList() + .equals(other.getXsList())) return false; + if (!getYsList() + .equals(other.getYsList())) return false; + if (!getZsList() + .equals(other.getZsList())) return false; + if (!getCoordSeparatorsList() + .equals(other.getCoordSeparatorsList())) return false; + if (!getPolygonSeparatorsList() + .equals(other.getPolygonSeparatorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8056,84 +6773,76 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getPointsCount() > 0) { - hash = (37 * hash) + POINTS_FIELD_NUMBER; - hash = (53 * hash) + getPointsList().hashCode(); - } - if (getLineStringsCount() > 0) { - hash = (37 * hash) + LINESTRINGS_FIELD_NUMBER; - hash = (53 * hash) + getLineStringsList().hashCode(); - } - if (getPolygonsCount() > 0) { - hash = (37 * hash) + POLYGONS_FIELD_NUMBER; - hash = (53 * hash) + getPolygonsList().hashCode(); + if (getXsCount() > 0) { + hash = (37 * hash) + XS_FIELD_NUMBER; + hash = (53 * hash) + getXsList().hashCode(); } - if (getMultiPointsCount() > 0) { - hash = (37 * hash) + MULTIPOINTS_FIELD_NUMBER; - hash = (53 * hash) + getMultiPointsList().hashCode(); + if (getYsCount() > 0) { + hash = (37 * hash) + YS_FIELD_NUMBER; + hash = (53 * hash) + getYsList().hashCode(); } - if (getMultiLineStringsCount() > 0) { - hash = (37 * hash) + MULTILINESTRINGS_FIELD_NUMBER; - hash = (53 * hash) + getMultiLineStringsList().hashCode(); + if (getZsCount() > 0) { + hash = (37 * hash) + ZS_FIELD_NUMBER; + hash = (53 * hash) + getZsList().hashCode(); } - if (getMultiPolygonsCount() > 0) { - hash = (37 * hash) + MULTIPOLYGONS_FIELD_NUMBER; - hash = (53 * hash) + getMultiPolygonsList().hashCode(); + if (getCoordSeparatorsCount() > 0) { + hash = (37 * hash) + COORDSEPARATORS_FIELD_NUMBER; + hash = (53 * hash) + getCoordSeparatorsList().hashCode(); } - if (getGeometryCollectionsCount() > 0) { - hash = (37 * hash) + GEOMETRYCOLLECTIONS_FIELD_NUMBER; - hash = (53 * hash) + getGeometryCollectionsList().hashCode(); + if (getPolygonSeparatorsCount() > 0) { + hash = (37 * hash) + POLYGONSEPARATORS_FIELD_NUMBER; + hash = (53 * hash) + getPolygonSeparatorsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom(byte[] data) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8141,13 +6850,13 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollect .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseDelimitedFrom(java.io.InputStream input) + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseDelimitedFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8155,14 +6864,14 @@ public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollect .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8179,7 +6888,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection prototype) { + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -8192,35 +6901,39 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** *
-         * GeometryCollection
-         * 注意 GeometryCollection允许嵌套
+         * MultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。
+         * polygonSeparators用于将坐标串分割为子多边形 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],
+         * 则polygonSeparators=[3,7]将坐标串分割为MultiPolygon(((p0 p1 p2)),((p3 p4 p5 p6)),((p7 p8 p9)))。
+         * 即polygonSeparators[i]的意义为第i个子多边形的终点(从0开始计数);最后一个子多边形的终点显然是数组的最后一位,故将其省略。
+         * 经过polygonSeparators分割后的子多边形坐标串,进一步由coordSeparators分割为环,分割依据与Polygon的separators一致
          * 
*

- * Protobuf type {@code pojo.GeometryCollection} + * Protobuf type {@code pojo.MultiPolygon} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.GeometryCollection) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder { + // @@protoc_insertion_point(builder_implements:pojo.MultiPolygon) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_descriptor; + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_fieldAccessorTable + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder.class); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder.class); } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.newBuilder() + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -8234,151 +6947,74 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getPointsFieldBuilder(); - getLineStringsFieldBuilder(); - getPolygonsFieldBuilder(); - getMultiPointsFieldBuilder(); - getMultiLineStringsFieldBuilder(); - getMultiPolygonsFieldBuilder(); - getGeometryCollectionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (pointsBuilder_ == null) { - points_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - pointsBuilder_.clear(); - } - if (lineStringsBuilder_ == null) { - lineStrings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - lineStringsBuilder_.clear(); - } - if (polygonsBuilder_ == null) { - polygons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - polygonsBuilder_.clear(); - } - if (multiPointsBuilder_ == null) { - multiPoints_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - multiPointsBuilder_.clear(); - } - if (multiLineStringsBuilder_ == null) { - multiLineStrings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - multiLineStringsBuilder_.clear(); - } - if (multiPolygonsBuilder_ == null) { - multiPolygons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - multiPolygonsBuilder_.clear(); - } - if (geometryCollectionsBuilder_ == null) { - geometryCollections_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - } else { - geometryCollectionsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_descriptor; - } - - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance(); - } - - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + xs_ = emptyDoubleList(); + bitField0_ = (bitField0_ & ~0x00000001); + ys_ = emptyDoubleList(); + bitField0_ = (bitField0_ & ~0x00000002); + zs_ = emptyDoubleList(); + bitField0_ = (bitField0_ & ~0x00000004); + coordSeparators_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + polygonSeparators_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_MultiPolygon_descriptor; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance(); + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } return result; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection(this); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon(this); int from_bitField0_ = bitField0_; - if (pointsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - points_ = java.util.Collections.unmodifiableList(points_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.points_ = points_; - } else { - result.points_ = pointsBuilder_.build(); - } - if (lineStringsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - lineStrings_ = java.util.Collections.unmodifiableList(lineStrings_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.lineStrings_ = lineStrings_; - } else { - result.lineStrings_ = lineStringsBuilder_.build(); - } - if (polygonsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - polygons_ = java.util.Collections.unmodifiableList(polygons_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.polygons_ = polygons_; - } else { - result.polygons_ = polygonsBuilder_.build(); + if (((bitField0_ & 0x00000001) != 0)) { + xs_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); } - if (multiPointsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - multiPoints_ = java.util.Collections.unmodifiableList(multiPoints_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.multiPoints_ = multiPoints_; - } else { - result.multiPoints_ = multiPointsBuilder_.build(); + result.xs_ = xs_; + if (((bitField0_ & 0x00000002) != 0)) { + ys_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000002); } - if (multiLineStringsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - multiLineStrings_ = java.util.Collections.unmodifiableList(multiLineStrings_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.multiLineStrings_ = multiLineStrings_; - } else { - result.multiLineStrings_ = multiLineStringsBuilder_.build(); + result.ys_ = ys_; + if (((bitField0_ & 0x00000004) != 0)) { + zs_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000004); } - if (multiPolygonsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - multiPolygons_ = java.util.Collections.unmodifiableList(multiPolygons_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.multiPolygons_ = multiPolygons_; - } else { - result.multiPolygons_ = multiPolygonsBuilder_.build(); + result.zs_ = zs_; + if (((bitField0_ & 0x00000008) != 0)) { + coordSeparators_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000008); } - if (geometryCollectionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { - geometryCollections_ = java.util.Collections.unmodifiableList(geometryCollections_); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.geometryCollections_ = geometryCollections_; - } else { - result.geometryCollections_ = geometryCollectionsBuilder_.build(); + result.coordSeparators_ = coordSeparators_; + if (((bitField0_ & 0x00000010) != 0)) { + polygonSeparators_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000010); } + result.polygonSeparators_ = polygonSeparators_; onBuilt(); return result; } @@ -8423,198 +7059,66 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) other); + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance()) + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance()) return this; - if (pointsBuilder_ == null) { - if (!other.points_.isEmpty()) { - if (points_.isEmpty()) { - points_ = other.points_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePointsIsMutable(); - points_.addAll(other.points_); - } - onChanged(); - } - } else { - if (!other.points_.isEmpty()) { - if (pointsBuilder_.isEmpty()) { - pointsBuilder_.dispose(); - pointsBuilder_ = null; - points_ = other.points_; - bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointsFieldBuilder() : null; - } else { - pointsBuilder_.addAllMessages(other.points_); - } + if (!other.xs_.isEmpty()) { + if (xs_.isEmpty()) { + xs_ = other.xs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureXsIsMutable(); + xs_.addAll(other.xs_); } + onChanged(); } - if (lineStringsBuilder_ == null) { - if (!other.lineStrings_.isEmpty()) { - if (lineStrings_.isEmpty()) { - lineStrings_ = other.lineStrings_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureLineStringsIsMutable(); - lineStrings_.addAll(other.lineStrings_); - } - onChanged(); + if (!other.ys_.isEmpty()) { + if (ys_.isEmpty()) { + ys_ = other.ys_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureYsIsMutable(); + ys_.addAll(other.ys_); } - } else { - if (!other.lineStrings_.isEmpty()) { - if (lineStringsBuilder_.isEmpty()) { - lineStringsBuilder_.dispose(); - lineStringsBuilder_ = null; - lineStrings_ = other.lineStrings_; - bitField0_ = (bitField0_ & ~0x00000002); - lineStringsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLineStringsFieldBuilder() : null; - } else { - lineStringsBuilder_.addAllMessages(other.lineStrings_); - } + onChanged(); + } + if (!other.zs_.isEmpty()) { + if (zs_.isEmpty()) { + zs_ = other.zs_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureZsIsMutable(); + zs_.addAll(other.zs_); } + onChanged(); } - if (polygonsBuilder_ == null) { - if (!other.polygons_.isEmpty()) { - if (polygons_.isEmpty()) { - polygons_ = other.polygons_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensurePolygonsIsMutable(); - polygons_.addAll(other.polygons_); - } - onChanged(); + if (!other.coordSeparators_.isEmpty()) { + if (coordSeparators_.isEmpty()) { + coordSeparators_ = other.coordSeparators_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureCoordSeparatorsIsMutable(); + coordSeparators_.addAll(other.coordSeparators_); } - } else { - if (!other.polygons_.isEmpty()) { - if (polygonsBuilder_.isEmpty()) { - polygonsBuilder_.dispose(); - polygonsBuilder_ = null; - polygons_ = other.polygons_; - bitField0_ = (bitField0_ & ~0x00000004); - polygonsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPolygonsFieldBuilder() : null; - } else { - polygonsBuilder_.addAllMessages(other.polygons_); - } - } - } - if (multiPointsBuilder_ == null) { - if (!other.multiPoints_.isEmpty()) { - if (multiPoints_.isEmpty()) { - multiPoints_ = other.multiPoints_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureMultiPointsIsMutable(); - multiPoints_.addAll(other.multiPoints_); - } - onChanged(); - } - } else { - if (!other.multiPoints_.isEmpty()) { - if (multiPointsBuilder_.isEmpty()) { - multiPointsBuilder_.dispose(); - multiPointsBuilder_ = null; - multiPoints_ = other.multiPoints_; - bitField0_ = (bitField0_ & ~0x00000008); - multiPointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMultiPointsFieldBuilder() : null; - } else { - multiPointsBuilder_.addAllMessages(other.multiPoints_); - } - } - } - if (multiLineStringsBuilder_ == null) { - if (!other.multiLineStrings_.isEmpty()) { - if (multiLineStrings_.isEmpty()) { - multiLineStrings_ = other.multiLineStrings_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureMultiLineStringsIsMutable(); - multiLineStrings_.addAll(other.multiLineStrings_); - } - onChanged(); - } - } else { - if (!other.multiLineStrings_.isEmpty()) { - if (multiLineStringsBuilder_.isEmpty()) { - multiLineStringsBuilder_.dispose(); - multiLineStringsBuilder_ = null; - multiLineStrings_ = other.multiLineStrings_; - bitField0_ = (bitField0_ & ~0x00000010); - multiLineStringsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMultiLineStringsFieldBuilder() : null; - } else { - multiLineStringsBuilder_.addAllMessages(other.multiLineStrings_); - } - } - } - if (multiPolygonsBuilder_ == null) { - if (!other.multiPolygons_.isEmpty()) { - if (multiPolygons_.isEmpty()) { - multiPolygons_ = other.multiPolygons_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureMultiPolygonsIsMutable(); - multiPolygons_.addAll(other.multiPolygons_); - } - onChanged(); - } - } else { - if (!other.multiPolygons_.isEmpty()) { - if (multiPolygonsBuilder_.isEmpty()) { - multiPolygonsBuilder_.dispose(); - multiPolygonsBuilder_ = null; - multiPolygons_ = other.multiPolygons_; - bitField0_ = (bitField0_ & ~0x00000020); - multiPolygonsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMultiPolygonsFieldBuilder() : null; - } else { - multiPolygonsBuilder_.addAllMessages(other.multiPolygons_); - } - } - } - if (geometryCollectionsBuilder_ == null) { - if (!other.geometryCollections_.isEmpty()) { - if (geometryCollections_.isEmpty()) { - geometryCollections_ = other.geometryCollections_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureGeometryCollectionsIsMutable(); - geometryCollections_.addAll(other.geometryCollections_); - } - onChanged(); - } - } else { - if (!other.geometryCollections_.isEmpty()) { - if (geometryCollectionsBuilder_.isEmpty()) { - geometryCollectionsBuilder_.dispose(); - geometryCollectionsBuilder_ = null; - geometryCollections_ = other.geometryCollections_; - bitField0_ = (bitField0_ & ~0x00000040); - geometryCollectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGeometryCollectionsFieldBuilder() : null; - } else { - geometryCollectionsBuilder_.addAllMessages(other.geometryCollections_); - } + onChanged(); + } + if (!other.polygonSeparators_.isEmpty()) { + if (polygonSeparators_.isEmpty()) { + polygonSeparators_ = other.polygonSeparators_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensurePolygonSeparatorsIsMutable(); + polygonSeparators_.addAll(other.polygonSeparators_); } + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -8631,11 +7135,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parsedMessage = null; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) e.getUnfinishedMessage(); + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8647,3919 +7151,3862 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List points_ = - java.util.Collections.emptyList(); + private com.google.protobuf.Internal.DoubleList xs_ = emptyDoubleList(); - private void ensurePointsIsMutable() { + private void ensureXsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(points_); + xs_ = mutableCopy(xs_); bitField0_ |= 0x00000001; } } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> pointsBuilder_; - /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return A list containing the xs. */ - public java.util.List getPointsList() { - if (pointsBuilder_ == null) { - return java.util.Collections.unmodifiableList(points_); - } else { - return pointsBuilder_.getMessageList(); - } + public java.util.List + getXsList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(xs_) : xs_; } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return The count of xs. */ - public int getPointsCount() { - if (pointsBuilder_ == null) { - return points_.size(); - } else { - return pointsBuilder_.getCount(); - } + public int getXsCount() { + return xs_.size(); } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @param index The index of the element to return. + * @return The xs at the given index. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoints(int index) { - if (pointsBuilder_ == null) { - return points_.get(index); - } else { - return pointsBuilder_.getMessage(index); - } + public double getXs(int index) { + return xs_.getDouble(index); } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @param index The index to set the value at. + * @param value The xs to set. + * @return This builder for chaining. */ - public Builder setPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { - if (pointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePointsIsMutable(); - points_.set(index, value); - onChanged(); - } else { - pointsBuilder_.setMessage(index, value); - } + public Builder setXs( + int index, double value) { + ensureXsIsMutable(); + xs_.setDouble(index, value); + onChanged(); return this; } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @param value The xs to add. + * @return This builder for chaining. */ - public Builder setPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - points_.set(index, builderForValue.build()); - onChanged(); - } else { - pointsBuilder_.setMessage(index, builderForValue.build()); - } + public Builder addXs(double value) { + ensureXsIsMutable(); + xs_.addDouble(value); + onChanged(); return this; } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @param values The xs to add. + * @return This builder for chaining. */ - public Builder addPoints(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { - if (pointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePointsIsMutable(); - points_.add(value); - onChanged(); - } else { - pointsBuilder_.addMessage(value); - } + public Builder addAllXs( + java.lang.Iterable values) { + ensureXsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, xs_); + onChanged(); return this; } /** - * repeated .pojo.Point points = 1; + * repeated double xs = 1; + * + * @return This builder for chaining. */ - public Builder addPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { - if (pointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePointsIsMutable(); - points_.add(index, value); - onChanged(); - } else { - pointsBuilder_.addMessage(index, value); - } + public Builder clearXs() { + xs_ = emptyDoubleList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); return this; } - /** - * repeated .pojo.Point points = 1; - */ - public Builder addPoints( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - points_.add(builderForValue.build()); - onChanged(); - } else { - pointsBuilder_.addMessage(builderForValue.build()); + private com.google.protobuf.Internal.DoubleList ys_ = emptyDoubleList(); + + private void ensureYsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + ys_ = mutableCopy(ys_); + bitField0_ |= 0x00000002; } - return this; } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @return A list containing the ys. */ - public Builder addPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - points_.add(index, builderForValue.build()); - onChanged(); - } else { - pointsBuilder_.addMessage(index, builderForValue.build()); - } - return this; + public java.util.List + getYsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(ys_) : ys_; } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @return The count of ys. */ - public Builder addAllPoints( - java.lang.Iterable values) { - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, points_); - onChanged(); - } else { - pointsBuilder_.addAllMessages(values); - } - return this; + public int getYsCount() { + return ys_.size(); } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @param index The index of the element to return. + * @return The ys at the given index. */ - public Builder clearPoints() { - if (pointsBuilder_ == null) { - points_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - pointsBuilder_.clear(); - } - return this; + public double getYs(int index) { + return ys_.getDouble(index); } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @param index The index to set the value at. + * @param value The ys to set. + * @return This builder for chaining. */ - public Builder removePoints(int index) { - if (pointsBuilder_ == null) { - ensurePointsIsMutable(); - points_.remove(index); - onChanged(); - } else { - pointsBuilder_.remove(index); - } + public Builder setYs( + int index, double value) { + ensureYsIsMutable(); + ys_.setDouble(index, value); + onChanged(); return this; } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @param value The ys to add. + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder getPointsBuilder( - int index) { - return getPointsFieldBuilder().getBuilder(index); + public Builder addYs(double value) { + ensureYsIsMutable(); + ys_.addDouble(value); + onChanged(); + return this; } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @param values The ys to add. + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointsOrBuilder( - int index) { - if (pointsBuilder_ == null) { - return points_.get(index); - } else { - return pointsBuilder_.getMessageOrBuilder(index); - } + public Builder addAllYs( + java.lang.Iterable values) { + ensureYsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ys_); + onChanged(); + return this; } /** - * repeated .pojo.Point points = 1; + * repeated double ys = 2; + * + * @return This builder for chaining. */ - public java.util.List - getPointsOrBuilderList() { - if (pointsBuilder_ != null) { - return pointsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(points_); + public Builder clearYs() { + ys_ = emptyDoubleList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.DoubleList zs_ = emptyDoubleList(); + + private void ensureZsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + zs_ = mutableCopy(zs_); + bitField0_ |= 0x00000004; } } /** - * repeated .pojo.Point points = 1; + * repeated double zs = 3; + * + * @return A list containing the zs. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder addPointsBuilder() { - return getPointsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance()); + public java.util.List + getZsList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(zs_) : zs_; } /** - * repeated .pojo.Point points = 1; + * repeated double zs = 3; + * + * @return The count of zs. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder addPointsBuilder( - int index) { - return getPointsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance()); + public int getZsCount() { + return zs_.size(); } /** - * repeated .pojo.Point points = 1; + * repeated double zs = 3; + * + * @param index The index of the element to return. + * @return The zs at the given index. */ - public java.util.List - getPointsBuilderList() { - return getPointsFieldBuilder().getBuilderList(); + public double getZs(int index) { + return zs_.getDouble(index); } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> - getPointsFieldBuilder() { - if (pointsBuilder_ == null) { - pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder>( - points_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - points_ = null; - } - return pointsBuilder_; + /** + * repeated double zs = 3; + * + * @param index The index to set the value at. + * @param value The zs to set. + * @return This builder for chaining. + */ + public Builder setZs( + int index, double value) { + ensureZsIsMutable(); + zs_.setDouble(index, value); + onChanged(); + return this; } - private java.util.List lineStrings_ = - java.util.Collections.emptyList(); - - private void ensureLineStringsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - lineStrings_ = new java.util.ArrayList(lineStrings_); - bitField0_ |= 0x00000002; - } + /** + * repeated double zs = 3; + * + * @param value The zs to add. + * @return This builder for chaining. + */ + public Builder addZs(double value) { + ensureZsIsMutable(); + zs_.addDouble(value); + onChanged(); + return this; } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> lineStringsBuilder_; - /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double zs = 3; + * + * @param values The zs to add. + * @return This builder for chaining. */ - public java.util.List getLineStringsList() { - if (lineStringsBuilder_ == null) { - return java.util.Collections.unmodifiableList(lineStrings_); - } else { - return lineStringsBuilder_.getMessageList(); - } + public Builder addAllZs( + java.lang.Iterable values) { + ensureZsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, zs_); + onChanged(); + return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated double zs = 3; + * + * @return This builder for chaining. */ - public int getLineStringsCount() { - if (lineStringsBuilder_ == null) { - return lineStrings_.size(); - } else { - return lineStringsBuilder_.getCount(); + public Builder clearZs() { + zs_ = emptyDoubleList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList coordSeparators_ = emptyIntList(); + + private void ensureCoordSeparatorsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + coordSeparators_ = mutableCopy(coordSeparators_); + bitField0_ |= 0x00000008; } } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 coordSeparators = 4; + * + * @return A list containing the coordSeparators. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineStrings(int index) { - if (lineStringsBuilder_ == null) { - return lineStrings_.get(index); - } else { - return lineStringsBuilder_.getMessage(index); - } + public java.util.List + getCoordSeparatorsList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(coordSeparators_) : coordSeparators_; } /** - * repeated .pojo.LineString lineStrings = 2; - */ - public Builder setLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { - if (lineStringsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLineStringsIsMutable(); - lineStrings_.set(index, value); - onChanged(); - } else { - lineStringsBuilder_.setMessage(index, value); - } - return this; + * repeated int32 coordSeparators = 4; + * + * @return The count of coordSeparators. + */ + public int getCoordSeparatorsCount() { + return coordSeparators_.size(); } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 coordSeparators = 4; + * + * @param index The index of the element to return. + * @return The coordSeparators at the given index. */ - public Builder setLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { - if (lineStringsBuilder_ == null) { - ensureLineStringsIsMutable(); - lineStrings_.set(index, builderForValue.build()); - onChanged(); - } else { - lineStringsBuilder_.setMessage(index, builderForValue.build()); - } - return this; + public int getCoordSeparators(int index) { + return coordSeparators_.getInt(index); } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 coordSeparators = 4; + * + * @param index The index to set the value at. + * @param value The coordSeparators to set. + * @return This builder for chaining. */ - public Builder addLineStrings(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { - if (lineStringsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLineStringsIsMutable(); - lineStrings_.add(value); - onChanged(); - } else { - lineStringsBuilder_.addMessage(value); - } + public Builder setCoordSeparators( + int index, int value) { + ensureCoordSeparatorsIsMutable(); + coordSeparators_.setInt(index, value); + onChanged(); return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 coordSeparators = 4; + * + * @param value The coordSeparators to add. + * @return This builder for chaining. */ - public Builder addLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { - if (lineStringsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLineStringsIsMutable(); - lineStrings_.add(index, value); - onChanged(); - } else { - lineStringsBuilder_.addMessage(index, value); - } + public Builder addCoordSeparators(int value) { + ensureCoordSeparatorsIsMutable(); + coordSeparators_.addInt(value); + onChanged(); return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 coordSeparators = 4; + * + * @param values The coordSeparators to add. + * @return This builder for chaining. */ - public Builder addLineStrings( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { - if (lineStringsBuilder_ == null) { - ensureLineStringsIsMutable(); - lineStrings_.add(builderForValue.build()); - onChanged(); - } else { - lineStringsBuilder_.addMessage(builderForValue.build()); - } + public Builder addAllCoordSeparators( + java.lang.Iterable values) { + ensureCoordSeparatorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, coordSeparators_); + onChanged(); return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 coordSeparators = 4; + * + * @return This builder for chaining. */ - public Builder addLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { - if (lineStringsBuilder_ == null) { - ensureLineStringsIsMutable(); - lineStrings_.add(index, builderForValue.build()); - onChanged(); - } else { - lineStringsBuilder_.addMessage(index, builderForValue.build()); - } + public Builder clearCoordSeparators() { + coordSeparators_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); return this; } - /** - * repeated .pojo.LineString lineStrings = 2; - */ - public Builder addAllLineStrings( - java.lang.Iterable values) { - if (lineStringsBuilder_ == null) { - ensureLineStringsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, lineStrings_); - onChanged(); - } else { - lineStringsBuilder_.addAllMessages(values); + private com.google.protobuf.Internal.IntList polygonSeparators_ = emptyIntList(); + + private void ensurePolygonSeparatorsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + polygonSeparators_ = mutableCopy(polygonSeparators_); + bitField0_ |= 0x00000010; } - return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @return A list containing the polygonSeparators. */ - public Builder clearLineStrings() { - if (lineStringsBuilder_ == null) { - lineStrings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - lineStringsBuilder_.clear(); - } - return this; + public java.util.List + getPolygonSeparatorsList() { + return ((bitField0_ & 0x00000010) != 0) ? + java.util.Collections.unmodifiableList(polygonSeparators_) : polygonSeparators_; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @return The count of polygonSeparators. */ - public Builder removeLineStrings(int index) { - if (lineStringsBuilder_ == null) { - ensureLineStringsIsMutable(); - lineStrings_.remove(index); - onChanged(); - } else { - lineStringsBuilder_.remove(index); - } - return this; + public int getPolygonSeparatorsCount() { + return polygonSeparators_.size(); } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @param index The index of the element to return. + * @return The polygonSeparators at the given index. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder getLineStringsBuilder( - int index) { - return getLineStringsFieldBuilder().getBuilder(index); + public int getPolygonSeparators(int index) { + return polygonSeparators_.getInt(index); } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @param index The index to set the value at. + * @param value The polygonSeparators to set. + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringsOrBuilder( - int index) { - if (lineStringsBuilder_ == null) { - return lineStrings_.get(index); - } else { - return lineStringsBuilder_.getMessageOrBuilder(index); - } + public Builder setPolygonSeparators( + int index, int value) { + ensurePolygonSeparatorsIsMutable(); + polygonSeparators_.setInt(index, value); + onChanged(); + return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @param value The polygonSeparators to add. + * @return This builder for chaining. */ - public java.util.List - getLineStringsOrBuilderList() { - if (lineStringsBuilder_ != null) { - return lineStringsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(lineStrings_); - } + public Builder addPolygonSeparators(int value) { + ensurePolygonSeparatorsIsMutable(); + polygonSeparators_.addInt(value); + onChanged(); + return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @param values The polygonSeparators to add. + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder addLineStringsBuilder() { - return getLineStringsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance()); + public Builder addAllPolygonSeparators( + java.lang.Iterable values) { + ensurePolygonSeparatorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, polygonSeparators_); + onChanged(); + return this; } /** - * repeated .pojo.LineString lineStrings = 2; + * repeated int32 polygonSeparators = 5; + * + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder addLineStringsBuilder( - int index) { - return getLineStringsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance()); + public Builder clearPolygonSeparators() { + polygonSeparators_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; } - /** - * repeated .pojo.LineString lineStrings = 2; - */ - public java.util.List - getLineStringsBuilderList() { - return getLineStringsFieldBuilder().getBuilderList(); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> - getLineStringsFieldBuilder() { - if (lineStringsBuilder_ == null) { - lineStringsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder>( - lineStrings_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - lineStrings_ = null; - } - return lineStringsBuilder_; + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - private java.util.List polygons_ = - java.util.Collections.emptyList(); - private void ensurePolygonsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - polygons_ = new java.util.ArrayList(polygons_); - bitField0_ |= 0x00000004; - } - } + // @@protoc_insertion_point(builder_scope:pojo.MultiPolygon) + } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> polygonsBuilder_; + // @@protoc_insertion_point(class_scope:pojo.MultiPolygon) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon DEFAULT_INSTANCE; - /** - * repeated .pojo.Polygon polygons = 3; - */ - public java.util.List getPolygonsList() { - if (polygonsBuilder_ == null) { - return java.util.Collections.unmodifiableList(polygons_); - } else { - return polygonsBuilder_.getMessageList(); - } - } + static { + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon(); + } - /** - * repeated .pojo.Polygon polygons = 3; - */ - public int getPolygonsCount() { - if (polygonsBuilder_ == null) { - return polygons_.size(); - } else { - return polygonsBuilder_.getCount(); - } - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * repeated .pojo.Polygon polygons = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygons(int index) { - if (polygonsBuilder_ == null) { - return polygons_.get(index); - } else { - return polygonsBuilder_.getMessage(index); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiPolygon parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MultiPolygon(input, extensionRegistry); } + }; - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder setPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { - if (polygonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePolygonsIsMutable(); - polygons_.set(index, value); - onChanged(); - } else { - polygonsBuilder_.setMessage(index, value); - } - return this; - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder setPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { - if (polygonsBuilder_ == null) { - ensurePolygonsIsMutable(); - polygons_.set(index, builderForValue.build()); - onChanged(); - } else { - polygonsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder addPolygons(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { - if (polygonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePolygonsIsMutable(); - polygons_.add(value); - onChanged(); - } else { - polygonsBuilder_.addMessage(value); - } - return this; - } + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder addPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { - if (polygonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePolygonsIsMutable(); - polygons_.add(index, value); - onChanged(); - } else { - polygonsBuilder_.addMessage(index, value); - } - return this; - } + } - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder addPolygons( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { - if (polygonsBuilder_ == null) { - ensurePolygonsIsMutable(); - polygons_.add(builderForValue.build()); - onChanged(); - } else { - polygonsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + public interface GeometryCollectionOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.GeometryCollection) + com.google.protobuf.MessageOrBuilder { - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder addPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { - if (polygonsBuilder_ == null) { - ensurePolygonsIsMutable(); - polygons_.add(index, builderForValue.build()); - onChanged(); - } else { - polygonsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.Point points = 1; + */ + java.util.List + getPointsList(); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder addAllPolygons( - java.lang.Iterable values) { - if (polygonsBuilder_ == null) { - ensurePolygonsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, polygons_); - onChanged(); - } else { - polygonsBuilder_.addAllMessages(values); - } - return this; - } + /** + * repeated .pojo.Point points = 1; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoints(int index); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder clearPolygons() { - if (polygonsBuilder_ == null) { - polygons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - polygonsBuilder_.clear(); - } - return this; - } + /** + * repeated .pojo.Point points = 1; + */ + int getPointsCount(); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public Builder removePolygons(int index) { - if (polygonsBuilder_ == null) { - ensurePolygonsIsMutable(); - polygons_.remove(index); - onChanged(); - } else { - polygonsBuilder_.remove(index); - } - return this; - } + /** + * repeated .pojo.Point points = 1; + */ + java.util.List + getPointsOrBuilderList(); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder getPolygonsBuilder( - int index) { - return getPolygonsFieldBuilder().getBuilder(index); - } + /** + * repeated .pojo.Point points = 1; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointsOrBuilder( + int index); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonsOrBuilder( - int index) { - if (polygonsBuilder_ == null) { - return polygons_.get(index); - } else { - return polygonsBuilder_.getMessageOrBuilder(index); - } - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + java.util.List + getLineStringsList(); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public java.util.List - getPolygonsOrBuilderList() { - if (polygonsBuilder_ != null) { - return polygonsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(polygons_); - } - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineStrings(int index); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder addPolygonsBuilder() { - return getPolygonsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance()); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + int getLineStringsCount(); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder addPolygonsBuilder( - int index) { - return getPolygonsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance()); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + java.util.List + getLineStringsOrBuilderList(); - /** - * repeated .pojo.Polygon polygons = 3; - */ - public java.util.List - getPolygonsBuilderList() { - return getPolygonsFieldBuilder().getBuilderList(); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringsOrBuilder( + int index); - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> - getPolygonsFieldBuilder() { - if (polygonsBuilder_ == null) { - polygonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder>( - polygons_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - polygons_ = null; - } - return polygonsBuilder_; - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + java.util.List + getPolygonsList(); - private java.util.List multiPoints_ = - java.util.Collections.emptyList(); + /** + * repeated .pojo.Polygon polygons = 3; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygons(int index); - private void ensureMultiPointsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - multiPoints_ = new java.util.ArrayList(multiPoints_); - bitField0_ |= 0x00000008; - } - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + int getPolygonsCount(); - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> multiPointsBuilder_; + /** + * repeated .pojo.Polygon polygons = 3; + */ + java.util.List + getPolygonsOrBuilderList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public java.util.List getMultiPointsList() { - if (multiPointsBuilder_ == null) { - return java.util.Collections.unmodifiableList(multiPoints_); - } else { - return multiPointsBuilder_.getMessageList(); - } - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonsOrBuilder( + int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public int getMultiPointsCount() { - if (multiPointsBuilder_ == null) { - return multiPoints_.size(); - } else { - return multiPointsBuilder_.getCount(); - } - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + java.util.List + getMultiPointsList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoints(int index) { - if (multiPointsBuilder_ == null) { - return multiPoints_.get(index); - } else { - return multiPointsBuilder_.getMessage(index); - } - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoints(int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder setMultiPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { - if (multiPointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiPointsIsMutable(); - multiPoints_.set(index, value); - onChanged(); - } else { - multiPointsBuilder_.setMessage(index, value); - } - return this; - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + int getMultiPointsCount(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder setMultiPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { - if (multiPointsBuilder_ == null) { - ensureMultiPointsIsMutable(); - multiPoints_.set(index, builderForValue.build()); - onChanged(); - } else { - multiPointsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + java.util.List + getMultiPointsOrBuilderList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder addMultiPoints(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { - if (multiPointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiPointsIsMutable(); - multiPoints_.add(value); - onChanged(); - } else { - multiPointsBuilder_.addMessage(value); - } - return this; - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointsOrBuilder( + int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder addMultiPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { - if (multiPointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiPointsIsMutable(); - multiPoints_.add(index, value); - onChanged(); - } else { - multiPointsBuilder_.addMessage(index, value); - } - return this; - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + java.util.List + getMultiLineStringsList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder addMultiPoints( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { - if (multiPointsBuilder_ == null) { - ensureMultiPointsIsMutable(); - multiPoints_.add(builderForValue.build()); - onChanged(); - } else { - multiPointsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineStrings(int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder addMultiPoints( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { - if (multiPointsBuilder_ == null) { - ensureMultiPointsIsMutable(); - multiPoints_.add(index, builderForValue.build()); - onChanged(); - } else { - multiPointsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + int getMultiLineStringsCount(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder addAllMultiPoints( - java.lang.Iterable values) { - if (multiPointsBuilder_ == null) { - ensureMultiPointsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, multiPoints_); - onChanged(); - } else { - multiPointsBuilder_.addAllMessages(values); - } - return this; - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + java.util.List + getMultiLineStringsOrBuilderList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder clearMultiPoints() { - if (multiPointsBuilder_ == null) { - multiPoints_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - multiPointsBuilder_.clear(); - } - return this; - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringsOrBuilder( + int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public Builder removeMultiPoints(int index) { - if (multiPointsBuilder_ == null) { - ensureMultiPointsIsMutable(); - multiPoints_.remove(index); - onChanged(); - } else { - multiPointsBuilder_.remove(index); - } - return this; - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + java.util.List + getMultiPolygonsList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder getMultiPointsBuilder( - int index) { - return getMultiPointsFieldBuilder().getBuilder(index); - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygons(int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointsOrBuilder( - int index) { - if (multiPointsBuilder_ == null) { - return multiPoints_.get(index); - } else { - return multiPointsBuilder_.getMessageOrBuilder(index); - } - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + int getMultiPolygonsCount(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public java.util.List - getMultiPointsOrBuilderList() { - if (multiPointsBuilder_ != null) { - return multiPointsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(multiPoints_); - } - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + java.util.List + getMultiPolygonsOrBuilderList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder addMultiPointsBuilder() { - return getMultiPointsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance()); - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonsOrBuilder( + int index); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder addMultiPointsBuilder( - int index) { - return getMultiPointsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance()); - } + /** + *

+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + java.util.List + getGeometryCollectionsList(); - /** - * repeated .pojo.MultiPoint multiPoints = 4; - */ - public java.util.List - getMultiPointsBuilderList() { - return getMultiPointsFieldBuilder().getBuilderList(); - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollections(int index); - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> - getMultiPointsFieldBuilder() { - if (multiPointsBuilder_ == null) { - multiPointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder>( - multiPoints_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - multiPoints_ = null; - } - return multiPointsBuilder_; - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + int getGeometryCollectionsCount(); - private java.util.List multiLineStrings_ = - java.util.Collections.emptyList(); + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + java.util.List + getGeometryCollectionsOrBuilderList(); - private void ensureMultiLineStringsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - multiLineStrings_ = new java.util.ArrayList(multiLineStrings_); - bitField0_ |= 0x00000010; - } - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionsOrBuilder( + int index); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> multiLineStringsBuilder_; + /** + *
+     * GeometryCollection
+     * 注意 GeometryCollection允许嵌套
+     * 
+ *

+ * Protobuf type {@code pojo.GeometryCollection} + */ + public static final class GeometryCollection extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:pojo.GeometryCollection) + GeometryCollectionOrBuilder { + private static final long serialVersionUID = 0L; - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public java.util.List getMultiLineStringsList() { - if (multiLineStringsBuilder_ == null) { - return java.util.Collections.unmodifiableList(multiLineStrings_); - } else { - return multiLineStringsBuilder_.getMessageList(); - } - } + // Use GeometryCollection.newBuilder() to construct. + private GeometryCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public int getMultiLineStringsCount() { - if (multiLineStringsBuilder_ == null) { - return multiLineStrings_.size(); - } else { - return multiLineStringsBuilder_.getCount(); - } - } + private GeometryCollection() { + points_ = java.util.Collections.emptyList(); + lineStrings_ = java.util.Collections.emptyList(); + polygons_ = java.util.Collections.emptyList(); + multiPoints_ = java.util.Collections.emptyList(); + multiLineStrings_ = java.util.Collections.emptyList(); + multiPolygons_ = java.util.Collections.emptyList(); + geometryCollections_ = java.util.Collections.emptyList(); + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineStrings(int index) { - if (multiLineStringsBuilder_ == null) { - return multiLineStrings_.get(index); - } else { - return multiLineStringsBuilder_.getMessage(index); - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GeometryCollection(); + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder setMultiLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { - if (multiLineStringsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiLineStringsIsMutable(); - multiLineStrings_.set(index, value); - onChanged(); - } else { - multiLineStringsBuilder_.setMessage(index, value); - } - return this; - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder setMultiLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { - if (multiLineStringsBuilder_ == null) { - ensureMultiLineStringsIsMutable(); - multiLineStrings_.set(index, builderForValue.build()); - onChanged(); - } else { - multiLineStringsBuilder_.setMessage(index, builderForValue.build()); - } - return this; + private GeometryCollection( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder addMultiLineStrings(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { - if (multiLineStringsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + points_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + lineStrings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + lineStrings_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + polygons_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + polygons_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + multiPoints_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + multiPoints_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + multiLineStrings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + multiLineStrings_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + multiPolygons_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + multiPolygons_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.parser(), extensionRegistry)); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + geometryCollections_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000040; + } + geometryCollections_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } - ensureMultiLineStringsIsMutable(); - multiLineStrings_.add(value); - onChanged(); - } else { - multiLineStringsBuilder_.addMessage(value); } - return this; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder addMultiLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { - if (multiLineStringsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiLineStringsIsMutable(); - multiLineStrings_.add(index, value); - onChanged(); - } else { - multiLineStringsBuilder_.addMessage(index, value); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = java.util.Collections.unmodifiableList(points_); } - return this; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder addMultiLineStrings( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { - if (multiLineStringsBuilder_ == null) { - ensureMultiLineStringsIsMutable(); - multiLineStrings_.add(builderForValue.build()); - onChanged(); - } else { - multiLineStringsBuilder_.addMessage(builderForValue.build()); + if (((mutable_bitField0_ & 0x00000002) != 0)) { + lineStrings_ = java.util.Collections.unmodifiableList(lineStrings_); } - return this; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder addMultiLineStrings( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { - if (multiLineStringsBuilder_ == null) { - ensureMultiLineStringsIsMutable(); - multiLineStrings_.add(index, builderForValue.build()); - onChanged(); - } else { - multiLineStringsBuilder_.addMessage(index, builderForValue.build()); + if (((mutable_bitField0_ & 0x00000004) != 0)) { + polygons_ = java.util.Collections.unmodifiableList(polygons_); } - return this; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder addAllMultiLineStrings( - java.lang.Iterable values) { - if (multiLineStringsBuilder_ == null) { - ensureMultiLineStringsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, multiLineStrings_); - onChanged(); - } else { - multiLineStringsBuilder_.addAllMessages(values); + if (((mutable_bitField0_ & 0x00000008) != 0)) { + multiPoints_ = java.util.Collections.unmodifiableList(multiPoints_); } - return this; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder clearMultiLineStrings() { - if (multiLineStringsBuilder_ == null) { - multiLineStrings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - multiLineStringsBuilder_.clear(); + if (((mutable_bitField0_ & 0x00000010) != 0)) { + multiLineStrings_ = java.util.Collections.unmodifiableList(multiLineStrings_); } - return this; - } - - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public Builder removeMultiLineStrings(int index) { - if (multiLineStringsBuilder_ == null) { - ensureMultiLineStringsIsMutable(); - multiLineStrings_.remove(index); - onChanged(); - } else { - multiLineStringsBuilder_.remove(index); + if (((mutable_bitField0_ & 0x00000020) != 0)) { + multiPolygons_ = java.util.Collections.unmodifiableList(multiPolygons_); } - return this; + if (((mutable_bitField0_ & 0x00000040) != 0)) { + geometryCollections_ = java.util.Collections.unmodifiableList(geometryCollections_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); } + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder getMultiLineStringsBuilder( - int index) { - return getMultiLineStringsFieldBuilder().getBuilder(index); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_descriptor; + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringsOrBuilder( - int index) { - if (multiLineStringsBuilder_ == null) { - return multiLineStrings_.get(index); - } else { - return multiLineStringsBuilder_.getMessageOrBuilder(index); - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder.class); + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public java.util.List - getMultiLineStringsOrBuilderList() { - if (multiLineStringsBuilder_ != null) { - return multiLineStringsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(multiLineStrings_); - } - } + public static final int POINTS_FIELD_NUMBER = 1; + private java.util.List points_; - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder addMultiLineStringsBuilder() { - return getMultiLineStringsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance()); - } + /** + * repeated .pojo.Point points = 1; + */ + @java.lang.Override + public java.util.List getPointsList() { + return points_; + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder addMultiLineStringsBuilder( - int index) { - return getMultiLineStringsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance()); - } + /** + * repeated .pojo.Point points = 1; + */ + @java.lang.Override + public java.util.List + getPointsOrBuilderList() { + return points_; + } - /** - * repeated .pojo.MultiLineString multiLineStrings = 5; - */ - public java.util.List - getMultiLineStringsBuilderList() { - return getMultiLineStringsFieldBuilder().getBuilderList(); - } + /** + * repeated .pojo.Point points = 1; + */ + @java.lang.Override + public int getPointsCount() { + return points_.size(); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> - getMultiLineStringsFieldBuilder() { - if (multiLineStringsBuilder_ == null) { - multiLineStringsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder>( - multiLineStrings_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - multiLineStrings_ = null; - } - return multiLineStringsBuilder_; - } + /** + * repeated .pojo.Point points = 1; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoints(int index) { + return points_.get(index); + } - private java.util.List multiPolygons_ = - java.util.Collections.emptyList(); + /** + * repeated .pojo.Point points = 1; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointsOrBuilder( + int index) { + return points_.get(index); + } - private void ensureMultiPolygonsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - multiPolygons_ = new java.util.ArrayList(multiPolygons_); - bitField0_ |= 0x00000020; - } - } + public static final int LINESTRINGS_FIELD_NUMBER = 2; + private java.util.List lineStrings_; - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> multiPolygonsBuilder_; + /** + * repeated .pojo.LineString lineStrings = 2; + */ + @java.lang.Override + public java.util.List getLineStringsList() { + return lineStrings_; + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public java.util.List getMultiPolygonsList() { - if (multiPolygonsBuilder_ == null) { - return java.util.Collections.unmodifiableList(multiPolygons_); - } else { - return multiPolygonsBuilder_.getMessageList(); - } - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + @java.lang.Override + public java.util.List + getLineStringsOrBuilderList() { + return lineStrings_; + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public int getMultiPolygonsCount() { - if (multiPolygonsBuilder_ == null) { - return multiPolygons_.size(); - } else { - return multiPolygonsBuilder_.getCount(); - } - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + @java.lang.Override + public int getLineStringsCount() { + return lineStrings_.size(); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygons(int index) { - if (multiPolygonsBuilder_ == null) { - return multiPolygons_.get(index); - } else { - return multiPolygonsBuilder_.getMessage(index); - } - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineStrings(int index) { + return lineStrings_.get(index); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder setMultiPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { - if (multiPolygonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiPolygonsIsMutable(); - multiPolygons_.set(index, value); - onChanged(); - } else { - multiPolygonsBuilder_.setMessage(index, value); - } - return this; - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringsOrBuilder( + int index) { + return lineStrings_.get(index); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder setMultiPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { - if (multiPolygonsBuilder_ == null) { - ensureMultiPolygonsIsMutable(); - multiPolygons_.set(index, builderForValue.build()); - onChanged(); - } else { - multiPolygonsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + public static final int POLYGONS_FIELD_NUMBER = 3; + private java.util.List polygons_; - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder addMultiPolygons(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { - if (multiPolygonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiPolygonsIsMutable(); - multiPolygons_.add(value); - onChanged(); - } else { - multiPolygonsBuilder_.addMessage(value); - } - return this; - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + @java.lang.Override + public java.util.List getPolygonsList() { + return polygons_; + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder addMultiPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { - if (multiPolygonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMultiPolygonsIsMutable(); - multiPolygons_.add(index, value); - onChanged(); - } else { - multiPolygonsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder addMultiPolygons( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { - if (multiPolygonsBuilder_ == null) { - ensureMultiPolygonsIsMutable(); - multiPolygons_.add(builderForValue.build()); - onChanged(); - } else { - multiPolygonsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + @java.lang.Override + public java.util.List + getPolygonsOrBuilderList() { + return polygons_; + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder addMultiPolygons( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { - if (multiPolygonsBuilder_ == null) { - ensureMultiPolygonsIsMutable(); - multiPolygons_.add(index, builderForValue.build()); - onChanged(); - } else { - multiPolygonsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + @java.lang.Override + public int getPolygonsCount() { + return polygons_.size(); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder addAllMultiPolygons( - java.lang.Iterable values) { - if (multiPolygonsBuilder_ == null) { - ensureMultiPolygonsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, multiPolygons_); - onChanged(); - } else { - multiPolygonsBuilder_.addAllMessages(values); - } - return this; - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygons(int index) { + return polygons_.get(index); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder clearMultiPolygons() { - if (multiPolygonsBuilder_ == null) { - multiPolygons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - multiPolygonsBuilder_.clear(); - } - return this; - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonsOrBuilder( + int index) { + return polygons_.get(index); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public Builder removeMultiPolygons(int index) { - if (multiPolygonsBuilder_ == null) { - ensureMultiPolygonsIsMutable(); - multiPolygons_.remove(index); - onChanged(); - } else { - multiPolygonsBuilder_.remove(index); - } - return this; - } + public static final int MULTIPOINTS_FIELD_NUMBER = 4; + private java.util.List multiPoints_; - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder getMultiPolygonsBuilder( - int index) { - return getMultiPolygonsFieldBuilder().getBuilder(index); - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + @java.lang.Override + public java.util.List getMultiPointsList() { + return multiPoints_; + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonsOrBuilder( - int index) { - if (multiPolygonsBuilder_ == null) { - return multiPolygons_.get(index); - } else { - return multiPolygonsBuilder_.getMessageOrBuilder(index); - } - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + @java.lang.Override + public java.util.List + getMultiPointsOrBuilderList() { + return multiPoints_; + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public java.util.List - getMultiPolygonsOrBuilderList() { - if (multiPolygonsBuilder_ != null) { - return multiPolygonsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(multiPolygons_); - } - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + @java.lang.Override + public int getMultiPointsCount() { + return multiPoints_.size(); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder addMultiPolygonsBuilder() { - return getMultiPolygonsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance()); - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoints(int index) { + return multiPoints_.get(index); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder addMultiPolygonsBuilder( - int index) { - return getMultiPolygonsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance()); - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointsOrBuilder( + int index) { + return multiPoints_.get(index); + } - /** - * repeated .pojo.MultiPolygon multiPolygons = 6; - */ - public java.util.List - getMultiPolygonsBuilderList() { - return getMultiPolygonsFieldBuilder().getBuilderList(); - } + public static final int MULTILINESTRINGS_FIELD_NUMBER = 5; + private java.util.List multiLineStrings_; - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> - getMultiPolygonsFieldBuilder() { - if (multiPolygonsBuilder_ == null) { - multiPolygonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder>( - multiPolygons_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - multiPolygons_ = null; - } - return multiPolygonsBuilder_; - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + @java.lang.Override + public java.util.List getMultiLineStringsList() { + return multiLineStrings_; + } - private java.util.List geometryCollections_ = - java.util.Collections.emptyList(); + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + @java.lang.Override + public java.util.List + getMultiLineStringsOrBuilderList() { + return multiLineStrings_; + } - private void ensureGeometryCollectionsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - geometryCollections_ = new java.util.ArrayList(geometryCollections_); - bitField0_ |= 0x00000040; - } - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + @java.lang.Override + public int getMultiLineStringsCount() { + return multiLineStrings_.size(); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> geometryCollectionsBuilder_; + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineStrings(int index) { + return multiLineStrings_.get(index); + } - /** - *

-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public java.util.List getGeometryCollectionsList() { - if (geometryCollectionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(geometryCollections_); - } else { - return geometryCollectionsBuilder_.getMessageList(); - } - } + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringsOrBuilder( + int index) { + return multiLineStrings_.get(index); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public int getGeometryCollectionsCount() { - if (geometryCollectionsBuilder_ == null) { - return geometryCollections_.size(); - } else { - return geometryCollectionsBuilder_.getCount(); - } - } + public static final int MULTIPOLYGONS_FIELD_NUMBER = 6; + private java.util.List multiPolygons_; - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollections(int index) { - if (geometryCollectionsBuilder_ == null) { - return geometryCollections_.get(index); - } else { - return geometryCollectionsBuilder_.getMessage(index); - } - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + @java.lang.Override + public java.util.List getMultiPolygonsList() { + return multiPolygons_; + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder setGeometryCollections( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { - if (geometryCollectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGeometryCollectionsIsMutable(); - geometryCollections_.set(index, value); - onChanged(); - } else { - geometryCollectionsBuilder_.setMessage(index, value); - } - return this; - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + @java.lang.Override + public java.util.List + getMultiPolygonsOrBuilderList() { + return multiPolygons_; + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder setGeometryCollections( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { - if (geometryCollectionsBuilder_ == null) { - ensureGeometryCollectionsIsMutable(); - geometryCollections_.set(index, builderForValue.build()); - onChanged(); - } else { - geometryCollectionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + @java.lang.Override + public int getMultiPolygonsCount() { + return multiPolygons_.size(); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder addGeometryCollections(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { - if (geometryCollectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGeometryCollectionsIsMutable(); - geometryCollections_.add(value); - onChanged(); - } else { - geometryCollectionsBuilder_.addMessage(value); - } - return this; - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygons(int index) { + return multiPolygons_.get(index); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder addGeometryCollections( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { - if (geometryCollectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGeometryCollectionsIsMutable(); - geometryCollections_.add(index, value); - onChanged(); - } else { - geometryCollectionsBuilder_.addMessage(index, value); - } - return this; - } + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonsOrBuilder( + int index) { + return multiPolygons_.get(index); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder addGeometryCollections( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { - if (geometryCollectionsBuilder_ == null) { - ensureGeometryCollectionsIsMutable(); - geometryCollections_.add(builderForValue.build()); - onChanged(); - } else { - geometryCollectionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + public static final int GEOMETRYCOLLECTIONS_FIELD_NUMBER = 7; + private java.util.List geometryCollections_; - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder addGeometryCollections( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { - if (geometryCollectionsBuilder_ == null) { - ensureGeometryCollectionsIsMutable(); - geometryCollections_.add(index, builderForValue.build()); - onChanged(); - } else { - geometryCollectionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + @java.lang.Override + public java.util.List getGeometryCollectionsList() { + return geometryCollections_; + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder addAllGeometryCollections( - java.lang.Iterable values) { - if (geometryCollectionsBuilder_ == null) { - ensureGeometryCollectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, geometryCollections_); - onChanged(); - } else { - geometryCollectionsBuilder_.addAllMessages(values); - } - return this; - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + @java.lang.Override + public java.util.List + getGeometryCollectionsOrBuilderList() { + return geometryCollections_; + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder clearGeometryCollections() { - if (geometryCollectionsBuilder_ == null) { - geometryCollections_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - } else { - geometryCollectionsBuilder_.clear(); - } - return this; - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + @java.lang.Override + public int getGeometryCollectionsCount() { + return geometryCollections_.size(); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public Builder removeGeometryCollections(int index) { - if (geometryCollectionsBuilder_ == null) { - ensureGeometryCollectionsIsMutable(); - geometryCollections_.remove(index); - onChanged(); - } else { - geometryCollectionsBuilder_.remove(index); - } - return this; - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollections(int index) { + return geometryCollections_.get(index); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder getGeometryCollectionsBuilder( - int index) { - return getGeometryCollectionsFieldBuilder().getBuilder(index); - } + /** + *
+         * 允许嵌套
+         * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionsOrBuilder( + int index) { + return geometryCollections_.get(index); + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionsOrBuilder( - int index) { - if (geometryCollectionsBuilder_ == null) { - return geometryCollections_.get(index); - } else { - return geometryCollectionsBuilder_.getMessageOrBuilder(index); - } - } + private byte memoizedIsInitialized = -1; - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public java.util.List - getGeometryCollectionsOrBuilderList() { - if (geometryCollectionsBuilder_ != null) { - return geometryCollectionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(geometryCollections_); - } - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder addGeometryCollectionsBuilder() { - return getGeometryCollectionsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance()); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder addGeometryCollectionsBuilder( - int index) { - return getGeometryCollectionsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance()); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < points_.size(); i++) { + output.writeMessage(1, points_.get(i)); } - - /** - *
-             * 允许嵌套
-             * 
- * - * repeated .pojo.GeometryCollection geometryCollections = 7; - */ - public java.util.List - getGeometryCollectionsBuilderList() { - return getGeometryCollectionsFieldBuilder().getBuilderList(); + for (int i = 0; i < lineStrings_.size(); i++) { + output.writeMessage(2, lineStrings_.get(i)); } - - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> - getGeometryCollectionsFieldBuilder() { - if (geometryCollectionsBuilder_ == null) { - geometryCollectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder>( - geometryCollections_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); - geometryCollections_ = null; - } - return geometryCollectionsBuilder_; + for (int i = 0; i < polygons_.size(); i++) { + output.writeMessage(3, polygons_.get(i)); } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + for (int i = 0; i < multiPoints_.size(); i++) { + output.writeMessage(4, multiPoints_.get(i)); } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + for (int i = 0; i < multiLineStrings_.size(); i++) { + output.writeMessage(5, multiLineStrings_.get(i)); } - - - // @@protoc_insertion_point(builder_scope:pojo.GeometryCollection) - } - - // @@protoc_insertion_point(class_scope:pojo.GeometryCollection) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection(); - } - - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GeometryCollection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GeometryCollection(input, extensionRegistry); + for (int i = 0; i < multiPolygons_.size(); i++) { + output.writeMessage(6, multiPolygons_.get(i)); } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; + for (int i = 0; i < geometryCollections_.size(); i++) { + output.writeMessage(7, geometryCollections_.get(i)); + } + unknownFields.writeTo(output); } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + size = 0; + for (int i = 0; i < points_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, points_.get(i)); + } + for (int i = 0; i < lineStrings_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, lineStrings_.get(i)); + } + for (int i = 0; i < polygons_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, polygons_.get(i)); + } + for (int i = 0; i < multiPoints_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, multiPoints_.get(i)); + } + for (int i = 0; i < multiLineStrings_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, multiLineStrings_.get(i)); + } + for (int i = 0; i < multiPolygons_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, multiPolygons_.get(i)); + } + for (int i = 0; i < geometryCollections_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, geometryCollections_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection)) { + return super.equals(obj); + } + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) obj; - public interface GeometryOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.Geometry) - com.google.protobuf.MessageOrBuilder { + if (!getPointsList() + .equals(other.getPointsList())) return false; + if (!getLineStringsList() + .equals(other.getLineStringsList())) return false; + if (!getPolygonsList() + .equals(other.getPolygonsList())) return false; + if (!getMultiPointsList() + .equals(other.getMultiPointsList())) return false; + if (!getMultiLineStringsList() + .equals(other.getMultiLineStringsList())) return false; + if (!getMultiPolygonsList() + .equals(other.getMultiPolygonsList())) return false; + if (!getGeometryCollectionsList() + .equals(other.getGeometryCollectionsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } - /** - * .pojo.Point point = 1; - * - * @return Whether the point field is set. - */ - boolean hasPoint(); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPointsCount() > 0) { + hash = (37 * hash) + POINTS_FIELD_NUMBER; + hash = (53 * hash) + getPointsList().hashCode(); + } + if (getLineStringsCount() > 0) { + hash = (37 * hash) + LINESTRINGS_FIELD_NUMBER; + hash = (53 * hash) + getLineStringsList().hashCode(); + } + if (getPolygonsCount() > 0) { + hash = (37 * hash) + POLYGONS_FIELD_NUMBER; + hash = (53 * hash) + getPolygonsList().hashCode(); + } + if (getMultiPointsCount() > 0) { + hash = (37 * hash) + MULTIPOINTS_FIELD_NUMBER; + hash = (53 * hash) + getMultiPointsList().hashCode(); + } + if (getMultiLineStringsCount() > 0) { + hash = (37 * hash) + MULTILINESTRINGS_FIELD_NUMBER; + hash = (53 * hash) + getMultiLineStringsList().hashCode(); + } + if (getMultiPolygonsCount() > 0) { + hash = (37 * hash) + MULTIPOLYGONS_FIELD_NUMBER; + hash = (53 * hash) + getMultiPolygonsList().hashCode(); + } + if (getGeometryCollectionsCount() > 0) { + hash = (37 * hash) + GEOMETRYCOLLECTIONS_FIELD_NUMBER; + hash = (53 * hash) + getGeometryCollectionsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * .pojo.Point point = 1; - * - * @return The point. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoint(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * .pojo.Point point = 1; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointOrBuilder(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * .pojo.LineString lineString = 2; - * - * @return Whether the lineString field is set. - */ - boolean hasLineString(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * .pojo.LineString lineString = 2; - * - * @return The lineString. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineString(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * .pojo.LineString lineString = 2; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringOrBuilder(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * .pojo.Polygon polygon = 3; - * - * @return Whether the polygon field is set. - */ - boolean hasPolygon(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * .pojo.Polygon polygon = 3; - * - * @return The polygon. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygon(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - /** - * .pojo.Polygon polygon = 3; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonOrBuilder(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * .pojo.MultiPoint multiPoint = 4; - * - * @return Whether the multiPoint field is set. - */ - boolean hasMultiPoint(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * .pojo.MultiPoint multiPoint = 4; - * - * @return The multiPoint. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoint(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - /** - * .pojo.MultiPoint multiPoint = 4; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointOrBuilder(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - /** - * .pojo.MultiLineString multiLineString = 5; - * - * @return Whether the multiLineString field is set. - */ - boolean hasMultiLineString(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * .pojo.MultiLineString multiLineString = 5; - * - * @return The multiLineString. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineString(); + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - /** - * .pojo.MultiLineString multiLineString = 5; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringOrBuilder(); + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - /** - * .pojo.MultiPolygon multiPolygon = 6; - * - * @return Whether the multiPolygon field is set. - */ - boolean hasMultiPolygon(); + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - /** - * .pojo.MultiPolygon multiPolygon = 6; - * - * @return The multiPolygon. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygon(); + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * .pojo.MultiPolygon multiPolygon = 6; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonOrBuilder(); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * .pojo.GeometryCollection geometryCollection = 7; - * - * @return Whether the geometryCollection field is set. + *
+         * GeometryCollection
+         * 注意 GeometryCollection允许嵌套
+         * 
+ *

+ * Protobuf type {@code pojo.GeometryCollection} */ - boolean hasGeometryCollection(); + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:pojo.GeometryCollection) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_descriptor; + } - /** - * .pojo.GeometryCollection geometryCollection = 7; - * - * @return The geometryCollection. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollection(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder.class); + } - /** - * .pojo.GeometryCollection geometryCollection = 7; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionOrBuilder(); - } + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - /** - *

-     * geometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空
-     * 
- *

- * Protobuf type {@code pojo.Geometry} - */ - public static final class Geometry extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.Geometry) - GeometryOrBuilder { - private static final long serialVersionUID = 0L; + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - // Use Geometry.newBuilder() to construct. - private Geometry(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPointsFieldBuilder(); + getLineStringsFieldBuilder(); + getPolygonsFieldBuilder(); + getMultiPointsFieldBuilder(); + getMultiLineStringsFieldBuilder(); + getMultiPolygonsFieldBuilder(); + getGeometryCollectionsFieldBuilder(); + } + } - private Geometry() { - } + @java.lang.Override + public Builder clear() { + super.clear(); + if (pointsBuilder_ == null) { + points_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + pointsBuilder_.clear(); + } + if (lineStringsBuilder_ == null) { + lineStrings_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + lineStringsBuilder_.clear(); + } + if (polygonsBuilder_ == null) { + polygons_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + polygonsBuilder_.clear(); + } + if (multiPointsBuilder_ == null) { + multiPoints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + multiPointsBuilder_.clear(); + } + if (multiLineStringsBuilder_ == null) { + multiLineStrings_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } else { + multiLineStringsBuilder_.clear(); + } + if (multiPolygonsBuilder_ == null) { + multiPolygons_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } else { + multiPolygonsBuilder_.clear(); + } + if (geometryCollectionsBuilder_ == null) { + geometryCollections_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + } else { + geometryCollectionsBuilder_.clear(); + } + return this; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Geometry(); - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_GeometryCollection_descriptor; + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance(); + } - private Geometry( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder subBuilder = null; - if (point_ != null) { - subBuilder = point_.toBuilder(); - } - point_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(point_); - point_ = subBuilder.buildPartial(); - } - break; - } - case 18: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder subBuilder = null; - if (lineString_ != null) { - subBuilder = lineString_.toBuilder(); - } - lineString_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lineString_); - lineString_ = subBuilder.buildPartial(); - } + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection(this); + int from_bitField0_ = bitField0_; + if (pointsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + points_ = java.util.Collections.unmodifiableList(points_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.points_ = points_; + } else { + result.points_ = pointsBuilder_.build(); + } + if (lineStringsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + lineStrings_ = java.util.Collections.unmodifiableList(lineStrings_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.lineStrings_ = lineStrings_; + } else { + result.lineStrings_ = lineStringsBuilder_.build(); + } + if (polygonsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + polygons_ = java.util.Collections.unmodifiableList(polygons_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.polygons_ = polygons_; + } else { + result.polygons_ = polygonsBuilder_.build(); + } + if (multiPointsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + multiPoints_ = java.util.Collections.unmodifiableList(multiPoints_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.multiPoints_ = multiPoints_; + } else { + result.multiPoints_ = multiPointsBuilder_.build(); + } + if (multiLineStringsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + multiLineStrings_ = java.util.Collections.unmodifiableList(multiLineStrings_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.multiLineStrings_ = multiLineStrings_; + } else { + result.multiLineStrings_ = multiLineStringsBuilder_.build(); + } + if (multiPolygonsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + multiPolygons_ = java.util.Collections.unmodifiableList(multiPolygons_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.multiPolygons_ = multiPolygons_; + } else { + result.multiPolygons_ = multiPolygonsBuilder_.build(); + } + if (geometryCollectionsBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + geometryCollections_ = java.util.Collections.unmodifiableList(geometryCollections_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.geometryCollections_ = geometryCollections_; + } else { + result.geometryCollections_ = geometryCollectionsBuilder_.build(); + } + onBuilt(); + return result; + } - break; - } - case 26: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder subBuilder = null; - if (polygon_ != null) { - subBuilder = polygon_.toBuilder(); - } - polygon_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(polygon_); - polygon_ = subBuilder.buildPartial(); - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - break; - } - case 34: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder subBuilder = null; - if (multiPoint_ != null) { - subBuilder = multiPoint_.toBuilder(); - } - multiPoint_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(multiPoint_); - multiPoint_ = subBuilder.buildPartial(); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - break; - } - case 42: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder subBuilder = null; - if (multiLineString_ != null) { - subBuilder = multiLineString_.toBuilder(); - } - multiLineString_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(multiLineString_); - multiLineString_ = subBuilder.buildPartial(); - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - break; - } - case 50: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder subBuilder = null; - if (multiPolygon_ != null) { - subBuilder = multiPolygon_.toBuilder(); - } - multiPolygon_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(multiPolygon_); - multiPolygon_ = subBuilder.buildPartial(); - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - break; - } - case 58: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder subBuilder = null; - if (geometryCollection_ != null) { - subBuilder = geometryCollection_.toBuilder(); - } - geometryCollection_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(geometryCollection_); - geometryCollection_ = subBuilder.buildPartial(); - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - break; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance()) + return this; + if (pointsBuilder_ == null) { + if (!other.points_.isEmpty()) { + if (points_.isEmpty()) { + points_ = other.points_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePointsIsMutable(); + points_.addAll(other.points_); } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + onChanged(); + } + } else { + if (!other.points_.isEmpty()) { + if (pointsBuilder_.isEmpty()) { + pointsBuilder_.dispose(); + pointsBuilder_ = null; + points_ = other.points_; + bitField0_ = (bitField0_ & ~0x00000001); + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointsFieldBuilder() : null; + } else { + pointsBuilder_.addAllMessages(other.points_); } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder.class); - } - - public static final int POINT_FIELD_NUMBER = 1; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point point_; - - /** - * .pojo.Point point = 1; - * - * @return Whether the point field is set. - */ - @java.lang.Override - public boolean hasPoint() { - return point_ != null; - } - - /** - * .pojo.Point point = 1; - * - * @return The point. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoint() { - return point_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance() : point_; - } - - /** - * .pojo.Point point = 1; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointOrBuilder() { - return getPoint(); - } - - public static final int LINESTRING_FIELD_NUMBER = 2; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString lineString_; - - /** - * .pojo.LineString lineString = 2; - * - * @return Whether the lineString field is set. - */ - @java.lang.Override - public boolean hasLineString() { - return lineString_ != null; - } - - /** - * .pojo.LineString lineString = 2; - * - * @return The lineString. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineString() { - return lineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance() : lineString_; - } - - /** - * .pojo.LineString lineString = 2; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringOrBuilder() { - return getLineString(); - } - - public static final int POLYGON_FIELD_NUMBER = 3; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon polygon_; - - /** - * .pojo.Polygon polygon = 3; - * - * @return Whether the polygon field is set. - */ - @java.lang.Override - public boolean hasPolygon() { - return polygon_ != null; - } - - /** - * .pojo.Polygon polygon = 3; - * - * @return The polygon. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygon() { - return polygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance() : polygon_; - } - - /** - * .pojo.Polygon polygon = 3; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonOrBuilder() { - return getPolygon(); - } - - public static final int MULTIPOINT_FIELD_NUMBER = 4; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint multiPoint_; - - /** - * .pojo.MultiPoint multiPoint = 4; - * - * @return Whether the multiPoint field is set. - */ - @java.lang.Override - public boolean hasMultiPoint() { - return multiPoint_ != null; - } - - /** - * .pojo.MultiPoint multiPoint = 4; - * - * @return The multiPoint. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoint() { - return multiPoint_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance() : multiPoint_; - } + if (lineStringsBuilder_ == null) { + if (!other.lineStrings_.isEmpty()) { + if (lineStrings_.isEmpty()) { + lineStrings_ = other.lineStrings_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureLineStringsIsMutable(); + lineStrings_.addAll(other.lineStrings_); + } + onChanged(); + } + } else { + if (!other.lineStrings_.isEmpty()) { + if (lineStringsBuilder_.isEmpty()) { + lineStringsBuilder_.dispose(); + lineStringsBuilder_ = null; + lineStrings_ = other.lineStrings_; + bitField0_ = (bitField0_ & ~0x00000002); + lineStringsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLineStringsFieldBuilder() : null; + } else { + lineStringsBuilder_.addAllMessages(other.lineStrings_); + } + } + } + if (polygonsBuilder_ == null) { + if (!other.polygons_.isEmpty()) { + if (polygons_.isEmpty()) { + polygons_ = other.polygons_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensurePolygonsIsMutable(); + polygons_.addAll(other.polygons_); + } + onChanged(); + } + } else { + if (!other.polygons_.isEmpty()) { + if (polygonsBuilder_.isEmpty()) { + polygonsBuilder_.dispose(); + polygonsBuilder_ = null; + polygons_ = other.polygons_; + bitField0_ = (bitField0_ & ~0x00000004); + polygonsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPolygonsFieldBuilder() : null; + } else { + polygonsBuilder_.addAllMessages(other.polygons_); + } + } + } + if (multiPointsBuilder_ == null) { + if (!other.multiPoints_.isEmpty()) { + if (multiPoints_.isEmpty()) { + multiPoints_ = other.multiPoints_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureMultiPointsIsMutable(); + multiPoints_.addAll(other.multiPoints_); + } + onChanged(); + } + } else { + if (!other.multiPoints_.isEmpty()) { + if (multiPointsBuilder_.isEmpty()) { + multiPointsBuilder_.dispose(); + multiPointsBuilder_ = null; + multiPoints_ = other.multiPoints_; + bitField0_ = (bitField0_ & ~0x00000008); + multiPointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMultiPointsFieldBuilder() : null; + } else { + multiPointsBuilder_.addAllMessages(other.multiPoints_); + } + } + } + if (multiLineStringsBuilder_ == null) { + if (!other.multiLineStrings_.isEmpty()) { + if (multiLineStrings_.isEmpty()) { + multiLineStrings_ = other.multiLineStrings_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureMultiLineStringsIsMutable(); + multiLineStrings_.addAll(other.multiLineStrings_); + } + onChanged(); + } + } else { + if (!other.multiLineStrings_.isEmpty()) { + if (multiLineStringsBuilder_.isEmpty()) { + multiLineStringsBuilder_.dispose(); + multiLineStringsBuilder_ = null; + multiLineStrings_ = other.multiLineStrings_; + bitField0_ = (bitField0_ & ~0x00000010); + multiLineStringsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMultiLineStringsFieldBuilder() : null; + } else { + multiLineStringsBuilder_.addAllMessages(other.multiLineStrings_); + } + } + } + if (multiPolygonsBuilder_ == null) { + if (!other.multiPolygons_.isEmpty()) { + if (multiPolygons_.isEmpty()) { + multiPolygons_ = other.multiPolygons_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureMultiPolygonsIsMutable(); + multiPolygons_.addAll(other.multiPolygons_); + } + onChanged(); + } + } else { + if (!other.multiPolygons_.isEmpty()) { + if (multiPolygonsBuilder_.isEmpty()) { + multiPolygonsBuilder_.dispose(); + multiPolygonsBuilder_ = null; + multiPolygons_ = other.multiPolygons_; + bitField0_ = (bitField0_ & ~0x00000020); + multiPolygonsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMultiPolygonsFieldBuilder() : null; + } else { + multiPolygonsBuilder_.addAllMessages(other.multiPolygons_); + } + } + } + if (geometryCollectionsBuilder_ == null) { + if (!other.geometryCollections_.isEmpty()) { + if (geometryCollections_.isEmpty()) { + geometryCollections_ = other.geometryCollections_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureGeometryCollectionsIsMutable(); + geometryCollections_.addAll(other.geometryCollections_); + } + onChanged(); + } + } else { + if (!other.geometryCollections_.isEmpty()) { + if (geometryCollectionsBuilder_.isEmpty()) { + geometryCollectionsBuilder_.dispose(); + geometryCollectionsBuilder_ = null; + geometryCollections_ = other.geometryCollections_; + bitField0_ = (bitField0_ & ~0x00000040); + geometryCollectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGeometryCollectionsFieldBuilder() : null; + } else { + geometryCollectionsBuilder_.addAllMessages(other.geometryCollections_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - /** - * .pojo.MultiPoint multiPoint = 4; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointOrBuilder() { - return getMultiPoint(); - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - public static final int MULTILINESTRING_FIELD_NUMBER = 5; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString multiLineString_; + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - /** - * .pojo.MultiLineString multiLineString = 5; - * - * @return Whether the multiLineString field is set. - */ - @java.lang.Override - public boolean hasMultiLineString() { - return multiLineString_ != null; - } + private int bitField0_; - /** - * .pojo.MultiLineString multiLineString = 5; - * - * @return The multiLineString. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineString() { - return multiLineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance() : multiLineString_; - } + private java.util.List points_ = + java.util.Collections.emptyList(); - /** - * .pojo.MultiLineString multiLineString = 5; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringOrBuilder() { - return getMultiLineString(); - } + private void ensurePointsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(points_); + bitField0_ |= 0x00000001; + } + } - public static final int MULTIPOLYGON_FIELD_NUMBER = 6; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon multiPolygon_; + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> pointsBuilder_; - /** - * .pojo.MultiPolygon multiPolygon = 6; - * - * @return Whether the multiPolygon field is set. - */ - @java.lang.Override - public boolean hasMultiPolygon() { - return multiPolygon_ != null; - } - - /** - * .pojo.MultiPolygon multiPolygon = 6; - * - * @return The multiPolygon. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygon() { - return multiPolygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance() : multiPolygon_; - } - - /** - * .pojo.MultiPolygon multiPolygon = 6; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonOrBuilder() { - return getMultiPolygon(); - } - - public static final int GEOMETRYCOLLECTION_FIELD_NUMBER = 7; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection geometryCollection_; + /** + * repeated .pojo.Point points = 1; + */ + public java.util.List getPointsList() { + if (pointsBuilder_ == null) { + return java.util.Collections.unmodifiableList(points_); + } else { + return pointsBuilder_.getMessageList(); + } + } - /** - * .pojo.GeometryCollection geometryCollection = 7; - * - * @return Whether the geometryCollection field is set. - */ - @java.lang.Override - public boolean hasGeometryCollection() { - return geometryCollection_ != null; - } + /** + * repeated .pojo.Point points = 1; + */ + public int getPointsCount() { + if (pointsBuilder_ == null) { + return points_.size(); + } else { + return pointsBuilder_.getCount(); + } + } - /** - * .pojo.GeometryCollection geometryCollection = 7; - * - * @return The geometryCollection. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollection() { - return geometryCollection_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance() : geometryCollection_; - } + /** + * repeated .pojo.Point points = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoints(int index) { + if (pointsBuilder_ == null) { + return points_.get(index); + } else { + return pointsBuilder_.getMessage(index); + } + } - /** - * .pojo.GeometryCollection geometryCollection = 7; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionOrBuilder() { - return getGeometryCollection(); - } + /** + * repeated .pojo.Point points = 1; + */ + public Builder setPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { + if (pointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePointsIsMutable(); + points_.set(index, value); + onChanged(); + } else { + pointsBuilder_.setMessage(index, value); + } + return this; + } - private byte memoizedIsInitialized = -1; + /** + * repeated .pojo.Point points = 1; + */ + public Builder setPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + points_.set(index, builderForValue.build()); + onChanged(); + } else { + pointsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * repeated .pojo.Point points = 1; + */ + public Builder addPoints(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { + if (pointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePointsIsMutable(); + points_.add(value); + onChanged(); + } else { + pointsBuilder_.addMessage(value); + } + return this; + } - memoizedIsInitialized = 1; - return true; - } + /** + * repeated .pojo.Point points = 1; + */ + public Builder addPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { + if (pointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePointsIsMutable(); + points_.add(index, value); + onChanged(); + } else { + pointsBuilder_.addMessage(index, value); + } + return this; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (point_ != null) { - output.writeMessage(1, getPoint()); + /** + * repeated .pojo.Point points = 1; + */ + public Builder addPoints( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + points_.add(builderForValue.build()); + onChanged(); + } else { + pointsBuilder_.addMessage(builderForValue.build()); + } + return this; } - if (lineString_ != null) { - output.writeMessage(2, getLineString()); + + /** + * repeated .pojo.Point points = 1; + */ + public Builder addPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + points_.add(index, builderForValue.build()); + onChanged(); + } else { + pointsBuilder_.addMessage(index, builderForValue.build()); + } + return this; } - if (polygon_ != null) { - output.writeMessage(3, getPolygon()); + + /** + * repeated .pojo.Point points = 1; + */ + public Builder addAllPoints( + java.lang.Iterable values) { + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, points_); + onChanged(); + } else { + pointsBuilder_.addAllMessages(values); + } + return this; } - if (multiPoint_ != null) { - output.writeMessage(4, getMultiPoint()); + + /** + * repeated .pojo.Point points = 1; + */ + public Builder clearPoints() { + if (pointsBuilder_ == null) { + points_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + pointsBuilder_.clear(); + } + return this; } - if (multiLineString_ != null) { - output.writeMessage(5, getMultiLineString()); + + /** + * repeated .pojo.Point points = 1; + */ + public Builder removePoints(int index) { + if (pointsBuilder_ == null) { + ensurePointsIsMutable(); + points_.remove(index); + onChanged(); + } else { + pointsBuilder_.remove(index); + } + return this; } - if (multiPolygon_ != null) { - output.writeMessage(6, getMultiPolygon()); + + /** + * repeated .pojo.Point points = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder getPointsBuilder( + int index) { + return getPointsFieldBuilder().getBuilder(index); } - if (geometryCollection_ != null) { - output.writeMessage(7, getGeometryCollection()); + + /** + * repeated .pojo.Point points = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointsOrBuilder( + int index) { + if (pointsBuilder_ == null) { + return points_.get(index); + } else { + return pointsBuilder_.getMessageOrBuilder(index); + } } - unknownFields.writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (point_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPoint()); - } - if (lineString_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLineString()); - } - if (polygon_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPolygon()); + /** + * repeated .pojo.Point points = 1; + */ + public java.util.List + getPointsOrBuilderList() { + if (pointsBuilder_ != null) { + return pointsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(points_); + } } - if (multiPoint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMultiPoint()); + + /** + * repeated .pojo.Point points = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder addPointsBuilder() { + return getPointsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance()); } - if (multiLineString_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMultiLineString()); + + /** + * repeated .pojo.Point points = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder addPointsBuilder( + int index) { + return getPointsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance()); } - if (multiPolygon_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMultiPolygon()); + + /** + * repeated .pojo.Point points = 1; + */ + public java.util.List + getPointsBuilderList() { + return getPointsFieldBuilder().getBuilderList(); } - if (geometryCollection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getGeometryCollection()); + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> + getPointsFieldBuilder() { + if (pointsBuilder_ == null) { + pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder>( + points_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + points_ = null; + } + return pointsBuilder_; } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + private java.util.List lineStrings_ = + java.util.Collections.emptyList(); + + private void ensureLineStringsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + lineStrings_ = new java.util.ArrayList(lineStrings_); + bitField0_ |= 0x00000002; + } } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry)) { - return super.equals(obj); + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> lineStringsBuilder_; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public java.util.List getLineStringsList() { + if (lineStringsBuilder_ == null) { + return java.util.Collections.unmodifiableList(lineStrings_); + } else { + return lineStringsBuilder_.getMessageList(); + } } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) obj; - if (hasPoint() != other.hasPoint()) return false; - if (hasPoint()) { - if (!getPoint() - .equals(other.getPoint())) return false; + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public int getLineStringsCount() { + if (lineStringsBuilder_ == null) { + return lineStrings_.size(); + } else { + return lineStringsBuilder_.getCount(); + } } - if (hasLineString() != other.hasLineString()) return false; - if (hasLineString()) { - if (!getLineString() - .equals(other.getLineString())) return false; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineStrings(int index) { + if (lineStringsBuilder_ == null) { + return lineStrings_.get(index); + } else { + return lineStringsBuilder_.getMessage(index); + } } - if (hasPolygon() != other.hasPolygon()) return false; - if (hasPolygon()) { - if (!getPolygon() - .equals(other.getPolygon())) return false; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder setLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { + if (lineStringsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLineStringsIsMutable(); + lineStrings_.set(index, value); + onChanged(); + } else { + lineStringsBuilder_.setMessage(index, value); + } + return this; } - if (hasMultiPoint() != other.hasMultiPoint()) return false; - if (hasMultiPoint()) { - if (!getMultiPoint() - .equals(other.getMultiPoint())) return false; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder setLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { + if (lineStringsBuilder_ == null) { + ensureLineStringsIsMutable(); + lineStrings_.set(index, builderForValue.build()); + onChanged(); + } else { + lineStringsBuilder_.setMessage(index, builderForValue.build()); + } + return this; } - if (hasMultiLineString() != other.hasMultiLineString()) return false; - if (hasMultiLineString()) { - if (!getMultiLineString() - .equals(other.getMultiLineString())) return false; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder addLineStrings(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { + if (lineStringsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLineStringsIsMutable(); + lineStrings_.add(value); + onChanged(); + } else { + lineStringsBuilder_.addMessage(value); + } + return this; } - if (hasMultiPolygon() != other.hasMultiPolygon()) return false; - if (hasMultiPolygon()) { - if (!getMultiPolygon() - .equals(other.getMultiPolygon())) return false; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder addLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { + if (lineStringsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLineStringsIsMutable(); + lineStrings_.add(index, value); + onChanged(); + } else { + lineStringsBuilder_.addMessage(index, value); + } + return this; } - if (hasGeometryCollection() != other.hasGeometryCollection()) return false; - if (hasGeometryCollection()) { - if (!getGeometryCollection() - .equals(other.getGeometryCollection())) return false; + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder addLineStrings( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { + if (lineStringsBuilder_ == null) { + ensureLineStringsIsMutable(); + lineStrings_.add(builderForValue.build()); + onChanged(); + } else { + lineStringsBuilder_.addMessage(builderForValue.build()); + } + return this; } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder addLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { + if (lineStringsBuilder_ == null) { + ensureLineStringsIsMutable(); + lineStrings_.add(index, builderForValue.build()); + onChanged(); + } else { + lineStringsBuilder_.addMessage(index, builderForValue.build()); + } + return this; } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasPoint()) { - hash = (37 * hash) + POINT_FIELD_NUMBER; - hash = (53 * hash) + getPoint().hashCode(); - } - if (hasLineString()) { - hash = (37 * hash) + LINESTRING_FIELD_NUMBER; - hash = (53 * hash) + getLineString().hashCode(); - } - if (hasPolygon()) { - hash = (37 * hash) + POLYGON_FIELD_NUMBER; - hash = (53 * hash) + getPolygon().hashCode(); + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder addAllLineStrings( + java.lang.Iterable values) { + if (lineStringsBuilder_ == null) { + ensureLineStringsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, lineStrings_); + onChanged(); + } else { + lineStringsBuilder_.addAllMessages(values); + } + return this; } - if (hasMultiPoint()) { - hash = (37 * hash) + MULTIPOINT_FIELD_NUMBER; - hash = (53 * hash) + getMultiPoint().hashCode(); + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder clearLineStrings() { + if (lineStringsBuilder_ == null) { + lineStrings_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + lineStringsBuilder_.clear(); + } + return this; } - if (hasMultiLineString()) { - hash = (37 * hash) + MULTILINESTRING_FIELD_NUMBER; - hash = (53 * hash) + getMultiLineString().hashCode(); + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public Builder removeLineStrings(int index) { + if (lineStringsBuilder_ == null) { + ensureLineStringsIsMutable(); + lineStrings_.remove(index); + onChanged(); + } else { + lineStringsBuilder_.remove(index); + } + return this; } - if (hasMultiPolygon()) { - hash = (37 * hash) + MULTIPOLYGON_FIELD_NUMBER; - hash = (53 * hash) + getMultiPolygon().hashCode(); + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder getLineStringsBuilder( + int index) { + return getLineStringsFieldBuilder().getBuilder(index); } - if (hasGeometryCollection()) { - hash = (37 * hash) + GEOMETRYCOLLECTION_FIELD_NUMBER; - hash = (53 * hash) + getGeometryCollection().hashCode(); + + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringsOrBuilder( + int index) { + if (lineStringsBuilder_ == null) { + return lineStrings_.get(index); + } else { + return lineStringsBuilder_.getMessageOrBuilder(index); + } } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public java.util.List + getLineStringsOrBuilderList() { + if (lineStringsBuilder_ != null) { + return lineStringsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(lineStrings_); + } + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder addLineStringsBuilder() { + return getLineStringsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance()); + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder addLineStringsBuilder( + int index) { + return getLineStringsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance()); + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * repeated .pojo.LineString lineStrings = 2; + */ + public java.util.List + getLineStringsBuilderList() { + return getLineStringsFieldBuilder().getBuilderList(); + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> + getLineStringsFieldBuilder() { + if (lineStringsBuilder_ == null) { + lineStringsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder>( + lineStrings_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + lineStrings_ = null; + } + return lineStringsBuilder_; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private java.util.List polygons_ = + java.util.Collections.emptyList(); - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + private void ensurePolygonsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + polygons_ = new java.util.ArrayList(polygons_); + bitField0_ |= 0x00000004; + } + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> polygonsBuilder_; - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + public java.util.List getPolygonsList() { + if (polygonsBuilder_ == null) { + return java.util.Collections.unmodifiableList(polygons_); + } else { + return polygonsBuilder_.getMessageList(); + } + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + public int getPolygonsCount() { + if (polygonsBuilder_ == null) { + return polygons_.size(); + } else { + return polygonsBuilder_.getCount(); + } + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygons(int index) { + if (polygonsBuilder_ == null) { + return polygons_.get(index); + } else { + return polygonsBuilder_.getMessage(index); + } + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder setPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { + if (polygonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePolygonsIsMutable(); + polygons_.set(index, value); + onChanged(); + } else { + polygonsBuilder_.setMessage(index, value); + } + return this; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); - } - - /** - *

-         * geometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空
-         * 
- *

- * Protobuf type {@code pojo.Geometry} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.Geometry) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder.class); - } - - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder setPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { + if (polygonsBuilder_ == null) { + ensurePolygonsIsMutable(); + polygons_.set(index, builderForValue.build()); + onChanged(); + } else { + polygonsBuilder_.setMessage(index, builderForValue.build()); + } + return this; } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder addPolygons(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { + if (polygonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePolygonsIsMutable(); + polygons_.add(value); + onChanged(); + } else { + polygonsBuilder_.addMessage(value); + } + return this; } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder addPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { + if (polygonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePolygonsIsMutable(); + polygons_.add(index, value); + onChanged(); + } else { + polygonsBuilder_.addMessage(index, value); } + return this; } - @java.lang.Override - public Builder clear() { - super.clear(); - if (pointBuilder_ == null) { - point_ = null; + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder addPolygons( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { + if (polygonsBuilder_ == null) { + ensurePolygonsIsMutable(); + polygons_.add(builderForValue.build()); + onChanged(); } else { - point_ = null; - pointBuilder_ = null; + polygonsBuilder_.addMessage(builderForValue.build()); } - if (lineStringBuilder_ == null) { - lineString_ = null; + return this; + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder addPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { + if (polygonsBuilder_ == null) { + ensurePolygonsIsMutable(); + polygons_.add(index, builderForValue.build()); + onChanged(); } else { - lineString_ = null; - lineStringBuilder_ = null; + polygonsBuilder_.addMessage(index, builderForValue.build()); } - if (polygonBuilder_ == null) { - polygon_ = null; + return this; + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder addAllPolygons( + java.lang.Iterable values) { + if (polygonsBuilder_ == null) { + ensurePolygonsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, polygons_); + onChanged(); } else { - polygon_ = null; - polygonBuilder_ = null; + polygonsBuilder_.addAllMessages(values); } - if (multiPointBuilder_ == null) { - multiPoint_ = null; + return this; + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder clearPolygons() { + if (polygonsBuilder_ == null) { + polygons_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); } else { - multiPoint_ = null; - multiPointBuilder_ = null; + polygonsBuilder_.clear(); } - if (multiLineStringBuilder_ == null) { - multiLineString_ = null; + return this; + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public Builder removePolygons(int index) { + if (polygonsBuilder_ == null) { + ensurePolygonsIsMutable(); + polygons_.remove(index); + onChanged(); } else { - multiLineString_ = null; - multiLineStringBuilder_ = null; + polygonsBuilder_.remove(index); } - if (multiPolygonBuilder_ == null) { - multiPolygon_ = null; + return this; + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder getPolygonsBuilder( + int index) { + return getPolygonsFieldBuilder().getBuilder(index); + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonsOrBuilder( + int index) { + if (polygonsBuilder_ == null) { + return polygons_.get(index); } else { - multiPolygon_ = null; - multiPolygonBuilder_ = null; + return polygonsBuilder_.getMessageOrBuilder(index); } - if (geometryCollectionBuilder_ == null) { - geometryCollection_ = null; + } + + /** + * repeated .pojo.Polygon polygons = 3; + */ + public java.util.List + getPolygonsOrBuilderList() { + if (polygonsBuilder_ != null) { + return polygonsBuilder_.getMessageOrBuilderList(); } else { - geometryCollection_ = null; - geometryCollectionBuilder_ = null; + return java.util.Collections.unmodifiableList(polygons_); } - return this; } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_descriptor; + /** + * repeated .pojo.Polygon polygons = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder addPolygonsBuilder() { + return getPolygonsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance()); } - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance(); + /** + * repeated .pojo.Polygon polygons = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder addPolygonsBuilder( + int index) { + return getPolygonsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance()); } - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + /** + * repeated .pojo.Polygon polygons = 3; + */ + public java.util.List + getPolygonsBuilderList() { + return getPolygonsFieldBuilder().getBuilderList(); } - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry(this); - if (pointBuilder_ == null) { - result.point_ = point_; - } else { - result.point_ = pointBuilder_.build(); - } - if (lineStringBuilder_ == null) { - result.lineString_ = lineString_; - } else { - result.lineString_ = lineStringBuilder_.build(); - } - if (polygonBuilder_ == null) { - result.polygon_ = polygon_; - } else { - result.polygon_ = polygonBuilder_.build(); - } - if (multiPointBuilder_ == null) { - result.multiPoint_ = multiPoint_; - } else { - result.multiPoint_ = multiPointBuilder_.build(); - } - if (multiLineStringBuilder_ == null) { - result.multiLineString_ = multiLineString_; - } else { - result.multiLineString_ = multiLineStringBuilder_.build(); - } - if (multiPolygonBuilder_ == null) { - result.multiPolygon_ = multiPolygon_; - } else { - result.multiPolygon_ = multiPolygonBuilder_.build(); - } - if (geometryCollectionBuilder_ == null) { - result.geometryCollection_ = geometryCollection_; - } else { - result.geometryCollection_ = geometryCollectionBuilder_.build(); + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> + getPolygonsFieldBuilder() { + if (polygonsBuilder_ == null) { + polygonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder>( + polygons_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + polygons_ = null; } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + return polygonsBuilder_; } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) other); - } else { - super.mergeFrom(other); - return this; - } - } + private java.util.List multiPoints_ = + java.util.Collections.emptyList(); - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance()) - return this; - if (other.hasPoint()) { - mergePoint(other.getPoint()); - } - if (other.hasLineString()) { - mergeLineString(other.getLineString()); - } - if (other.hasPolygon()) { - mergePolygon(other.getPolygon()); - } - if (other.hasMultiPoint()) { - mergeMultiPoint(other.getMultiPoint()); - } - if (other.hasMultiLineString()) { - mergeMultiLineString(other.getMultiLineString()); - } - if (other.hasMultiPolygon()) { - mergeMultiPolygon(other.getMultiPolygon()); - } - if (other.hasGeometryCollection()) { - mergeGeometryCollection(other.getGeometryCollection()); + private void ensureMultiPointsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + multiPoints_ = new java.util.ArrayList(multiPoints_); + bitField0_ |= 0x00000008; } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> multiPointsBuilder_; - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + public java.util.List getMultiPointsList() { + if (multiPointsBuilder_ == null) { + return java.util.Collections.unmodifiableList(multiPoints_); + } else { + return multiPointsBuilder_.getMessageList(); } - return this; } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point point_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> pointBuilder_; - /** - * .pojo.Point point = 1; - * - * @return Whether the point field is set. + * repeated .pojo.MultiPoint multiPoints = 4; */ - public boolean hasPoint() { - return pointBuilder_ != null || point_ != null; + public int getMultiPointsCount() { + if (multiPointsBuilder_ == null) { + return multiPoints_.size(); + } else { + return multiPointsBuilder_.getCount(); + } } /** - * .pojo.Point point = 1; - * - * @return The point. + * repeated .pojo.MultiPoint multiPoints = 4; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoint() { - if (pointBuilder_ == null) { - return point_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance() : point_; + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoints(int index) { + if (multiPointsBuilder_ == null) { + return multiPoints_.get(index); } else { - return pointBuilder_.getMessage(); + return multiPointsBuilder_.getMessage(index); } } /** - * .pojo.Point point = 1; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder setPoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { - if (pointBuilder_ == null) { + public Builder setMultiPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { + if (multiPointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - point_ = value; + ensureMultiPointsIsMutable(); + multiPoints_.set(index, value); onChanged(); } else { - pointBuilder_.setMessage(value); + multiPointsBuilder_.setMessage(index, value); } - return this; } /** - * .pojo.Point point = 1; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder setPoint( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { - if (pointBuilder_ == null) { - point_ = builderForValue.build(); + public Builder setMultiPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { + if (multiPointsBuilder_ == null) { + ensureMultiPointsIsMutable(); + multiPoints_.set(index, builderForValue.build()); onChanged(); } else { - pointBuilder_.setMessage(builderForValue.build()); + multiPointsBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** - * .pojo.Point point = 1; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder mergePoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { - if (pointBuilder_ == null) { - if (point_ != null) { - point_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.newBuilder(point_).mergeFrom(value).buildPartial(); - } else { - point_ = value; + public Builder addMultiPoints(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { + if (multiPointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureMultiPointsIsMutable(); + multiPoints_.add(value); onChanged(); } else { - pointBuilder_.mergeFrom(value); + multiPointsBuilder_.addMessage(value); } - return this; } /** - * .pojo.Point point = 1; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder clearPoint() { - if (pointBuilder_ == null) { - point_ = null; + public Builder addMultiPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { + if (multiPointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiPointsIsMutable(); + multiPoints_.add(index, value); onChanged(); } else { - point_ = null; - pointBuilder_ = null; + multiPointsBuilder_.addMessage(index, value); } - return this; } /** - * .pojo.Point point = 1; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder getPointBuilder() { - - onChanged(); - return getPointFieldBuilder().getBuilder(); - } - - /** - * .pojo.Point point = 1; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointOrBuilder() { - if (pointBuilder_ != null) { - return pointBuilder_.getMessageOrBuilder(); + public Builder addMultiPoints( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { + if (multiPointsBuilder_ == null) { + ensureMultiPointsIsMutable(); + multiPoints_.add(builderForValue.build()); + onChanged(); } else { - return point_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance() : point_; + multiPointsBuilder_.addMessage(builderForValue.build()); } + return this; } /** - * .pojo.Point point = 1; + * repeated .pojo.MultiPoint multiPoints = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> - getPointFieldBuilder() { - if (pointBuilder_ == null) { - pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder>( - getPoint(), - getParentForChildren(), - isClean()); - point_ = null; + public Builder addMultiPoints( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { + if (multiPointsBuilder_ == null) { + ensureMultiPointsIsMutable(); + multiPoints_.add(index, builderForValue.build()); + onChanged(); + } else { + multiPointsBuilder_.addMessage(index, builderForValue.build()); } - return pointBuilder_; - } - - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString lineString_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> lineStringBuilder_; - - /** - * .pojo.LineString lineString = 2; - * - * @return Whether the lineString field is set. - */ - public boolean hasLineString() { - return lineStringBuilder_ != null || lineString_ != null; + return this; } /** - * .pojo.LineString lineString = 2; - * - * @return The lineString. + * repeated .pojo.MultiPoint multiPoints = 4; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineString() { - if (lineStringBuilder_ == null) { - return lineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance() : lineString_; + public Builder addAllMultiPoints( + java.lang.Iterable values) { + if (multiPointsBuilder_ == null) { + ensureMultiPointsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, multiPoints_); + onChanged(); } else { - return lineStringBuilder_.getMessage(); + multiPointsBuilder_.addAllMessages(values); } + return this; } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder setLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { - if (lineStringBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - lineString_ = value; + public Builder clearMultiPoints() { + if (multiPointsBuilder_ == null) { + multiPoints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { - lineStringBuilder_.setMessage(value); + multiPointsBuilder_.clear(); } - return this; } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder setLineString( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { - if (lineStringBuilder_ == null) { - lineString_ = builderForValue.build(); + public Builder removeMultiPoints(int index) { + if (multiPointsBuilder_ == null) { + ensureMultiPointsIsMutable(); + multiPoints_.remove(index); onChanged(); } else { - lineStringBuilder_.setMessage(builderForValue.build()); + multiPointsBuilder_.remove(index); } - return this; } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder mergeLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { - if (lineStringBuilder_ == null) { - if (lineString_ != null) { - lineString_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.newBuilder(lineString_).mergeFrom(value).buildPartial(); - } else { - lineString_ = value; - } - onChanged(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder getMultiPointsBuilder( + int index) { + return getMultiPointsFieldBuilder().getBuilder(index); + } + + /** + * repeated .pojo.MultiPoint multiPoints = 4; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointsOrBuilder( + int index) { + if (multiPointsBuilder_ == null) { + return multiPoints_.get(index); } else { - lineStringBuilder_.mergeFrom(value); + return multiPointsBuilder_.getMessageOrBuilder(index); } - - return this; } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public Builder clearLineString() { - if (lineStringBuilder_ == null) { - lineString_ = null; - onChanged(); + public java.util.List + getMultiPointsOrBuilderList() { + if (multiPointsBuilder_ != null) { + return multiPointsBuilder_.getMessageOrBuilderList(); } else { - lineString_ = null; - lineStringBuilder_ = null; + return java.util.Collections.unmodifiableList(multiPoints_); } - - return this; } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder getLineStringBuilder() { - - onChanged(); - return getLineStringFieldBuilder().getBuilder(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder addMultiPointsBuilder() { + return getMultiPointsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance()); } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringOrBuilder() { - if (lineStringBuilder_ != null) { - return lineStringBuilder_.getMessageOrBuilder(); - } else { - return lineString_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance() : lineString_; - } + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder addMultiPointsBuilder( + int index) { + return getMultiPointsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance()); } /** - * .pojo.LineString lineString = 2; + * repeated .pojo.MultiPoint multiPoints = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> - getLineStringFieldBuilder() { - if (lineStringBuilder_ == null) { - lineStringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder>( - getLineString(), + public java.util.List + getMultiPointsBuilderList() { + return getMultiPointsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> + getMultiPointsFieldBuilder() { + if (multiPointsBuilder_ == null) { + multiPointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder>( + multiPoints_, + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - lineString_ = null; + multiPoints_ = null; } - return lineStringBuilder_; + return multiPointsBuilder_; } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon polygon_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> polygonBuilder_; + private java.util.List multiLineStrings_ = + java.util.Collections.emptyList(); + + private void ensureMultiLineStringsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + multiLineStrings_ = new java.util.ArrayList(multiLineStrings_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> multiLineStringsBuilder_; /** - * .pojo.Polygon polygon = 3; - * - * @return Whether the polygon field is set. + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public boolean hasPolygon() { - return polygonBuilder_ != null || polygon_ != null; + public java.util.List getMultiLineStringsList() { + if (multiLineStringsBuilder_ == null) { + return java.util.Collections.unmodifiableList(multiLineStrings_); + } else { + return multiLineStringsBuilder_.getMessageList(); + } } /** - * .pojo.Polygon polygon = 3; - * - * @return The polygon. + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygon() { - if (polygonBuilder_ == null) { - return polygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance() : polygon_; + public int getMultiLineStringsCount() { + if (multiLineStringsBuilder_ == null) { + return multiLineStrings_.size(); } else { - return polygonBuilder_.getMessage(); + return multiLineStringsBuilder_.getCount(); } } /** - * .pojo.Polygon polygon = 3; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder setPolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { - if (polygonBuilder_ == null) { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineStrings(int index) { + if (multiLineStringsBuilder_ == null) { + return multiLineStrings_.get(index); + } else { + return multiLineStringsBuilder_.getMessage(index); + } + } + + /** + * repeated .pojo.MultiLineString multiLineStrings = 5; + */ + public Builder setMultiLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { + if (multiLineStringsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - polygon_ = value; + ensureMultiLineStringsIsMutable(); + multiLineStrings_.set(index, value); onChanged(); } else { - polygonBuilder_.setMessage(value); + multiLineStringsBuilder_.setMessage(index, value); } - return this; } /** - * .pojo.Polygon polygon = 3; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder setPolygon( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { - if (polygonBuilder_ == null) { - polygon_ = builderForValue.build(); + public Builder setMultiLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { + if (multiLineStringsBuilder_ == null) { + ensureMultiLineStringsIsMutable(); + multiLineStrings_.set(index, builderForValue.build()); onChanged(); } else { - polygonBuilder_.setMessage(builderForValue.build()); + multiLineStringsBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** - * .pojo.Polygon polygon = 3; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder mergePolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { - if (polygonBuilder_ == null) { - if (polygon_ != null) { - polygon_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.newBuilder(polygon_).mergeFrom(value).buildPartial(); - } else { - polygon_ = value; + public Builder addMultiLineStrings(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { + if (multiLineStringsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureMultiLineStringsIsMutable(); + multiLineStrings_.add(value); onChanged(); } else { - polygonBuilder_.mergeFrom(value); + multiLineStringsBuilder_.addMessage(value); } - return this; } /** - * .pojo.Polygon polygon = 3; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder clearPolygon() { - if (polygonBuilder_ == null) { - polygon_ = null; + public Builder addMultiLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { + if (multiLineStringsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiLineStringsIsMutable(); + multiLineStrings_.add(index, value); onChanged(); } else { - polygon_ = null; - polygonBuilder_ = null; + multiLineStringsBuilder_.addMessage(index, value); } - return this; } /** - * .pojo.Polygon polygon = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder getPolygonBuilder() { - - onChanged(); - return getPolygonFieldBuilder().getBuilder(); - } - - /** - * .pojo.Polygon polygon = 3; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonOrBuilder() { - if (polygonBuilder_ != null) { - return polygonBuilder_.getMessageOrBuilder(); - } else { - return polygon_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance() : polygon_; - } - } - - /** - * .pojo.Polygon polygon = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> - getPolygonFieldBuilder() { - if (polygonBuilder_ == null) { - polygonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder>( - getPolygon(), - getParentForChildren(), - isClean()); - polygon_ = null; - } - return polygonBuilder_; - } - - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint multiPoint_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> multiPointBuilder_; - - /** - * .pojo.MultiPoint multiPoint = 4; - * - * @return Whether the multiPoint field is set. - */ - public boolean hasMultiPoint() { - return multiPointBuilder_ != null || multiPoint_ != null; - } - - /** - * .pojo.MultiPoint multiPoint = 4; - * - * @return The multiPoint. + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoint() { - if (multiPointBuilder_ == null) { - return multiPoint_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance() : multiPoint_; + public Builder addMultiLineStrings( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { + if (multiLineStringsBuilder_ == null) { + ensureMultiLineStringsIsMutable(); + multiLineStrings_.add(builderForValue.build()); + onChanged(); } else { - return multiPointBuilder_.getMessage(); + multiLineStringsBuilder_.addMessage(builderForValue.build()); } + return this; } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder setMultiPoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { - if (multiPointBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - multiPoint_ = value; + public Builder addMultiLineStrings( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { + if (multiLineStringsBuilder_ == null) { + ensureMultiLineStringsIsMutable(); + multiLineStrings_.add(index, builderForValue.build()); onChanged(); } else { - multiPointBuilder_.setMessage(value); + multiLineStringsBuilder_.addMessage(index, builderForValue.build()); } - return this; } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder setMultiPoint( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { - if (multiPointBuilder_ == null) { - multiPoint_ = builderForValue.build(); + public Builder addAllMultiLineStrings( + java.lang.Iterable values) { + if (multiLineStringsBuilder_ == null) { + ensureMultiLineStringsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, multiLineStrings_); onChanged(); } else { - multiPointBuilder_.setMessage(builderForValue.build()); + multiLineStringsBuilder_.addAllMessages(values); } - return this; } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder mergeMultiPoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { - if (multiPointBuilder_ == null) { - if (multiPoint_ != null) { - multiPoint_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.newBuilder(multiPoint_).mergeFrom(value).buildPartial(); - } else { - multiPoint_ = value; - } + public Builder clearMultiLineStrings() { + if (multiLineStringsBuilder_ == null) { + multiLineStrings_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { - multiPointBuilder_.mergeFrom(value); + multiLineStringsBuilder_.clear(); } - return this; } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder clearMultiPoint() { - if (multiPointBuilder_ == null) { - multiPoint_ = null; + public Builder removeMultiLineStrings(int index) { + if (multiLineStringsBuilder_ == null) { + ensureMultiLineStringsIsMutable(); + multiLineStrings_.remove(index); onChanged(); } else { - multiPoint_ = null; - multiPointBuilder_ = null; + multiLineStringsBuilder_.remove(index); } - return this; } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder getMultiPointBuilder() { - - onChanged(); - return getMultiPointFieldBuilder().getBuilder(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder getMultiLineStringsBuilder( + int index) { + return getMultiLineStringsFieldBuilder().getBuilder(index); } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointOrBuilder() { - if (multiPointBuilder_ != null) { - return multiPointBuilder_.getMessageOrBuilder(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringsOrBuilder( + int index) { + if (multiLineStringsBuilder_ == null) { + return multiLineStrings_.get(index); } else { - return multiPoint_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance() : multiPoint_; + return multiLineStringsBuilder_.getMessageOrBuilder(index); } } /** - * .pojo.MultiPoint multiPoint = 4; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> - getMultiPointFieldBuilder() { - if (multiPointBuilder_ == null) { - multiPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder>( - getMultiPoint(), - getParentForChildren(), - isClean()); - multiPoint_ = null; + public java.util.List + getMultiLineStringsOrBuilderList() { + if (multiLineStringsBuilder_ != null) { + return multiLineStringsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(multiLineStrings_); } - return multiPointBuilder_; } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString multiLineString_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> multiLineStringBuilder_; - /** - * .pojo.MultiLineString multiLineString = 5; - * - * @return Whether the multiLineString field is set. + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public boolean hasMultiLineString() { - return multiLineStringBuilder_ != null || multiLineString_ != null; + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder addMultiLineStringsBuilder() { + return getMultiLineStringsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance()); } /** - * .pojo.MultiLineString multiLineString = 5; - * - * @return The multiLineString. + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineString() { - if (multiLineStringBuilder_ == null) { - return multiLineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance() : multiLineString_; - } else { - return multiLineStringBuilder_.getMessage(); - } + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder addMultiLineStringsBuilder( + int index) { + return getMultiLineStringsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance()); } /** - * .pojo.MultiLineString multiLineString = 5; + * repeated .pojo.MultiLineString multiLineStrings = 5; */ - public Builder setMultiLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { - if (multiLineStringBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - multiLineString_ = value; - onChanged(); - } else { - multiLineStringBuilder_.setMessage(value); - } - - return this; + public java.util.List + getMultiLineStringsBuilderList() { + return getMultiLineStringsFieldBuilder().getBuilderList(); } - /** - * .pojo.MultiLineString multiLineString = 5; - */ - public Builder setMultiLineString( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { - if (multiLineStringBuilder_ == null) { - multiLineString_ = builderForValue.build(); - onChanged(); - } else { - multiLineStringBuilder_.setMessage(builderForValue.build()); + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> + getMultiLineStringsFieldBuilder() { + if (multiLineStringsBuilder_ == null) { + multiLineStringsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder>( + multiLineStrings_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + multiLineStrings_ = null; } - - return this; + return multiLineStringsBuilder_; } - /** - * .pojo.MultiLineString multiLineString = 5; - */ - public Builder mergeMultiLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { - if (multiLineStringBuilder_ == null) { - if (multiLineString_ != null) { - multiLineString_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.newBuilder(multiLineString_).mergeFrom(value).buildPartial(); - } else { - multiLineString_ = value; - } - onChanged(); - } else { - multiLineStringBuilder_.mergeFrom(value); - } + private java.util.List multiPolygons_ = + java.util.Collections.emptyList(); - return this; + private void ensureMultiPolygonsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + multiPolygons_ = new java.util.ArrayList(multiPolygons_); + bitField0_ |= 0x00000020; + } } + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> multiPolygonsBuilder_; + /** - * .pojo.MultiLineString multiLineString = 5; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public Builder clearMultiLineString() { - if (multiLineStringBuilder_ == null) { - multiLineString_ = null; - onChanged(); + public java.util.List getMultiPolygonsList() { + if (multiPolygonsBuilder_ == null) { + return java.util.Collections.unmodifiableList(multiPolygons_); } else { - multiLineString_ = null; - multiLineStringBuilder_ = null; + return multiPolygonsBuilder_.getMessageList(); } - - return this; } /** - * .pojo.MultiLineString multiLineString = 5; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder getMultiLineStringBuilder() { - - onChanged(); - return getMultiLineStringFieldBuilder().getBuilder(); + public int getMultiPolygonsCount() { + if (multiPolygonsBuilder_ == null) { + return multiPolygons_.size(); + } else { + return multiPolygonsBuilder_.getCount(); + } } /** - * .pojo.MultiLineString multiLineString = 5; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringOrBuilder() { - if (multiLineStringBuilder_ != null) { - return multiLineStringBuilder_.getMessageOrBuilder(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygons(int index) { + if (multiPolygonsBuilder_ == null) { + return multiPolygons_.get(index); } else { - return multiLineString_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance() : multiLineString_; + return multiPolygonsBuilder_.getMessage(index); } } /** - * .pojo.MultiLineString multiLineString = 5; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> - getMultiLineStringFieldBuilder() { - if (multiLineStringBuilder_ == null) { - multiLineStringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder>( - getMultiLineString(), - getParentForChildren(), - isClean()); - multiLineString_ = null; + public Builder setMultiPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { + if (multiPolygonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiPolygonsIsMutable(); + multiPolygons_.set(index, value); + onChanged(); + } else { + multiPolygonsBuilder_.setMessage(index, value); } - return multiLineStringBuilder_; + return this; } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon multiPolygon_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> multiPolygonBuilder_; - /** - * .pojo.MultiPolygon multiPolygon = 6; - * - * @return Whether the multiPolygon field is set. + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public boolean hasMultiPolygon() { - return multiPolygonBuilder_ != null || multiPolygon_ != null; + public Builder setMultiPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { + if (multiPolygonsBuilder_ == null) { + ensureMultiPolygonsIsMutable(); + multiPolygons_.set(index, builderForValue.build()); + onChanged(); + } else { + multiPolygonsBuilder_.setMessage(index, builderForValue.build()); + } + return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; - * - * @return The multiPolygon. + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygon() { - if (multiPolygonBuilder_ == null) { - return multiPolygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance() : multiPolygon_; + public Builder addMultiPolygons(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { + if (multiPolygonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiPolygonsIsMutable(); + multiPolygons_.add(value); + onChanged(); } else { - return multiPolygonBuilder_.getMessage(); + multiPolygonsBuilder_.addMessage(value); } + return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public Builder setMultiPolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { - if (multiPolygonBuilder_ == null) { + public Builder addMultiPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { + if (multiPolygonsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - multiPolygon_ = value; + ensureMultiPolygonsIsMutable(); + multiPolygons_.add(index, value); onChanged(); } else { - multiPolygonBuilder_.setMessage(value); + multiPolygonsBuilder_.addMessage(index, value); } - return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public Builder setMultiPolygon( + public Builder addMultiPolygons( org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { - if (multiPolygonBuilder_ == null) { - multiPolygon_ = builderForValue.build(); + if (multiPolygonsBuilder_ == null) { + ensureMultiPolygonsIsMutable(); + multiPolygons_.add(builderForValue.build()); onChanged(); } else { - multiPolygonBuilder_.setMessage(builderForValue.build()); + multiPolygonsBuilder_.addMessage(builderForValue.build()); } - return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public Builder mergeMultiPolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { - if (multiPolygonBuilder_ == null) { - if (multiPolygon_ != null) { - multiPolygon_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.newBuilder(multiPolygon_).mergeFrom(value).buildPartial(); - } else { - multiPolygon_ = value; - } + public Builder addMultiPolygons( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { + if (multiPolygonsBuilder_ == null) { + ensureMultiPolygonsIsMutable(); + multiPolygons_.add(index, builderForValue.build()); onChanged(); } else { - multiPolygonBuilder_.mergeFrom(value); + multiPolygonsBuilder_.addMessage(index, builderForValue.build()); } - return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public Builder clearMultiPolygon() { - if (multiPolygonBuilder_ == null) { - multiPolygon_ = null; + public Builder addAllMultiPolygons( + java.lang.Iterable values) { + if (multiPolygonsBuilder_ == null) { + ensureMultiPolygonsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, multiPolygons_); onChanged(); } else { - multiPolygon_ = null; - multiPolygonBuilder_ = null; + multiPolygonsBuilder_.addAllMessages(values); } - return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder getMultiPolygonBuilder() { - - onChanged(); - return getMultiPolygonFieldBuilder().getBuilder(); + public Builder clearMultiPolygons() { + if (multiPolygonsBuilder_ == null) { + multiPolygons_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + multiPolygonsBuilder_.clear(); + } + return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonOrBuilder() { - if (multiPolygonBuilder_ != null) { - return multiPolygonBuilder_.getMessageOrBuilder(); + public Builder removeMultiPolygons(int index) { + if (multiPolygonsBuilder_ == null) { + ensureMultiPolygonsIsMutable(); + multiPolygons_.remove(index); + onChanged(); } else { - return multiPolygon_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance() : multiPolygon_; + multiPolygonsBuilder_.remove(index); } + return this; } /** - * .pojo.MultiPolygon multiPolygon = 6; + * repeated .pojo.MultiPolygon multiPolygons = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> - getMultiPolygonFieldBuilder() { - if (multiPolygonBuilder_ == null) { - multiPolygonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder>( - getMultiPolygon(), - getParentForChildren(), - isClean()); - multiPolygon_ = null; - } - return multiPolygonBuilder_; + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder getMultiPolygonsBuilder( + int index) { + return getMultiPolygonsFieldBuilder().getBuilder(index); } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection geometryCollection_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> geometryCollectionBuilder_; + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonsOrBuilder( + int index) { + if (multiPolygonsBuilder_ == null) { + return multiPolygons_.get(index); + } else { + return multiPolygonsBuilder_.getMessageOrBuilder(index); + } + } /** - * .pojo.GeometryCollection geometryCollection = 7; + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + public java.util.List + getMultiPolygonsOrBuilderList() { + if (multiPolygonsBuilder_ != null) { + return multiPolygonsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(multiPolygons_); + } + } + + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder addMultiPolygonsBuilder() { + return getMultiPolygonsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance()); + } + + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder addMultiPolygonsBuilder( + int index) { + return getMultiPolygonsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance()); + } + + /** + * repeated .pojo.MultiPolygon multiPolygons = 6; + */ + public java.util.List + getMultiPolygonsBuilderList() { + return getMultiPolygonsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> + getMultiPolygonsFieldBuilder() { + if (multiPolygonsBuilder_ == null) { + multiPolygonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder>( + multiPolygons_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + multiPolygons_ = null; + } + return multiPolygonsBuilder_; + } + + private java.util.List geometryCollections_ = + java.util.Collections.emptyList(); + + private void ensureGeometryCollectionsIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + geometryCollections_ = new java.util.ArrayList(geometryCollections_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> geometryCollectionsBuilder_; + + /** + *

+             * 允许嵌套
+             * 
* - * @return Whether the geometryCollection field is set. + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public boolean hasGeometryCollection() { - return geometryCollectionBuilder_ != null || geometryCollection_ != null; + public java.util.List getGeometryCollectionsList() { + if (geometryCollectionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(geometryCollections_); + } else { + return geometryCollectionsBuilder_.getMessageList(); + } } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
* - * @return The geometryCollection. + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollection() { - if (geometryCollectionBuilder_ == null) { - return geometryCollection_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance() : geometryCollection_; + public int getGeometryCollectionsCount() { + if (geometryCollectionsBuilder_ == null) { + return geometryCollections_.size(); } else { - return geometryCollectionBuilder_.getMessage(); + return geometryCollectionsBuilder_.getCount(); } } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public Builder setGeometryCollection(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { - if (geometryCollectionBuilder_ == null) { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollections(int index) { + if (geometryCollectionsBuilder_ == null) { + return geometryCollections_.get(index); + } else { + return geometryCollectionsBuilder_.getMessage(index); + } + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public Builder setGeometryCollections( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { + if (geometryCollectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - geometryCollection_ = value; + ensureGeometryCollectionsIsMutable(); + geometryCollections_.set(index, value); onChanged(); } else { - geometryCollectionBuilder_.setMessage(value); + geometryCollectionsBuilder_.setMessage(index, value); } - return this; } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public Builder setGeometryCollection( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { - if (geometryCollectionBuilder_ == null) { - geometryCollection_ = builderForValue.build(); + public Builder setGeometryCollections( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { + if (geometryCollectionsBuilder_ == null) { + ensureGeometryCollectionsIsMutable(); + geometryCollections_.set(index, builderForValue.build()); onChanged(); } else { - geometryCollectionBuilder_.setMessage(builderForValue.build()); + geometryCollectionsBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public Builder mergeGeometryCollection(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { - if (geometryCollectionBuilder_ == null) { - if (geometryCollection_ != null) { - geometryCollection_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.newBuilder(geometryCollection_).mergeFrom(value).buildPartial(); - } else { - geometryCollection_ = value; + public Builder addGeometryCollections(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { + if (geometryCollectionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureGeometryCollectionsIsMutable(); + geometryCollections_.add(value); onChanged(); } else { - geometryCollectionBuilder_.mergeFrom(value); + geometryCollectionsBuilder_.addMessage(value); } - return this; } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public Builder clearGeometryCollection() { - if (geometryCollectionBuilder_ == null) { - geometryCollection_ = null; + public Builder addGeometryCollections( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { + if (geometryCollectionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGeometryCollectionsIsMutable(); + geometryCollections_.add(index, value); onChanged(); } else { - geometryCollection_ = null; - geometryCollectionBuilder_ = null; + geometryCollectionsBuilder_.addMessage(index, value); } - return this; } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder getGeometryCollectionBuilder() { - - onChanged(); - return getGeometryCollectionFieldBuilder().getBuilder(); + public Builder addGeometryCollections( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { + if (geometryCollectionsBuilder_ == null) { + ensureGeometryCollectionsIsMutable(); + geometryCollections_.add(builderForValue.build()); + onChanged(); + } else { + geometryCollectionsBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionOrBuilder() { - if (geometryCollectionBuilder_ != null) { - return geometryCollectionBuilder_.getMessageOrBuilder(); + public Builder addGeometryCollections( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { + if (geometryCollectionsBuilder_ == null) { + ensureGeometryCollectionsIsMutable(); + geometryCollections_.add(index, builderForValue.build()); + onChanged(); } else { - return geometryCollection_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance() : geometryCollection_; + geometryCollectionsBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** - * .pojo.GeometryCollection geometryCollection = 7; + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> - getGeometryCollectionFieldBuilder() { - if (geometryCollectionBuilder_ == null) { - geometryCollectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder>( - getGeometryCollection(), - getParentForChildren(), - isClean()); - geometryCollection_ = null; - } - return geometryCollectionBuilder_; - } + public Builder addAllGeometryCollections( + java.lang.Iterable values) { + if (geometryCollectionsBuilder_ == null) { + ensureGeometryCollectionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, geometryCollections_); + onChanged(); + } else { + geometryCollectionsBuilder_.addAllMessages(values); + } + return this; + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public Builder clearGeometryCollections() { + if (geometryCollectionsBuilder_ == null) { + geometryCollections_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + geometryCollectionsBuilder_.clear(); + } + return this; + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public Builder removeGeometryCollections(int index) { + if (geometryCollectionsBuilder_ == null) { + ensureGeometryCollectionsIsMutable(); + geometryCollections_.remove(index); + onChanged(); + } else { + geometryCollectionsBuilder_.remove(index); + } + return this; + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder getGeometryCollectionsBuilder( + int index) { + return getGeometryCollectionsFieldBuilder().getBuilder(index); + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionsOrBuilder( + int index) { + if (geometryCollectionsBuilder_ == null) { + return geometryCollections_.get(index); + } else { + return geometryCollectionsBuilder_.getMessageOrBuilder(index); + } + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public java.util.List + getGeometryCollectionsOrBuilderList() { + if (geometryCollectionsBuilder_ != null) { + return geometryCollectionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(geometryCollections_); + } + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder addGeometryCollectionsBuilder() { + return getGeometryCollectionsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance()); + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder addGeometryCollectionsBuilder( + int index) { + return getGeometryCollectionsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance()); + } + + /** + *
+             * 允许嵌套
+             * 
+ * + * repeated .pojo.GeometryCollection geometryCollections = 7; + */ + public java.util.List + getGeometryCollectionsBuilderList() { + return getGeometryCollectionsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> + getGeometryCollectionsFieldBuilder() { + if (geometryCollectionsBuilder_ == null) { + geometryCollectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder>( + geometryCollections_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + geometryCollections_ = null; + } + return geometryCollectionsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( @@ -12574,506 +11021,3266 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:pojo.Geometry) + // @@protoc_insertion_point(builder_scope:pojo.GeometryCollection) } - // @@protoc_insertion_point(class_scope:pojo.Geometry) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:pojo.GeometryCollection) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Geometry parsePartialFrom( + public GeometryCollection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Geometry(input, extensionRegistry); + return new GeometryCollection(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface MapOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.Map) + public interface GeometryOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.Geometry) com.google.protobuf.MessageOrBuilder { /** - *
-         * key、value id
-         * 
- * - * repeated int32 doubleKeyIds = 1; + * .pojo.Point point = 1; * - * @return A list containing the doubleKeyIds. + * @return Whether the point field is set. */ - java.util.List getDoubleKeyIdsList(); + boolean hasPoint(); /** - *
-         * key、value id
-         * 
- * - * repeated int32 doubleKeyIds = 1; + * .pojo.Point point = 1; * - * @return The count of doubleKeyIds. + * @return The point. */ - int getDoubleKeyIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoint(); /** - *
-         * key、value id
-         * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @param index The index of the element to return. - * @return The doubleKeyIds at the given index. + * .pojo.Point point = 1; */ - int getDoubleKeyIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointOrBuilder(); /** - * repeated int32 doubleValueIds = 2; + * .pojo.LineString lineString = 2; * - * @return A list containing the doubleValueIds. + * @return Whether the lineString field is set. */ - java.util.List getDoubleValueIdsList(); + boolean hasLineString(); /** - * repeated int32 doubleValueIds = 2; + * .pojo.LineString lineString = 2; * - * @return The count of doubleValueIds. + * @return The lineString. */ - int getDoubleValueIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineString(); /** - * repeated int32 doubleValueIds = 2; - * - * @param index The index of the element to return. - * @return The doubleValueIds at the given index. + * .pojo.LineString lineString = 2; */ - int getDoubleValueIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringOrBuilder(); /** - * repeated int32 floatKeyIds = 3; + * .pojo.Polygon polygon = 3; * - * @return A list containing the floatKeyIds. + * @return Whether the polygon field is set. */ - java.util.List getFloatKeyIdsList(); + boolean hasPolygon(); /** - * repeated int32 floatKeyIds = 3; + * .pojo.Polygon polygon = 3; * - * @return The count of floatKeyIds. + * @return The polygon. */ - int getFloatKeyIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygon(); /** - * repeated int32 floatKeyIds = 3; - * - * @param index The index of the element to return. - * @return The floatKeyIds at the given index. + * .pojo.Polygon polygon = 3; */ - int getFloatKeyIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonOrBuilder(); /** - * repeated int32 floatValueIds = 4; + * .pojo.MultiPoint multiPoint = 4; * - * @return A list containing the floatValueIds. + * @return Whether the multiPoint field is set. */ - java.util.List getFloatValueIdsList(); + boolean hasMultiPoint(); /** - * repeated int32 floatValueIds = 4; + * .pojo.MultiPoint multiPoint = 4; * - * @return The count of floatValueIds. + * @return The multiPoint. */ - int getFloatValueIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoint(); /** - * repeated int32 floatValueIds = 4; - * - * @param index The index of the element to return. - * @return The floatValueIds at the given index. + * .pojo.MultiPoint multiPoint = 4; */ - int getFloatValueIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointOrBuilder(); /** - * repeated int32 sint32KeyIds = 5; + * .pojo.MultiLineString multiLineString = 5; * - * @return A list containing the sint32KeyIds. + * @return Whether the multiLineString field is set. */ - java.util.List getSint32KeyIdsList(); + boolean hasMultiLineString(); /** - * repeated int32 sint32KeyIds = 5; + * .pojo.MultiLineString multiLineString = 5; * - * @return The count of sint32KeyIds. + * @return The multiLineString. */ - int getSint32KeyIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineString(); /** - * repeated int32 sint32KeyIds = 5; - * - * @param index The index of the element to return. - * @return The sint32KeyIds at the given index. + * .pojo.MultiLineString multiLineString = 5; */ - int getSint32KeyIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringOrBuilder(); /** - * repeated int32 sint32ValueIds = 6; + * .pojo.MultiPolygon multiPolygon = 6; * - * @return A list containing the sint32ValueIds. + * @return Whether the multiPolygon field is set. */ - java.util.List getSint32ValueIdsList(); + boolean hasMultiPolygon(); /** - * repeated int32 sint32ValueIds = 6; + * .pojo.MultiPolygon multiPolygon = 6; * - * @return The count of sint32ValueIds. + * @return The multiPolygon. */ - int getSint32ValueIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygon(); /** - * repeated int32 sint32ValueIds = 6; - * - * @param index The index of the element to return. - * @return The sint32ValueIds at the given index. + * .pojo.MultiPolygon multiPolygon = 6; */ - int getSint32ValueIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonOrBuilder(); /** - * repeated int32 sint64KeyIds = 7; + * .pojo.GeometryCollection geometryCollection = 7; * - * @return A list containing the sint64KeyIds. + * @return Whether the geometryCollection field is set. */ - java.util.List getSint64KeyIdsList(); + boolean hasGeometryCollection(); /** - * repeated int32 sint64KeyIds = 7; + * .pojo.GeometryCollection geometryCollection = 7; * - * @return The count of sint64KeyIds. + * @return The geometryCollection. */ - int getSint64KeyIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollection(); /** - * repeated int32 sint64KeyIds = 7; - * - * @param index The index of the element to return. - * @return The sint64KeyIds at the given index. + * .pojo.GeometryCollection geometryCollection = 7; */ - int getSint64KeyIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionOrBuilder(); /** - * repeated int32 sint64ValueIds = 8; + * .pojo.NullGeometry nullGeometry = 8; * - * @return A list containing the sint64ValueIds. + * @return Whether the nullGeometry field is set. */ - java.util.List getSint64ValueIdsList(); + boolean hasNullGeometry(); /** - * repeated int32 sint64ValueIds = 8; + * .pojo.NullGeometry nullGeometry = 8; * - * @return The count of sint64ValueIds. + * @return The nullGeometry. */ - int getSint64ValueIdsCount(); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry getNullGeometry(); /** - * repeated int32 sint64ValueIds = 8; - * - * @param index The index of the element to return. - * @return The sint64ValueIds at the given index. + * .pojo.NullGeometry nullGeometry = 8; */ - int getSint64ValueIds(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder getNullGeometryOrBuilder(); + } - /** - * repeated int32 boolKeyIds = 9; - * - * @return A list containing the boolKeyIds. - */ - java.util.List getBoolKeyIdsList(); + /** + *
+     * geometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空
+     * 
+ *

+ * Protobuf type {@code pojo.Geometry} + */ + public static final class Geometry extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:pojo.Geometry) + GeometryOrBuilder { + private static final long serialVersionUID = 0L; - /** - * repeated int32 boolKeyIds = 9; - * - * @return The count of boolKeyIds. - */ - int getBoolKeyIdsCount(); + // Use Geometry.newBuilder() to construct. + private Geometry(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - /** - * repeated int32 boolKeyIds = 9; - * - * @param index The index of the element to return. - * @return The boolKeyIds at the given index. - */ - int getBoolKeyIds(int index); + private Geometry() { + } - /** - * repeated bool boolValues = 10; - * - * @return A list containing the boolValues. - */ - java.util.List getBoolValuesList(); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Geometry(); + } - /** - * repeated bool boolValues = 10; - * - * @return The count of boolValues. - */ - int getBoolValuesCount(); + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } - /** - * repeated bool boolValues = 10; - * - * @param index The index of the element to return. - * @return The boolValues at the given index. - */ - boolean getBoolValues(int index); + private Geometry( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder subBuilder = null; + if (point_ != null) { + subBuilder = point_.toBuilder(); + } + point_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(point_); + point_ = subBuilder.buildPartial(); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return A list containing the stringKeyIds. - */ - java.util.List getStringKeyIdsList(); + break; + } + case 18: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder subBuilder = null; + if (lineString_ != null) { + subBuilder = lineString_.toBuilder(); + } + lineString_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lineString_); + lineString_ = subBuilder.buildPartial(); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return The count of stringKeyIds. - */ - int getStringKeyIdsCount(); + break; + } + case 26: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder subBuilder = null; + if (polygon_ != null) { + subBuilder = polygon_.toBuilder(); + } + polygon_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(polygon_); + polygon_ = subBuilder.buildPartial(); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @param index The index of the element to return. - * @return The stringKeyIds at the given index. - */ - int getStringKeyIds(int index); + break; + } + case 34: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder subBuilder = null; + if (multiPoint_ != null) { + subBuilder = multiPoint_.toBuilder(); + } + multiPoint_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(multiPoint_); + multiPoint_ = subBuilder.buildPartial(); + } - /** - * repeated int32 stringValueIds = 12; - * - * @return A list containing the stringValueIds. - */ - java.util.List getStringValueIdsList(); + break; + } + case 42: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder subBuilder = null; + if (multiLineString_ != null) { + subBuilder = multiLineString_.toBuilder(); + } + multiLineString_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(multiLineString_); + multiLineString_ = subBuilder.buildPartial(); + } - /** - * repeated int32 stringValueIds = 12; - * - * @return The count of stringValueIds. - */ - int getStringValueIdsCount(); + break; + } + case 50: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder subBuilder = null; + if (multiPolygon_ != null) { + subBuilder = multiPolygon_.toBuilder(); + } + multiPolygon_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(multiPolygon_); + multiPolygon_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder subBuilder = null; + if (geometryCollection_ != null) { + subBuilder = geometryCollection_.toBuilder(); + } + geometryCollection_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(geometryCollection_); + geometryCollection_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder subBuilder = null; + if (nullGeometry_ != null) { + subBuilder = nullGeometry_.toBuilder(); + } + nullGeometry_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nullGeometry_); + nullGeometry_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder.class); + } + + public static final int POINT_FIELD_NUMBER = 1; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point point_; /** - * repeated int32 stringValueIds = 12; + * .pojo.Point point = 1; * - * @param index The index of the element to return. - * @return The stringValueIds at the given index. + * @return Whether the point field is set. */ - int getStringValueIds(int index); + @java.lang.Override + public boolean hasPoint() { + return point_ != null; + } /** - * repeated int32 bytesKeyIds = 13; + * .pojo.Point point = 1; * - * @return A list containing the bytesKeyIds. + * @return The point. */ - java.util.List getBytesKeyIdsList(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoint() { + return point_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance() : point_; + } /** - * repeated int32 bytesKeyIds = 13; - * - * @return The count of bytesKeyIds. + * .pojo.Point point = 1; */ - int getBytesKeyIdsCount(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointOrBuilder() { + return getPoint(); + } + + public static final int LINESTRING_FIELD_NUMBER = 2; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString lineString_; /** - * repeated int32 bytesKeyIds = 13; + * .pojo.LineString lineString = 2; * - * @param index The index of the element to return. - * @return The bytesKeyIds at the given index. + * @return Whether the lineString field is set. */ - int getBytesKeyIds(int index); + @java.lang.Override + public boolean hasLineString() { + return lineString_ != null; + } /** - * repeated int32 bytesValueIds = 14; + * .pojo.LineString lineString = 2; * - * @return A list containing the bytesValueIds. + * @return The lineString. */ - java.util.List getBytesValueIdsList(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineString() { + return lineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance() : lineString_; + } /** - * repeated int32 bytesValueIds = 14; - * - * @return The count of bytesValueIds. + * .pojo.LineString lineString = 2; */ - int getBytesValueIdsCount(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringOrBuilder() { + return getLineString(); + } + + public static final int POLYGON_FIELD_NUMBER = 3; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon polygon_; /** - * repeated int32 bytesValueIds = 14; + * .pojo.Polygon polygon = 3; * - * @param index The index of the element to return. - * @return The bytesValueIds at the given index. + * @return Whether the polygon field is set. */ - int getBytesValueIds(int index); + @java.lang.Override + public boolean hasPolygon() { + return polygon_ != null; + } /** - *

-         * children Map key、value id
-         * 
- * - * repeated int32 subKeyIds = 15; + * .pojo.Polygon polygon = 3; * - * @return A list containing the subKeyIds. + * @return The polygon. */ - java.util.List getSubKeyIdsList(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygon() { + return polygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance() : polygon_; + } /** - *
-         * children Map key、value id
-         * 
- * - * repeated int32 subKeyIds = 15; - * - * @return The count of subKeyIds. + * .pojo.Polygon polygon = 3; */ - int getSubKeyIdsCount(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonOrBuilder() { + return getPolygon(); + } + + public static final int MULTIPOINT_FIELD_NUMBER = 4; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint multiPoint_; /** - *
-         * children Map key、value id
-         * 
- * - * repeated int32 subKeyIds = 15; + * .pojo.MultiPoint multiPoint = 4; * - * @param index The index of the element to return. - * @return The subKeyIds at the given index. + * @return Whether the multiPoint field is set. */ - int getSubKeyIds(int index); + @java.lang.Override + public boolean hasMultiPoint() { + return multiPoint_ != null; + } /** - * repeated .pojo.Map subMaps = 16; + * .pojo.MultiPoint multiPoint = 4; + * + * @return The multiPoint. */ - java.util.List - getSubMapsList(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoint() { + return multiPoint_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance() : multiPoint_; + } /** - * repeated .pojo.Map subMaps = 16; + * .pojo.MultiPoint multiPoint = 4; */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getSubMaps(int index); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointOrBuilder() { + return getMultiPoint(); + } + + public static final int MULTILINESTRING_FIELD_NUMBER = 5; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString multiLineString_; /** - * repeated .pojo.Map subMaps = 16; + * .pojo.MultiLineString multiLineString = 5; + * + * @return Whether the multiLineString field is set. */ - int getSubMapsCount(); + @java.lang.Override + public boolean hasMultiLineString() { + return multiLineString_ != null; + } /** - * repeated .pojo.Map subMaps = 16; + * .pojo.MultiLineString multiLineString = 5; + * + * @return The multiLineString. */ - java.util.List - getSubMapsOrBuilderList(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineString() { + return multiLineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance() : multiLineString_; + } /** - * repeated .pojo.Map subMaps = 16; + * .pojo.MultiLineString multiLineString = 5; */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getSubMapsOrBuilder( - int index); - } + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringOrBuilder() { + return getMultiLineString(); + } - /** - *
-     * 属性 支持的属性类型 double float sint32 sint64 bool string bytes subProperty
-     * 属性使用keyId-value或keyId-valueId格式来存储
-     * sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中
-     * 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后:
-     * FeatureCollection {
-     *      keys = ['id','name','age'],//所有的key收集到keys中
-     *      sint32Values = [4,5],//所有的int value收集到sint32Values中
-     *      stringValues = ['tom','jerry'],//所有的string value收集到stringValues中
-     *      //其它类型的属性也是类似的方式收集为key value
-     *      propertiess = [//具体的属性用keyId-value或keyId-valueId格式来存储
-     *          {sint32KeyIds=[0], sint32ValueIds=[0], stringKeyIds=[1], stringValueIds=[0]},//tom的属性 {0:0, 1:0}
-     *          {sint32KeyIds=[0,2], sint32ValueIds=[1,0], stringKeyIds=[1], stringValueIds=[1]}//jerry的属性 {0:1, 1:1, 2:1}
-     *      ]
-     * }
-     * 
- *

- * Protobuf type {@code pojo.Map} - */ - public static final class Map extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.Map) - MapOrBuilder { - private static final long serialVersionUID = 0L; + public static final int MULTIPOLYGON_FIELD_NUMBER = 6; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon multiPolygon_; - // Use Map.newBuilder() to construct. - private Map(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + /** + * .pojo.MultiPolygon multiPolygon = 6; + * + * @return Whether the multiPolygon field is set. + */ + @java.lang.Override + public boolean hasMultiPolygon() { + return multiPolygon_ != null; } - private Map() { - doubleKeyIds_ = emptyIntList(); - doubleValueIds_ = emptyIntList(); - floatKeyIds_ = emptyIntList(); - floatValueIds_ = emptyIntList(); - sint32KeyIds_ = emptyIntList(); - sint32ValueIds_ = emptyIntList(); - sint64KeyIds_ = emptyIntList(); - sint64ValueIds_ = emptyIntList(); - boolKeyIds_ = emptyIntList(); - boolValues_ = emptyBooleanList(); - stringKeyIds_ = emptyIntList(); - stringValueIds_ = emptyIntList(); - bytesKeyIds_ = emptyIntList(); - bytesValueIds_ = emptyIntList(); - subKeyIds_ = emptyIntList(); - subMaps_ = java.util.Collections.emptyList(); + /** + * .pojo.MultiPolygon multiPolygon = 6; + * + * @return The multiPolygon. + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygon() { + return multiPolygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance() : multiPolygon_; } + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Map(); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonOrBuilder() { + return getMultiPolygon(); } + public static final int GEOMETRYCOLLECTION_FIELD_NUMBER = 7; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection geometryCollection_; + + /** + * .pojo.GeometryCollection geometryCollection = 7; + * + * @return Whether the geometryCollection field is set. + */ @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; + public boolean hasGeometryCollection() { + return geometryCollection_ != null; } - private Map( - com.google.protobuf.CodedInputStream input, + /** + * .pojo.GeometryCollection geometryCollection = 7; + * + * @return The geometryCollection. + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollection() { + return geometryCollection_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance() : geometryCollection_; + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionOrBuilder() { + return getGeometryCollection(); + } + + public static final int NULLGEOMETRY_FIELD_NUMBER = 8; + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry nullGeometry_; + + /** + * .pojo.NullGeometry nullGeometry = 8; + * + * @return Whether the nullGeometry field is set. + */ + @java.lang.Override + public boolean hasNullGeometry() { + return nullGeometry_ != null; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + * + * @return The nullGeometry. + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry getNullGeometry() { + return nullGeometry_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.getDefaultInstance() : nullGeometry_; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder getNullGeometryOrBuilder() { + return getNullGeometry(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (point_ != null) { + output.writeMessage(1, getPoint()); + } + if (lineString_ != null) { + output.writeMessage(2, getLineString()); + } + if (polygon_ != null) { + output.writeMessage(3, getPolygon()); + } + if (multiPoint_ != null) { + output.writeMessage(4, getMultiPoint()); + } + if (multiLineString_ != null) { + output.writeMessage(5, getMultiLineString()); + } + if (multiPolygon_ != null) { + output.writeMessage(6, getMultiPolygon()); + } + if (geometryCollection_ != null) { + output.writeMessage(7, getGeometryCollection()); + } + if (nullGeometry_ != null) { + output.writeMessage(8, getNullGeometry()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (point_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPoint()); + } + if (lineString_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLineString()); + } + if (polygon_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPolygon()); + } + if (multiPoint_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMultiPoint()); + } + if (multiLineString_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMultiLineString()); + } + if (multiPolygon_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMultiPolygon()); + } + if (geometryCollection_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getGeometryCollection()); + } + if (nullGeometry_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getNullGeometry()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry)) { + return super.equals(obj); + } + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) obj; + + if (hasPoint() != other.hasPoint()) return false; + if (hasPoint()) { + if (!getPoint() + .equals(other.getPoint())) return false; + } + if (hasLineString() != other.hasLineString()) return false; + if (hasLineString()) { + if (!getLineString() + .equals(other.getLineString())) return false; + } + if (hasPolygon() != other.hasPolygon()) return false; + if (hasPolygon()) { + if (!getPolygon() + .equals(other.getPolygon())) return false; + } + if (hasMultiPoint() != other.hasMultiPoint()) return false; + if (hasMultiPoint()) { + if (!getMultiPoint() + .equals(other.getMultiPoint())) return false; + } + if (hasMultiLineString() != other.hasMultiLineString()) return false; + if (hasMultiLineString()) { + if (!getMultiLineString() + .equals(other.getMultiLineString())) return false; + } + if (hasMultiPolygon() != other.hasMultiPolygon()) return false; + if (hasMultiPolygon()) { + if (!getMultiPolygon() + .equals(other.getMultiPolygon())) return false; + } + if (hasGeometryCollection() != other.hasGeometryCollection()) return false; + if (hasGeometryCollection()) { + if (!getGeometryCollection() + .equals(other.getGeometryCollection())) return false; + } + if (hasNullGeometry() != other.hasNullGeometry()) return false; + if (hasNullGeometry()) { + if (!getNullGeometry() + .equals(other.getNullGeometry())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPoint()) { + hash = (37 * hash) + POINT_FIELD_NUMBER; + hash = (53 * hash) + getPoint().hashCode(); + } + if (hasLineString()) { + hash = (37 * hash) + LINESTRING_FIELD_NUMBER; + hash = (53 * hash) + getLineString().hashCode(); + } + if (hasPolygon()) { + hash = (37 * hash) + POLYGON_FIELD_NUMBER; + hash = (53 * hash) + getPolygon().hashCode(); + } + if (hasMultiPoint()) { + hash = (37 * hash) + MULTIPOINT_FIELD_NUMBER; + hash = (53 * hash) + getMultiPoint().hashCode(); + } + if (hasMultiLineString()) { + hash = (37 * hash) + MULTILINESTRING_FIELD_NUMBER; + hash = (53 * hash) + getMultiLineString().hashCode(); + } + if (hasMultiPolygon()) { + hash = (37 * hash) + MULTIPOLYGON_FIELD_NUMBER; + hash = (53 * hash) + getMultiPolygon().hashCode(); + } + if (hasGeometryCollection()) { + hash = (37 * hash) + GEOMETRYCOLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getGeometryCollection().hashCode(); + } + if (hasNullGeometry()) { + hash = (37 * hash) + NULLGEOMETRY_FIELD_NUMBER; + hash = (53 * hash) + getNullGeometry().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry 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 org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry 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 org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + *

+         * geometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空
+         * 
+ *

+ * Protobuf type {@code pojo.Geometry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:pojo.Geometry) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder.class); + } + + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (pointBuilder_ == null) { + point_ = null; + } else { + point_ = null; + pointBuilder_ = null; + } + if (lineStringBuilder_ == null) { + lineString_ = null; + } else { + lineString_ = null; + lineStringBuilder_ = null; + } + if (polygonBuilder_ == null) { + polygon_ = null; + } else { + polygon_ = null; + polygonBuilder_ = null; + } + if (multiPointBuilder_ == null) { + multiPoint_ = null; + } else { + multiPoint_ = null; + multiPointBuilder_ = null; + } + if (multiLineStringBuilder_ == null) { + multiLineString_ = null; + } else { + multiLineString_ = null; + multiLineStringBuilder_ = null; + } + if (multiPolygonBuilder_ == null) { + multiPolygon_ = null; + } else { + multiPolygon_ = null; + multiPolygonBuilder_ = null; + } + if (geometryCollectionBuilder_ == null) { + geometryCollection_ = null; + } else { + geometryCollection_ = null; + geometryCollectionBuilder_ = null; + } + if (nullGeometryBuilder_ == null) { + nullGeometry_ = null; + } else { + nullGeometry_ = null; + nullGeometryBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Geometry_descriptor; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance(); + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry(this); + if (pointBuilder_ == null) { + result.point_ = point_; + } else { + result.point_ = pointBuilder_.build(); + } + if (lineStringBuilder_ == null) { + result.lineString_ = lineString_; + } else { + result.lineString_ = lineStringBuilder_.build(); + } + if (polygonBuilder_ == null) { + result.polygon_ = polygon_; + } else { + result.polygon_ = polygonBuilder_.build(); + } + if (multiPointBuilder_ == null) { + result.multiPoint_ = multiPoint_; + } else { + result.multiPoint_ = multiPointBuilder_.build(); + } + if (multiLineStringBuilder_ == null) { + result.multiLineString_ = multiLineString_; + } else { + result.multiLineString_ = multiLineStringBuilder_.build(); + } + if (multiPolygonBuilder_ == null) { + result.multiPolygon_ = multiPolygon_; + } else { + result.multiPolygon_ = multiPolygonBuilder_.build(); + } + if (geometryCollectionBuilder_ == null) { + result.geometryCollection_ = geometryCollection_; + } else { + result.geometryCollection_ = geometryCollectionBuilder_.build(); + } + if (nullGeometryBuilder_ == null) { + result.nullGeometry_ = nullGeometry_; + } else { + result.nullGeometry_ = nullGeometryBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance()) + return this; + if (other.hasPoint()) { + mergePoint(other.getPoint()); + } + if (other.hasLineString()) { + mergeLineString(other.getLineString()); + } + if (other.hasPolygon()) { + mergePolygon(other.getPolygon()); + } + if (other.hasMultiPoint()) { + mergeMultiPoint(other.getMultiPoint()); + } + if (other.hasMultiLineString()) { + mergeMultiLineString(other.getMultiLineString()); + } + if (other.hasMultiPolygon()) { + mergeMultiPolygon(other.getMultiPolygon()); + } + if (other.hasGeometryCollection()) { + mergeGeometryCollection(other.getGeometryCollection()); + } + if (other.hasNullGeometry()) { + mergeNullGeometry(other.getNullGeometry()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point point_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> pointBuilder_; + + /** + * .pojo.Point point = 1; + * + * @return Whether the point field is set. + */ + public boolean hasPoint() { + return pointBuilder_ != null || point_ != null; + } + + /** + * .pojo.Point point = 1; + * + * @return The point. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point getPoint() { + if (pointBuilder_ == null) { + return point_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance() : point_; + } else { + return pointBuilder_.getMessage(); + } + } + + /** + * .pojo.Point point = 1; + */ + public Builder setPoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { + if (pointBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + point_ = value; + onChanged(); + } else { + pointBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.Point point = 1; + */ + public Builder setPoint( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder builderForValue) { + if (pointBuilder_ == null) { + point_ = builderForValue.build(); + onChanged(); + } else { + pointBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.Point point = 1; + */ + public Builder mergePoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point value) { + if (pointBuilder_ == null) { + if (point_ != null) { + point_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.newBuilder(point_).mergeFrom(value).buildPartial(); + } else { + point_ = value; + } + onChanged(); + } else { + pointBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.Point point = 1; + */ + public Builder clearPoint() { + if (pointBuilder_ == null) { + point_ = null; + onChanged(); + } else { + point_ = null; + pointBuilder_ = null; + } + + return this; + } + + /** + * .pojo.Point point = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder getPointBuilder() { + + onChanged(); + return getPointFieldBuilder().getBuilder(); + } + + /** + * .pojo.Point point = 1; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder getPointOrBuilder() { + if (pointBuilder_ != null) { + return pointBuilder_.getMessageOrBuilder(); + } else { + return point_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.getDefaultInstance() : point_; + } + } + + /** + * .pojo.Point point = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder> + getPointFieldBuilder() { + if (pointBuilder_ == null) { + pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Point.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PointOrBuilder>( + getPoint(), + getParentForChildren(), + isClean()); + point_ = null; + } + return pointBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString lineString_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> lineStringBuilder_; + + /** + * .pojo.LineString lineString = 2; + * + * @return Whether the lineString field is set. + */ + public boolean hasLineString() { + return lineStringBuilder_ != null || lineString_ != null; + } + + /** + * .pojo.LineString lineString = 2; + * + * @return The lineString. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString getLineString() { + if (lineStringBuilder_ == null) { + return lineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance() : lineString_; + } else { + return lineStringBuilder_.getMessage(); + } + } + + /** + * .pojo.LineString lineString = 2; + */ + public Builder setLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { + if (lineStringBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lineString_ = value; + onChanged(); + } else { + lineStringBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.LineString lineString = 2; + */ + public Builder setLineString( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder builderForValue) { + if (lineStringBuilder_ == null) { + lineString_ = builderForValue.build(); + onChanged(); + } else { + lineStringBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.LineString lineString = 2; + */ + public Builder mergeLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString value) { + if (lineStringBuilder_ == null) { + if (lineString_ != null) { + lineString_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.newBuilder(lineString_).mergeFrom(value).buildPartial(); + } else { + lineString_ = value; + } + onChanged(); + } else { + lineStringBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.LineString lineString = 2; + */ + public Builder clearLineString() { + if (lineStringBuilder_ == null) { + lineString_ = null; + onChanged(); + } else { + lineString_ = null; + lineStringBuilder_ = null; + } + + return this; + } + + /** + * .pojo.LineString lineString = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder getLineStringBuilder() { + + onChanged(); + return getLineStringFieldBuilder().getBuilder(); + } + + /** + * .pojo.LineString lineString = 2; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder getLineStringOrBuilder() { + if (lineStringBuilder_ != null) { + return lineStringBuilder_.getMessageOrBuilder(); + } else { + return lineString_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.getDefaultInstance() : lineString_; + } + } + + /** + * .pojo.LineString lineString = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder> + getLineStringFieldBuilder() { + if (lineStringBuilder_ == null) { + lineStringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.LineStringOrBuilder>( + getLineString(), + getParentForChildren(), + isClean()); + lineString_ = null; + } + return lineStringBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon polygon_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> polygonBuilder_; + + /** + * .pojo.Polygon polygon = 3; + * + * @return Whether the polygon field is set. + */ + public boolean hasPolygon() { + return polygonBuilder_ != null || polygon_ != null; + } + + /** + * .pojo.Polygon polygon = 3; + * + * @return The polygon. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon getPolygon() { + if (polygonBuilder_ == null) { + return polygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance() : polygon_; + } else { + return polygonBuilder_.getMessage(); + } + } + + /** + * .pojo.Polygon polygon = 3; + */ + public Builder setPolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { + if (polygonBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + polygon_ = value; + onChanged(); + } else { + polygonBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.Polygon polygon = 3; + */ + public Builder setPolygon( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder builderForValue) { + if (polygonBuilder_ == null) { + polygon_ = builderForValue.build(); + onChanged(); + } else { + polygonBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.Polygon polygon = 3; + */ + public Builder mergePolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon value) { + if (polygonBuilder_ == null) { + if (polygon_ != null) { + polygon_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.newBuilder(polygon_).mergeFrom(value).buildPartial(); + } else { + polygon_ = value; + } + onChanged(); + } else { + polygonBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.Polygon polygon = 3; + */ + public Builder clearPolygon() { + if (polygonBuilder_ == null) { + polygon_ = null; + onChanged(); + } else { + polygon_ = null; + polygonBuilder_ = null; + } + + return this; + } + + /** + * .pojo.Polygon polygon = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder getPolygonBuilder() { + + onChanged(); + return getPolygonFieldBuilder().getBuilder(); + } + + /** + * .pojo.Polygon polygon = 3; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder getPolygonOrBuilder() { + if (polygonBuilder_ != null) { + return polygonBuilder_.getMessageOrBuilder(); + } else { + return polygon_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.getDefaultInstance() : polygon_; + } + } + + /** + * .pojo.Polygon polygon = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder> + getPolygonFieldBuilder() { + if (polygonBuilder_ == null) { + polygonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.PolygonOrBuilder>( + getPolygon(), + getParentForChildren(), + isClean()); + polygon_ = null; + } + return polygonBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint multiPoint_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> multiPointBuilder_; + + /** + * .pojo.MultiPoint multiPoint = 4; + * + * @return Whether the multiPoint field is set. + */ + public boolean hasMultiPoint() { + return multiPointBuilder_ != null || multiPoint_ != null; + } + + /** + * .pojo.MultiPoint multiPoint = 4; + * + * @return The multiPoint. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint getMultiPoint() { + if (multiPointBuilder_ == null) { + return multiPoint_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance() : multiPoint_; + } else { + return multiPointBuilder_.getMessage(); + } + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + public Builder setMultiPoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { + if (multiPointBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + multiPoint_ = value; + onChanged(); + } else { + multiPointBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + public Builder setMultiPoint( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder builderForValue) { + if (multiPointBuilder_ == null) { + multiPoint_ = builderForValue.build(); + onChanged(); + } else { + multiPointBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + public Builder mergeMultiPoint(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint value) { + if (multiPointBuilder_ == null) { + if (multiPoint_ != null) { + multiPoint_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.newBuilder(multiPoint_).mergeFrom(value).buildPartial(); + } else { + multiPoint_ = value; + } + onChanged(); + } else { + multiPointBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + public Builder clearMultiPoint() { + if (multiPointBuilder_ == null) { + multiPoint_ = null; + onChanged(); + } else { + multiPoint_ = null; + multiPointBuilder_ = null; + } + + return this; + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder getMultiPointBuilder() { + + onChanged(); + return getMultiPointFieldBuilder().getBuilder(); + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder getMultiPointOrBuilder() { + if (multiPointBuilder_ != null) { + return multiPointBuilder_.getMessageOrBuilder(); + } else { + return multiPoint_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.getDefaultInstance() : multiPoint_; + } + } + + /** + * .pojo.MultiPoint multiPoint = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder> + getMultiPointFieldBuilder() { + if (multiPointBuilder_ == null) { + multiPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPoint.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPointOrBuilder>( + getMultiPoint(), + getParentForChildren(), + isClean()); + multiPoint_ = null; + } + return multiPointBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString multiLineString_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> multiLineStringBuilder_; + + /** + * .pojo.MultiLineString multiLineString = 5; + * + * @return Whether the multiLineString field is set. + */ + public boolean hasMultiLineString() { + return multiLineStringBuilder_ != null || multiLineString_ != null; + } + + /** + * .pojo.MultiLineString multiLineString = 5; + * + * @return The multiLineString. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString getMultiLineString() { + if (multiLineStringBuilder_ == null) { + return multiLineString_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance() : multiLineString_; + } else { + return multiLineStringBuilder_.getMessage(); + } + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + public Builder setMultiLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { + if (multiLineStringBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + multiLineString_ = value; + onChanged(); + } else { + multiLineStringBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + public Builder setMultiLineString( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder builderForValue) { + if (multiLineStringBuilder_ == null) { + multiLineString_ = builderForValue.build(); + onChanged(); + } else { + multiLineStringBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + public Builder mergeMultiLineString(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString value) { + if (multiLineStringBuilder_ == null) { + if (multiLineString_ != null) { + multiLineString_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.newBuilder(multiLineString_).mergeFrom(value).buildPartial(); + } else { + multiLineString_ = value; + } + onChanged(); + } else { + multiLineStringBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + public Builder clearMultiLineString() { + if (multiLineStringBuilder_ == null) { + multiLineString_ = null; + onChanged(); + } else { + multiLineString_ = null; + multiLineStringBuilder_ = null; + } + + return this; + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder getMultiLineStringBuilder() { + + onChanged(); + return getMultiLineStringFieldBuilder().getBuilder(); + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder getMultiLineStringOrBuilder() { + if (multiLineStringBuilder_ != null) { + return multiLineStringBuilder_.getMessageOrBuilder(); + } else { + return multiLineString_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.getDefaultInstance() : multiLineString_; + } + } + + /** + * .pojo.MultiLineString multiLineString = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder> + getMultiLineStringFieldBuilder() { + if (multiLineStringBuilder_ == null) { + multiLineStringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineString.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiLineStringOrBuilder>( + getMultiLineString(), + getParentForChildren(), + isClean()); + multiLineString_ = null; + } + return multiLineStringBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon multiPolygon_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> multiPolygonBuilder_; + + /** + * .pojo.MultiPolygon multiPolygon = 6; + * + * @return Whether the multiPolygon field is set. + */ + public boolean hasMultiPolygon() { + return multiPolygonBuilder_ != null || multiPolygon_ != null; + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + * + * @return The multiPolygon. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon getMultiPolygon() { + if (multiPolygonBuilder_ == null) { + return multiPolygon_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance() : multiPolygon_; + } else { + return multiPolygonBuilder_.getMessage(); + } + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + public Builder setMultiPolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { + if (multiPolygonBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + multiPolygon_ = value; + onChanged(); + } else { + multiPolygonBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + public Builder setMultiPolygon( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder builderForValue) { + if (multiPolygonBuilder_ == null) { + multiPolygon_ = builderForValue.build(); + onChanged(); + } else { + multiPolygonBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + public Builder mergeMultiPolygon(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon value) { + if (multiPolygonBuilder_ == null) { + if (multiPolygon_ != null) { + multiPolygon_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.newBuilder(multiPolygon_).mergeFrom(value).buildPartial(); + } else { + multiPolygon_ = value; + } + onChanged(); + } else { + multiPolygonBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + public Builder clearMultiPolygon() { + if (multiPolygonBuilder_ == null) { + multiPolygon_ = null; + onChanged(); + } else { + multiPolygon_ = null; + multiPolygonBuilder_ = null; + } + + return this; + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder getMultiPolygonBuilder() { + + onChanged(); + return getMultiPolygonFieldBuilder().getBuilder(); + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder getMultiPolygonOrBuilder() { + if (multiPolygonBuilder_ != null) { + return multiPolygonBuilder_.getMessageOrBuilder(); + } else { + return multiPolygon_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.getDefaultInstance() : multiPolygon_; + } + } + + /** + * .pojo.MultiPolygon multiPolygon = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder> + getMultiPolygonFieldBuilder() { + if (multiPolygonBuilder_ == null) { + multiPolygonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygonOrBuilder>( + getMultiPolygon(), + getParentForChildren(), + isClean()); + multiPolygon_ = null; + } + return multiPolygonBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection geometryCollection_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> geometryCollectionBuilder_; + + /** + * .pojo.GeometryCollection geometryCollection = 7; + * + * @return Whether the geometryCollection field is set. + */ + public boolean hasGeometryCollection() { + return geometryCollectionBuilder_ != null || geometryCollection_ != null; + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + * + * @return The geometryCollection. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection getGeometryCollection() { + if (geometryCollectionBuilder_ == null) { + return geometryCollection_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance() : geometryCollection_; + } else { + return geometryCollectionBuilder_.getMessage(); + } + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + public Builder setGeometryCollection(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { + if (geometryCollectionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + geometryCollection_ = value; + onChanged(); + } else { + geometryCollectionBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + public Builder setGeometryCollection( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder builderForValue) { + if (geometryCollectionBuilder_ == null) { + geometryCollection_ = builderForValue.build(); + onChanged(); + } else { + geometryCollectionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + public Builder mergeGeometryCollection(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection value) { + if (geometryCollectionBuilder_ == null) { + if (geometryCollection_ != null) { + geometryCollection_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.newBuilder(geometryCollection_).mergeFrom(value).buildPartial(); + } else { + geometryCollection_ = value; + } + onChanged(); + } else { + geometryCollectionBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + public Builder clearGeometryCollection() { + if (geometryCollectionBuilder_ == null) { + geometryCollection_ = null; + onChanged(); + } else { + geometryCollection_ = null; + geometryCollectionBuilder_ = null; + } + + return this; + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder getGeometryCollectionBuilder() { + + onChanged(); + return getGeometryCollectionFieldBuilder().getBuilder(); + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder getGeometryCollectionOrBuilder() { + if (geometryCollectionBuilder_ != null) { + return geometryCollectionBuilder_.getMessageOrBuilder(); + } else { + return geometryCollection_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.getDefaultInstance() : geometryCollection_; + } + } + + /** + * .pojo.GeometryCollection geometryCollection = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder> + getGeometryCollectionFieldBuilder() { + if (geometryCollectionBuilder_ == null) { + geometryCollectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollection.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryCollectionOrBuilder>( + getGeometryCollection(), + getParentForChildren(), + isClean()); + geometryCollection_ = null; + } + return geometryCollectionBuilder_; + } + + private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry nullGeometry_; + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder> nullGeometryBuilder_; + + /** + * .pojo.NullGeometry nullGeometry = 8; + * + * @return Whether the nullGeometry field is set. + */ + public boolean hasNullGeometry() { + return nullGeometryBuilder_ != null || nullGeometry_ != null; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + * + * @return The nullGeometry. + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry getNullGeometry() { + if (nullGeometryBuilder_ == null) { + return nullGeometry_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.getDefaultInstance() : nullGeometry_; + } else { + return nullGeometryBuilder_.getMessage(); + } + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + public Builder setNullGeometry(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry value) { + if (nullGeometryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nullGeometry_ = value; + onChanged(); + } else { + nullGeometryBuilder_.setMessage(value); + } + + return this; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + public Builder setNullGeometry( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder builderForValue) { + if (nullGeometryBuilder_ == null) { + nullGeometry_ = builderForValue.build(); + onChanged(); + } else { + nullGeometryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + public Builder mergeNullGeometry(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry value) { + if (nullGeometryBuilder_ == null) { + if (nullGeometry_ != null) { + nullGeometry_ = + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.newBuilder(nullGeometry_).mergeFrom(value).buildPartial(); + } else { + nullGeometry_ = value; + } + onChanged(); + } else { + nullGeometryBuilder_.mergeFrom(value); + } + + return this; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + public Builder clearNullGeometry() { + if (nullGeometryBuilder_ == null) { + nullGeometry_ = null; + onChanged(); + } else { + nullGeometry_ = null; + nullGeometryBuilder_ = null; + } + + return this; + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder getNullGeometryBuilder() { + + onChanged(); + return getNullGeometryFieldBuilder().getBuilder(); + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder getNullGeometryOrBuilder() { + if (nullGeometryBuilder_ != null) { + return nullGeometryBuilder_.getMessageOrBuilder(); + } else { + return nullGeometry_ == null ? + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.getDefaultInstance() : nullGeometry_; + } + } + + /** + * .pojo.NullGeometry nullGeometry = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder> + getNullGeometryFieldBuilder() { + if (nullGeometryBuilder_ == null) { + nullGeometryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometry.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.NullGeometryOrBuilder>( + getNullGeometry(), + getParentForChildren(), + isClean()); + nullGeometry_ = null; + } + return nullGeometryBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:pojo.Geometry) + } + + // @@protoc_insertion_point(class_scope:pojo.Geometry) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry(); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Geometry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Geometry(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FeatureOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.Feature) + com.google.protobuf.MessageOrBuilder { + } + + /** + *

+     * Feature 仅作保留,不用这个进行序列化和反序列化
+     * 
+ *

+ * Protobuf type {@code pojo.Feature} + */ + public static final class Feature extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:pojo.Feature) + FeatureOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Feature.newBuilder() to construct. + private Feature(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Feature() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Feature(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + + private Feature( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature)) { + return super.equals(obj); + } + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature 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 org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature 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 org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + *

+         * Feature 仅作保留,不用这个进行序列化和反序列化
+         * 
+ *

+ * Protobuf type {@code pojo.Feature} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:pojo.Feature) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.FeatureOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.Builder.class); + } + + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_descriptor; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.getDefaultInstance(); + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:pojo.Feature) + } + + // @@protoc_insertion_point(class_scope:pojo.Feature) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature(); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feature parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Feature(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MapOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.Map) + com.google.protobuf.MessageOrBuilder { + + /** + *

+         * keyId、valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return A list containing the doubleKeyIds. + */ + java.util.List getDoubleKeyIdsList(); + + /** + *
+         * keyId、valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return The count of doubleKeyIds. + */ + int getDoubleKeyIdsCount(); + + /** + *
+         * keyId、valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @param index The index of the element to return. + * @return The doubleKeyIds at the given index. + */ + int getDoubleKeyIds(int index); + + /** + * repeated int32 doubleValueIds = 2; + * + * @return A list containing the doubleValueIds. + */ + java.util.List getDoubleValueIdsList(); + + /** + * repeated int32 doubleValueIds = 2; + * + * @return The count of doubleValueIds. + */ + int getDoubleValueIdsCount(); + + /** + * repeated int32 doubleValueIds = 2; + * + * @param index The index of the element to return. + * @return The doubleValueIds at the given index. + */ + int getDoubleValueIds(int index); + + /** + * repeated int32 floatKeyIds = 3; + * + * @return A list containing the floatKeyIds. + */ + java.util.List getFloatKeyIdsList(); + + /** + * repeated int32 floatKeyIds = 3; + * + * @return The count of floatKeyIds. + */ + int getFloatKeyIdsCount(); + + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index of the element to return. + * @return The floatKeyIds at the given index. + */ + int getFloatKeyIds(int index); + + /** + * repeated int32 floatValueIds = 4; + * + * @return A list containing the floatValueIds. + */ + java.util.List getFloatValueIdsList(); + + /** + * repeated int32 floatValueIds = 4; + * + * @return The count of floatValueIds. + */ + int getFloatValueIdsCount(); + + /** + * repeated int32 floatValueIds = 4; + * + * @param index The index of the element to return. + * @return The floatValueIds at the given index. + */ + int getFloatValueIds(int index); + + /** + * repeated int32 sint32KeyIds = 5; + * + * @return A list containing the sint32KeyIds. + */ + java.util.List getSint32KeyIdsList(); + + /** + * repeated int32 sint32KeyIds = 5; + * + * @return The count of sint32KeyIds. + */ + int getSint32KeyIdsCount(); + + /** + * repeated int32 sint32KeyIds = 5; + * + * @param index The index of the element to return. + * @return The sint32KeyIds at the given index. + */ + int getSint32KeyIds(int index); + + /** + * repeated int32 sint32ValueIds = 6; + * + * @return A list containing the sint32ValueIds. + */ + java.util.List getSint32ValueIdsList(); + + /** + * repeated int32 sint32ValueIds = 6; + * + * @return The count of sint32ValueIds. + */ + int getSint32ValueIdsCount(); + + /** + * repeated int32 sint32ValueIds = 6; + * + * @param index The index of the element to return. + * @return The sint32ValueIds at the given index. + */ + int getSint32ValueIds(int index); + + /** + * repeated int32 sint64KeyIds = 7; + * + * @return A list containing the sint64KeyIds. + */ + java.util.List getSint64KeyIdsList(); + + /** + * repeated int32 sint64KeyIds = 7; + * + * @return The count of sint64KeyIds. + */ + int getSint64KeyIdsCount(); + + /** + * repeated int32 sint64KeyIds = 7; + * + * @param index The index of the element to return. + * @return The sint64KeyIds at the given index. + */ + int getSint64KeyIds(int index); + + /** + * repeated int32 sint64ValueIds = 8; + * + * @return A list containing the sint64ValueIds. + */ + java.util.List getSint64ValueIdsList(); + + /** + * repeated int32 sint64ValueIds = 8; + * + * @return The count of sint64ValueIds. + */ + int getSint64ValueIdsCount(); + + /** + * repeated int32 sint64ValueIds = 8; + * + * @param index The index of the element to return. + * @return The sint64ValueIds at the given index. + */ + int getSint64ValueIds(int index); + + /** + * repeated int32 boolKeyIds = 9; + * + * @return A list containing the boolKeyIds. + */ + java.util.List getBoolKeyIdsList(); + + /** + * repeated int32 boolKeyIds = 9; + * + * @return The count of boolKeyIds. + */ + int getBoolKeyIdsCount(); + + /** + * repeated int32 boolKeyIds = 9; + * + * @param index The index of the element to return. + * @return The boolKeyIds at the given index. + */ + int getBoolKeyIds(int index); + + /** + * repeated bool boolValues = 10; + * + * @return A list containing the boolValues. + */ + java.util.List getBoolValuesList(); + + /** + * repeated bool boolValues = 10; + * + * @return The count of boolValues. + */ + int getBoolValuesCount(); + + /** + * repeated bool boolValues = 10; + * + * @param index The index of the element to return. + * @return The boolValues at the given index. + */ + boolean getBoolValues(int index); + + /** + * repeated int32 stringKeyIds = 11; + * + * @return A list containing the stringKeyIds. + */ + java.util.List getStringKeyIdsList(); + + /** + * repeated int32 stringKeyIds = 11; + * + * @return The count of stringKeyIds. + */ + int getStringKeyIdsCount(); + + /** + * repeated int32 stringKeyIds = 11; + * + * @param index The index of the element to return. + * @return The stringKeyIds at the given index. + */ + int getStringKeyIds(int index); + + /** + * repeated int32 stringValueIds = 12; + * + * @return A list containing the stringValueIds. + */ + java.util.List getStringValueIdsList(); + + /** + * repeated int32 stringValueIds = 12; + * + * @return The count of stringValueIds. + */ + int getStringValueIdsCount(); + + /** + * repeated int32 stringValueIds = 12; + * + * @param index The index of the element to return. + * @return The stringValueIds at the given index. + */ + int getStringValueIds(int index); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return A list containing the bytesKeyIds. + */ + java.util.List getBytesKeyIdsList(); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return The count of bytesKeyIds. + */ + int getBytesKeyIdsCount(); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @param index The index of the element to return. + * @return The bytesKeyIds at the given index. + */ + int getBytesKeyIds(int index); + + /** + * repeated int32 bytesValueIds = 14; + * + * @return A list containing the bytesValueIds. + */ + java.util.List getBytesValueIdsList(); + + /** + * repeated int32 bytesValueIds = 14; + * + * @return The count of bytesValueIds. + */ + int getBytesValueIdsCount(); + + /** + * repeated int32 bytesValueIds = 14; + * + * @param index The index of the element to return. + * @return The bytesValueIds at the given index. + */ + int getBytesValueIds(int index); + + /** + *
+         * list keyId、valueId
+         * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return A list containing the listKeyIds. + */ + java.util.List getListKeyIdsList(); + + /** + *
+         * list keyId、valueId
+         * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return The count of listKeyIds. + */ + int getListKeyIdsCount(); + + /** + *
+         * list keyId、valueId
+         * 
+ * + * repeated int32 listKeyIds = 15; + * + * @param index The index of the element to return. + * @return The listKeyIds at the given index. + */ + int getListKeyIds(int index); + + /** + * repeated int32 listValueIds = 16; + * + * @return A list containing the listValueIds. + */ + java.util.List getListValueIdsList(); + + /** + * repeated int32 listValueIds = 16; + * + * @return The count of listValueIds. + */ + int getListValueIdsCount(); + + /** + * repeated int32 listValueIds = 16; + * + * @param index The index of the element to return. + * @return The listValueIds at the given index. + */ + int getListValueIds(int index); + + /** + *
+         * children keyId、valueId
+         * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return A list containing the subKeyIds. + */ + java.util.List getSubKeyIdsList(); + + /** + *
+         * children keyId、valueId
+         * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return The count of subKeyIds. + */ + int getSubKeyIdsCount(); + + /** + *
+         * children keyId、valueId
+         * 
+ * + * repeated int32 subKeyIds = 17; + * + * @param index The index of the element to return. + * @return The subKeyIds at the given index. + */ + int getSubKeyIds(int index); + + /** + * repeated int32 subMapValueIds = 18; + * + * @return A list containing the subMapValueIds. + */ + java.util.List getSubMapValueIdsList(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @return The count of subMapValueIds. + */ + int getSubMapValueIdsCount(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @param index The index of the element to return. + * @return The subMapValueIds at the given index. + */ + int getSubMapValueIds(int index); + } + + /** + *
+     * 属性映射 支持的属性类型 double float sint32 sint64 bool string bytes subProperty
+     * 属性映射使用keyId-value或keyId-valueId格式,与FeatureCollection中的key、value结合来存实际键值
+     * sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中
+     * 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后:
+     * FeatureCollection {
+     *      keys = ['id','name','age'],//所有的key收集到keys中
+     *      sint32Values = [4,5],//所有的int value收集到sint32Values中
+     *      stringValues = ['tom','jerry'],//所有的string value收集到stringValues中
+     *      //其它类型的属性也是类似的方式收集为key value
+     *      propertiess = [//具体的属性用keyId-value或keyId-valueId格式来存储
+     *          {sint32KeyIds=[0], sint32ValueIds=[0], stringKeyIds=[1], stringValueIds=[0]},//tom的属性 {0:0, 1:0}
+     *          {sint32KeyIds=[0,2], sint32ValueIds=[1,0], stringKeyIds=[1], stringValueIds=[1]}//jerry的属性 {0:1, 1:1, 2:1}
+     *      ]
+     * }
+     * 
+ *

+ * Protobuf type {@code pojo.Map} + */ + public static final class Map extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:pojo.Map) + MapOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Map.newBuilder() to construct. + private Map(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Map() { + doubleKeyIds_ = emptyIntList(); + doubleValueIds_ = emptyIntList(); + floatKeyIds_ = emptyIntList(); + floatValueIds_ = emptyIntList(); + sint32KeyIds_ = emptyIntList(); + sint32ValueIds_ = emptyIntList(); + sint64KeyIds_ = emptyIntList(); + sint64ValueIds_ = emptyIntList(); + boolKeyIds_ = emptyIntList(); + boolValues_ = emptyBooleanList(); + stringKeyIds_ = emptyIntList(); + stringValueIds_ = emptyIntList(); + bytesKeyIds_ = emptyIntList(); + bytesValueIds_ = emptyIntList(); + listKeyIds_ = emptyIntList(); + listValueIds_ = emptyIntList(); + subKeyIds_ = emptyIntList(); + subMapValueIds_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Map(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + + private Map( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -13380,32 +14587,86 @@ private Map( } case 120: { if (!((mutable_bitField0_ & 0x00004000) != 0)) { - subKeyIds_ = newIntList(); + listKeyIds_ = newIntList(); mutable_bitField0_ |= 0x00004000; } - subKeyIds_.addInt(input.readInt32()); + listKeyIds_.addInt(input.readInt32()); break; } case 122: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00004000) != 0) && input.getBytesUntilLimit() > 0) { - subKeyIds_ = newIntList(); + listKeyIds_ = newIntList(); mutable_bitField0_ |= 0x00004000; } while (input.getBytesUntilLimit() > 0) { - subKeyIds_.addInt(input.readInt32()); + listKeyIds_.addInt(input.readInt32()); } input.popLimit(limit); break; } - case 130: { + case 128: { if (!((mutable_bitField0_ & 0x00008000) != 0)) { - subMaps_ = new java.util.ArrayList(); + listValueIds_ = newIntList(); mutable_bitField0_ |= 0x00008000; } - subMaps_.add( - input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.parser(), extensionRegistry)); + listValueIds_.addInt(input.readInt32()); + break; + } + case 130: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00008000) != 0) && input.getBytesUntilLimit() > 0) { + listValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00008000; + } + while (input.getBytesUntilLimit() > 0) { + listValueIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 136: { + if (!((mutable_bitField0_ & 0x00010000) != 0)) { + subKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00010000; + } + subKeyIds_.addInt(input.readInt32()); + break; + } + case 138: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00010000) != 0) && input.getBytesUntilLimit() > 0) { + subKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00010000; + } + while (input.getBytesUntilLimit() > 0) { + subKeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 144: { + if (!((mutable_bitField0_ & 0x00020000) != 0)) { + subMapValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00020000; + } + subMapValueIds_.addInt(input.readInt32()); + break; + } + case 146: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00020000) != 0) && input.getBytesUntilLimit() > 0) { + subMapValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00020000; + } + while (input.getBytesUntilLimit() > 0) { + subMapValueIds_.addInt(input.readInt32()); + } + input.popLimit(limit); break; } default: { @@ -13417,4348 +14678,6531 @@ private Map( } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - doubleKeyIds_.makeImmutable(); // C + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + doubleKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + doubleValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + floatKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + floatValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + sint32KeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000020) != 0)) { + sint32ValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000040) != 0)) { + sint64KeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000080) != 0)) { + sint64ValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000100) != 0)) { + boolKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000200) != 0)) { + boolValues_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000400) != 0)) { + stringKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000800) != 0)) { + stringValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00001000) != 0)) { + bytesKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00002000) != 0)) { + bytesValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00004000) != 0)) { + listKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00008000) != 0)) { + listValueIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00010000) != 0)) { + subKeyIds_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00020000) != 0)) { + subMapValueIds_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder.class); + } + + public static final int DOUBLEKEYIDS_FIELD_NUMBER = 1; + private com.google.protobuf.Internal.IntList doubleKeyIds_; + + /** + *

+         * keyId、valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return A list containing the doubleKeyIds. + */ + @java.lang.Override + public java.util.List + getDoubleKeyIdsList() { + return doubleKeyIds_; + } + + /** + *
+         * keyId、valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return The count of doubleKeyIds. + */ + public int getDoubleKeyIdsCount() { + return doubleKeyIds_.size(); + } + + /** + *
+         * keyId、valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @param index The index of the element to return. + * @return The doubleKeyIds at the given index. + */ + public int getDoubleKeyIds(int index) { + return doubleKeyIds_.getInt(index); + } + + private int doubleKeyIdsMemoizedSerializedSize = -1; + + public static final int DOUBLEVALUEIDS_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.IntList doubleValueIds_; + + /** + * repeated int32 doubleValueIds = 2; + * + * @return A list containing the doubleValueIds. + */ + @java.lang.Override + public java.util.List + getDoubleValueIdsList() { + return doubleValueIds_; + } + + /** + * repeated int32 doubleValueIds = 2; + * + * @return The count of doubleValueIds. + */ + public int getDoubleValueIdsCount() { + return doubleValueIds_.size(); + } + + /** + * repeated int32 doubleValueIds = 2; + * + * @param index The index of the element to return. + * @return The doubleValueIds at the given index. + */ + public int getDoubleValueIds(int index) { + return doubleValueIds_.getInt(index); + } + + private int doubleValueIdsMemoizedSerializedSize = -1; + + public static final int FLOATKEYIDS_FIELD_NUMBER = 3; + private com.google.protobuf.Internal.IntList floatKeyIds_; + + /** + * repeated int32 floatKeyIds = 3; + * + * @return A list containing the floatKeyIds. + */ + @java.lang.Override + public java.util.List + getFloatKeyIdsList() { + return floatKeyIds_; + } + + /** + * repeated int32 floatKeyIds = 3; + * + * @return The count of floatKeyIds. + */ + public int getFloatKeyIdsCount() { + return floatKeyIds_.size(); + } + + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index of the element to return. + * @return The floatKeyIds at the given index. + */ + public int getFloatKeyIds(int index) { + return floatKeyIds_.getInt(index); + } + + private int floatKeyIdsMemoizedSerializedSize = -1; + + public static final int FLOATVALUEIDS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.IntList floatValueIds_; + + /** + * repeated int32 floatValueIds = 4; + * + * @return A list containing the floatValueIds. + */ + @java.lang.Override + public java.util.List + getFloatValueIdsList() { + return floatValueIds_; + } + + /** + * repeated int32 floatValueIds = 4; + * + * @return The count of floatValueIds. + */ + public int getFloatValueIdsCount() { + return floatValueIds_.size(); + } + + /** + * repeated int32 floatValueIds = 4; + * + * @param index The index of the element to return. + * @return The floatValueIds at the given index. + */ + public int getFloatValueIds(int index) { + return floatValueIds_.getInt(index); + } + + private int floatValueIdsMemoizedSerializedSize = -1; + + public static final int SINT32KEYIDS_FIELD_NUMBER = 5; + private com.google.protobuf.Internal.IntList sint32KeyIds_; + + /** + * repeated int32 sint32KeyIds = 5; + * + * @return A list containing the sint32KeyIds. + */ + @java.lang.Override + public java.util.List + getSint32KeyIdsList() { + return sint32KeyIds_; + } + + /** + * repeated int32 sint32KeyIds = 5; + * + * @return The count of sint32KeyIds. + */ + public int getSint32KeyIdsCount() { + return sint32KeyIds_.size(); + } + + /** + * repeated int32 sint32KeyIds = 5; + * + * @param index The index of the element to return. + * @return The sint32KeyIds at the given index. + */ + public int getSint32KeyIds(int index) { + return sint32KeyIds_.getInt(index); + } + + private int sint32KeyIdsMemoizedSerializedSize = -1; + + public static final int SINT32VALUEIDS_FIELD_NUMBER = 6; + private com.google.protobuf.Internal.IntList sint32ValueIds_; + + /** + * repeated int32 sint32ValueIds = 6; + * + * @return A list containing the sint32ValueIds. + */ + @java.lang.Override + public java.util.List + getSint32ValueIdsList() { + return sint32ValueIds_; + } + + /** + * repeated int32 sint32ValueIds = 6; + * + * @return The count of sint32ValueIds. + */ + public int getSint32ValueIdsCount() { + return sint32ValueIds_.size(); + } + + /** + * repeated int32 sint32ValueIds = 6; + * + * @param index The index of the element to return. + * @return The sint32ValueIds at the given index. + */ + public int getSint32ValueIds(int index) { + return sint32ValueIds_.getInt(index); + } + + private int sint32ValueIdsMemoizedSerializedSize = -1; + + public static final int SINT64KEYIDS_FIELD_NUMBER = 7; + private com.google.protobuf.Internal.IntList sint64KeyIds_; + + /** + * repeated int32 sint64KeyIds = 7; + * + * @return A list containing the sint64KeyIds. + */ + @java.lang.Override + public java.util.List + getSint64KeyIdsList() { + return sint64KeyIds_; + } + + /** + * repeated int32 sint64KeyIds = 7; + * + * @return The count of sint64KeyIds. + */ + public int getSint64KeyIdsCount() { + return sint64KeyIds_.size(); + } + + /** + * repeated int32 sint64KeyIds = 7; + * + * @param index The index of the element to return. + * @return The sint64KeyIds at the given index. + */ + public int getSint64KeyIds(int index) { + return sint64KeyIds_.getInt(index); + } + + private int sint64KeyIdsMemoizedSerializedSize = -1; + + public static final int SINT64VALUEIDS_FIELD_NUMBER = 8; + private com.google.protobuf.Internal.IntList sint64ValueIds_; + + /** + * repeated int32 sint64ValueIds = 8; + * + * @return A list containing the sint64ValueIds. + */ + @java.lang.Override + public java.util.List + getSint64ValueIdsList() { + return sint64ValueIds_; + } + + /** + * repeated int32 sint64ValueIds = 8; + * + * @return The count of sint64ValueIds. + */ + public int getSint64ValueIdsCount() { + return sint64ValueIds_.size(); + } + + /** + * repeated int32 sint64ValueIds = 8; + * + * @param index The index of the element to return. + * @return The sint64ValueIds at the given index. + */ + public int getSint64ValueIds(int index) { + return sint64ValueIds_.getInt(index); + } + + private int sint64ValueIdsMemoizedSerializedSize = -1; + + public static final int BOOLKEYIDS_FIELD_NUMBER = 9; + private com.google.protobuf.Internal.IntList boolKeyIds_; + + /** + * repeated int32 boolKeyIds = 9; + * + * @return A list containing the boolKeyIds. + */ + @java.lang.Override + public java.util.List + getBoolKeyIdsList() { + return boolKeyIds_; + } + + /** + * repeated int32 boolKeyIds = 9; + * + * @return The count of boolKeyIds. + */ + public int getBoolKeyIdsCount() { + return boolKeyIds_.size(); + } + + /** + * repeated int32 boolKeyIds = 9; + * + * @param index The index of the element to return. + * @return The boolKeyIds at the given index. + */ + public int getBoolKeyIds(int index) { + return boolKeyIds_.getInt(index); + } + + private int boolKeyIdsMemoizedSerializedSize = -1; + + public static final int BOOLVALUES_FIELD_NUMBER = 10; + private com.google.protobuf.Internal.BooleanList boolValues_; + + /** + * repeated bool boolValues = 10; + * + * @return A list containing the boolValues. + */ + @java.lang.Override + public java.util.List + getBoolValuesList() { + return boolValues_; + } + + /** + * repeated bool boolValues = 10; + * + * @return The count of boolValues. + */ + public int getBoolValuesCount() { + return boolValues_.size(); + } + + /** + * repeated bool boolValues = 10; + * + * @param index The index of the element to return. + * @return The boolValues at the given index. + */ + public boolean getBoolValues(int index) { + return boolValues_.getBoolean(index); + } + + private int boolValuesMemoizedSerializedSize = -1; + + public static final int STRINGKEYIDS_FIELD_NUMBER = 11; + private com.google.protobuf.Internal.IntList stringKeyIds_; + + /** + * repeated int32 stringKeyIds = 11; + * + * @return A list containing the stringKeyIds. + */ + @java.lang.Override + public java.util.List + getStringKeyIdsList() { + return stringKeyIds_; + } + + /** + * repeated int32 stringKeyIds = 11; + * + * @return The count of stringKeyIds. + */ + public int getStringKeyIdsCount() { + return stringKeyIds_.size(); + } + + /** + * repeated int32 stringKeyIds = 11; + * + * @param index The index of the element to return. + * @return The stringKeyIds at the given index. + */ + public int getStringKeyIds(int index) { + return stringKeyIds_.getInt(index); + } + + private int stringKeyIdsMemoizedSerializedSize = -1; + + public static final int STRINGVALUEIDS_FIELD_NUMBER = 12; + private com.google.protobuf.Internal.IntList stringValueIds_; + + /** + * repeated int32 stringValueIds = 12; + * + * @return A list containing the stringValueIds. + */ + @java.lang.Override + public java.util.List + getStringValueIdsList() { + return stringValueIds_; + } + + /** + * repeated int32 stringValueIds = 12; + * + * @return The count of stringValueIds. + */ + public int getStringValueIdsCount() { + return stringValueIds_.size(); + } + + /** + * repeated int32 stringValueIds = 12; + * + * @param index The index of the element to return. + * @return The stringValueIds at the given index. + */ + public int getStringValueIds(int index) { + return stringValueIds_.getInt(index); + } + + private int stringValueIdsMemoizedSerializedSize = -1; + + public static final int BYTESKEYIDS_FIELD_NUMBER = 13; + private com.google.protobuf.Internal.IntList bytesKeyIds_; + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return A list containing the bytesKeyIds. + */ + @java.lang.Override + public java.util.List + getBytesKeyIdsList() { + return bytesKeyIds_; + } + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return The count of bytesKeyIds. + */ + public int getBytesKeyIdsCount() { + return bytesKeyIds_.size(); + } + + /** + * repeated int32 bytesKeyIds = 13; + * + * @param index The index of the element to return. + * @return The bytesKeyIds at the given index. + */ + public int getBytesKeyIds(int index) { + return bytesKeyIds_.getInt(index); + } + + private int bytesKeyIdsMemoizedSerializedSize = -1; + + public static final int BYTESVALUEIDS_FIELD_NUMBER = 14; + private com.google.protobuf.Internal.IntList bytesValueIds_; + + /** + * repeated int32 bytesValueIds = 14; + * + * @return A list containing the bytesValueIds. + */ + @java.lang.Override + public java.util.List + getBytesValueIdsList() { + return bytesValueIds_; + } + + /** + * repeated int32 bytesValueIds = 14; + * + * @return The count of bytesValueIds. + */ + public int getBytesValueIdsCount() { + return bytesValueIds_.size(); + } + + /** + * repeated int32 bytesValueIds = 14; + * + * @param index The index of the element to return. + * @return The bytesValueIds at the given index. + */ + public int getBytesValueIds(int index) { + return bytesValueIds_.getInt(index); + } + + private int bytesValueIdsMemoizedSerializedSize = -1; + + public static final int LISTKEYIDS_FIELD_NUMBER = 15; + private com.google.protobuf.Internal.IntList listKeyIds_; + + /** + *
+         * list keyId、valueId
+         * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return A list containing the listKeyIds. + */ + @java.lang.Override + public java.util.List + getListKeyIdsList() { + return listKeyIds_; + } + + /** + *
+         * list keyId、valueId
+         * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return The count of listKeyIds. + */ + public int getListKeyIdsCount() { + return listKeyIds_.size(); + } + + /** + *
+         * list keyId、valueId
+         * 
+ * + * repeated int32 listKeyIds = 15; + * + * @param index The index of the element to return. + * @return The listKeyIds at the given index. + */ + public int getListKeyIds(int index) { + return listKeyIds_.getInt(index); + } + + private int listKeyIdsMemoizedSerializedSize = -1; + + public static final int LISTVALUEIDS_FIELD_NUMBER = 16; + private com.google.protobuf.Internal.IntList listValueIds_; + + /** + * repeated int32 listValueIds = 16; + * + * @return A list containing the listValueIds. + */ + @java.lang.Override + public java.util.List + getListValueIdsList() { + return listValueIds_; + } + + /** + * repeated int32 listValueIds = 16; + * + * @return The count of listValueIds. + */ + public int getListValueIdsCount() { + return listValueIds_.size(); + } + + /** + * repeated int32 listValueIds = 16; + * + * @param index The index of the element to return. + * @return The listValueIds at the given index. + */ + public int getListValueIds(int index) { + return listValueIds_.getInt(index); + } + + private int listValueIdsMemoizedSerializedSize = -1; + + public static final int SUBKEYIDS_FIELD_NUMBER = 17; + private com.google.protobuf.Internal.IntList subKeyIds_; + + /** + *
+         * children keyId、valueId
+         * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return A list containing the subKeyIds. + */ + @java.lang.Override + public java.util.List + getSubKeyIdsList() { + return subKeyIds_; + } + + /** + *
+         * children keyId、valueId
+         * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return The count of subKeyIds. + */ + public int getSubKeyIdsCount() { + return subKeyIds_.size(); + } + + /** + *
+         * children keyId、valueId
+         * 
+ * + * repeated int32 subKeyIds = 17; + * + * @param index The index of the element to return. + * @return The subKeyIds at the given index. + */ + public int getSubKeyIds(int index) { + return subKeyIds_.getInt(index); + } + + private int subKeyIdsMemoizedSerializedSize = -1; + + public static final int SUBMAPVALUEIDS_FIELD_NUMBER = 18; + private com.google.protobuf.Internal.IntList subMapValueIds_; + + /** + * repeated int32 subMapValueIds = 18; + * + * @return A list containing the subMapValueIds. + */ + @java.lang.Override + public java.util.List + getSubMapValueIdsList() { + return subMapValueIds_; + } + + /** + * repeated int32 subMapValueIds = 18; + * + * @return The count of subMapValueIds. + */ + public int getSubMapValueIdsCount() { + return subMapValueIds_.size(); + } + + /** + * repeated int32 subMapValueIds = 18; + * + * @param index The index of the element to return. + * @return The subMapValueIds at the given index. + */ + public int getSubMapValueIds(int index) { + return subMapValueIds_.getInt(index); + } + + private int subMapValueIdsMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (getDoubleKeyIdsList().size() > 0) { + output.writeUInt32NoTag(10); + output.writeUInt32NoTag(doubleKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < doubleKeyIds_.size(); i++) { + output.writeInt32NoTag(doubleKeyIds_.getInt(i)); + } + if (getDoubleValueIdsList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(doubleValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < doubleValueIds_.size(); i++) { + output.writeInt32NoTag(doubleValueIds_.getInt(i)); + } + if (getFloatKeyIdsList().size() > 0) { + output.writeUInt32NoTag(26); + output.writeUInt32NoTag(floatKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < floatKeyIds_.size(); i++) { + output.writeInt32NoTag(floatKeyIds_.getInt(i)); + } + if (getFloatValueIdsList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(floatValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < floatValueIds_.size(); i++) { + output.writeInt32NoTag(floatValueIds_.getInt(i)); + } + if (getSint32KeyIdsList().size() > 0) { + output.writeUInt32NoTag(42); + output.writeUInt32NoTag(sint32KeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < sint32KeyIds_.size(); i++) { + output.writeInt32NoTag(sint32KeyIds_.getInt(i)); + } + if (getSint32ValueIdsList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(sint32ValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < sint32ValueIds_.size(); i++) { + output.writeInt32NoTag(sint32ValueIds_.getInt(i)); + } + if (getSint64KeyIdsList().size() > 0) { + output.writeUInt32NoTag(58); + output.writeUInt32NoTag(sint64KeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < sint64KeyIds_.size(); i++) { + output.writeInt32NoTag(sint64KeyIds_.getInt(i)); + } + if (getSint64ValueIdsList().size() > 0) { + output.writeUInt32NoTag(66); + output.writeUInt32NoTag(sint64ValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < sint64ValueIds_.size(); i++) { + output.writeInt32NoTag(sint64ValueIds_.getInt(i)); + } + if (getBoolKeyIdsList().size() > 0) { + output.writeUInt32NoTag(74); + output.writeUInt32NoTag(boolKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < boolKeyIds_.size(); i++) { + output.writeInt32NoTag(boolKeyIds_.getInt(i)); + } + if (getBoolValuesList().size() > 0) { + output.writeUInt32NoTag(82); + output.writeUInt32NoTag(boolValuesMemoizedSerializedSize); + } + for (int i = 0; i < boolValues_.size(); i++) { + output.writeBoolNoTag(boolValues_.getBoolean(i)); + } + if (getStringKeyIdsList().size() > 0) { + output.writeUInt32NoTag(90); + output.writeUInt32NoTag(stringKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < stringKeyIds_.size(); i++) { + output.writeInt32NoTag(stringKeyIds_.getInt(i)); + } + if (getStringValueIdsList().size() > 0) { + output.writeUInt32NoTag(98); + output.writeUInt32NoTag(stringValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < stringValueIds_.size(); i++) { + output.writeInt32NoTag(stringValueIds_.getInt(i)); + } + if (getBytesKeyIdsList().size() > 0) { + output.writeUInt32NoTag(106); + output.writeUInt32NoTag(bytesKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < bytesKeyIds_.size(); i++) { + output.writeInt32NoTag(bytesKeyIds_.getInt(i)); + } + if (getBytesValueIdsList().size() > 0) { + output.writeUInt32NoTag(114); + output.writeUInt32NoTag(bytesValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < bytesValueIds_.size(); i++) { + output.writeInt32NoTag(bytesValueIds_.getInt(i)); + } + if (getListKeyIdsList().size() > 0) { + output.writeUInt32NoTag(122); + output.writeUInt32NoTag(listKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < listKeyIds_.size(); i++) { + output.writeInt32NoTag(listKeyIds_.getInt(i)); + } + if (getListValueIdsList().size() > 0) { + output.writeUInt32NoTag(130); + output.writeUInt32NoTag(listValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < listValueIds_.size(); i++) { + output.writeInt32NoTag(listValueIds_.getInt(i)); + } + if (getSubKeyIdsList().size() > 0) { + output.writeUInt32NoTag(138); + output.writeUInt32NoTag(subKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < subKeyIds_.size(); i++) { + output.writeInt32NoTag(subKeyIds_.getInt(i)); + } + if (getSubMapValueIdsList().size() > 0) { + output.writeUInt32NoTag(146); + output.writeUInt32NoTag(subMapValueIdsMemoizedSerializedSize); + } + for (int i = 0; i < subMapValueIds_.size(); i++) { + output.writeInt32NoTag(subMapValueIds_.getInt(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < doubleKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(doubleKeyIds_.getInt(i)); + } + size += dataSize; + if (!getDoubleKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + doubleKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < doubleValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(doubleValueIds_.getInt(i)); + } + size += dataSize; + if (!getDoubleValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + doubleValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < floatKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(floatKeyIds_.getInt(i)); + } + size += dataSize; + if (!getFloatKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + floatKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < floatValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(floatValueIds_.getInt(i)); + } + size += dataSize; + if (!getFloatValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + floatValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < sint32KeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(sint32KeyIds_.getInt(i)); + } + size += dataSize; + if (!getSint32KeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + sint32KeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < sint32ValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(sint32ValueIds_.getInt(i)); + } + size += dataSize; + if (!getSint32ValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + sint32ValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < sint64KeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(sint64KeyIds_.getInt(i)); + } + size += dataSize; + if (!getSint64KeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + sint64KeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < sint64ValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(sint64ValueIds_.getInt(i)); + } + size += dataSize; + if (!getSint64ValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + sint64ValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < boolKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(boolKeyIds_.getInt(i)); + } + size += dataSize; + if (!getBoolKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + boolKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + dataSize = 1 * getBoolValuesList().size(); + size += dataSize; + if (!getBoolValuesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + boolValuesMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < stringKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(stringKeyIds_.getInt(i)); + } + size += dataSize; + if (!getStringKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + stringKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < stringValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(stringValueIds_.getInt(i)); + } + size += dataSize; + if (!getStringValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + stringValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < bytesKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(bytesKeyIds_.getInt(i)); + } + size += dataSize; + if (!getBytesKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + bytesKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < bytesValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(bytesValueIds_.getInt(i)); + } + size += dataSize; + if (!getBytesValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + bytesValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < listKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(listKeyIds_.getInt(i)); + } + size += dataSize; + if (!getListKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + listKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < listValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(listValueIds_.getInt(i)); + } + size += dataSize; + if (!getListValueIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + listValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < subKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(subKeyIds_.getInt(i)); + } + size += dataSize; + if (!getSubKeyIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + subKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < subMapValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(subMapValueIds_.getInt(i)); + } + size += dataSize; + if (!getSubMapValueIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + subMapValueIdsMemoizedSerializedSize = dataSize; + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map)) { + return super.equals(obj); + } + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) obj; + + if (!getDoubleKeyIdsList() + .equals(other.getDoubleKeyIdsList())) return false; + if (!getDoubleValueIdsList() + .equals(other.getDoubleValueIdsList())) return false; + if (!getFloatKeyIdsList() + .equals(other.getFloatKeyIdsList())) return false; + if (!getFloatValueIdsList() + .equals(other.getFloatValueIdsList())) return false; + if (!getSint32KeyIdsList() + .equals(other.getSint32KeyIdsList())) return false; + if (!getSint32ValueIdsList() + .equals(other.getSint32ValueIdsList())) return false; + if (!getSint64KeyIdsList() + .equals(other.getSint64KeyIdsList())) return false; + if (!getSint64ValueIdsList() + .equals(other.getSint64ValueIdsList())) return false; + if (!getBoolKeyIdsList() + .equals(other.getBoolKeyIdsList())) return false; + if (!getBoolValuesList() + .equals(other.getBoolValuesList())) return false; + if (!getStringKeyIdsList() + .equals(other.getStringKeyIdsList())) return false; + if (!getStringValueIdsList() + .equals(other.getStringValueIdsList())) return false; + if (!getBytesKeyIdsList() + .equals(other.getBytesKeyIdsList())) return false; + if (!getBytesValueIdsList() + .equals(other.getBytesValueIdsList())) return false; + if (!getListKeyIdsList() + .equals(other.getListKeyIdsList())) return false; + if (!getListValueIdsList() + .equals(other.getListValueIdsList())) return false; + if (!getSubKeyIdsList() + .equals(other.getSubKeyIdsList())) return false; + if (!getSubMapValueIdsList() + .equals(other.getSubMapValueIdsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDoubleKeyIdsCount() > 0) { + hash = (37 * hash) + DOUBLEKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getDoubleKeyIdsList().hashCode(); + } + if (getDoubleValueIdsCount() > 0) { + hash = (37 * hash) + DOUBLEVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getDoubleValueIdsList().hashCode(); + } + if (getFloatKeyIdsCount() > 0) { + hash = (37 * hash) + FLOATKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getFloatKeyIdsList().hashCode(); + } + if (getFloatValueIdsCount() > 0) { + hash = (37 * hash) + FLOATVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getFloatValueIdsList().hashCode(); + } + if (getSint32KeyIdsCount() > 0) { + hash = (37 * hash) + SINT32KEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getSint32KeyIdsList().hashCode(); + } + if (getSint32ValueIdsCount() > 0) { + hash = (37 * hash) + SINT32VALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getSint32ValueIdsList().hashCode(); + } + if (getSint64KeyIdsCount() > 0) { + hash = (37 * hash) + SINT64KEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getSint64KeyIdsList().hashCode(); + } + if (getSint64ValueIdsCount() > 0) { + hash = (37 * hash) + SINT64VALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getSint64ValueIdsList().hashCode(); + } + if (getBoolKeyIdsCount() > 0) { + hash = (37 * hash) + BOOLKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getBoolKeyIdsList().hashCode(); + } + if (getBoolValuesCount() > 0) { + hash = (37 * hash) + BOOLVALUES_FIELD_NUMBER; + hash = (53 * hash) + getBoolValuesList().hashCode(); + } + if (getStringKeyIdsCount() > 0) { + hash = (37 * hash) + STRINGKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getStringKeyIdsList().hashCode(); + } + if (getStringValueIdsCount() > 0) { + hash = (37 * hash) + STRINGVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getStringValueIdsList().hashCode(); + } + if (getBytesKeyIdsCount() > 0) { + hash = (37 * hash) + BYTESKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getBytesKeyIdsList().hashCode(); + } + if (getBytesValueIdsCount() > 0) { + hash = (37 * hash) + BYTESVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getBytesValueIdsList().hashCode(); + } + if (getListKeyIdsCount() > 0) { + hash = (37 * hash) + LISTKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getListKeyIdsList().hashCode(); + } + if (getListValueIdsCount() > 0) { + hash = (37 * hash) + LISTVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getListValueIdsList().hashCode(); + } + if (getSubKeyIdsCount() > 0) { + hash = (37 * hash) + SUBKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getSubKeyIdsList().hashCode(); + } + if (getSubMapValueIdsCount() > 0) { + hash = (37 * hash) + SUBMAPVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getSubMapValueIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map 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 org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map 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 org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + *
+         * 属性映射 支持的属性类型 double float sint32 sint64 bool string bytes subProperty
+         * 属性映射使用keyId-value或keyId-valueId格式,与FeatureCollection中的key、value结合来存实际键值
+         * sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中
+         * 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后:
+         * FeatureCollection {
+         *      keys = ['id','name','age'],//所有的key收集到keys中
+         *      sint32Values = [4,5],//所有的int value收集到sint32Values中
+         *      stringValues = ['tom','jerry'],//所有的string value收集到stringValues中
+         *      //其它类型的属性也是类似的方式收集为key value
+         *      propertiess = [//具体的属性用keyId-value或keyId-valueId格式来存储
+         *          {sint32KeyIds=[0], sint32ValueIds=[0], stringKeyIds=[1], stringValueIds=[0]},//tom的属性 {0:0, 1:0}
+         *          {sint32KeyIds=[0,2], sint32ValueIds=[1,0], stringKeyIds=[1], stringValueIds=[1]}//jerry的属性 {0:1, 1:1, 2:1}
+         *      ]
+         * }
+         * 
+ *

+ * Protobuf type {@code pojo.Map} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:pojo.Map) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder.class); + } + + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + doubleKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + doubleValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + floatKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + floatValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + sint32KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + sint32ValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000020); + sint64KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000040); + sint64ValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000080); + boolKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000100); + boolValues_ = emptyBooleanList(); + bitField0_ = (bitField0_ & ~0x00000200); + stringKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000400); + stringValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000800); + bytesKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00001000); + bytesValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00002000); + listKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00004000); + listValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00008000); + subKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00010000); + subMapValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00020000); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_descriptor; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance(); + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + doubleKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.doubleKeyIds_ = doubleKeyIds_; + if (((bitField0_ & 0x00000002) != 0)) { + doubleValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.doubleValueIds_ = doubleValueIds_; + if (((bitField0_ & 0x00000004) != 0)) { + floatKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.floatKeyIds_ = floatKeyIds_; + if (((bitField0_ & 0x00000008) != 0)) { + floatValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.floatValueIds_ = floatValueIds_; + if (((bitField0_ & 0x00000010) != 0)) { + sint32KeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.sint32KeyIds_ = sint32KeyIds_; + if (((bitField0_ & 0x00000020) != 0)) { + sint32ValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.sint32ValueIds_ = sint32ValueIds_; + if (((bitField0_ & 0x00000040) != 0)) { + sint64KeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.sint64KeyIds_ = sint64KeyIds_; + if (((bitField0_ & 0x00000080) != 0)) { + sint64ValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.sint64ValueIds_ = sint64ValueIds_; + if (((bitField0_ & 0x00000100) != 0)) { + boolKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.boolKeyIds_ = boolKeyIds_; + if (((bitField0_ & 0x00000200) != 0)) { + boolValues_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000200); + } + result.boolValues_ = boolValues_; + if (((bitField0_ & 0x00000400) != 0)) { + stringKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.stringKeyIds_ = stringKeyIds_; + if (((bitField0_ & 0x00000800) != 0)) { + stringValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.stringValueIds_ = stringValueIds_; + if (((bitField0_ & 0x00001000) != 0)) { + bytesKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00001000); + } + result.bytesKeyIds_ = bytesKeyIds_; + if (((bitField0_ & 0x00002000) != 0)) { + bytesValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00002000); + } + result.bytesValueIds_ = bytesValueIds_; + if (((bitField0_ & 0x00004000) != 0)) { + listKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00004000); + } + result.listKeyIds_ = listKeyIds_; + if (((bitField0_ & 0x00008000) != 0)) { + listValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00008000); + } + result.listValueIds_ = listValueIds_; + if (((bitField0_ & 0x00010000) != 0)) { + subKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00010000); + } + result.subKeyIds_ = subKeyIds_; + if (((bitField0_ & 0x00020000) != 0)) { + subMapValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00020000); + } + result.subMapValueIds_ = subMapValueIds_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance()) return this; + if (!other.doubleKeyIds_.isEmpty()) { + if (doubleKeyIds_.isEmpty()) { + doubleKeyIds_ = other.doubleKeyIds_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDoubleKeyIdsIsMutable(); + doubleKeyIds_.addAll(other.doubleKeyIds_); + } + onChanged(); + } + if (!other.doubleValueIds_.isEmpty()) { + if (doubleValueIds_.isEmpty()) { + doubleValueIds_ = other.doubleValueIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDoubleValueIdsIsMutable(); + doubleValueIds_.addAll(other.doubleValueIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - doubleValueIds_.makeImmutable(); // C + if (!other.floatKeyIds_.isEmpty()) { + if (floatKeyIds_.isEmpty()) { + floatKeyIds_ = other.floatKeyIds_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureFloatKeyIdsIsMutable(); + floatKeyIds_.addAll(other.floatKeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - floatKeyIds_.makeImmutable(); // C + if (!other.floatValueIds_.isEmpty()) { + if (floatValueIds_.isEmpty()) { + floatValueIds_ = other.floatValueIds_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureFloatValueIdsIsMutable(); + floatValueIds_.addAll(other.floatValueIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - floatValueIds_.makeImmutable(); // C + if (!other.sint32KeyIds_.isEmpty()) { + if (sint32KeyIds_.isEmpty()) { + sint32KeyIds_ = other.sint32KeyIds_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureSint32KeyIdsIsMutable(); + sint32KeyIds_.addAll(other.sint32KeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - sint32KeyIds_.makeImmutable(); // C + if (!other.sint32ValueIds_.isEmpty()) { + if (sint32ValueIds_.isEmpty()) { + sint32ValueIds_ = other.sint32ValueIds_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureSint32ValueIdsIsMutable(); + sint32ValueIds_.addAll(other.sint32ValueIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - sint32ValueIds_.makeImmutable(); // C + if (!other.sint64KeyIds_.isEmpty()) { + if (sint64KeyIds_.isEmpty()) { + sint64KeyIds_ = other.sint64KeyIds_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureSint64KeyIdsIsMutable(); + sint64KeyIds_.addAll(other.sint64KeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000040) != 0)) { - sint64KeyIds_.makeImmutable(); // C + if (!other.sint64ValueIds_.isEmpty()) { + if (sint64ValueIds_.isEmpty()) { + sint64ValueIds_ = other.sint64ValueIds_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureSint64ValueIdsIsMutable(); + sint64ValueIds_.addAll(other.sint64ValueIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000080) != 0)) { - sint64ValueIds_.makeImmutable(); // C + if (!other.boolKeyIds_.isEmpty()) { + if (boolKeyIds_.isEmpty()) { + boolKeyIds_ = other.boolKeyIds_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureBoolKeyIdsIsMutable(); + boolKeyIds_.addAll(other.boolKeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000100) != 0)) { - boolKeyIds_.makeImmutable(); // C + if (!other.boolValues_.isEmpty()) { + if (boolValues_.isEmpty()) { + boolValues_ = other.boolValues_; + bitField0_ = (bitField0_ & ~0x00000200); + } else { + ensureBoolValuesIsMutable(); + boolValues_.addAll(other.boolValues_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000200) != 0)) { - boolValues_.makeImmutable(); // C + if (!other.stringKeyIds_.isEmpty()) { + if (stringKeyIds_.isEmpty()) { + stringKeyIds_ = other.stringKeyIds_; + bitField0_ = (bitField0_ & ~0x00000400); + } else { + ensureStringKeyIdsIsMutable(); + stringKeyIds_.addAll(other.stringKeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000400) != 0)) { - stringKeyIds_.makeImmutable(); // C + if (!other.stringValueIds_.isEmpty()) { + if (stringValueIds_.isEmpty()) { + stringValueIds_ = other.stringValueIds_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureStringValueIdsIsMutable(); + stringValueIds_.addAll(other.stringValueIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00000800) != 0)) { - stringValueIds_.makeImmutable(); // C + if (!other.bytesKeyIds_.isEmpty()) { + if (bytesKeyIds_.isEmpty()) { + bytesKeyIds_ = other.bytesKeyIds_; + bitField0_ = (bitField0_ & ~0x00001000); + } else { + ensureBytesKeyIdsIsMutable(); + bytesKeyIds_.addAll(other.bytesKeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00001000) != 0)) { - bytesKeyIds_.makeImmutable(); // C + if (!other.bytesValueIds_.isEmpty()) { + if (bytesValueIds_.isEmpty()) { + bytesValueIds_ = other.bytesValueIds_; + bitField0_ = (bitField0_ & ~0x00002000); + } else { + ensureBytesValueIdsIsMutable(); + bytesValueIds_.addAll(other.bytesValueIds_); + } + onChanged(); + } + if (!other.listKeyIds_.isEmpty()) { + if (listKeyIds_.isEmpty()) { + listKeyIds_ = other.listKeyIds_; + bitField0_ = (bitField0_ & ~0x00004000); + } else { + ensureListKeyIdsIsMutable(); + listKeyIds_.addAll(other.listKeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00002000) != 0)) { - bytesValueIds_.makeImmutable(); // C + if (!other.listValueIds_.isEmpty()) { + if (listValueIds_.isEmpty()) { + listValueIds_ = other.listValueIds_; + bitField0_ = (bitField0_ & ~0x00008000); + } else { + ensureListValueIdsIsMutable(); + listValueIds_.addAll(other.listValueIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00004000) != 0)) { - subKeyIds_.makeImmutable(); // C + if (!other.subKeyIds_.isEmpty()) { + if (subKeyIds_.isEmpty()) { + subKeyIds_ = other.subKeyIds_; + bitField0_ = (bitField0_ & ~0x00010000); + } else { + ensureSubKeyIdsIsMutable(); + subKeyIds_.addAll(other.subKeyIds_); + } + onChanged(); } - if (((mutable_bitField0_ & 0x00008000) != 0)) { - subMaps_ = java.util.Collections.unmodifiableList(subMaps_); + if (!other.subMapValueIds_.isEmpty()) { + if (subMapValueIds_.isEmpty()) { + subMapValueIds_ = other.subMapValueIds_; + bitField0_ = (bitField0_ & ~0x00020000); + } else { + ensureSubMapValueIdsIsMutable(); + subMapValueIds_.addAll(other.subMapValueIds_); + } + onChanged(); } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_descriptor; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder.class); - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - public static final int DOUBLEKEYIDS_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.IntList doubleKeyIds_; + private int bitField0_; - /** - *

-         * key、value id
-         * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @return A list containing the doubleKeyIds. - */ - @java.lang.Override - public java.util.List - getDoubleKeyIdsList() { - return doubleKeyIds_; - } + private com.google.protobuf.Internal.IntList doubleKeyIds_ = emptyIntList(); - /** - *
-         * key、value id
-         * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @return The count of doubleKeyIds. - */ - public int getDoubleKeyIdsCount() { - return doubleKeyIds_.size(); - } + private void ensureDoubleKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + doubleKeyIds_ = mutableCopy(doubleKeyIds_); + bitField0_ |= 0x00000001; + } + } - /** - *
-         * key、value id
-         * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @param index The index of the element to return. - * @return The doubleKeyIds at the given index. - */ - public int getDoubleKeyIds(int index) { - return doubleKeyIds_.getInt(index); - } + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return A list containing the doubleKeyIds. + */ + public java.util.List + getDoubleKeyIdsList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(doubleKeyIds_) : doubleKeyIds_; + } - private int doubleKeyIdsMemoizedSerializedSize = -1; + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return The count of doubleKeyIds. + */ + public int getDoubleKeyIdsCount() { + return doubleKeyIds_.size(); + } - public static final int DOUBLEVALUEIDS_FIELD_NUMBER = 2; - private com.google.protobuf.Internal.IntList doubleValueIds_; + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @param index The index of the element to return. + * @return The doubleKeyIds at the given index. + */ + public int getDoubleKeyIds(int index) { + return doubleKeyIds_.getInt(index); + } - /** - * repeated int32 doubleValueIds = 2; - * - * @return A list containing the doubleValueIds. - */ - @java.lang.Override - public java.util.List - getDoubleValueIdsList() { - return doubleValueIds_; - } + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @param index The index to set the value at. + * @param value The doubleKeyIds to set. + * @return This builder for chaining. + */ + public Builder setDoubleKeyIds( + int index, int value) { + ensureDoubleKeyIdsIsMutable(); + doubleKeyIds_.setInt(index, value); + onChanged(); + return this; + } - /** - * repeated int32 doubleValueIds = 2; - * - * @return The count of doubleValueIds. - */ - public int getDoubleValueIdsCount() { - return doubleValueIds_.size(); - } + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @param value The doubleKeyIds to add. + * @return This builder for chaining. + */ + public Builder addDoubleKeyIds(int value) { + ensureDoubleKeyIdsIsMutable(); + doubleKeyIds_.addInt(value); + onChanged(); + return this; + } - /** - * repeated int32 doubleValueIds = 2; - * - * @param index The index of the element to return. - * @return The doubleValueIds at the given index. - */ - public int getDoubleValueIds(int index) { - return doubleValueIds_.getInt(index); - } + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @param values The doubleKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllDoubleKeyIds( + java.lang.Iterable values) { + ensureDoubleKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, doubleKeyIds_); + onChanged(); + return this; + } - private int doubleValueIdsMemoizedSerializedSize = -1; + /** + *
+             * keyId、valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 1; + * + * @return This builder for chaining. + */ + public Builder clearDoubleKeyIds() { + doubleKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } - public static final int FLOATKEYIDS_FIELD_NUMBER = 3; - private com.google.protobuf.Internal.IntList floatKeyIds_; + private com.google.protobuf.Internal.IntList doubleValueIds_ = emptyIntList(); - /** - * repeated int32 floatKeyIds = 3; - * - * @return A list containing the floatKeyIds. - */ - @java.lang.Override - public java.util.List - getFloatKeyIdsList() { - return floatKeyIds_; - } + private void ensureDoubleValueIdsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + doubleValueIds_ = mutableCopy(doubleValueIds_); + bitField0_ |= 0x00000002; + } + } - /** - * repeated int32 floatKeyIds = 3; - * - * @return The count of floatKeyIds. - */ - public int getFloatKeyIdsCount() { - return floatKeyIds_.size(); - } + /** + * repeated int32 doubleValueIds = 2; + * + * @return A list containing the doubleValueIds. + */ + public java.util.List + getDoubleValueIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(doubleValueIds_) : doubleValueIds_; + } - /** - * repeated int32 floatKeyIds = 3; - * - * @param index The index of the element to return. - * @return The floatKeyIds at the given index. - */ - public int getFloatKeyIds(int index) { - return floatKeyIds_.getInt(index); - } + /** + * repeated int32 doubleValueIds = 2; + * + * @return The count of doubleValueIds. + */ + public int getDoubleValueIdsCount() { + return doubleValueIds_.size(); + } - private int floatKeyIdsMemoizedSerializedSize = -1; + /** + * repeated int32 doubleValueIds = 2; + * + * @param index The index of the element to return. + * @return The doubleValueIds at the given index. + */ + public int getDoubleValueIds(int index) { + return doubleValueIds_.getInt(index); + } - public static final int FLOATVALUEIDS_FIELD_NUMBER = 4; - private com.google.protobuf.Internal.IntList floatValueIds_; + /** + * repeated int32 doubleValueIds = 2; + * + * @param index The index to set the value at. + * @param value The doubleValueIds to set. + * @return This builder for chaining. + */ + public Builder setDoubleValueIds( + int index, int value) { + ensureDoubleValueIdsIsMutable(); + doubleValueIds_.setInt(index, value); + onChanged(); + return this; + } - /** - * repeated int32 floatValueIds = 4; - * - * @return A list containing the floatValueIds. - */ - @java.lang.Override - public java.util.List - getFloatValueIdsList() { - return floatValueIds_; - } + /** + * repeated int32 doubleValueIds = 2; + * + * @param value The doubleValueIds to add. + * @return This builder for chaining. + */ + public Builder addDoubleValueIds(int value) { + ensureDoubleValueIdsIsMutable(); + doubleValueIds_.addInt(value); + onChanged(); + return this; + } - /** - * repeated int32 floatValueIds = 4; - * - * @return The count of floatValueIds. - */ - public int getFloatValueIdsCount() { - return floatValueIds_.size(); - } + /** + * repeated int32 doubleValueIds = 2; + * + * @param values The doubleValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllDoubleValueIds( + java.lang.Iterable values) { + ensureDoubleValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, doubleValueIds_); + onChanged(); + return this; + } - /** - * repeated int32 floatValueIds = 4; - * - * @param index The index of the element to return. - * @return The floatValueIds at the given index. - */ - public int getFloatValueIds(int index) { - return floatValueIds_.getInt(index); - } + /** + * repeated int32 doubleValueIds = 2; + * + * @return This builder for chaining. + */ + public Builder clearDoubleValueIds() { + doubleValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } - private int floatValueIdsMemoizedSerializedSize = -1; + private com.google.protobuf.Internal.IntList floatKeyIds_ = emptyIntList(); - public static final int SINT32KEYIDS_FIELD_NUMBER = 5; - private com.google.protobuf.Internal.IntList sint32KeyIds_; + private void ensureFloatKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + floatKeyIds_ = mutableCopy(floatKeyIds_); + bitField0_ |= 0x00000004; + } + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @return A list containing the sint32KeyIds. - */ - @java.lang.Override - public java.util.List - getSint32KeyIdsList() { - return sint32KeyIds_; - } + /** + * repeated int32 floatKeyIds = 3; + * + * @return A list containing the floatKeyIds. + */ + public java.util.List + getFloatKeyIdsList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(floatKeyIds_) : floatKeyIds_; + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @return The count of sint32KeyIds. - */ - public int getSint32KeyIdsCount() { - return sint32KeyIds_.size(); - } + /** + * repeated int32 floatKeyIds = 3; + * + * @return The count of floatKeyIds. + */ + public int getFloatKeyIdsCount() { + return floatKeyIds_.size(); + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @param index The index of the element to return. - * @return The sint32KeyIds at the given index. - */ - public int getSint32KeyIds(int index) { - return sint32KeyIds_.getInt(index); - } + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index of the element to return. + * @return The floatKeyIds at the given index. + */ + public int getFloatKeyIds(int index) { + return floatKeyIds_.getInt(index); + } - private int sint32KeyIdsMemoizedSerializedSize = -1; + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index to set the value at. + * @param value The floatKeyIds to set. + * @return This builder for chaining. + */ + public Builder setFloatKeyIds( + int index, int value) { + ensureFloatKeyIdsIsMutable(); + floatKeyIds_.setInt(index, value); + onChanged(); + return this; + } - public static final int SINT32VALUEIDS_FIELD_NUMBER = 6; - private com.google.protobuf.Internal.IntList sint32ValueIds_; + /** + * repeated int32 floatKeyIds = 3; + * + * @param value The floatKeyIds to add. + * @return This builder for chaining. + */ + public Builder addFloatKeyIds(int value) { + ensureFloatKeyIdsIsMutable(); + floatKeyIds_.addInt(value); + onChanged(); + return this; + } - /** - * repeated int32 sint32ValueIds = 6; - * - * @return A list containing the sint32ValueIds. - */ - @java.lang.Override - public java.util.List - getSint32ValueIdsList() { - return sint32ValueIds_; - } + /** + * repeated int32 floatKeyIds = 3; + * + * @param values The floatKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllFloatKeyIds( + java.lang.Iterable values) { + ensureFloatKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, floatKeyIds_); + onChanged(); + return this; + } + + /** + * repeated int32 floatKeyIds = 3; + * + * @return This builder for chaining. + */ + public Builder clearFloatKeyIds() { + floatKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } - /** - * repeated int32 sint32ValueIds = 6; - * - * @return The count of sint32ValueIds. - */ - public int getSint32ValueIdsCount() { - return sint32ValueIds_.size(); - } + private com.google.protobuf.Internal.IntList floatValueIds_ = emptyIntList(); - /** - * repeated int32 sint32ValueIds = 6; - * - * @param index The index of the element to return. - * @return The sint32ValueIds at the given index. - */ - public int getSint32ValueIds(int index) { - return sint32ValueIds_.getInt(index); - } + private void ensureFloatValueIdsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + floatValueIds_ = mutableCopy(floatValueIds_); + bitField0_ |= 0x00000008; + } + } - private int sint32ValueIdsMemoizedSerializedSize = -1; + /** + * repeated int32 floatValueIds = 4; + * + * @return A list containing the floatValueIds. + */ + public java.util.List + getFloatValueIdsList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(floatValueIds_) : floatValueIds_; + } - public static final int SINT64KEYIDS_FIELD_NUMBER = 7; - private com.google.protobuf.Internal.IntList sint64KeyIds_; + /** + * repeated int32 floatValueIds = 4; + * + * @return The count of floatValueIds. + */ + public int getFloatValueIdsCount() { + return floatValueIds_.size(); + } - /** - * repeated int32 sint64KeyIds = 7; - * - * @return A list containing the sint64KeyIds. - */ - @java.lang.Override - public java.util.List - getSint64KeyIdsList() { - return sint64KeyIds_; - } + /** + * repeated int32 floatValueIds = 4; + * + * @param index The index of the element to return. + * @return The floatValueIds at the given index. + */ + public int getFloatValueIds(int index) { + return floatValueIds_.getInt(index); + } - /** - * repeated int32 sint64KeyIds = 7; - * - * @return The count of sint64KeyIds. - */ - public int getSint64KeyIdsCount() { - return sint64KeyIds_.size(); - } + /** + * repeated int32 floatValueIds = 4; + * + * @param index The index to set the value at. + * @param value The floatValueIds to set. + * @return This builder for chaining. + */ + public Builder setFloatValueIds( + int index, int value) { + ensureFloatValueIdsIsMutable(); + floatValueIds_.setInt(index, value); + onChanged(); + return this; + } - /** - * repeated int32 sint64KeyIds = 7; - * - * @param index The index of the element to return. - * @return The sint64KeyIds at the given index. - */ - public int getSint64KeyIds(int index) { - return sint64KeyIds_.getInt(index); - } + /** + * repeated int32 floatValueIds = 4; + * + * @param value The floatValueIds to add. + * @return This builder for chaining. + */ + public Builder addFloatValueIds(int value) { + ensureFloatValueIdsIsMutable(); + floatValueIds_.addInt(value); + onChanged(); + return this; + } - private int sint64KeyIdsMemoizedSerializedSize = -1; + /** + * repeated int32 floatValueIds = 4; + * + * @param values The floatValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllFloatValueIds( + java.lang.Iterable values) { + ensureFloatValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, floatValueIds_); + onChanged(); + return this; + } - public static final int SINT64VALUEIDS_FIELD_NUMBER = 8; - private com.google.protobuf.Internal.IntList sint64ValueIds_; + /** + * repeated int32 floatValueIds = 4; + * + * @return This builder for chaining. + */ + public Builder clearFloatValueIds() { + floatValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } - /** - * repeated int32 sint64ValueIds = 8; - * - * @return A list containing the sint64ValueIds. - */ - @java.lang.Override - public java.util.List - getSint64ValueIdsList() { - return sint64ValueIds_; - } + private com.google.protobuf.Internal.IntList sint32KeyIds_ = emptyIntList(); - /** - * repeated int32 sint64ValueIds = 8; - * - * @return The count of sint64ValueIds. - */ - public int getSint64ValueIdsCount() { - return sint64ValueIds_.size(); - } + private void ensureSint32KeyIdsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + sint32KeyIds_ = mutableCopy(sint32KeyIds_); + bitField0_ |= 0x00000010; + } + } - /** - * repeated int32 sint64ValueIds = 8; - * - * @param index The index of the element to return. - * @return The sint64ValueIds at the given index. - */ - public int getSint64ValueIds(int index) { - return sint64ValueIds_.getInt(index); - } + /** + * repeated int32 sint32KeyIds = 5; + * + * @return A list containing the sint32KeyIds. + */ + public java.util.List + getSint32KeyIdsList() { + return ((bitField0_ & 0x00000010) != 0) ? + java.util.Collections.unmodifiableList(sint32KeyIds_) : sint32KeyIds_; + } - private int sint64ValueIdsMemoizedSerializedSize = -1; + /** + * repeated int32 sint32KeyIds = 5; + * + * @return The count of sint32KeyIds. + */ + public int getSint32KeyIdsCount() { + return sint32KeyIds_.size(); + } - public static final int BOOLKEYIDS_FIELD_NUMBER = 9; - private com.google.protobuf.Internal.IntList boolKeyIds_; + /** + * repeated int32 sint32KeyIds = 5; + * + * @param index The index of the element to return. + * @return The sint32KeyIds at the given index. + */ + public int getSint32KeyIds(int index) { + return sint32KeyIds_.getInt(index); + } - /** - * repeated int32 boolKeyIds = 9; - * - * @return A list containing the boolKeyIds. - */ - @java.lang.Override - public java.util.List - getBoolKeyIdsList() { - return boolKeyIds_; - } + /** + * repeated int32 sint32KeyIds = 5; + * + * @param index The index to set the value at. + * @param value The sint32KeyIds to set. + * @return This builder for chaining. + */ + public Builder setSint32KeyIds( + int index, int value) { + ensureSint32KeyIdsIsMutable(); + sint32KeyIds_.setInt(index, value); + onChanged(); + return this; + } - /** - * repeated int32 boolKeyIds = 9; - * - * @return The count of boolKeyIds. - */ - public int getBoolKeyIdsCount() { - return boolKeyIds_.size(); - } + /** + * repeated int32 sint32KeyIds = 5; + * + * @param value The sint32KeyIds to add. + * @return This builder for chaining. + */ + public Builder addSint32KeyIds(int value) { + ensureSint32KeyIdsIsMutable(); + sint32KeyIds_.addInt(value); + onChanged(); + return this; + } + + /** + * repeated int32 sint32KeyIds = 5; + * + * @param values The sint32KeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllSint32KeyIds( + java.lang.Iterable values) { + ensureSint32KeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sint32KeyIds_); + onChanged(); + return this; + } - /** - * repeated int32 boolKeyIds = 9; - * - * @param index The index of the element to return. - * @return The boolKeyIds at the given index. - */ - public int getBoolKeyIds(int index) { - return boolKeyIds_.getInt(index); - } + /** + * repeated int32 sint32KeyIds = 5; + * + * @return This builder for chaining. + */ + public Builder clearSint32KeyIds() { + sint32KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } - private int boolKeyIdsMemoizedSerializedSize = -1; + private com.google.protobuf.Internal.IntList sint32ValueIds_ = emptyIntList(); - public static final int BOOLVALUES_FIELD_NUMBER = 10; - private com.google.protobuf.Internal.BooleanList boolValues_; + private void ensureSint32ValueIdsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + sint32ValueIds_ = mutableCopy(sint32ValueIds_); + bitField0_ |= 0x00000020; + } + } - /** - * repeated bool boolValues = 10; - * - * @return A list containing the boolValues. - */ - @java.lang.Override - public java.util.List - getBoolValuesList() { - return boolValues_; - } + /** + * repeated int32 sint32ValueIds = 6; + * + * @return A list containing the sint32ValueIds. + */ + public java.util.List + getSint32ValueIdsList() { + return ((bitField0_ & 0x00000020) != 0) ? + java.util.Collections.unmodifiableList(sint32ValueIds_) : sint32ValueIds_; + } - /** - * repeated bool boolValues = 10; - * - * @return The count of boolValues. - */ - public int getBoolValuesCount() { - return boolValues_.size(); - } + /** + * repeated int32 sint32ValueIds = 6; + * + * @return The count of sint32ValueIds. + */ + public int getSint32ValueIdsCount() { + return sint32ValueIds_.size(); + } - /** - * repeated bool boolValues = 10; - * - * @param index The index of the element to return. - * @return The boolValues at the given index. - */ - public boolean getBoolValues(int index) { - return boolValues_.getBoolean(index); - } + /** + * repeated int32 sint32ValueIds = 6; + * + * @param index The index of the element to return. + * @return The sint32ValueIds at the given index. + */ + public int getSint32ValueIds(int index) { + return sint32ValueIds_.getInt(index); + } - private int boolValuesMemoizedSerializedSize = -1; + /** + * repeated int32 sint32ValueIds = 6; + * + * @param index The index to set the value at. + * @param value The sint32ValueIds to set. + * @return This builder for chaining. + */ + public Builder setSint32ValueIds( + int index, int value) { + ensureSint32ValueIdsIsMutable(); + sint32ValueIds_.setInt(index, value); + onChanged(); + return this; + } - public static final int STRINGKEYIDS_FIELD_NUMBER = 11; - private com.google.protobuf.Internal.IntList stringKeyIds_; + /** + * repeated int32 sint32ValueIds = 6; + * + * @param value The sint32ValueIds to add. + * @return This builder for chaining. + */ + public Builder addSint32ValueIds(int value) { + ensureSint32ValueIdsIsMutable(); + sint32ValueIds_.addInt(value); + onChanged(); + return this; + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return A list containing the stringKeyIds. - */ - @java.lang.Override - public java.util.List - getStringKeyIdsList() { - return stringKeyIds_; - } + /** + * repeated int32 sint32ValueIds = 6; + * + * @param values The sint32ValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllSint32ValueIds( + java.lang.Iterable values) { + ensureSint32ValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sint32ValueIds_); + onChanged(); + return this; + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return The count of stringKeyIds. - */ - public int getStringKeyIdsCount() { - return stringKeyIds_.size(); - } + /** + * repeated int32 sint32ValueIds = 6; + * + * @return This builder for chaining. + */ + public Builder clearSint32ValueIds() { + sint32ValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } - /** - * repeated int32 stringKeyIds = 11; - * - * @param index The index of the element to return. - * @return The stringKeyIds at the given index. - */ - public int getStringKeyIds(int index) { - return stringKeyIds_.getInt(index); - } + private com.google.protobuf.Internal.IntList sint64KeyIds_ = emptyIntList(); - private int stringKeyIdsMemoizedSerializedSize = -1; + private void ensureSint64KeyIdsIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + sint64KeyIds_ = mutableCopy(sint64KeyIds_); + bitField0_ |= 0x00000040; + } + } - public static final int STRINGVALUEIDS_FIELD_NUMBER = 12; - private com.google.protobuf.Internal.IntList stringValueIds_; + /** + * repeated int32 sint64KeyIds = 7; + * + * @return A list containing the sint64KeyIds. + */ + public java.util.List + getSint64KeyIdsList() { + return ((bitField0_ & 0x00000040) != 0) ? + java.util.Collections.unmodifiableList(sint64KeyIds_) : sint64KeyIds_; + } - /** - * repeated int32 stringValueIds = 12; - * - * @return A list containing the stringValueIds. - */ - @java.lang.Override - public java.util.List - getStringValueIdsList() { - return stringValueIds_; - } + /** + * repeated int32 sint64KeyIds = 7; + * + * @return The count of sint64KeyIds. + */ + public int getSint64KeyIdsCount() { + return sint64KeyIds_.size(); + } - /** - * repeated int32 stringValueIds = 12; - * - * @return The count of stringValueIds. - */ - public int getStringValueIdsCount() { - return stringValueIds_.size(); - } + /** + * repeated int32 sint64KeyIds = 7; + * + * @param index The index of the element to return. + * @return The sint64KeyIds at the given index. + */ + public int getSint64KeyIds(int index) { + return sint64KeyIds_.getInt(index); + } - /** - * repeated int32 stringValueIds = 12; - * - * @param index The index of the element to return. - * @return The stringValueIds at the given index. - */ - public int getStringValueIds(int index) { - return stringValueIds_.getInt(index); - } + /** + * repeated int32 sint64KeyIds = 7; + * + * @param index The index to set the value at. + * @param value The sint64KeyIds to set. + * @return This builder for chaining. + */ + public Builder setSint64KeyIds( + int index, int value) { + ensureSint64KeyIdsIsMutable(); + sint64KeyIds_.setInt(index, value); + onChanged(); + return this; + } + + /** + * repeated int32 sint64KeyIds = 7; + * + * @param value The sint64KeyIds to add. + * @return This builder for chaining. + */ + public Builder addSint64KeyIds(int value) { + ensureSint64KeyIdsIsMutable(); + sint64KeyIds_.addInt(value); + onChanged(); + return this; + } - private int stringValueIdsMemoizedSerializedSize = -1; + /** + * repeated int32 sint64KeyIds = 7; + * + * @param values The sint64KeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllSint64KeyIds( + java.lang.Iterable values) { + ensureSint64KeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sint64KeyIds_); + onChanged(); + return this; + } - public static final int BYTESKEYIDS_FIELD_NUMBER = 13; - private com.google.protobuf.Internal.IntList bytesKeyIds_; + /** + * repeated int32 sint64KeyIds = 7; + * + * @return This builder for chaining. + */ + public Builder clearSint64KeyIds() { + sint64KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } - /** - * repeated int32 bytesKeyIds = 13; - * - * @return A list containing the bytesKeyIds. - */ - @java.lang.Override - public java.util.List - getBytesKeyIdsList() { - return bytesKeyIds_; - } + private com.google.protobuf.Internal.IntList sint64ValueIds_ = emptyIntList(); - /** - * repeated int32 bytesKeyIds = 13; - * - * @return The count of bytesKeyIds. - */ - public int getBytesKeyIdsCount() { - return bytesKeyIds_.size(); - } + private void ensureSint64ValueIdsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + sint64ValueIds_ = mutableCopy(sint64ValueIds_); + bitField0_ |= 0x00000080; + } + } - /** - * repeated int32 bytesKeyIds = 13; - * - * @param index The index of the element to return. - * @return The bytesKeyIds at the given index. - */ - public int getBytesKeyIds(int index) { - return bytesKeyIds_.getInt(index); - } + /** + * repeated int32 sint64ValueIds = 8; + * + * @return A list containing the sint64ValueIds. + */ + public java.util.List + getSint64ValueIdsList() { + return ((bitField0_ & 0x00000080) != 0) ? + java.util.Collections.unmodifiableList(sint64ValueIds_) : sint64ValueIds_; + } - private int bytesKeyIdsMemoizedSerializedSize = -1; + /** + * repeated int32 sint64ValueIds = 8; + * + * @return The count of sint64ValueIds. + */ + public int getSint64ValueIdsCount() { + return sint64ValueIds_.size(); + } - public static final int BYTESVALUEIDS_FIELD_NUMBER = 14; - private com.google.protobuf.Internal.IntList bytesValueIds_; + /** + * repeated int32 sint64ValueIds = 8; + * + * @param index The index of the element to return. + * @return The sint64ValueIds at the given index. + */ + public int getSint64ValueIds(int index) { + return sint64ValueIds_.getInt(index); + } - /** - * repeated int32 bytesValueIds = 14; - * - * @return A list containing the bytesValueIds. - */ - @java.lang.Override - public java.util.List - getBytesValueIdsList() { - return bytesValueIds_; - } + /** + * repeated int32 sint64ValueIds = 8; + * + * @param index The index to set the value at. + * @param value The sint64ValueIds to set. + * @return This builder for chaining. + */ + public Builder setSint64ValueIds( + int index, int value) { + ensureSint64ValueIdsIsMutable(); + sint64ValueIds_.setInt(index, value); + onChanged(); + return this; + } - /** - * repeated int32 bytesValueIds = 14; - * - * @return The count of bytesValueIds. - */ - public int getBytesValueIdsCount() { - return bytesValueIds_.size(); - } + /** + * repeated int32 sint64ValueIds = 8; + * + * @param value The sint64ValueIds to add. + * @return This builder for chaining. + */ + public Builder addSint64ValueIds(int value) { + ensureSint64ValueIdsIsMutable(); + sint64ValueIds_.addInt(value); + onChanged(); + return this; + } - /** - * repeated int32 bytesValueIds = 14; - * - * @param index The index of the element to return. - * @return The bytesValueIds at the given index. - */ - public int getBytesValueIds(int index) { - return bytesValueIds_.getInt(index); - } + /** + * repeated int32 sint64ValueIds = 8; + * + * @param values The sint64ValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllSint64ValueIds( + java.lang.Iterable values) { + ensureSint64ValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sint64ValueIds_); + onChanged(); + return this; + } - private int bytesValueIdsMemoizedSerializedSize = -1; + /** + * repeated int32 sint64ValueIds = 8; + * + * @return This builder for chaining. + */ + public Builder clearSint64ValueIds() { + sint64ValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } - public static final int SUBKEYIDS_FIELD_NUMBER = 15; - private com.google.protobuf.Internal.IntList subKeyIds_; + private com.google.protobuf.Internal.IntList boolKeyIds_ = emptyIntList(); - /** - *
-         * children Map key、value id
-         * 
- * - * repeated int32 subKeyIds = 15; - * - * @return A list containing the subKeyIds. - */ - @java.lang.Override - public java.util.List - getSubKeyIdsList() { - return subKeyIds_; - } + private void ensureBoolKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + boolKeyIds_ = mutableCopy(boolKeyIds_); + bitField0_ |= 0x00000100; + } + } - /** - *
-         * children Map key、value id
-         * 
- * - * repeated int32 subKeyIds = 15; - * - * @return The count of subKeyIds. - */ - public int getSubKeyIdsCount() { - return subKeyIds_.size(); - } + /** + * repeated int32 boolKeyIds = 9; + * + * @return A list containing the boolKeyIds. + */ + public java.util.List + getBoolKeyIdsList() { + return ((bitField0_ & 0x00000100) != 0) ? + java.util.Collections.unmodifiableList(boolKeyIds_) : boolKeyIds_; + } - /** - *
-         * children Map key、value id
-         * 
- * - * repeated int32 subKeyIds = 15; - * - * @param index The index of the element to return. - * @return The subKeyIds at the given index. - */ - public int getSubKeyIds(int index) { - return subKeyIds_.getInt(index); - } + /** + * repeated int32 boolKeyIds = 9; + * + * @return The count of boolKeyIds. + */ + public int getBoolKeyIdsCount() { + return boolKeyIds_.size(); + } - private int subKeyIdsMemoizedSerializedSize = -1; + /** + * repeated int32 boolKeyIds = 9; + * + * @param index The index of the element to return. + * @return The boolKeyIds at the given index. + */ + public int getBoolKeyIds(int index) { + return boolKeyIds_.getInt(index); + } + + /** + * repeated int32 boolKeyIds = 9; + * + * @param index The index to set the value at. + * @param value The boolKeyIds to set. + * @return This builder for chaining. + */ + public Builder setBoolKeyIds( + int index, int value) { + ensureBoolKeyIdsIsMutable(); + boolKeyIds_.setInt(index, value); + onChanged(); + return this; + } - public static final int SUBMAPS_FIELD_NUMBER = 16; - private java.util.List subMaps_; + /** + * repeated int32 boolKeyIds = 9; + * + * @param value The boolKeyIds to add. + * @return This builder for chaining. + */ + public Builder addBoolKeyIds(int value) { + ensureBoolKeyIdsIsMutable(); + boolKeyIds_.addInt(value); + onChanged(); + return this; + } - /** - * repeated .pojo.Map subMaps = 16; - */ - @java.lang.Override - public java.util.List getSubMapsList() { - return subMaps_; - } + /** + * repeated int32 boolKeyIds = 9; + * + * @param values The boolKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllBoolKeyIds( + java.lang.Iterable values) { + ensureBoolKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, boolKeyIds_); + onChanged(); + return this; + } - /** - * repeated .pojo.Map subMaps = 16; - */ - @java.lang.Override - public java.util.List - getSubMapsOrBuilderList() { - return subMaps_; - } + /** + * repeated int32 boolKeyIds = 9; + * + * @return This builder for chaining. + */ + public Builder clearBoolKeyIds() { + boolKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } - /** - * repeated .pojo.Map subMaps = 16; - */ - @java.lang.Override - public int getSubMapsCount() { - return subMaps_.size(); - } + private com.google.protobuf.Internal.BooleanList boolValues_ = emptyBooleanList(); - /** - * repeated .pojo.Map subMaps = 16; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getSubMaps(int index) { - return subMaps_.get(index); - } + private void ensureBoolValuesIsMutable() { + if (!((bitField0_ & 0x00000200) != 0)) { + boolValues_ = mutableCopy(boolValues_); + bitField0_ |= 0x00000200; + } + } - /** - * repeated .pojo.Map subMaps = 16; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getSubMapsOrBuilder( - int index) { - return subMaps_.get(index); - } + /** + * repeated bool boolValues = 10; + * + * @return A list containing the boolValues. + */ + public java.util.List + getBoolValuesList() { + return ((bitField0_ & 0x00000200) != 0) ? + java.util.Collections.unmodifiableList(boolValues_) : boolValues_; + } - private byte memoizedIsInitialized = -1; + /** + * repeated bool boolValues = 10; + * + * @return The count of boolValues. + */ + public int getBoolValuesCount() { + return boolValues_.size(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * repeated bool boolValues = 10; + * + * @param index The index of the element to return. + * @return The boolValues at the given index. + */ + public boolean getBoolValues(int index) { + return boolValues_.getBoolean(index); + } - memoizedIsInitialized = 1; - return true; - } + /** + * repeated bool boolValues = 10; + * + * @param index The index to set the value at. + * @param value The boolValues to set. + * @return This builder for chaining. + */ + public Builder setBoolValues( + int index, boolean value) { + ensureBoolValuesIsMutable(); + boolValues_.setBoolean(index, value); + onChanged(); + return this; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (getDoubleKeyIdsList().size() > 0) { - output.writeUInt32NoTag(10); - output.writeUInt32NoTag(doubleKeyIdsMemoizedSerializedSize); + /** + * repeated bool boolValues = 10; + * + * @param value The boolValues to add. + * @return This builder for chaining. + */ + public Builder addBoolValues(boolean value) { + ensureBoolValuesIsMutable(); + boolValues_.addBoolean(value); + onChanged(); + return this; } - for (int i = 0; i < doubleKeyIds_.size(); i++) { - output.writeInt32NoTag(doubleKeyIds_.getInt(i)); + + /** + * repeated bool boolValues = 10; + * + * @param values The boolValues to add. + * @return This builder for chaining. + */ + public Builder addAllBoolValues( + java.lang.Iterable values) { + ensureBoolValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, boolValues_); + onChanged(); + return this; } - if (getDoubleValueIdsList().size() > 0) { - output.writeUInt32NoTag(18); - output.writeUInt32NoTag(doubleValueIdsMemoizedSerializedSize); + + /** + * repeated bool boolValues = 10; + * + * @return This builder for chaining. + */ + public Builder clearBoolValues() { + boolValues_ = emptyBooleanList(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; } - for (int i = 0; i < doubleValueIds_.size(); i++) { - output.writeInt32NoTag(doubleValueIds_.getInt(i)); + + private com.google.protobuf.Internal.IntList stringKeyIds_ = emptyIntList(); + + private void ensureStringKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + stringKeyIds_ = mutableCopy(stringKeyIds_); + bitField0_ |= 0x00000400; + } } - if (getFloatKeyIdsList().size() > 0) { - output.writeUInt32NoTag(26); - output.writeUInt32NoTag(floatKeyIdsMemoizedSerializedSize); + + /** + * repeated int32 stringKeyIds = 11; + * + * @return A list containing the stringKeyIds. + */ + public java.util.List + getStringKeyIdsList() { + return ((bitField0_ & 0x00000400) != 0) ? + java.util.Collections.unmodifiableList(stringKeyIds_) : stringKeyIds_; } - for (int i = 0; i < floatKeyIds_.size(); i++) { - output.writeInt32NoTag(floatKeyIds_.getInt(i)); + + /** + * repeated int32 stringKeyIds = 11; + * + * @return The count of stringKeyIds. + */ + public int getStringKeyIdsCount() { + return stringKeyIds_.size(); } - if (getFloatValueIdsList().size() > 0) { - output.writeUInt32NoTag(34); - output.writeUInt32NoTag(floatValueIdsMemoizedSerializedSize); + + /** + * repeated int32 stringKeyIds = 11; + * + * @param index The index of the element to return. + * @return The stringKeyIds at the given index. + */ + public int getStringKeyIds(int index) { + return stringKeyIds_.getInt(index); } - for (int i = 0; i < floatValueIds_.size(); i++) { - output.writeInt32NoTag(floatValueIds_.getInt(i)); + + /** + * repeated int32 stringKeyIds = 11; + * + * @param index The index to set the value at. + * @param value The stringKeyIds to set. + * @return This builder for chaining. + */ + public Builder setStringKeyIds( + int index, int value) { + ensureStringKeyIdsIsMutable(); + stringKeyIds_.setInt(index, value); + onChanged(); + return this; } - if (getSint32KeyIdsList().size() > 0) { - output.writeUInt32NoTag(42); - output.writeUInt32NoTag(sint32KeyIdsMemoizedSerializedSize); + + /** + * repeated int32 stringKeyIds = 11; + * + * @param value The stringKeyIds to add. + * @return This builder for chaining. + */ + public Builder addStringKeyIds(int value) { + ensureStringKeyIdsIsMutable(); + stringKeyIds_.addInt(value); + onChanged(); + return this; } - for (int i = 0; i < sint32KeyIds_.size(); i++) { - output.writeInt32NoTag(sint32KeyIds_.getInt(i)); + + /** + * repeated int32 stringKeyIds = 11; + * + * @param values The stringKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllStringKeyIds( + java.lang.Iterable values) { + ensureStringKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringKeyIds_); + onChanged(); + return this; } - if (getSint32ValueIdsList().size() > 0) { - output.writeUInt32NoTag(50); - output.writeUInt32NoTag(sint32ValueIdsMemoizedSerializedSize); + + /** + * repeated int32 stringKeyIds = 11; + * + * @return This builder for chaining. + */ + public Builder clearStringKeyIds() { + stringKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; } - for (int i = 0; i < sint32ValueIds_.size(); i++) { - output.writeInt32NoTag(sint32ValueIds_.getInt(i)); + + private com.google.protobuf.Internal.IntList stringValueIds_ = emptyIntList(); + + private void ensureStringValueIdsIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + stringValueIds_ = mutableCopy(stringValueIds_); + bitField0_ |= 0x00000800; + } } - if (getSint64KeyIdsList().size() > 0) { - output.writeUInt32NoTag(58); - output.writeUInt32NoTag(sint64KeyIdsMemoizedSerializedSize); + + /** + * repeated int32 stringValueIds = 12; + * + * @return A list containing the stringValueIds. + */ + public java.util.List + getStringValueIdsList() { + return ((bitField0_ & 0x00000800) != 0) ? + java.util.Collections.unmodifiableList(stringValueIds_) : stringValueIds_; } - for (int i = 0; i < sint64KeyIds_.size(); i++) { - output.writeInt32NoTag(sint64KeyIds_.getInt(i)); + + /** + * repeated int32 stringValueIds = 12; + * + * @return The count of stringValueIds. + */ + public int getStringValueIdsCount() { + return stringValueIds_.size(); } - if (getSint64ValueIdsList().size() > 0) { - output.writeUInt32NoTag(66); - output.writeUInt32NoTag(sint64ValueIdsMemoizedSerializedSize); + + /** + * repeated int32 stringValueIds = 12; + * + * @param index The index of the element to return. + * @return The stringValueIds at the given index. + */ + public int getStringValueIds(int index) { + return stringValueIds_.getInt(index); } - for (int i = 0; i < sint64ValueIds_.size(); i++) { - output.writeInt32NoTag(sint64ValueIds_.getInt(i)); + + /** + * repeated int32 stringValueIds = 12; + * + * @param index The index to set the value at. + * @param value The stringValueIds to set. + * @return This builder for chaining. + */ + public Builder setStringValueIds( + int index, int value) { + ensureStringValueIdsIsMutable(); + stringValueIds_.setInt(index, value); + onChanged(); + return this; } - if (getBoolKeyIdsList().size() > 0) { - output.writeUInt32NoTag(74); - output.writeUInt32NoTag(boolKeyIdsMemoizedSerializedSize); + + /** + * repeated int32 stringValueIds = 12; + * + * @param value The stringValueIds to add. + * @return This builder for chaining. + */ + public Builder addStringValueIds(int value) { + ensureStringValueIdsIsMutable(); + stringValueIds_.addInt(value); + onChanged(); + return this; } - for (int i = 0; i < boolKeyIds_.size(); i++) { - output.writeInt32NoTag(boolKeyIds_.getInt(i)); + + /** + * repeated int32 stringValueIds = 12; + * + * @param values The stringValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllStringValueIds( + java.lang.Iterable values) { + ensureStringValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringValueIds_); + onChanged(); + return this; } - if (getBoolValuesList().size() > 0) { - output.writeUInt32NoTag(82); - output.writeUInt32NoTag(boolValuesMemoizedSerializedSize); + + /** + * repeated int32 stringValueIds = 12; + * + * @return This builder for chaining. + */ + public Builder clearStringValueIds() { + stringValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; } - for (int i = 0; i < boolValues_.size(); i++) { - output.writeBoolNoTag(boolValues_.getBoolean(i)); + + private com.google.protobuf.Internal.IntList bytesKeyIds_ = emptyIntList(); + + private void ensureBytesKeyIdsIsMutable() { + if (!((bitField0_ & 0x00001000) != 0)) { + bytesKeyIds_ = mutableCopy(bytesKeyIds_); + bitField0_ |= 0x00001000; + } } - if (getStringKeyIdsList().size() > 0) { - output.writeUInt32NoTag(90); - output.writeUInt32NoTag(stringKeyIdsMemoizedSerializedSize); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return A list containing the bytesKeyIds. + */ + public java.util.List + getBytesKeyIdsList() { + return ((bitField0_ & 0x00001000) != 0) ? + java.util.Collections.unmodifiableList(bytesKeyIds_) : bytesKeyIds_; } - for (int i = 0; i < stringKeyIds_.size(); i++) { - output.writeInt32NoTag(stringKeyIds_.getInt(i)); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return The count of bytesKeyIds. + */ + public int getBytesKeyIdsCount() { + return bytesKeyIds_.size(); } - if (getStringValueIdsList().size() > 0) { - output.writeUInt32NoTag(98); - output.writeUInt32NoTag(stringValueIdsMemoizedSerializedSize); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @param index The index of the element to return. + * @return The bytesKeyIds at the given index. + */ + public int getBytesKeyIds(int index) { + return bytesKeyIds_.getInt(index); } - for (int i = 0; i < stringValueIds_.size(); i++) { - output.writeInt32NoTag(stringValueIds_.getInt(i)); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @param index The index to set the value at. + * @param value The bytesKeyIds to set. + * @return This builder for chaining. + */ + public Builder setBytesKeyIds( + int index, int value) { + ensureBytesKeyIdsIsMutable(); + bytesKeyIds_.setInt(index, value); + onChanged(); + return this; } - if (getBytesKeyIdsList().size() > 0) { - output.writeUInt32NoTag(106); - output.writeUInt32NoTag(bytesKeyIdsMemoizedSerializedSize); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @param value The bytesKeyIds to add. + * @return This builder for chaining. + */ + public Builder addBytesKeyIds(int value) { + ensureBytesKeyIdsIsMutable(); + bytesKeyIds_.addInt(value); + onChanged(); + return this; } - for (int i = 0; i < bytesKeyIds_.size(); i++) { - output.writeInt32NoTag(bytesKeyIds_.getInt(i)); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @param values The bytesKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllBytesKeyIds( + java.lang.Iterable values) { + ensureBytesKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bytesKeyIds_); + onChanged(); + return this; } - if (getBytesValueIdsList().size() > 0) { - output.writeUInt32NoTag(114); - output.writeUInt32NoTag(bytesValueIdsMemoizedSerializedSize); + + /** + * repeated int32 bytesKeyIds = 13; + * + * @return This builder for chaining. + */ + public Builder clearBytesKeyIds() { + bytesKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; } - for (int i = 0; i < bytesValueIds_.size(); i++) { - output.writeInt32NoTag(bytesValueIds_.getInt(i)); + + private com.google.protobuf.Internal.IntList bytesValueIds_ = emptyIntList(); + + private void ensureBytesValueIdsIsMutable() { + if (!((bitField0_ & 0x00002000) != 0)) { + bytesValueIds_ = mutableCopy(bytesValueIds_); + bitField0_ |= 0x00002000; + } } - if (getSubKeyIdsList().size() > 0) { - output.writeUInt32NoTag(122); - output.writeUInt32NoTag(subKeyIdsMemoizedSerializedSize); + + /** + * repeated int32 bytesValueIds = 14; + * + * @return A list containing the bytesValueIds. + */ + public java.util.List + getBytesValueIdsList() { + return ((bitField0_ & 0x00002000) != 0) ? + java.util.Collections.unmodifiableList(bytesValueIds_) : bytesValueIds_; } - for (int i = 0; i < subKeyIds_.size(); i++) { - output.writeInt32NoTag(subKeyIds_.getInt(i)); + + /** + * repeated int32 bytesValueIds = 14; + * + * @return The count of bytesValueIds. + */ + public int getBytesValueIdsCount() { + return bytesValueIds_.size(); } - for (int i = 0; i < subMaps_.size(); i++) { - output.writeMessage(16, subMaps_.get(i)); + + /** + * repeated int32 bytesValueIds = 14; + * + * @param index The index of the element to return. + * @return The bytesValueIds at the given index. + */ + public int getBytesValueIds(int index) { + return bytesValueIds_.getInt(index); } - unknownFields.writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + * repeated int32 bytesValueIds = 14; + * + * @param index The index to set the value at. + * @param value The bytesValueIds to set. + * @return This builder for chaining. + */ + public Builder setBytesValueIds( + int index, int value) { + ensureBytesValueIdsIsMutable(); + bytesValueIds_.setInt(index, value); + onChanged(); + return this; + } - size = 0; - { - int dataSize = 0; - for (int i = 0; i < doubleKeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(doubleKeyIds_.getInt(i)); - } - size += dataSize; - if (!getDoubleKeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - doubleKeyIdsMemoizedSerializedSize = dataSize; + /** + * repeated int32 bytesValueIds = 14; + * + * @param value The bytesValueIds to add. + * @return This builder for chaining. + */ + public Builder addBytesValueIds(int value) { + ensureBytesValueIdsIsMutable(); + bytesValueIds_.addInt(value); + onChanged(); + return this; } - { - int dataSize = 0; - for (int i = 0; i < doubleValueIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(doubleValueIds_.getInt(i)); - } - size += dataSize; - if (!getDoubleValueIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - doubleValueIdsMemoizedSerializedSize = dataSize; + + /** + * repeated int32 bytesValueIds = 14; + * + * @param values The bytesValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllBytesValueIds( + java.lang.Iterable values) { + ensureBytesValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bytesValueIds_); + onChanged(); + return this; } - { - int dataSize = 0; - for (int i = 0; i < floatKeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(floatKeyIds_.getInt(i)); - } - size += dataSize; - if (!getFloatKeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - floatKeyIdsMemoizedSerializedSize = dataSize; + + /** + * repeated int32 bytesValueIds = 14; + * + * @return This builder for chaining. + */ + public Builder clearBytesValueIds() { + bytesValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; } - { - int dataSize = 0; - for (int i = 0; i < floatValueIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(floatValueIds_.getInt(i)); - } - size += dataSize; - if (!getFloatValueIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + + private com.google.protobuf.Internal.IntList listKeyIds_ = emptyIntList(); + + private void ensureListKeyIdsIsMutable() { + if (!((bitField0_ & 0x00004000) != 0)) { + listKeyIds_ = mutableCopy(listKeyIds_); + bitField0_ |= 0x00004000; } - floatValueIdsMemoizedSerializedSize = dataSize; } - { - int dataSize = 0; - for (int i = 0; i < sint32KeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(sint32KeyIds_.getInt(i)); - } - size += dataSize; - if (!getSint32KeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - sint32KeyIdsMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return A list containing the listKeyIds. + */ + public java.util.List + getListKeyIdsList() { + return ((bitField0_ & 0x00004000) != 0) ? + java.util.Collections.unmodifiableList(listKeyIds_) : listKeyIds_; } - { - int dataSize = 0; - for (int i = 0; i < sint32ValueIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(sint32ValueIds_.getInt(i)); - } - size += dataSize; - if (!getSint32ValueIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - sint32ValueIdsMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return The count of listKeyIds. + */ + public int getListKeyIdsCount() { + return listKeyIds_.size(); } - { - int dataSize = 0; - for (int i = 0; i < sint64KeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(sint64KeyIds_.getInt(i)); - } - size += dataSize; - if (!getSint64KeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - sint64KeyIdsMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @param index The index of the element to return. + * @return The listKeyIds at the given index. + */ + public int getListKeyIds(int index) { + return listKeyIds_.getInt(index); } - { - int dataSize = 0; - for (int i = 0; i < sint64ValueIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(sint64ValueIds_.getInt(i)); - } - size += dataSize; - if (!getSint64ValueIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - sint64ValueIdsMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @param index The index to set the value at. + * @param value The listKeyIds to set. + * @return This builder for chaining. + */ + public Builder setListKeyIds( + int index, int value) { + ensureListKeyIdsIsMutable(); + listKeyIds_.setInt(index, value); + onChanged(); + return this; } - { - int dataSize = 0; - for (int i = 0; i < boolKeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(boolKeyIds_.getInt(i)); - } - size += dataSize; - if (!getBoolKeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - boolKeyIdsMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @param value The listKeyIds to add. + * @return This builder for chaining. + */ + public Builder addListKeyIds(int value) { + ensureListKeyIdsIsMutable(); + listKeyIds_.addInt(value); + onChanged(); + return this; } - { - int dataSize = 0; - dataSize = 1 * getBoolValuesList().size(); - size += dataSize; - if (!getBoolValuesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - boolValuesMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @param values The listKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllListKeyIds( + java.lang.Iterable values) { + ensureListKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listKeyIds_); + onChanged(); + return this; } - { - int dataSize = 0; - for (int i = 0; i < stringKeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(stringKeyIds_.getInt(i)); - } - size += dataSize; - if (!getStringKeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - stringKeyIdsMemoizedSerializedSize = dataSize; + + /** + *
+             * list keyId、valueId
+             * 
+ * + * repeated int32 listKeyIds = 15; + * + * @return This builder for chaining. + */ + public Builder clearListKeyIds() { + listKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; } - { - int dataSize = 0; - for (int i = 0; i < stringValueIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(stringValueIds_.getInt(i)); - } - size += dataSize; - if (!getStringValueIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + + private com.google.protobuf.Internal.IntList listValueIds_ = emptyIntList(); + + private void ensureListValueIdsIsMutable() { + if (!((bitField0_ & 0x00008000) != 0)) { + listValueIds_ = mutableCopy(listValueIds_); + bitField0_ |= 0x00008000; } - stringValueIdsMemoizedSerializedSize = dataSize; } - { - int dataSize = 0; - for (int i = 0; i < bytesKeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(bytesKeyIds_.getInt(i)); - } - size += dataSize; - if (!getBytesKeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - bytesKeyIdsMemoizedSerializedSize = dataSize; + + /** + * repeated int32 listValueIds = 16; + * + * @return A list containing the listValueIds. + */ + public java.util.List + getListValueIdsList() { + return ((bitField0_ & 0x00008000) != 0) ? + java.util.Collections.unmodifiableList(listValueIds_) : listValueIds_; } - { - int dataSize = 0; - for (int i = 0; i < bytesValueIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(bytesValueIds_.getInt(i)); - } - size += dataSize; - if (!getBytesValueIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - bytesValueIdsMemoizedSerializedSize = dataSize; + + /** + * repeated int32 listValueIds = 16; + * + * @return The count of listValueIds. + */ + public int getListValueIdsCount() { + return listValueIds_.size(); } - { - int dataSize = 0; - for (int i = 0; i < subKeyIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(subKeyIds_.getInt(i)); - } - size += dataSize; - if (!getSubKeyIdsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - subKeyIdsMemoizedSerializedSize = dataSize; + + /** + * repeated int32 listValueIds = 16; + * + * @param index The index of the element to return. + * @return The listValueIds at the given index. + */ + public int getListValueIds(int index) { + return listValueIds_.getInt(index); } - for (int i = 0; i < subMaps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, subMaps_.get(i)); + + /** + * repeated int32 listValueIds = 16; + * + * @param index The index to set the value at. + * @param value The listValueIds to set. + * @return This builder for chaining. + */ + public Builder setListValueIds( + int index, int value) { + ensureListValueIdsIsMutable(); + listValueIds_.setInt(index, value); + onChanged(); + return this; } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + /** + * repeated int32 listValueIds = 16; + * + * @param value The listValueIds to add. + * @return This builder for chaining. + */ + public Builder addListValueIds(int value) { + ensureListValueIdsIsMutable(); + listValueIds_.addInt(value); + onChanged(); + return this; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map)) { - return super.equals(obj); + + /** + * repeated int32 listValueIds = 16; + * + * @param values The listValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllListValueIds( + java.lang.Iterable values) { + ensureListValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listValueIds_); + onChanged(); + return this; } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) obj; - if (!getDoubleKeyIdsList() - .equals(other.getDoubleKeyIdsList())) return false; - if (!getDoubleValueIdsList() - .equals(other.getDoubleValueIdsList())) return false; - if (!getFloatKeyIdsList() - .equals(other.getFloatKeyIdsList())) return false; - if (!getFloatValueIdsList() - .equals(other.getFloatValueIdsList())) return false; - if (!getSint32KeyIdsList() - .equals(other.getSint32KeyIdsList())) return false; - if (!getSint32ValueIdsList() - .equals(other.getSint32ValueIdsList())) return false; - if (!getSint64KeyIdsList() - .equals(other.getSint64KeyIdsList())) return false; - if (!getSint64ValueIdsList() - .equals(other.getSint64ValueIdsList())) return false; - if (!getBoolKeyIdsList() - .equals(other.getBoolKeyIdsList())) return false; - if (!getBoolValuesList() - .equals(other.getBoolValuesList())) return false; - if (!getStringKeyIdsList() - .equals(other.getStringKeyIdsList())) return false; - if (!getStringValueIdsList() - .equals(other.getStringValueIdsList())) return false; - if (!getBytesKeyIdsList() - .equals(other.getBytesKeyIdsList())) return false; - if (!getBytesValueIdsList() - .equals(other.getBytesValueIdsList())) return false; - if (!getSubKeyIdsList() - .equals(other.getSubKeyIdsList())) return false; - if (!getSubMapsList() - .equals(other.getSubMapsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + * repeated int32 listValueIds = 16; + * + * @return This builder for chaining. + */ + public Builder clearListValueIds() { + listValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00008000); + onChanged(); + return this; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + private com.google.protobuf.Internal.IntList subKeyIds_ = emptyIntList(); + + private void ensureSubKeyIdsIsMutable() { + if (!((bitField0_ & 0x00010000) != 0)) { + subKeyIds_ = mutableCopy(subKeyIds_); + bitField0_ |= 0x00010000; + } } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDoubleKeyIdsCount() > 0) { - hash = (37 * hash) + DOUBLEKEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getDoubleKeyIdsList().hashCode(); + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return A list containing the subKeyIds. + */ + public java.util.List + getSubKeyIdsList() { + return ((bitField0_ & 0x00010000) != 0) ? + java.util.Collections.unmodifiableList(subKeyIds_) : subKeyIds_; } - if (getDoubleValueIdsCount() > 0) { - hash = (37 * hash) + DOUBLEVALUEIDS_FIELD_NUMBER; - hash = (53 * hash) + getDoubleValueIdsList().hashCode(); + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return The count of subKeyIds. + */ + public int getSubKeyIdsCount() { + return subKeyIds_.size(); } - if (getFloatKeyIdsCount() > 0) { - hash = (37 * hash) + FLOATKEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getFloatKeyIdsList().hashCode(); + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @param index The index of the element to return. + * @return The subKeyIds at the given index. + */ + public int getSubKeyIds(int index) { + return subKeyIds_.getInt(index); } - if (getFloatValueIdsCount() > 0) { - hash = (37 * hash) + FLOATVALUEIDS_FIELD_NUMBER; - hash = (53 * hash) + getFloatValueIdsList().hashCode(); + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @param index The index to set the value at. + * @param value The subKeyIds to set. + * @return This builder for chaining. + */ + public Builder setSubKeyIds( + int index, int value) { + ensureSubKeyIdsIsMutable(); + subKeyIds_.setInt(index, value); + onChanged(); + return this; + } + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @param value The subKeyIds to add. + * @return This builder for chaining. + */ + public Builder addSubKeyIds(int value) { + ensureSubKeyIdsIsMutable(); + subKeyIds_.addInt(value); + onChanged(); + return this; } - if (getSint32KeyIdsCount() > 0) { - hash = (37 * hash) + SINT32KEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getSint32KeyIdsList().hashCode(); + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @param values The subKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllSubKeyIds( + java.lang.Iterable values) { + ensureSubKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subKeyIds_); + onChanged(); + return this; } - if (getSint32ValueIdsCount() > 0) { - hash = (37 * hash) + SINT32VALUEIDS_FIELD_NUMBER; - hash = (53 * hash) + getSint32ValueIdsList().hashCode(); + + /** + *
+             * children keyId、valueId
+             * 
+ * + * repeated int32 subKeyIds = 17; + * + * @return This builder for chaining. + */ + public Builder clearSubKeyIds() { + subKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00010000); + onChanged(); + return this; } - if (getSint64KeyIdsCount() > 0) { - hash = (37 * hash) + SINT64KEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getSint64KeyIdsList().hashCode(); + + private com.google.protobuf.Internal.IntList subMapValueIds_ = emptyIntList(); + + private void ensureSubMapValueIdsIsMutable() { + if (!((bitField0_ & 0x00020000) != 0)) { + subMapValueIds_ = mutableCopy(subMapValueIds_); + bitField0_ |= 0x00020000; + } } - if (getSint64ValueIdsCount() > 0) { - hash = (37 * hash) + SINT64VALUEIDS_FIELD_NUMBER; - hash = (53 * hash) + getSint64ValueIdsList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @return A list containing the subMapValueIds. + */ + public java.util.List + getSubMapValueIdsList() { + return ((bitField0_ & 0x00020000) != 0) ? + java.util.Collections.unmodifiableList(subMapValueIds_) : subMapValueIds_; } - if (getBoolKeyIdsCount() > 0) { - hash = (37 * hash) + BOOLKEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getBoolKeyIdsList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @return The count of subMapValueIds. + */ + public int getSubMapValueIdsCount() { + return subMapValueIds_.size(); } - if (getBoolValuesCount() > 0) { - hash = (37 * hash) + BOOLVALUES_FIELD_NUMBER; - hash = (53 * hash) + getBoolValuesList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @param index The index of the element to return. + * @return The subMapValueIds at the given index. + */ + public int getSubMapValueIds(int index) { + return subMapValueIds_.getInt(index); } - if (getStringKeyIdsCount() > 0) { - hash = (37 * hash) + STRINGKEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getStringKeyIdsList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @param index The index to set the value at. + * @param value The subMapValueIds to set. + * @return This builder for chaining. + */ + public Builder setSubMapValueIds( + int index, int value) { + ensureSubMapValueIdsIsMutable(); + subMapValueIds_.setInt(index, value); + onChanged(); + return this; } - if (getStringValueIdsCount() > 0) { - hash = (37 * hash) + STRINGVALUEIDS_FIELD_NUMBER; - hash = (53 * hash) + getStringValueIdsList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @param value The subMapValueIds to add. + * @return This builder for chaining. + */ + public Builder addSubMapValueIds(int value) { + ensureSubMapValueIdsIsMutable(); + subMapValueIds_.addInt(value); + onChanged(); + return this; } - if (getBytesKeyIdsCount() > 0) { - hash = (37 * hash) + BYTESKEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getBytesKeyIdsList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @param values The subMapValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllSubMapValueIds( + java.lang.Iterable values) { + ensureSubMapValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subMapValueIds_); + onChanged(); + return this; } - if (getBytesValueIdsCount() > 0) { - hash = (37 * hash) + BYTESVALUEIDS_FIELD_NUMBER; - hash = (53 * hash) + getBytesValueIdsList().hashCode(); + + /** + * repeated int32 subMapValueIds = 18; + * + * @return This builder for chaining. + */ + public Builder clearSubMapValueIds() { + subMapValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00020000); + onChanged(); + return this; } - if (getSubKeyIdsCount() > 0) { - hash = (37 * hash) + SUBKEYIDS_FIELD_NUMBER; - hash = (53 * hash) + getSubKeyIdsList().hashCode(); + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - if (getSubMapsCount() > 0) { - hash = (37 * hash) + SUBMAPS_FIELD_NUMBER; - hash = (53 * hash) + getSubMapsList().hashCode(); + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + // @@protoc_insertion_point(builder_scope:pojo.Map) } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + // @@protoc_insertion_point(class_scope:pojo.Map) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getDefaultInstance() { + return DEFAULT_INSTANCE; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Map parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Map(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + } + + public interface ListOrBuilder extends + // @@protoc_insertion_point(interface_extends:pojo.List) + com.google.protobuf.MessageOrBuilder { + + /** + *
+         * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+         * 
+ * + * repeated int32 indexes = 1; + * + * @return A list containing the indexes. + */ + java.util.List getIndexesList(); + + /** + *
+         * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+         * 
+ * + * repeated int32 indexes = 1; + * + * @return The count of indexes. + */ + int getIndexesCount(); + + /** + *
+         * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+         * 
+ * + * repeated int32 indexes = 1; + * + * @param index The index of the element to return. + * @return The indexes at the given index. + */ + int getIndexes(int index); + + /** + *
+         * 数组值id,按数组先后顺序填入
+         * valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return A list containing the doubleKeyIds. + */ + java.util.List getDoubleKeyIdsList(); + + /** + *
+         * 数组值id,按数组先后顺序填入
+         * valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return The count of doubleKeyIds. + */ + int getDoubleKeyIdsCount(); + + /** + *
+         * 数组值id,按数组先后顺序填入
+         * valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @param index The index of the element to return. + * @return The doubleKeyIds at the given index. + */ + int getDoubleKeyIds(int index); + + /** + * repeated int32 floatKeyIds = 3; + * + * @return A list containing the floatKeyIds. + */ + java.util.List getFloatKeyIdsList(); + + /** + * repeated int32 floatKeyIds = 3; + * + * @return The count of floatKeyIds. + */ + int getFloatKeyIdsCount(); + + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index of the element to return. + * @return The floatKeyIds at the given index. + */ + int getFloatKeyIds(int index); + + /** + * repeated int32 sint32KeyIds = 4; + * + * @return A list containing the sint32KeyIds. + */ + java.util.List getSint32KeyIdsList(); - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } + /** + * repeated int32 sint32KeyIds = 4; + * + * @return The count of sint32KeyIds. + */ + int getSint32KeyIdsCount(); - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + /** + * repeated int32 sint32KeyIds = 4; + * + * @param index The index of the element to return. + * @return The sint32KeyIds at the given index. + */ + int getSint32KeyIds(int index); - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return A list containing the sint64KeyIds. + */ + java.util.List getSint64KeyIdsList(); - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return The count of sint64KeyIds. + */ + int getSint64KeyIdsCount(); - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @param index The index of the element to return. + * @return The sint64KeyIds at the given index. + */ + int getSint64KeyIds(int index); - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + /** + * repeated bool boolValues = 6; + * + * @return A list containing the boolValues. + */ + java.util.List getBoolValuesList(); - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + /** + * repeated bool boolValues = 6; + * + * @return The count of boolValues. + */ + int getBoolValuesCount(); - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * repeated bool boolValues = 6; + * + * @param index The index of the element to return. + * @return The boolValues at the given index. + */ + boolean getBoolValues(int index); - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); - } + /** + * repeated int32 stringValueIds = 7; + * + * @return A list containing the stringValueIds. + */ + java.util.List getStringValueIdsList(); /** - *
-         * 属性 支持的属性类型 double float sint32 sint64 bool string bytes subProperty
-         * 属性使用keyId-value或keyId-valueId格式来存储
-         * sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中
-         * 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后:
-         * FeatureCollection {
-         *      keys = ['id','name','age'],//所有的key收集到keys中
-         *      sint32Values = [4,5],//所有的int value收集到sint32Values中
-         *      stringValues = ['tom','jerry'],//所有的string value收集到stringValues中
-         *      //其它类型的属性也是类似的方式收集为key value
-         *      propertiess = [//具体的属性用keyId-value或keyId-valueId格式来存储
-         *          {sint32KeyIds=[0], sint32ValueIds=[0], stringKeyIds=[1], stringValueIds=[0]},//tom的属性 {0:0, 1:0}
-         *          {sint32KeyIds=[0,2], sint32ValueIds=[1,0], stringKeyIds=[1], stringValueIds=[1]}//jerry的属性 {0:1, 1:1, 2:1}
-         *      ]
-         * }
-         * 
- *

- * Protobuf type {@code pojo.Map} + * repeated int32 stringValueIds = 7; + * + * @return The count of stringValueIds. */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.Map) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_descriptor; - } + int getStringValueIdsCount(); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder.class); - } + /** + * repeated int32 stringValueIds = 7; + * + * @param index The index of the element to return. + * @return The stringValueIds at the given index. + */ + int getStringValueIds(int index); - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + /** + * repeated int32 bytesValueIds = 8; + * + * @return A list containing the bytesValueIds. + */ + java.util.List getBytesValueIdsList(); - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + /** + * repeated int32 bytesValueIds = 8; + * + * @return The count of bytesValueIds. + */ + int getBytesValueIdsCount(); - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSubMapsFieldBuilder(); - } - } + /** + * repeated int32 bytesValueIds = 8; + * + * @param index The index of the element to return. + * @return The bytesValueIds at the given index. + */ + int getBytesValueIds(int index); - @java.lang.Override - public Builder clear() { - super.clear(); - doubleKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000001); - doubleValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000002); - floatKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000004); - floatValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); - sint32KeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000010); - sint32ValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000020); - sint64KeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000040); - sint64ValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000080); - boolKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000100); - boolValues_ = emptyBooleanList(); - bitField0_ = (bitField0_ & ~0x00000200); - stringKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000400); - stringValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000800); - bytesKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00001000); - bytesValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00002000); - subKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00004000); - if (subMapsBuilder_ == null) { - subMaps_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00008000); - } else { - subMapsBuilder_.clear(); - } - return this; - } + /** + *

+         * mapId
+         * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @return A list containing the mapKeyIds. + */ + java.util.List getMapKeyIdsList(); - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Map_descriptor; - } + /** + *
+         * mapId
+         * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @return The count of mapKeyIds. + */ + int getMapKeyIdsCount(); - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance(); - } + /** + *
+         * mapId
+         * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @param index The index of the element to return. + * @return The mapKeyIds at the given index. + */ + int getMapKeyIds(int index); - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + *
+         * children id
+         * 
+ * + * repeated int32 subKeyIds = 10; + * + * @return A list containing the subKeyIds. + */ + java.util.List getSubKeyIdsList(); - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - doubleKeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.doubleKeyIds_ = doubleKeyIds_; - if (((bitField0_ & 0x00000002) != 0)) { - doubleValueIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.doubleValueIds_ = doubleValueIds_; - if (((bitField0_ & 0x00000004) != 0)) { - floatKeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.floatKeyIds_ = floatKeyIds_; - if (((bitField0_ & 0x00000008) != 0)) { - floatValueIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.floatValueIds_ = floatValueIds_; - if (((bitField0_ & 0x00000010) != 0)) { - sint32KeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.sint32KeyIds_ = sint32KeyIds_; - if (((bitField0_ & 0x00000020) != 0)) { - sint32ValueIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.sint32ValueIds_ = sint32ValueIds_; - if (((bitField0_ & 0x00000040) != 0)) { - sint64KeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.sint64KeyIds_ = sint64KeyIds_; - if (((bitField0_ & 0x00000080) != 0)) { - sint64ValueIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000080); - } - result.sint64ValueIds_ = sint64ValueIds_; - if (((bitField0_ & 0x00000100) != 0)) { - boolKeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.boolKeyIds_ = boolKeyIds_; - if (((bitField0_ & 0x00000200) != 0)) { - boolValues_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000200); - } - result.boolValues_ = boolValues_; - if (((bitField0_ & 0x00000400) != 0)) { - stringKeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000400); - } - result.stringKeyIds_ = stringKeyIds_; - if (((bitField0_ & 0x00000800) != 0)) { - stringValueIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000800); - } - result.stringValueIds_ = stringValueIds_; - if (((bitField0_ & 0x00001000) != 0)) { - bytesKeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00001000); - } - result.bytesKeyIds_ = bytesKeyIds_; - if (((bitField0_ & 0x00002000) != 0)) { - bytesValueIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00002000); - } - result.bytesValueIds_ = bytesValueIds_; - if (((bitField0_ & 0x00004000) != 0)) { - subKeyIds_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00004000); - } - result.subKeyIds_ = subKeyIds_; - if (subMapsBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0)) { - subMaps_ = java.util.Collections.unmodifiableList(subMaps_); - bitField0_ = (bitField0_ & ~0x00008000); - } - result.subMaps_ = subMaps_; - } else { - result.subMaps_ = subMapsBuilder_.build(); - } - onBuilt(); - return result; - } + /** + *
+         * children id
+         * 
+ * + * repeated int32 subKeyIds = 10; + * + * @return The count of subKeyIds. + */ + int getSubKeyIdsCount(); - @java.lang.Override - public Builder clone() { - return super.clone(); - } + /** + *
+         * children id
+         * 
+ * + * repeated int32 subKeyIds = 10; + * + * @param index The index of the element to return. + * @return The subKeyIds at the given index. + */ + int getSubKeyIds(int index); + } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } + /** + *
+     * list 属性
+     * 
+ *

+ * Protobuf type {@code pojo.List} + */ + public static final class List extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:pojo.List) + ListOrBuilder { + private static final long serialVersionUID = 0L; - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + // Use List.newBuilder() to construct. + private List(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + private List() { + indexes_ = emptyIntList(); + doubleKeyIds_ = emptyIntList(); + floatKeyIds_ = emptyIntList(); + sint32KeyIds_ = emptyIntList(); + sint64KeyIds_ = emptyIntList(); + boolValues_ = emptyBooleanList(); + stringValueIds_ = emptyIntList(); + bytesValueIds_ = emptyIntList(); + mapKeyIds_ = emptyIntList(); + subKeyIds_ = emptyIntList(); + } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new List(); + } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) other); - } else { - super.mergeFrom(other); - return this; - } + private List( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } - - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance()) return this; - if (!other.doubleKeyIds_.isEmpty()) { - if (doubleKeyIds_.isEmpty()) { - doubleKeyIds_ = other.doubleKeyIds_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDoubleKeyIdsIsMutable(); - doubleKeyIds_.addAll(other.doubleKeyIds_); - } - onChanged(); - } - if (!other.doubleValueIds_.isEmpty()) { - if (doubleValueIds_.isEmpty()) { - doubleValueIds_ = other.doubleValueIds_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureDoubleValueIdsIsMutable(); - doubleValueIds_.addAll(other.doubleValueIds_); - } - onChanged(); - } - if (!other.floatKeyIds_.isEmpty()) { - if (floatKeyIds_.isEmpty()) { - floatKeyIds_ = other.floatKeyIds_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureFloatKeyIdsIsMutable(); - floatKeyIds_.addAll(other.floatKeyIds_); - } - onChanged(); - } - if (!other.floatValueIds_.isEmpty()) { - if (floatValueIds_.isEmpty()) { - floatValueIds_ = other.floatValueIds_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureFloatValueIdsIsMutable(); - floatValueIds_.addAll(other.floatValueIds_); - } - onChanged(); - } - if (!other.sint32KeyIds_.isEmpty()) { - if (sint32KeyIds_.isEmpty()) { - sint32KeyIds_ = other.sint32KeyIds_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureSint32KeyIdsIsMutable(); - sint32KeyIds_.addAll(other.sint32KeyIds_); - } - onChanged(); - } - if (!other.sint32ValueIds_.isEmpty()) { - if (sint32ValueIds_.isEmpty()) { - sint32ValueIds_ = other.sint32ValueIds_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureSint32ValueIdsIsMutable(); - sint32ValueIds_.addAll(other.sint32ValueIds_); - } - onChanged(); - } - if (!other.sint64KeyIds_.isEmpty()) { - if (sint64KeyIds_.isEmpty()) { - sint64KeyIds_ = other.sint64KeyIds_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureSint64KeyIdsIsMutable(); - sint64KeyIds_.addAll(other.sint64KeyIds_); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + indexes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + indexes_.addInt(input.readInt32()); + break; + } + case 10: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + indexes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + indexes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 16: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + doubleKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + doubleKeyIds_.addInt(input.readInt32()); + break; + } + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + doubleKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + doubleKeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + floatKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000004; + } + floatKeyIds_.addInt(input.readInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { + floatKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + floatKeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 32: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + sint32KeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + sint32KeyIds_.addInt(input.readInt32()); + break; + } + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + sint32KeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + while (input.getBytesUntilLimit() > 0) { + sint32KeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 40: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + sint64KeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000010; + } + sint64KeyIds_.addInt(input.readInt32()); + break; + } + case 42: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) { + sint64KeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000010; + } + while (input.getBytesUntilLimit() > 0) { + sint64KeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 48: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + boolValues_ = newBooleanList(); + mutable_bitField0_ |= 0x00000020; + } + boolValues_.addBoolean(input.readBool()); + break; + } + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { + boolValues_ = newBooleanList(); + mutable_bitField0_ |= 0x00000020; + } + while (input.getBytesUntilLimit() > 0) { + boolValues_.addBoolean(input.readBool()); + } + input.popLimit(limit); + break; + } + case 56: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + stringValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00000040; + } + stringValueIds_.addInt(input.readInt32()); + break; + } + case 58: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { + stringValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00000040; + } + while (input.getBytesUntilLimit() > 0) { + stringValueIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 64: { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + bytesValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00000080; + } + bytesValueIds_.addInt(input.readInt32()); + break; + } + case 66: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000080) != 0) && input.getBytesUntilLimit() > 0) { + bytesValueIds_ = newIntList(); + mutable_bitField0_ |= 0x00000080; + } + while (input.getBytesUntilLimit() > 0) { + bytesValueIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 72: { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + mapKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000100; + } + mapKeyIds_.addInt(input.readInt32()); + break; + } + case 74: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000100) != 0) && input.getBytesUntilLimit() > 0) { + mapKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000100; + } + while (input.getBytesUntilLimit() > 0) { + mapKeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 80: { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { + subKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000200; + } + subKeyIds_.addInt(input.readInt32()); + break; + } + case 82: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000200) != 0) && input.getBytesUntilLimit() > 0) { + subKeyIds_ = newIntList(); + mutable_bitField0_ |= 0x00000200; + } + while (input.getBytesUntilLimit() > 0) { + subKeyIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } - onChanged(); } - if (!other.sint64ValueIds_.isEmpty()) { - if (sint64ValueIds_.isEmpty()) { - sint64ValueIds_ = other.sint64ValueIds_; - bitField0_ = (bitField0_ & ~0x00000080); - } else { - ensureSint64ValueIdsIsMutable(); - sint64ValueIds_.addAll(other.sint64ValueIds_); - } - onChanged(); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + indexes_.makeImmutable(); // C } - if (!other.boolKeyIds_.isEmpty()) { - if (boolKeyIds_.isEmpty()) { - boolKeyIds_ = other.boolKeyIds_; - bitField0_ = (bitField0_ & ~0x00000100); - } else { - ensureBoolKeyIdsIsMutable(); - boolKeyIds_.addAll(other.boolKeyIds_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000002) != 0)) { + doubleKeyIds_.makeImmutable(); // C } - if (!other.boolValues_.isEmpty()) { - if (boolValues_.isEmpty()) { - boolValues_ = other.boolValues_; - bitField0_ = (bitField0_ & ~0x00000200); - } else { - ensureBoolValuesIsMutable(); - boolValues_.addAll(other.boolValues_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000004) != 0)) { + floatKeyIds_.makeImmutable(); // C } - if (!other.stringKeyIds_.isEmpty()) { - if (stringKeyIds_.isEmpty()) { - stringKeyIds_ = other.stringKeyIds_; - bitField0_ = (bitField0_ & ~0x00000400); - } else { - ensureStringKeyIdsIsMutable(); - stringKeyIds_.addAll(other.stringKeyIds_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000008) != 0)) { + sint32KeyIds_.makeImmutable(); // C } - if (!other.stringValueIds_.isEmpty()) { - if (stringValueIds_.isEmpty()) { - stringValueIds_ = other.stringValueIds_; - bitField0_ = (bitField0_ & ~0x00000800); - } else { - ensureStringValueIdsIsMutable(); - stringValueIds_.addAll(other.stringValueIds_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000010) != 0)) { + sint64KeyIds_.makeImmutable(); // C } - if (!other.bytesKeyIds_.isEmpty()) { - if (bytesKeyIds_.isEmpty()) { - bytesKeyIds_ = other.bytesKeyIds_; - bitField0_ = (bitField0_ & ~0x00001000); - } else { - ensureBytesKeyIdsIsMutable(); - bytesKeyIds_.addAll(other.bytesKeyIds_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000020) != 0)) { + boolValues_.makeImmutable(); // C } - if (!other.bytesValueIds_.isEmpty()) { - if (bytesValueIds_.isEmpty()) { - bytesValueIds_ = other.bytesValueIds_; - bitField0_ = (bitField0_ & ~0x00002000); - } else { - ensureBytesValueIdsIsMutable(); - bytesValueIds_.addAll(other.bytesValueIds_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000040) != 0)) { + stringValueIds_.makeImmutable(); // C } - if (!other.subKeyIds_.isEmpty()) { - if (subKeyIds_.isEmpty()) { - subKeyIds_ = other.subKeyIds_; - bitField0_ = (bitField0_ & ~0x00004000); - } else { - ensureSubKeyIdsIsMutable(); - subKeyIds_.addAll(other.subKeyIds_); - } - onChanged(); + if (((mutable_bitField0_ & 0x00000080) != 0)) { + bytesValueIds_.makeImmutable(); // C } - if (subMapsBuilder_ == null) { - if (!other.subMaps_.isEmpty()) { - if (subMaps_.isEmpty()) { - subMaps_ = other.subMaps_; - bitField0_ = (bitField0_ & ~0x00008000); - } else { - ensureSubMapsIsMutable(); - subMaps_.addAll(other.subMaps_); - } - onChanged(); - } - } else { - if (!other.subMaps_.isEmpty()) { - if (subMapsBuilder_.isEmpty()) { - subMapsBuilder_.dispose(); - subMapsBuilder_ = null; - subMaps_ = other.subMaps_; - bitField0_ = (bitField0_ & ~0x00008000); - subMapsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSubMapsFieldBuilder() : null; - } else { - subMapsBuilder_.addAllMessages(other.subMaps_); - } - } + if (((mutable_bitField0_ & 0x00000100) != 0)) { + mapKeyIds_.makeImmutable(); // C } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + if (((mutable_bitField0_ & 0x00000200) != 0)) { + subKeyIds_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_List_descriptor; + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_List_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder.class); + } - private int bitField0_; + public static final int INDEXES_FIELD_NUMBER = 1; + private com.google.protobuf.Internal.IntList indexes_; - private com.google.protobuf.Internal.IntList doubleKeyIds_ = emptyIntList(); + /** + *

+         * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+         * 
+ * + * repeated int32 indexes = 1; + * + * @return A list containing the indexes. + */ + @java.lang.Override + public java.util.List + getIndexesList() { + return indexes_; + } - private void ensureDoubleKeyIdsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - doubleKeyIds_ = mutableCopy(doubleKeyIds_); - bitField0_ |= 0x00000001; - } - } + /** + *
+         * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+         * 
+ * + * repeated int32 indexes = 1; + * + * @return The count of indexes. + */ + public int getIndexesCount() { + return indexes_.size(); + } - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @return A list containing the doubleKeyIds. - */ - public java.util.List - getDoubleKeyIdsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(doubleKeyIds_) : doubleKeyIds_; - } + /** + *
+         * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+         * 
+ * + * repeated int32 indexes = 1; + * + * @param index The index of the element to return. + * @return The indexes at the given index. + */ + public int getIndexes(int index) { + return indexes_.getInt(index); + } - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @return The count of doubleKeyIds. - */ - public int getDoubleKeyIdsCount() { - return doubleKeyIds_.size(); - } + private int indexesMemoizedSerializedSize = -1; - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @param index The index of the element to return. - * @return The doubleKeyIds at the given index. - */ - public int getDoubleKeyIds(int index) { - return doubleKeyIds_.getInt(index); - } + public static final int DOUBLEKEYIDS_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.IntList doubleKeyIds_; - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @param index The index to set the value at. - * @param value The doubleKeyIds to set. - * @return This builder for chaining. - */ - public Builder setDoubleKeyIds( - int index, int value) { - ensureDoubleKeyIdsIsMutable(); - doubleKeyIds_.setInt(index, value); - onChanged(); - return this; - } + /** + *
+         * 数组值id,按数组先后顺序填入
+         * valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return A list containing the doubleKeyIds. + */ + @java.lang.Override + public java.util.List + getDoubleKeyIdsList() { + return doubleKeyIds_; + } - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @param value The doubleKeyIds to add. - * @return This builder for chaining. - */ - public Builder addDoubleKeyIds(int value) { - ensureDoubleKeyIdsIsMutable(); - doubleKeyIds_.addInt(value); - onChanged(); - return this; - } + /** + *
+         * 数组值id,按数组先后顺序填入
+         * valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return The count of doubleKeyIds. + */ + public int getDoubleKeyIdsCount() { + return doubleKeyIds_.size(); + } - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @param values The doubleKeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllDoubleKeyIds( - java.lang.Iterable values) { - ensureDoubleKeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, doubleKeyIds_); - onChanged(); - return this; - } + /** + *
+         * 数组值id,按数组先后顺序填入
+         * valueId/value
+         * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @param index The index of the element to return. + * @return The doubleKeyIds at the given index. + */ + public int getDoubleKeyIds(int index) { + return doubleKeyIds_.getInt(index); + } + + private int doubleKeyIdsMemoizedSerializedSize = -1; - /** - *
-             * key、value id
-             * 
- * - * repeated int32 doubleKeyIds = 1; - * - * @return This builder for chaining. - */ - public Builder clearDoubleKeyIds() { - doubleKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public static final int FLOATKEYIDS_FIELD_NUMBER = 3; + private com.google.protobuf.Internal.IntList floatKeyIds_; - private com.google.protobuf.Internal.IntList doubleValueIds_ = emptyIntList(); + /** + * repeated int32 floatKeyIds = 3; + * + * @return A list containing the floatKeyIds. + */ + @java.lang.Override + public java.util.List + getFloatKeyIdsList() { + return floatKeyIds_; + } - private void ensureDoubleValueIdsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - doubleValueIds_ = mutableCopy(doubleValueIds_); - bitField0_ |= 0x00000002; - } - } + /** + * repeated int32 floatKeyIds = 3; + * + * @return The count of floatKeyIds. + */ + public int getFloatKeyIdsCount() { + return floatKeyIds_.size(); + } - /** - * repeated int32 doubleValueIds = 2; - * - * @return A list containing the doubleValueIds. - */ - public java.util.List - getDoubleValueIdsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(doubleValueIds_) : doubleValueIds_; - } + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index of the element to return. + * @return The floatKeyIds at the given index. + */ + public int getFloatKeyIds(int index) { + return floatKeyIds_.getInt(index); + } - /** - * repeated int32 doubleValueIds = 2; - * - * @return The count of doubleValueIds. - */ - public int getDoubleValueIdsCount() { - return doubleValueIds_.size(); - } + private int floatKeyIdsMemoizedSerializedSize = -1; - /** - * repeated int32 doubleValueIds = 2; - * - * @param index The index of the element to return. - * @return The doubleValueIds at the given index. - */ - public int getDoubleValueIds(int index) { - return doubleValueIds_.getInt(index); - } + public static final int SINT32KEYIDS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.IntList sint32KeyIds_; - /** - * repeated int32 doubleValueIds = 2; - * - * @param index The index to set the value at. - * @param value The doubleValueIds to set. - * @return This builder for chaining. - */ - public Builder setDoubleValueIds( - int index, int value) { - ensureDoubleValueIdsIsMutable(); - doubleValueIds_.setInt(index, value); - onChanged(); - return this; - } + /** + * repeated int32 sint32KeyIds = 4; + * + * @return A list containing the sint32KeyIds. + */ + @java.lang.Override + public java.util.List + getSint32KeyIdsList() { + return sint32KeyIds_; + } - /** - * repeated int32 doubleValueIds = 2; - * - * @param value The doubleValueIds to add. - * @return This builder for chaining. - */ - public Builder addDoubleValueIds(int value) { - ensureDoubleValueIdsIsMutable(); - doubleValueIds_.addInt(value); - onChanged(); - return this; - } + /** + * repeated int32 sint32KeyIds = 4; + * + * @return The count of sint32KeyIds. + */ + public int getSint32KeyIdsCount() { + return sint32KeyIds_.size(); + } - /** - * repeated int32 doubleValueIds = 2; - * - * @param values The doubleValueIds to add. - * @return This builder for chaining. - */ - public Builder addAllDoubleValueIds( - java.lang.Iterable values) { - ensureDoubleValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, doubleValueIds_); - onChanged(); - return this; - } + /** + * repeated int32 sint32KeyIds = 4; + * + * @param index The index of the element to return. + * @return The sint32KeyIds at the given index. + */ + public int getSint32KeyIds(int index) { + return sint32KeyIds_.getInt(index); + } - /** - * repeated int32 doubleValueIds = 2; - * - * @return This builder for chaining. - */ - public Builder clearDoubleValueIds() { - doubleValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + private int sint32KeyIdsMemoizedSerializedSize = -1; - private com.google.protobuf.Internal.IntList floatKeyIds_ = emptyIntList(); + public static final int SINT64KEYIDS_FIELD_NUMBER = 5; + private com.google.protobuf.Internal.IntList sint64KeyIds_; - private void ensureFloatKeyIdsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - floatKeyIds_ = mutableCopy(floatKeyIds_); - bitField0_ |= 0x00000004; - } - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return A list containing the sint64KeyIds. + */ + @java.lang.Override + public java.util.List + getSint64KeyIdsList() { + return sint64KeyIds_; + } - /** - * repeated int32 floatKeyIds = 3; - * - * @return A list containing the floatKeyIds. - */ - public java.util.List - getFloatKeyIdsList() { - return ((bitField0_ & 0x00000004) != 0) ? - java.util.Collections.unmodifiableList(floatKeyIds_) : floatKeyIds_; - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return The count of sint64KeyIds. + */ + public int getSint64KeyIdsCount() { + return sint64KeyIds_.size(); + } - /** - * repeated int32 floatKeyIds = 3; - * - * @return The count of floatKeyIds. - */ - public int getFloatKeyIdsCount() { - return floatKeyIds_.size(); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @param index The index of the element to return. + * @return The sint64KeyIds at the given index. + */ + public int getSint64KeyIds(int index) { + return sint64KeyIds_.getInt(index); + } - /** - * repeated int32 floatKeyIds = 3; - * - * @param index The index of the element to return. - * @return The floatKeyIds at the given index. - */ - public int getFloatKeyIds(int index) { - return floatKeyIds_.getInt(index); - } + private int sint64KeyIdsMemoizedSerializedSize = -1; - /** - * repeated int32 floatKeyIds = 3; - * - * @param index The index to set the value at. - * @param value The floatKeyIds to set. - * @return This builder for chaining. - */ - public Builder setFloatKeyIds( - int index, int value) { - ensureFloatKeyIdsIsMutable(); - floatKeyIds_.setInt(index, value); - onChanged(); - return this; - } + public static final int BOOLVALUES_FIELD_NUMBER = 6; + private com.google.protobuf.Internal.BooleanList boolValues_; + + /** + * repeated bool boolValues = 6; + * + * @return A list containing the boolValues. + */ + @java.lang.Override + public java.util.List + getBoolValuesList() { + return boolValues_; + } + + /** + * repeated bool boolValues = 6; + * + * @return The count of boolValues. + */ + public int getBoolValuesCount() { + return boolValues_.size(); + } + + /** + * repeated bool boolValues = 6; + * + * @param index The index of the element to return. + * @return The boolValues at the given index. + */ + public boolean getBoolValues(int index) { + return boolValues_.getBoolean(index); + } - /** - * repeated int32 floatKeyIds = 3; - * - * @param value The floatKeyIds to add. - * @return This builder for chaining. - */ - public Builder addFloatKeyIds(int value) { - ensureFloatKeyIdsIsMutable(); - floatKeyIds_.addInt(value); - onChanged(); - return this; - } + private int boolValuesMemoizedSerializedSize = -1; - /** - * repeated int32 floatKeyIds = 3; - * - * @param values The floatKeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllFloatKeyIds( - java.lang.Iterable values) { - ensureFloatKeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, floatKeyIds_); - onChanged(); - return this; - } + public static final int STRINGVALUEIDS_FIELD_NUMBER = 7; + private com.google.protobuf.Internal.IntList stringValueIds_; - /** - * repeated int32 floatKeyIds = 3; - * - * @return This builder for chaining. - */ - public Builder clearFloatKeyIds() { - floatKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } + /** + * repeated int32 stringValueIds = 7; + * + * @return A list containing the stringValueIds. + */ + @java.lang.Override + public java.util.List + getStringValueIdsList() { + return stringValueIds_; + } - private com.google.protobuf.Internal.IntList floatValueIds_ = emptyIntList(); + /** + * repeated int32 stringValueIds = 7; + * + * @return The count of stringValueIds. + */ + public int getStringValueIdsCount() { + return stringValueIds_.size(); + } - private void ensureFloatValueIdsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - floatValueIds_ = mutableCopy(floatValueIds_); - bitField0_ |= 0x00000008; - } - } + /** + * repeated int32 stringValueIds = 7; + * + * @param index The index of the element to return. + * @return The stringValueIds at the given index. + */ + public int getStringValueIds(int index) { + return stringValueIds_.getInt(index); + } - /** - * repeated int32 floatValueIds = 4; - * - * @return A list containing the floatValueIds. - */ - public java.util.List - getFloatValueIdsList() { - return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(floatValueIds_) : floatValueIds_; - } + private int stringValueIdsMemoizedSerializedSize = -1; - /** - * repeated int32 floatValueIds = 4; - * - * @return The count of floatValueIds. - */ - public int getFloatValueIdsCount() { - return floatValueIds_.size(); - } + public static final int BYTESVALUEIDS_FIELD_NUMBER = 8; + private com.google.protobuf.Internal.IntList bytesValueIds_; - /** - * repeated int32 floatValueIds = 4; - * - * @param index The index of the element to return. - * @return The floatValueIds at the given index. - */ - public int getFloatValueIds(int index) { - return floatValueIds_.getInt(index); - } + /** + * repeated int32 bytesValueIds = 8; + * + * @return A list containing the bytesValueIds. + */ + @java.lang.Override + public java.util.List + getBytesValueIdsList() { + return bytesValueIds_; + } - /** - * repeated int32 floatValueIds = 4; - * - * @param index The index to set the value at. - * @param value The floatValueIds to set. - * @return This builder for chaining. - */ - public Builder setFloatValueIds( - int index, int value) { - ensureFloatValueIdsIsMutable(); - floatValueIds_.setInt(index, value); - onChanged(); - return this; - } + /** + * repeated int32 bytesValueIds = 8; + * + * @return The count of bytesValueIds. + */ + public int getBytesValueIdsCount() { + return bytesValueIds_.size(); + } - /** - * repeated int32 floatValueIds = 4; - * - * @param value The floatValueIds to add. - * @return This builder for chaining. - */ - public Builder addFloatValueIds(int value) { - ensureFloatValueIdsIsMutable(); - floatValueIds_.addInt(value); - onChanged(); - return this; - } + /** + * repeated int32 bytesValueIds = 8; + * + * @param index The index of the element to return. + * @return The bytesValueIds at the given index. + */ + public int getBytesValueIds(int index) { + return bytesValueIds_.getInt(index); + } - /** - * repeated int32 floatValueIds = 4; - * - * @param values The floatValueIds to add. - * @return This builder for chaining. - */ - public Builder addAllFloatValueIds( - java.lang.Iterable values) { - ensureFloatValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, floatValueIds_); - onChanged(); - return this; - } + private int bytesValueIdsMemoizedSerializedSize = -1; - /** - * repeated int32 floatValueIds = 4; - * - * @return This builder for chaining. - */ - public Builder clearFloatValueIds() { - floatValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + public static final int MAPKEYIDS_FIELD_NUMBER = 9; + private com.google.protobuf.Internal.IntList mapKeyIds_; - private com.google.protobuf.Internal.IntList sint32KeyIds_ = emptyIntList(); + /** + *
+         * mapId
+         * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @return A list containing the mapKeyIds. + */ + @java.lang.Override + public java.util.List + getMapKeyIdsList() { + return mapKeyIds_; + } - private void ensureSint32KeyIdsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - sint32KeyIds_ = mutableCopy(sint32KeyIds_); - bitField0_ |= 0x00000010; - } - } + /** + *
+         * mapId
+         * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @return The count of mapKeyIds. + */ + public int getMapKeyIdsCount() { + return mapKeyIds_.size(); + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @return A list containing the sint32KeyIds. - */ - public java.util.List - getSint32KeyIdsList() { - return ((bitField0_ & 0x00000010) != 0) ? - java.util.Collections.unmodifiableList(sint32KeyIds_) : sint32KeyIds_; - } + /** + *
+         * mapId
+         * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @param index The index of the element to return. + * @return The mapKeyIds at the given index. + */ + public int getMapKeyIds(int index) { + return mapKeyIds_.getInt(index); + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @return The count of sint32KeyIds. - */ - public int getSint32KeyIdsCount() { - return sint32KeyIds_.size(); - } + private int mapKeyIdsMemoizedSerializedSize = -1; - /** - * repeated int32 sint32KeyIds = 5; - * - * @param index The index of the element to return. - * @return The sint32KeyIds at the given index. - */ - public int getSint32KeyIds(int index) { - return sint32KeyIds_.getInt(index); - } + public static final int SUBKEYIDS_FIELD_NUMBER = 10; + private com.google.protobuf.Internal.IntList subKeyIds_; + + /** + *
+         * children id
+         * 
+ * + * repeated int32 subKeyIds = 10; + * + * @return A list containing the subKeyIds. + */ + @java.lang.Override + public java.util.List + getSubKeyIdsList() { + return subKeyIds_; + } + + /** + *
+         * children id
+         * 
+ * + * repeated int32 subKeyIds = 10; + * + * @return The count of subKeyIds. + */ + public int getSubKeyIdsCount() { + return subKeyIds_.size(); + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @param index The index to set the value at. - * @param value The sint32KeyIds to set. - * @return This builder for chaining. - */ - public Builder setSint32KeyIds( - int index, int value) { - ensureSint32KeyIdsIsMutable(); - sint32KeyIds_.setInt(index, value); - onChanged(); - return this; - } + /** + *
+         * children id
+         * 
+ * + * repeated int32 subKeyIds = 10; + * + * @param index The index of the element to return. + * @return The subKeyIds at the given index. + */ + public int getSubKeyIds(int index) { + return subKeyIds_.getInt(index); + } - /** - * repeated int32 sint32KeyIds = 5; - * - * @param value The sint32KeyIds to add. - * @return This builder for chaining. - */ - public Builder addSint32KeyIds(int value) { - ensureSint32KeyIdsIsMutable(); - sint32KeyIds_.addInt(value); - onChanged(); - return this; - } + private int subKeyIdsMemoizedSerializedSize = -1; - /** - * repeated int32 sint32KeyIds = 5; - * - * @param values The sint32KeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllSint32KeyIds( - java.lang.Iterable values) { - ensureSint32KeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sint32KeyIds_); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; - /** - * repeated int32 sint32KeyIds = 5; - * - * @return This builder for chaining. - */ - public Builder clearSint32KeyIds() { - sint32KeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private com.google.protobuf.Internal.IntList sint32ValueIds_ = emptyIntList(); + memoizedIsInitialized = 1; + return true; + } - private void ensureSint32ValueIdsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - sint32ValueIds_ = mutableCopy(sint32ValueIds_); - bitField0_ |= 0x00000020; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (getIndexesList().size() > 0) { + output.writeUInt32NoTag(10); + output.writeUInt32NoTag(indexesMemoizedSerializedSize); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @return A list containing the sint32ValueIds. - */ - public java.util.List - getSint32ValueIdsList() { - return ((bitField0_ & 0x00000020) != 0) ? - java.util.Collections.unmodifiableList(sint32ValueIds_) : sint32ValueIds_; + for (int i = 0; i < indexes_.size(); i++) { + output.writeInt32NoTag(indexes_.getInt(i)); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @return The count of sint32ValueIds. - */ - public int getSint32ValueIdsCount() { - return sint32ValueIds_.size(); + if (getDoubleKeyIdsList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(doubleKeyIdsMemoizedSerializedSize); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @param index The index of the element to return. - * @return The sint32ValueIds at the given index. - */ - public int getSint32ValueIds(int index) { - return sint32ValueIds_.getInt(index); + for (int i = 0; i < doubleKeyIds_.size(); i++) { + output.writeInt32NoTag(doubleKeyIds_.getInt(i)); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @param index The index to set the value at. - * @param value The sint32ValueIds to set. - * @return This builder for chaining. - */ - public Builder setSint32ValueIds( - int index, int value) { - ensureSint32ValueIdsIsMutable(); - sint32ValueIds_.setInt(index, value); - onChanged(); - return this; + if (getFloatKeyIdsList().size() > 0) { + output.writeUInt32NoTag(26); + output.writeUInt32NoTag(floatKeyIdsMemoizedSerializedSize); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @param value The sint32ValueIds to add. - * @return This builder for chaining. - */ - public Builder addSint32ValueIds(int value) { - ensureSint32ValueIdsIsMutable(); - sint32ValueIds_.addInt(value); - onChanged(); - return this; + for (int i = 0; i < floatKeyIds_.size(); i++) { + output.writeInt32NoTag(floatKeyIds_.getInt(i)); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @param values The sint32ValueIds to add. - * @return This builder for chaining. - */ - public Builder addAllSint32ValueIds( - java.lang.Iterable values) { - ensureSint32ValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sint32ValueIds_); - onChanged(); - return this; + if (getSint32KeyIdsList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(sint32KeyIdsMemoizedSerializedSize); } - - /** - * repeated int32 sint32ValueIds = 6; - * - * @return This builder for chaining. - */ - public Builder clearSint32ValueIds() { - sint32ValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; + for (int i = 0; i < sint32KeyIds_.size(); i++) { + output.writeInt32NoTag(sint32KeyIds_.getInt(i)); } - - private com.google.protobuf.Internal.IntList sint64KeyIds_ = emptyIntList(); - - private void ensureSint64KeyIdsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - sint64KeyIds_ = mutableCopy(sint64KeyIds_); - bitField0_ |= 0x00000040; - } + if (getSint64KeyIdsList().size() > 0) { + output.writeUInt32NoTag(42); + output.writeUInt32NoTag(sint64KeyIdsMemoizedSerializedSize); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @return A list containing the sint64KeyIds. - */ - public java.util.List - getSint64KeyIdsList() { - return ((bitField0_ & 0x00000040) != 0) ? - java.util.Collections.unmodifiableList(sint64KeyIds_) : sint64KeyIds_; + for (int i = 0; i < sint64KeyIds_.size(); i++) { + output.writeInt32NoTag(sint64KeyIds_.getInt(i)); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @return The count of sint64KeyIds. - */ - public int getSint64KeyIdsCount() { - return sint64KeyIds_.size(); + if (getBoolValuesList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(boolValuesMemoizedSerializedSize); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @param index The index of the element to return. - * @return The sint64KeyIds at the given index. - */ - public int getSint64KeyIds(int index) { - return sint64KeyIds_.getInt(index); + for (int i = 0; i < boolValues_.size(); i++) { + output.writeBoolNoTag(boolValues_.getBoolean(i)); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @param index The index to set the value at. - * @param value The sint64KeyIds to set. - * @return This builder for chaining. - */ - public Builder setSint64KeyIds( - int index, int value) { - ensureSint64KeyIdsIsMutable(); - sint64KeyIds_.setInt(index, value); - onChanged(); - return this; + if (getStringValueIdsList().size() > 0) { + output.writeUInt32NoTag(58); + output.writeUInt32NoTag(stringValueIdsMemoizedSerializedSize); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @param value The sint64KeyIds to add. - * @return This builder for chaining. - */ - public Builder addSint64KeyIds(int value) { - ensureSint64KeyIdsIsMutable(); - sint64KeyIds_.addInt(value); - onChanged(); - return this; + for (int i = 0; i < stringValueIds_.size(); i++) { + output.writeInt32NoTag(stringValueIds_.getInt(i)); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @param values The sint64KeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllSint64KeyIds( - java.lang.Iterable values) { - ensureSint64KeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sint64KeyIds_); - onChanged(); - return this; + if (getBytesValueIdsList().size() > 0) { + output.writeUInt32NoTag(66); + output.writeUInt32NoTag(bytesValueIdsMemoizedSerializedSize); } - - /** - * repeated int32 sint64KeyIds = 7; - * - * @return This builder for chaining. - */ - public Builder clearSint64KeyIds() { - sint64KeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; + for (int i = 0; i < bytesValueIds_.size(); i++) { + output.writeInt32NoTag(bytesValueIds_.getInt(i)); + } + if (getMapKeyIdsList().size() > 0) { + output.writeUInt32NoTag(74); + output.writeUInt32NoTag(mapKeyIdsMemoizedSerializedSize); } + for (int i = 0; i < mapKeyIds_.size(); i++) { + output.writeInt32NoTag(mapKeyIds_.getInt(i)); + } + if (getSubKeyIdsList().size() > 0) { + output.writeUInt32NoTag(82); + output.writeUInt32NoTag(subKeyIdsMemoizedSerializedSize); + } + for (int i = 0; i < subKeyIds_.size(); i++) { + output.writeInt32NoTag(subKeyIds_.getInt(i)); + } + unknownFields.writeTo(output); + } - private com.google.protobuf.Internal.IntList sint64ValueIds_ = emptyIntList(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - private void ensureSint64ValueIdsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { - sint64ValueIds_ = mutableCopy(sint64ValueIds_); - bitField0_ |= 0x00000080; + size = 0; + { + int dataSize = 0; + for (int i = 0; i < indexes_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(indexes_.getInt(i)); + } + size += dataSize; + if (!getIndexesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } + indexesMemoizedSerializedSize = dataSize; } - - /** - * repeated int32 sint64ValueIds = 8; - * - * @return A list containing the sint64ValueIds. - */ - public java.util.List - getSint64ValueIdsList() { - return ((bitField0_ & 0x00000080) != 0) ? - java.util.Collections.unmodifiableList(sint64ValueIds_) : sint64ValueIds_; + { + int dataSize = 0; + for (int i = 0; i < doubleKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(doubleKeyIds_.getInt(i)); + } + size += dataSize; + if (!getDoubleKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + doubleKeyIdsMemoizedSerializedSize = dataSize; } - - /** - * repeated int32 sint64ValueIds = 8; - * - * @return The count of sint64ValueIds. - */ - public int getSint64ValueIdsCount() { - return sint64ValueIds_.size(); + { + int dataSize = 0; + for (int i = 0; i < floatKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(floatKeyIds_.getInt(i)); + } + size += dataSize; + if (!getFloatKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + floatKeyIdsMemoizedSerializedSize = dataSize; } - - /** - * repeated int32 sint64ValueIds = 8; - * - * @param index The index of the element to return. - * @return The sint64ValueIds at the given index. - */ - public int getSint64ValueIds(int index) { - return sint64ValueIds_.getInt(index); + { + int dataSize = 0; + for (int i = 0; i < sint32KeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(sint32KeyIds_.getInt(i)); + } + size += dataSize; + if (!getSint32KeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + sint32KeyIdsMemoizedSerializedSize = dataSize; } - - /** - * repeated int32 sint64ValueIds = 8; - * - * @param index The index to set the value at. - * @param value The sint64ValueIds to set. - * @return This builder for chaining. - */ - public Builder setSint64ValueIds( - int index, int value) { - ensureSint64ValueIdsIsMutable(); - sint64ValueIds_.setInt(index, value); - onChanged(); - return this; + { + int dataSize = 0; + for (int i = 0; i < sint64KeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(sint64KeyIds_.getInt(i)); + } + size += dataSize; + if (!getSint64KeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + sint64KeyIdsMemoizedSerializedSize = dataSize; } - - /** - * repeated int32 sint64ValueIds = 8; - * - * @param value The sint64ValueIds to add. - * @return This builder for chaining. - */ - public Builder addSint64ValueIds(int value) { - ensureSint64ValueIdsIsMutable(); - sint64ValueIds_.addInt(value); - onChanged(); - return this; + { + int dataSize = 0; + dataSize = 1 * getBoolValuesList().size(); + size += dataSize; + if (!getBoolValuesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + boolValuesMemoizedSerializedSize = dataSize; } - - /** - * repeated int32 sint64ValueIds = 8; - * - * @param values The sint64ValueIds to add. - * @return This builder for chaining. - */ - public Builder addAllSint64ValueIds( - java.lang.Iterable values) { - ensureSint64ValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sint64ValueIds_); - onChanged(); - return this; + { + int dataSize = 0; + for (int i = 0; i < stringValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(stringValueIds_.getInt(i)); + } + size += dataSize; + if (!getStringValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + stringValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < bytesValueIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(bytesValueIds_.getInt(i)); + } + size += dataSize; + if (!getBytesValueIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + bytesValueIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < mapKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(mapKeyIds_.getInt(i)); + } + size += dataSize; + if (!getMapKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + mapKeyIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < subKeyIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(subKeyIds_.getInt(i)); + } + size += dataSize; + if (!getSubKeyIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + subKeyIdsMemoizedSerializedSize = dataSize; } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * repeated int32 sint64ValueIds = 8; - * - * @return This builder for chaining. - */ - public Builder clearSint64ValueIds() { - sint64ValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - return this; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List)) { + return super.equals(obj); } + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List) obj; - private com.google.protobuf.Internal.IntList boolKeyIds_ = emptyIntList(); + if (!getIndexesList() + .equals(other.getIndexesList())) return false; + if (!getDoubleKeyIdsList() + .equals(other.getDoubleKeyIdsList())) return false; + if (!getFloatKeyIdsList() + .equals(other.getFloatKeyIdsList())) return false; + if (!getSint32KeyIdsList() + .equals(other.getSint32KeyIdsList())) return false; + if (!getSint64KeyIdsList() + .equals(other.getSint64KeyIdsList())) return false; + if (!getBoolValuesList() + .equals(other.getBoolValuesList())) return false; + if (!getStringValueIdsList() + .equals(other.getStringValueIdsList())) return false; + if (!getBytesValueIdsList() + .equals(other.getBytesValueIdsList())) return false; + if (!getMapKeyIdsList() + .equals(other.getMapKeyIdsList())) return false; + if (!getSubKeyIdsList() + .equals(other.getSubKeyIdsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } - private void ensureBoolKeyIdsIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { - boolKeyIds_ = mutableCopy(boolKeyIds_); - bitField0_ |= 0x00000100; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - - /** - * repeated int32 boolKeyIds = 9; - * - * @return A list containing the boolKeyIds. - */ - public java.util.List - getBoolKeyIdsList() { - return ((bitField0_ & 0x00000100) != 0) ? - java.util.Collections.unmodifiableList(boolKeyIds_) : boolKeyIds_; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getIndexesCount() > 0) { + hash = (37 * hash) + INDEXES_FIELD_NUMBER; + hash = (53 * hash) + getIndexesList().hashCode(); } - - /** - * repeated int32 boolKeyIds = 9; - * - * @return The count of boolKeyIds. - */ - public int getBoolKeyIdsCount() { - return boolKeyIds_.size(); + if (getDoubleKeyIdsCount() > 0) { + hash = (37 * hash) + DOUBLEKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getDoubleKeyIdsList().hashCode(); } - - /** - * repeated int32 boolKeyIds = 9; - * - * @param index The index of the element to return. - * @return The boolKeyIds at the given index. - */ - public int getBoolKeyIds(int index) { - return boolKeyIds_.getInt(index); + if (getFloatKeyIdsCount() > 0) { + hash = (37 * hash) + FLOATKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getFloatKeyIdsList().hashCode(); } - - /** - * repeated int32 boolKeyIds = 9; - * - * @param index The index to set the value at. - * @param value The boolKeyIds to set. - * @return This builder for chaining. - */ - public Builder setBoolKeyIds( - int index, int value) { - ensureBoolKeyIdsIsMutable(); - boolKeyIds_.setInt(index, value); - onChanged(); - return this; + if (getSint32KeyIdsCount() > 0) { + hash = (37 * hash) + SINT32KEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getSint32KeyIdsList().hashCode(); } - - /** - * repeated int32 boolKeyIds = 9; - * - * @param value The boolKeyIds to add. - * @return This builder for chaining. - */ - public Builder addBoolKeyIds(int value) { - ensureBoolKeyIdsIsMutable(); - boolKeyIds_.addInt(value); - onChanged(); - return this; + if (getSint64KeyIdsCount() > 0) { + hash = (37 * hash) + SINT64KEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getSint64KeyIdsList().hashCode(); } - - /** - * repeated int32 boolKeyIds = 9; - * - * @param values The boolKeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllBoolKeyIds( - java.lang.Iterable values) { - ensureBoolKeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, boolKeyIds_); - onChanged(); - return this; + if (getBoolValuesCount() > 0) { + hash = (37 * hash) + BOOLVALUES_FIELD_NUMBER; + hash = (53 * hash) + getBoolValuesList().hashCode(); } - - /** - * repeated int32 boolKeyIds = 9; - * - * @return This builder for chaining. - */ - public Builder clearBoolKeyIds() { - boolKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000100); - onChanged(); - return this; + if (getStringValueIdsCount() > 0) { + hash = (37 * hash) + STRINGVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getStringValueIdsList().hashCode(); } - - private com.google.protobuf.Internal.BooleanList boolValues_ = emptyBooleanList(); - - private void ensureBoolValuesIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { - boolValues_ = mutableCopy(boolValues_); - bitField0_ |= 0x00000200; - } + if (getBytesValueIdsCount() > 0) { + hash = (37 * hash) + BYTESVALUEIDS_FIELD_NUMBER; + hash = (53 * hash) + getBytesValueIdsList().hashCode(); } - - /** - * repeated bool boolValues = 10; - * - * @return A list containing the boolValues. - */ - public java.util.List - getBoolValuesList() { - return ((bitField0_ & 0x00000200) != 0) ? - java.util.Collections.unmodifiableList(boolValues_) : boolValues_; + if (getMapKeyIdsCount() > 0) { + hash = (37 * hash) + MAPKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getMapKeyIdsList().hashCode(); } - - /** - * repeated bool boolValues = 10; - * - * @return The count of boolValues. - */ - public int getBoolValuesCount() { - return boolValues_.size(); + if (getSubKeyIdsCount() > 0) { + hash = (37 * hash) + SUBKEYIDS_FIELD_NUMBER; + hash = (53 * hash) + getSubKeyIdsList().hashCode(); } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated bool boolValues = 10; - * - * @param index The index of the element to return. - * @return The boolValues at the given index. - */ - public boolean getBoolValues(int index) { - return boolValues_.getBoolean(index); - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * repeated bool boolValues = 10; - * - * @param index The index to set the value at. - * @param value The boolValues to set. - * @return This builder for chaining. - */ - public Builder setBoolValues( - int index, boolean value) { - ensureBoolValuesIsMutable(); - boolValues_.setBoolean(index, value); - onChanged(); - return this; - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * repeated bool boolValues = 10; - * - * @param value The boolValues to add. - * @return This builder for chaining. - */ - public Builder addBoolValues(boolean value) { - ensureBoolValuesIsMutable(); - boolValues_.addBoolean(value); - onChanged(); - return this; - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * repeated bool boolValues = 10; - * - * @param values The boolValues to add. - * @return This builder for chaining. - */ - public Builder addAllBoolValues( - java.lang.Iterable values) { - ensureBoolValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, boolValues_); - onChanged(); - return this; - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * repeated bool boolValues = 10; - * - * @return This builder for chaining. - */ - public Builder clearBoolValues() { - boolValues_ = emptyBooleanList(); - bitField0_ = (bitField0_ & ~0x00000200); - onChanged(); - return this; - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - private com.google.protobuf.Internal.IntList stringKeyIds_ = emptyIntList(); + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - private void ensureStringKeyIdsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { - stringKeyIds_ = mutableCopy(stringKeyIds_); - bitField0_ |= 0x00000400; - } - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return A list containing the stringKeyIds. - */ - public java.util.List - getStringKeyIdsList() { - return ((bitField0_ & 0x00000400) != 0) ? - java.util.Collections.unmodifiableList(stringKeyIds_) : stringKeyIds_; - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return The count of stringKeyIds. - */ - public int getStringKeyIdsCount() { - return stringKeyIds_.size(); - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @param index The index of the element to return. - * @return The stringKeyIds at the given index. - */ - public int getStringKeyIds(int index) { - return stringKeyIds_.getInt(index); - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @param index The index to set the value at. - * @param value The stringKeyIds to set. - * @return This builder for chaining. - */ - public Builder setStringKeyIds( - int index, int value) { - ensureStringKeyIdsIsMutable(); - stringKeyIds_.setInt(index, value); - onChanged(); - return this; - } + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @param value The stringKeyIds to add. - * @return This builder for chaining. - */ - public Builder addStringKeyIds(int value) { - ensureStringKeyIdsIsMutable(); - stringKeyIds_.addInt(value); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @param values The stringKeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllStringKeyIds( - java.lang.Iterable values) { - ensureStringKeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stringKeyIds_); - onChanged(); - return this; - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - /** - * repeated int32 stringKeyIds = 11; - * - * @return This builder for chaining. - */ - public Builder clearStringKeyIds() { - stringKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000400); - onChanged(); - return this; - } + public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - private com.google.protobuf.Internal.IntList stringValueIds_ = emptyIntList(); + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void ensureStringValueIdsIsMutable() { - if (!((bitField0_ & 0x00000800) != 0)) { - stringValueIds_ = mutableCopy(stringValueIds_); - bitField0_ |= 0x00000800; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - /** - * repeated int32 stringValueIds = 12; - * - * @return A list containing the stringValueIds. - */ - public java.util.List - getStringValueIdsList() { - return ((bitField0_ & 0x00000800) != 0) ? - java.util.Collections.unmodifiableList(stringValueIds_) : stringValueIds_; + /** + *
+         * list 属性
+         * 
+ *

+ * Protobuf type {@code pojo.List} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:pojo.List) + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_List_descriptor; } - /** - * repeated int32 stringValueIds = 12; - * - * @return The count of stringValueIds. - */ - public int getStringValueIdsCount() { - return stringValueIds_.size(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_List_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder.class); } - /** - * repeated int32 stringValueIds = 12; - * - * @param index The index of the element to return. - * @return The stringValueIds at the given index. - */ - public int getStringValueIds(int index) { - return stringValueIds_.getInt(index); + // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - /** - * repeated int32 stringValueIds = 12; - * - * @param index The index to set the value at. - * @param value The stringValueIds to set. - * @return This builder for chaining. - */ - public Builder setStringValueIds( - int index, int value) { - ensureStringValueIdsIsMutable(); - stringValueIds_.setInt(index, value); - onChanged(); - return this; + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); } - /** - * repeated int32 stringValueIds = 12; - * - * @param value The stringValueIds to add. - * @return This builder for chaining. - */ - public Builder addStringValueIds(int value) { - ensureStringValueIdsIsMutable(); - stringValueIds_.addInt(value); - onChanged(); - return this; + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - /** - * repeated int32 stringValueIds = 12; - * - * @param values The stringValueIds to add. - * @return This builder for chaining. - */ - public Builder addAllStringValueIds( - java.lang.Iterable values) { - ensureStringValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stringValueIds_); - onChanged(); + @java.lang.Override + public Builder clear() { + super.clear(); + indexes_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + doubleKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + floatKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + sint32KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + sint64KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + boolValues_ = emptyBooleanList(); + bitField0_ = (bitField0_ & ~0x00000020); + stringValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000040); + bytesValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000080); + mapKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000100); + subKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000200); return this; } - /** - * repeated int32 stringValueIds = 12; - * - * @return This builder for chaining. - */ - public Builder clearStringValueIds() { - stringValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - return this; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_List_descriptor; } - private com.google.protobuf.Internal.IntList bytesKeyIds_ = emptyIntList(); + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List getDefaultInstanceForType() { + return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.getDefaultInstance(); + } - private void ensureBytesKeyIdsIsMutable() { - if (!((bitField0_ & 0x00001000) != 0)) { - bytesKeyIds_ = mutableCopy(bytesKeyIds_); - bitField0_ |= 0x00001000; + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List build() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - * repeated int32 bytesKeyIds = 13; - * - * @return A list containing the bytesKeyIds. - */ - public java.util.List - getBytesKeyIdsList() { - return ((bitField0_ & 0x00001000) != 0) ? - java.util.Collections.unmodifiableList(bytesKeyIds_) : bytesKeyIds_; + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List buildPartial() { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + indexes_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.indexes_ = indexes_; + if (((bitField0_ & 0x00000002) != 0)) { + doubleKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.doubleKeyIds_ = doubleKeyIds_; + if (((bitField0_ & 0x00000004) != 0)) { + floatKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.floatKeyIds_ = floatKeyIds_; + if (((bitField0_ & 0x00000008) != 0)) { + sint32KeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.sint32KeyIds_ = sint32KeyIds_; + if (((bitField0_ & 0x00000010) != 0)) { + sint64KeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.sint64KeyIds_ = sint64KeyIds_; + if (((bitField0_ & 0x00000020) != 0)) { + boolValues_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.boolValues_ = boolValues_; + if (((bitField0_ & 0x00000040) != 0)) { + stringValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.stringValueIds_ = stringValueIds_; + if (((bitField0_ & 0x00000080) != 0)) { + bytesValueIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.bytesValueIds_ = bytesValueIds_; + if (((bitField0_ & 0x00000100) != 0)) { + mapKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.mapKeyIds_ = mapKeyIds_; + if (((bitField0_ & 0x00000200) != 0)) { + subKeyIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000200); + } + result.subKeyIds_ = subKeyIds_; + onBuilt(); + return result; } - /** - * repeated int32 bytesKeyIds = 13; - * - * @return The count of bytesKeyIds. - */ - public int getBytesKeyIdsCount() { - return bytesKeyIds_.size(); + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated int32 bytesKeyIds = 13; - * - * @param index The index of the element to return. - * @return The bytesKeyIds at the given index. - */ - public int getBytesKeyIds(int index) { - return bytesKeyIds_.getInt(index); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated int32 bytesKeyIds = 13; - * - * @param index The index to set the value at. - * @param value The bytesKeyIds to set. - * @return This builder for chaining. - */ - public Builder setBytesKeyIds( - int index, int value) { - ensureBytesKeyIdsIsMutable(); - bytesKeyIds_.setInt(index, value); - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated int32 bytesKeyIds = 13; - * - * @param value The bytesKeyIds to add. - * @return This builder for chaining. - */ - public Builder addBytesKeyIds(int value) { - ensureBytesKeyIdsIsMutable(); - bytesKeyIds_.addInt(value); - onChanged(); - return this; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated int32 bytesKeyIds = 13; - * - * @param values The bytesKeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllBytesKeyIds( - java.lang.Iterable values) { - ensureBytesKeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bytesKeyIds_); - onChanged(); - return this; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated int32 bytesKeyIds = 13; - * - * @return This builder for chaining. - */ - public Builder clearBytesKeyIds() { - bytesKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - return this; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - private com.google.protobuf.Internal.IntList bytesValueIds_ = emptyIntList(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List) { + return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List) other); + } else { + super.mergeFrom(other); + return this; + } + } - private void ensureBytesValueIdsIsMutable() { - if (!((bitField0_ & 0x00002000) != 0)) { - bytesValueIds_ = mutableCopy(bytesValueIds_); - bitField0_ |= 0x00002000; + public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List other) { + if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.getDefaultInstance()) return this; + if (!other.indexes_.isEmpty()) { + if (indexes_.isEmpty()) { + indexes_ = other.indexes_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureIndexesIsMutable(); + indexes_.addAll(other.indexes_); + } + onChanged(); + } + if (!other.doubleKeyIds_.isEmpty()) { + if (doubleKeyIds_.isEmpty()) { + doubleKeyIds_ = other.doubleKeyIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDoubleKeyIdsIsMutable(); + doubleKeyIds_.addAll(other.doubleKeyIds_); + } + onChanged(); + } + if (!other.floatKeyIds_.isEmpty()) { + if (floatKeyIds_.isEmpty()) { + floatKeyIds_ = other.floatKeyIds_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureFloatKeyIdsIsMutable(); + floatKeyIds_.addAll(other.floatKeyIds_); + } + onChanged(); + } + if (!other.sint32KeyIds_.isEmpty()) { + if (sint32KeyIds_.isEmpty()) { + sint32KeyIds_ = other.sint32KeyIds_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureSint32KeyIdsIsMutable(); + sint32KeyIds_.addAll(other.sint32KeyIds_); + } + onChanged(); + } + if (!other.sint64KeyIds_.isEmpty()) { + if (sint64KeyIds_.isEmpty()) { + sint64KeyIds_ = other.sint64KeyIds_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureSint64KeyIdsIsMutable(); + sint64KeyIds_.addAll(other.sint64KeyIds_); + } + onChanged(); + } + if (!other.boolValues_.isEmpty()) { + if (boolValues_.isEmpty()) { + boolValues_ = other.boolValues_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureBoolValuesIsMutable(); + boolValues_.addAll(other.boolValues_); + } + onChanged(); + } + if (!other.stringValueIds_.isEmpty()) { + if (stringValueIds_.isEmpty()) { + stringValueIds_ = other.stringValueIds_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureStringValueIdsIsMutable(); + stringValueIds_.addAll(other.stringValueIds_); + } + onChanged(); + } + if (!other.bytesValueIds_.isEmpty()) { + if (bytesValueIds_.isEmpty()) { + bytesValueIds_ = other.bytesValueIds_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureBytesValueIdsIsMutable(); + bytesValueIds_.addAll(other.bytesValueIds_); + } + onChanged(); + } + if (!other.mapKeyIds_.isEmpty()) { + if (mapKeyIds_.isEmpty()) { + mapKeyIds_ = other.mapKeyIds_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureMapKeyIdsIsMutable(); + mapKeyIds_.addAll(other.mapKeyIds_); + } + onChanged(); + } + if (!other.subKeyIds_.isEmpty()) { + if (subKeyIds_.isEmpty()) { + subKeyIds_ = other.subKeyIds_; + bitField0_ = (bitField0_ & ~0x00000200); + } else { + ensureSubKeyIdsIsMutable(); + subKeyIds_.addAll(other.subKeyIds_); + } + onChanged(); } - } - - /** - * repeated int32 bytesValueIds = 14; - * - * @return A list containing the bytesValueIds. - */ - public java.util.List - getBytesValueIdsList() { - return ((bitField0_ & 0x00002000) != 0) ? - java.util.Collections.unmodifiableList(bytesValueIds_) : bytesValueIds_; - } - - /** - * repeated int32 bytesValueIds = 14; - * - * @return The count of bytesValueIds. - */ - public int getBytesValueIdsCount() { - return bytesValueIds_.size(); - } - - /** - * repeated int32 bytesValueIds = 14; - * - * @param index The index of the element to return. - * @return The bytesValueIds at the given index. - */ - public int getBytesValueIds(int index) { - return bytesValueIds_.getInt(index); - } - - /** - * repeated int32 bytesValueIds = 14; - * - * @param index The index to set the value at. - * @param value The bytesValueIds to set. - * @return This builder for chaining. - */ - public Builder setBytesValueIds( - int index, int value) { - ensureBytesValueIdsIsMutable(); - bytesValueIds_.setInt(index, value); + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } - /** - * repeated int32 bytesValueIds = 14; - * - * @param value The bytesValueIds to add. - * @return This builder for chaining. - */ - public Builder addBytesValueIds(int value) { - ensureBytesValueIdsIsMutable(); - bytesValueIds_.addInt(value); - onChanged(); - return this; + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - * repeated int32 bytesValueIds = 14; - * - * @param values The bytesValueIds to add. - * @return This builder for chaining. - */ - public Builder addAllBytesValueIds( - java.lang.Iterable values) { - ensureBytesValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bytesValueIds_); - onChanged(); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } return this; } - /** - * repeated int32 bytesValueIds = 14; - * - * @return This builder for chaining. - */ - public Builder clearBytesValueIds() { - bytesValueIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00002000); - onChanged(); - return this; - } + private int bitField0_; - private com.google.protobuf.Internal.IntList subKeyIds_ = emptyIntList(); + private com.google.protobuf.Internal.IntList indexes_ = emptyIntList(); - private void ensureSubKeyIdsIsMutable() { - if (!((bitField0_ & 0x00004000) != 0)) { - subKeyIds_ = mutableCopy(subKeyIds_); - bitField0_ |= 0x00004000; + private void ensureIndexesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + indexes_ = mutableCopy(indexes_); + bitField0_ |= 0x00000001; } } /** *

-             * children Map key、value id
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
              * 
* - * repeated int32 subKeyIds = 15; + * repeated int32 indexes = 1; * - * @return A list containing the subKeyIds. + * @return A list containing the indexes. */ public java.util.List - getSubKeyIdsList() { - return ((bitField0_ & 0x00004000) != 0) ? - java.util.Collections.unmodifiableList(subKeyIds_) : subKeyIds_; + getIndexesList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(indexes_) : indexes_; } /** *
-             * children Map key、value id
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
              * 
* - * repeated int32 subKeyIds = 15; + * repeated int32 indexes = 1; * - * @return The count of subKeyIds. + * @return The count of indexes. */ - public int getSubKeyIdsCount() { - return subKeyIds_.size(); + public int getIndexesCount() { + return indexes_.size(); } /** *
-             * children Map key、value id
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
              * 
* - * repeated int32 subKeyIds = 15; + * repeated int32 indexes = 1; * * @param index The index of the element to return. - * @return The subKeyIds at the given index. + * @return The indexes at the given index. */ - public int getSubKeyIds(int index) { - return subKeyIds_.getInt(index); + public int getIndexes(int index) { + return indexes_.getInt(index); } /** *
-             * children Map key、value id
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
              * 
* - * repeated int32 subKeyIds = 15; + * repeated int32 indexes = 1; * * @param index The index to set the value at. - * @param value The subKeyIds to set. + * @param value The indexes to set. * @return This builder for chaining. */ - public Builder setSubKeyIds( + public Builder setIndexes( int index, int value) { - ensureSubKeyIdsIsMutable(); - subKeyIds_.setInt(index, value); - onChanged(); - return this; - } - - /** - *
-             * children Map key、value id
-             * 
- * - * repeated int32 subKeyIds = 15; - * - * @param value The subKeyIds to add. - * @return This builder for chaining. - */ - public Builder addSubKeyIds(int value) { - ensureSubKeyIdsIsMutable(); - subKeyIds_.addInt(value); - onChanged(); - return this; - } - - /** - *
-             * children Map key、value id
-             * 
- * - * repeated int32 subKeyIds = 15; - * - * @param values The subKeyIds to add. - * @return This builder for chaining. - */ - public Builder addAllSubKeyIds( - java.lang.Iterable values) { - ensureSubKeyIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subKeyIds_); + ensureIndexesIsMutable(); + indexes_.setInt(index, value); onChanged(); return this; } /** *
-             * children Map key、value id
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
              * 
* - * repeated int32 subKeyIds = 15; + * repeated int32 indexes = 1; * + * @param value The indexes to add. * @return This builder for chaining. */ - public Builder clearSubKeyIds() { - subKeyIds_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00004000); - onChanged(); - return this; - } - - private java.util.List subMaps_ = - java.util.Collections.emptyList(); - - private void ensureSubMapsIsMutable() { - if (!((bitField0_ & 0x00008000) != 0)) { - subMaps_ = new java.util.ArrayList(subMaps_); - bitField0_ |= 0x00008000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> subMapsBuilder_; - - /** - * repeated .pojo.Map subMaps = 16; - */ - public java.util.List getSubMapsList() { - if (subMapsBuilder_ == null) { - return java.util.Collections.unmodifiableList(subMaps_); - } else { - return subMapsBuilder_.getMessageList(); - } - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public int getSubMapsCount() { - if (subMapsBuilder_ == null) { - return subMaps_.size(); - } else { - return subMapsBuilder_.getCount(); - } - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getSubMaps(int index) { - if (subMapsBuilder_ == null) { - return subMaps_.get(index); - } else { - return subMapsBuilder_.getMessage(index); - } - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder setSubMaps( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (subMapsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubMapsIsMutable(); - subMaps_.set(index, value); - onChanged(); - } else { - subMapsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder setSubMaps( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (subMapsBuilder_ == null) { - ensureSubMapsIsMutable(); - subMaps_.set(index, builderForValue.build()); - onChanged(); - } else { - subMapsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder addSubMaps(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (subMapsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubMapsIsMutable(); - subMaps_.add(value); - onChanged(); - } else { - subMapsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder addSubMaps( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (subMapsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubMapsIsMutable(); - subMaps_.add(index, value); - onChanged(); - } else { - subMapsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder addSubMaps( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (subMapsBuilder_ == null) { - ensureSubMapsIsMutable(); - subMaps_.add(builderForValue.build()); - onChanged(); - } else { - subMapsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder addSubMaps( - int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (subMapsBuilder_ == null) { - ensureSubMapsIsMutable(); - subMaps_.add(index, builderForValue.build()); - onChanged(); - } else { - subMapsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .pojo.Map subMaps = 16; - */ - public Builder addAllSubMaps( - java.lang.Iterable values) { - if (subMapsBuilder_ == null) { - ensureSubMapsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subMaps_); - onChanged(); - } else { - subMapsBuilder_.addAllMessages(values); - } + public Builder addIndexes(int value) { + ensureIndexesIsMutable(); + indexes_.addInt(value); + onChanged(); return this; } /** - * repeated .pojo.Map subMaps = 16; + *
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+             * 
+ * + * repeated int32 indexes = 1; + * + * @param values The indexes to add. + * @return This builder for chaining. */ - public Builder clearSubMaps() { - if (subMapsBuilder_ == null) { - subMaps_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00008000); - onChanged(); - } else { - subMapsBuilder_.clear(); - } + public Builder addAllIndexes( + java.lang.Iterable values) { + ensureIndexesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexes_); + onChanged(); return this; } /** - * repeated .pojo.Map subMaps = 16; + *
+             * indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7]
+             * 
+ * + * repeated int32 indexes = 1; + * + * @return This builder for chaining. */ - public Builder removeSubMaps(int index) { - if (subMapsBuilder_ == null) { - ensureSubMapsIsMutable(); - subMaps_.remove(index); - onChanged(); - } else { - subMapsBuilder_.remove(index); - } + public Builder clearIndexes() { + indexes_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); return this; } - /** - * repeated .pojo.Map subMaps = 16; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder getSubMapsBuilder( - int index) { - return getSubMapsFieldBuilder().getBuilder(index); - } + private com.google.protobuf.Internal.IntList doubleKeyIds_ = emptyIntList(); - /** - * repeated .pojo.Map subMaps = 16; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getSubMapsOrBuilder( - int index) { - if (subMapsBuilder_ == null) { - return subMaps_.get(index); - } else { - return subMapsBuilder_.getMessageOrBuilder(index); + private void ensureDoubleKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + doubleKeyIds_ = mutableCopy(doubleKeyIds_); + bitField0_ |= 0x00000002; } } /** - * repeated .pojo.Map subMaps = 16; + *
+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return A list containing the doubleKeyIds. */ - public java.util.List - getSubMapsOrBuilderList() { - if (subMapsBuilder_ != null) { - return subMapsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(subMaps_); - } + public java.util.List + getDoubleKeyIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(doubleKeyIds_) : doubleKeyIds_; } /** - * repeated .pojo.Map subMaps = 16; + *
+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return The count of doubleKeyIds. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder addSubMapsBuilder() { - return getSubMapsFieldBuilder().addBuilder( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance()); + public int getDoubleKeyIdsCount() { + return doubleKeyIds_.size(); } /** - * repeated .pojo.Map subMaps = 16; + *
+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @param index The index of the element to return. + * @return The doubleKeyIds at the given index. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder addSubMapsBuilder( - int index) { - return getSubMapsFieldBuilder().addBuilder( - index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance()); + public int getDoubleKeyIds(int index) { + return doubleKeyIds_.getInt(index); } /** - * repeated .pojo.Map subMaps = 16; + *
+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @param index The index to set the value at. + * @param value The doubleKeyIds to set. + * @return This builder for chaining. */ - public java.util.List - getSubMapsBuilderList() { - return getSubMapsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> - getSubMapsFieldBuilder() { - if (subMapsBuilder_ == null) { - subMapsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder>( - subMaps_, - ((bitField0_ & 0x00008000) != 0), - getParentForChildren(), - isClean()); - subMaps_ = null; - } - return subMapsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:pojo.Map) - } - - // @@protoc_insertion_point(class_scope:pojo.Map) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map(); - } - - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Map parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Map(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FeatureOrBuilder extends - // @@protoc_insertion_point(interface_extends:pojo.Feature) - com.google.protobuf.MessageOrBuilder { - - /** - * .pojo.Geometry geometry = 1; - * - * @return Whether the geometry field is set. - */ - boolean hasGeometry(); - - /** - * .pojo.Geometry geometry = 1; - * - * @return The geometry. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getGeometry(); - - /** - * .pojo.Geometry geometry = 1; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder getGeometryOrBuilder(); - - /** - * .pojo.Map properties = 2; - * - * @return Whether the properties field is set. - */ - boolean hasProperties(); - - /** - * .pojo.Map properties = 2; - * - * @return The properties. - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getProperties(); - - /** - * .pojo.Map properties = 2; - */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getPropertiesOrBuilder(); - } - - /** - *
-     * Feature 由于properties存放的是key id、value id,所以对其序列化/反序列化没有实际意义,故这个对象仅作保留而不会使用
-     * 
- *

- * Protobuf type {@code pojo.Feature} - */ - public static final class Feature extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:pojo.Feature) - FeatureOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Feature.newBuilder() to construct. - private Feature(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Feature() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Feature(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - - private Feature( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder subBuilder = null; - if (geometry_ != null) { - subBuilder = geometry_.toBuilder(); - } - geometry_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(geometry_); - geometry_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder subBuilder = null; - if (properties_ != null) { - subBuilder = properties_.toBuilder(); - } - properties_ = input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(properties_); - properties_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + public Builder setDoubleKeyIds( + int index, int value) { + ensureDoubleKeyIdsIsMutable(); + doubleKeyIds_.setInt(index, value); + onChanged(); + return this; } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_descriptor; - } + /** + *

+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @param value The doubleKeyIds to add. + * @return This builder for chaining. + */ + public Builder addDoubleKeyIds(int value) { + ensureDoubleKeyIdsIsMutable(); + doubleKeyIds_.addInt(value); + onChanged(); + return this; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.Builder.class); - } + /** + *
+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @param values The doubleKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllDoubleKeyIds( + java.lang.Iterable values) { + ensureDoubleKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, doubleKeyIds_); + onChanged(); + return this; + } - public static final int GEOMETRY_FIELD_NUMBER = 1; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry geometry_; + /** + *
+             * 数组值id,按数组先后顺序填入
+             * valueId/value
+             * 
+ * + * repeated int32 doubleKeyIds = 2; + * + * @return This builder for chaining. + */ + public Builder clearDoubleKeyIds() { + doubleKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } - /** - * .pojo.Geometry geometry = 1; - * - * @return Whether the geometry field is set. - */ - @java.lang.Override - public boolean hasGeometry() { - return geometry_ != null; - } + private com.google.protobuf.Internal.IntList floatKeyIds_ = emptyIntList(); - /** - * .pojo.Geometry geometry = 1; - * - * @return The geometry. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getGeometry() { - return geometry_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance() : geometry_; - } + private void ensureFloatKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + floatKeyIds_ = mutableCopy(floatKeyIds_); + bitField0_ |= 0x00000004; + } + } - /** - * .pojo.Geometry geometry = 1; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder getGeometryOrBuilder() { - return getGeometry(); - } + /** + * repeated int32 floatKeyIds = 3; + * + * @return A list containing the floatKeyIds. + */ + public java.util.List + getFloatKeyIdsList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(floatKeyIds_) : floatKeyIds_; + } - public static final int PROPERTIES_FIELD_NUMBER = 2; - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map properties_; + /** + * repeated int32 floatKeyIds = 3; + * + * @return The count of floatKeyIds. + */ + public int getFloatKeyIdsCount() { + return floatKeyIds_.size(); + } - /** - * .pojo.Map properties = 2; - * - * @return Whether the properties field is set. - */ - @java.lang.Override - public boolean hasProperties() { - return properties_ != null; - } + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index of the element to return. + * @return The floatKeyIds at the given index. + */ + public int getFloatKeyIds(int index) { + return floatKeyIds_.getInt(index); + } - /** - * .pojo.Map properties = 2; - * - * @return The properties. - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getProperties() { - return properties_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance() : properties_; - } + /** + * repeated int32 floatKeyIds = 3; + * + * @param index The index to set the value at. + * @param value The floatKeyIds to set. + * @return This builder for chaining. + */ + public Builder setFloatKeyIds( + int index, int value) { + ensureFloatKeyIdsIsMutable(); + floatKeyIds_.setInt(index, value); + onChanged(); + return this; + } - /** - * .pojo.Map properties = 2; - */ - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getPropertiesOrBuilder() { - return getProperties(); - } + /** + * repeated int32 floatKeyIds = 3; + * + * @param value The floatKeyIds to add. + * @return This builder for chaining. + */ + public Builder addFloatKeyIds(int value) { + ensureFloatKeyIdsIsMutable(); + floatKeyIds_.addInt(value); + onChanged(); + return this; + } - private byte memoizedIsInitialized = -1; + /** + * repeated int32 floatKeyIds = 3; + * + * @param values The floatKeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllFloatKeyIds( + java.lang.Iterable values) { + ensureFloatKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, floatKeyIds_); + onChanged(); + return this; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * repeated int32 floatKeyIds = 3; + * + * @return This builder for chaining. + */ + public Builder clearFloatKeyIds() { + floatKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } - memoizedIsInitialized = 1; - return true; - } + private com.google.protobuf.Internal.IntList sint32KeyIds_ = emptyIntList(); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (geometry_ != null) { - output.writeMessage(1, getGeometry()); + private void ensureSint32KeyIdsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + sint32KeyIds_ = mutableCopy(sint32KeyIds_); + bitField0_ |= 0x00000008; + } } - if (properties_ != null) { - output.writeMessage(2, getProperties()); + + /** + * repeated int32 sint32KeyIds = 4; + * + * @return A list containing the sint32KeyIds. + */ + public java.util.List + getSint32KeyIdsList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(sint32KeyIds_) : sint32KeyIds_; } - unknownFields.writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + * repeated int32 sint32KeyIds = 4; + * + * @return The count of sint32KeyIds. + */ + public int getSint32KeyIdsCount() { + return sint32KeyIds_.size(); + } - size = 0; - if (geometry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGeometry()); + /** + * repeated int32 sint32KeyIds = 4; + * + * @param index The index of the element to return. + * @return The sint32KeyIds at the given index. + */ + public int getSint32KeyIds(int index) { + return sint32KeyIds_.getInt(index); } - if (properties_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProperties()); + + /** + * repeated int32 sint32KeyIds = 4; + * + * @param index The index to set the value at. + * @param value The sint32KeyIds to set. + * @return This builder for chaining. + */ + public Builder setSint32KeyIds( + int index, int value) { + ensureSint32KeyIdsIsMutable(); + sint32KeyIds_.setInt(index, value); + onChanged(); + return this; } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + /** + * repeated int32 sint32KeyIds = 4; + * + * @param value The sint32KeyIds to add. + * @return This builder for chaining. + */ + public Builder addSint32KeyIds(int value) { + ensureSint32KeyIdsIsMutable(); + sint32KeyIds_.addInt(value); + onChanged(); + return this; } - if (!(obj instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature)) { - return super.equals(obj); + + /** + * repeated int32 sint32KeyIds = 4; + * + * @param values The sint32KeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllSint32KeyIds( + java.lang.Iterable values) { + ensureSint32KeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sint32KeyIds_); + onChanged(); + return this; } - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature other = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) obj; - if (hasGeometry() != other.hasGeometry()) return false; - if (hasGeometry()) { - if (!getGeometry() - .equals(other.getGeometry())) return false; - } - if (hasProperties() != other.hasProperties()) return false; - if (hasProperties()) { - if (!getProperties() - .equals(other.getProperties())) return false; + /** + * repeated int32 sint32KeyIds = 4; + * + * @return This builder for chaining. + */ + public Builder clearSint32KeyIds() { + sint32KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasGeometry()) { - hash = (37 * hash) + GEOMETRY_FIELD_NUMBER; - hash = (53 * hash) + getGeometry().hashCode(); - } - if (hasProperties()) { - hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getProperties().hashCode(); + private com.google.protobuf.Internal.IntList sint64KeyIds_ = emptyIntList(); + + private void ensureSint64KeyIdsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + sint64KeyIds_ = mutableCopy(sint64KeyIds_); + bitField0_ |= 0x00000010; + } } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return A list containing the sint64KeyIds. + */ + public java.util.List + getSint64KeyIdsList() { + return ((bitField0_ & 0x00000010) != 0) ? + java.util.Collections.unmodifiableList(sint64KeyIds_) : sint64KeyIds_; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return The count of sint64KeyIds. + */ + public int getSint64KeyIdsCount() { + return sint64KeyIds_.size(); + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @param index The index of the element to return. + * @return The sint64KeyIds at the given index. + */ + public int getSint64KeyIds(int index) { + return sint64KeyIds_.getInt(index); + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @param index The index to set the value at. + * @param value The sint64KeyIds to set. + * @return This builder for chaining. + */ + public Builder setSint64KeyIds( + int index, int value) { + ensureSint64KeyIdsIsMutable(); + sint64KeyIds_.setInt(index, value); + onChanged(); + return this; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @param value The sint64KeyIds to add. + * @return This builder for chaining. + */ + public Builder addSint64KeyIds(int value) { + ensureSint64KeyIdsIsMutable(); + sint64KeyIds_.addInt(value); + onChanged(); + return this; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @param values The sint64KeyIds to add. + * @return This builder for chaining. + */ + public Builder addAllSint64KeyIds( + java.lang.Iterable values) { + ensureSint64KeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sint64KeyIds_); + onChanged(); + return this; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + /** + * repeated int32 sint64KeyIds = 5; + * + * @return This builder for chaining. + */ + public Builder clearSint64KeyIds() { + sint64KeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private com.google.protobuf.Internal.BooleanList boolValues_ = emptyBooleanList(); - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } + private void ensureBoolValuesIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + boolValues_ = mutableCopy(boolValues_); + bitField0_ |= 0x00000020; + } + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + /** + * repeated bool boolValues = 6; + * + * @return A list containing the boolValues. + */ + public java.util.List + getBoolValuesList() { + return ((bitField0_ & 0x00000020) != 0) ? + java.util.Collections.unmodifiableList(boolValues_) : boolValues_; + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + /** + * repeated bool boolValues = 6; + * + * @return The count of boolValues. + */ + public int getBoolValuesCount() { + return boolValues_.size(); + } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + /** + * repeated bool boolValues = 6; + * + * @param index The index of the element to return. + * @return The boolValues at the given index. + */ + public boolean getBoolValues(int index) { + return boolValues_.getBoolean(index); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + * repeated bool boolValues = 6; + * + * @param index The index to set the value at. + * @param value The boolValues to set. + * @return This builder for chaining. + */ + public Builder setBoolValues( + int index, boolean value) { + ensureBoolValuesIsMutable(); + boolValues_.setBoolean(index, value); + onChanged(); + return this; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + /** + * repeated bool boolValues = 6; + * + * @param value The boolValues to add. + * @return This builder for chaining. + */ + public Builder addBoolValues(boolean value) { + ensureBoolValuesIsMutable(); + boolValues_.addBoolean(value); + onChanged(); + return this; + } - public static Builder newBuilder(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + /** + * repeated bool boolValues = 6; + * + * @param values The boolValues to add. + * @return This builder for chaining. + */ + public Builder addAllBoolValues( + java.lang.Iterable values) { + ensureBoolValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, boolValues_); + onChanged(); + return this; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * repeated bool boolValues = 6; + * + * @return This builder for chaining. + */ + public Builder clearBoolValues() { + boolValues_ = emptyBooleanList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); - } + private com.google.protobuf.Internal.IntList stringValueIds_ = emptyIntList(); - /** - *
-         * Feature 由于properties存放的是key id、value id,所以对其序列化/反序列化没有实际意义,故这个对象仅作保留而不会使用
-         * 
- *

- * Protobuf type {@code pojo.Feature} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:pojo.Feature) - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.FeatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_descriptor; + private void ensureStringValueIdsIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + stringValueIds_ = mutableCopy(stringValueIds_); + bitField0_ |= 0x00000040; + } } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.class, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.Builder.class); + /** + * repeated int32 stringValueIds = 7; + * + * @return A list containing the stringValueIds. + */ + public java.util.List + getStringValueIdsList() { + return ((bitField0_ & 0x00000040) != 0) ? + java.util.Collections.unmodifiableList(stringValueIds_) : stringValueIds_; } - // Construct using org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + /** + * repeated int32 stringValueIds = 7; + * + * @return The count of stringValueIds. + */ + public int getStringValueIdsCount() { + return stringValueIds_.size(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + /** + * repeated int32 stringValueIds = 7; + * + * @param index The index of the element to return. + * @return The stringValueIds at the given index. + */ + public int getStringValueIds(int index) { + return stringValueIds_.getInt(index); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + /** + * repeated int32 stringValueIds = 7; + * + * @param index The index to set the value at. + * @param value The stringValueIds to set. + * @return This builder for chaining. + */ + public Builder setStringValueIds( + int index, int value) { + ensureStringValueIdsIsMutable(); + stringValueIds_.setInt(index, value); + onChanged(); + return this; } - @java.lang.Override - public Builder clear() { - super.clear(); - if (geometryBuilder_ == null) { - geometry_ = null; - } else { - geometry_ = null; - geometryBuilder_ = null; - } - if (propertiesBuilder_ == null) { - properties_ = null; - } else { - properties_ = null; - propertiesBuilder_ = null; - } + /** + * repeated int32 stringValueIds = 7; + * + * @param value The stringValueIds to add. + * @return This builder for chaining. + */ + public Builder addStringValueIds(int value) { + ensureStringValueIdsIsMutable(); + stringValueIds_.addInt(value); + onChanged(); return this; } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.internal_static_pojo_Feature_descriptor; + /** + * repeated int32 stringValueIds = 7; + * + * @param values The stringValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllStringValueIds( + java.lang.Iterable values) { + ensureStringValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringValueIds_); + onChanged(); + return this; } - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature getDefaultInstanceForType() { - return org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.getDefaultInstance(); + /** + * repeated int32 stringValueIds = 7; + * + * @return This builder for chaining. + */ + public Builder clearStringValueIds() { + stringValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; } - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature build() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + private com.google.protobuf.Internal.IntList bytesValueIds_ = emptyIntList(); - @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature buildPartial() { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature result = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature(this); - if (geometryBuilder_ == null) { - result.geometry_ = geometry_; - } else { - result.geometry_ = geometryBuilder_.build(); - } - if (propertiesBuilder_ == null) { - result.properties_ = properties_; - } else { - result.properties_ = propertiesBuilder_.build(); + private void ensureBytesValueIdsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + bytesValueIds_ = mutableCopy(bytesValueIds_); + bitField0_ |= 0x00000080; } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + /** + * repeated int32 bytesValueIds = 8; + * + * @return A list containing the bytesValueIds. + */ + public java.util.List + getBytesValueIdsList() { + return ((bitField0_ & 0x00000080) != 0) ? + java.util.Collections.unmodifiableList(bytesValueIds_) : bytesValueIds_; } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * repeated int32 bytesValueIds = 8; + * + * @return The count of bytesValueIds. + */ + public int getBytesValueIdsCount() { + return bytesValueIds_.size(); } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * repeated int32 bytesValueIds = 8; + * + * @param index The index of the element to return. + * @return The bytesValueIds at the given index. + */ + public int getBytesValueIds(int index) { + return bytesValueIds_.getInt(index); } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + /** + * repeated int32 bytesValueIds = 8; + * + * @param index The index to set the value at. + * @param value The bytesValueIds to set. + * @return This builder for chaining. + */ + public Builder setBytesValueIds( + int index, int value) { + ensureBytesValueIdsIsMutable(); + bytesValueIds_.setInt(index, value); + onChanged(); + return this; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * repeated int32 bytesValueIds = 8; + * + * @param value The bytesValueIds to add. + * @return This builder for chaining. + */ + public Builder addBytesValueIds(int value) { + ensureBytesValueIdsIsMutable(); + bytesValueIds_.addInt(value); + onChanged(); + return this; } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) { - return mergeFrom((org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) other); - } else { - super.mergeFrom(other); - return this; - } + /** + * repeated int32 bytesValueIds = 8; + * + * @param values The bytesValueIds to add. + * @return This builder for chaining. + */ + public Builder addAllBytesValueIds( + java.lang.Iterable values) { + ensureBytesValueIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bytesValueIds_); + onChanged(); + return this; } - public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature other) { - if (other == org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature.getDefaultInstance()) - return this; - if (other.hasGeometry()) { - mergeGeometry(other.getGeometry()); - } - if (other.hasProperties()) { - mergeProperties(other.getProperties()); - } - this.mergeUnknownFields(other.unknownFields); + /** + * repeated int32 bytesValueIds = 8; + * + * @return This builder for chaining. + */ + public Builder clearBytesValueIds() { + bytesValueIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + private com.google.protobuf.Internal.IntList mapKeyIds_ = emptyIntList(); - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + private void ensureMapKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + mapKeyIds_ = mutableCopy(mapKeyIds_); + bitField0_ |= 0x00000100; } - return this; } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry geometry_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder> geometryBuilder_; - /** - * .pojo.Geometry geometry = 1; + *

+             * mapId
+             * 
+ * + * repeated int32 mapKeyIds = 9; * - * @return Whether the geometry field is set. + * @return A list containing the mapKeyIds. */ - public boolean hasGeometry() { - return geometryBuilder_ != null || geometry_ != null; + public java.util.List + getMapKeyIdsList() { + return ((bitField0_ & 0x00000100) != 0) ? + java.util.Collections.unmodifiableList(mapKeyIds_) : mapKeyIds_; } /** - * .pojo.Geometry geometry = 1; + *
+             * mapId
+             * 
* - * @return The geometry. + * repeated int32 mapKeyIds = 9; + * + * @return The count of mapKeyIds. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry getGeometry() { - if (geometryBuilder_ == null) { - return geometry_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance() : geometry_; - } else { - return geometryBuilder_.getMessage(); - } + public int getMapKeyIdsCount() { + return mapKeyIds_.size(); } /** - * .pojo.Geometry geometry = 1; + *
+             * mapId
+             * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @param index The index of the element to return. + * @return The mapKeyIds at the given index. */ - public Builder setGeometry(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry value) { - if (geometryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - geometry_ = value; - onChanged(); - } else { - geometryBuilder_.setMessage(value); - } - - return this; + public int getMapKeyIds(int index) { + return mapKeyIds_.getInt(index); } /** - * .pojo.Geometry geometry = 1; + *
+             * mapId
+             * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @param index The index to set the value at. + * @param value The mapKeyIds to set. + * @return This builder for chaining. */ - public Builder setGeometry( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder builderForValue) { - if (geometryBuilder_ == null) { - geometry_ = builderForValue.build(); - onChanged(); - } else { - geometryBuilder_.setMessage(builderForValue.build()); - } - + public Builder setMapKeyIds( + int index, int value) { + ensureMapKeyIdsIsMutable(); + mapKeyIds_.setInt(index, value); + onChanged(); return this; } /** - * .pojo.Geometry geometry = 1; + *
+             * mapId
+             * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @param value The mapKeyIds to add. + * @return This builder for chaining. */ - public Builder mergeGeometry(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry value) { - if (geometryBuilder_ == null) { - if (geometry_ != null) { - geometry_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.newBuilder(geometry_).mergeFrom(value).buildPartial(); - } else { - geometry_ = value; - } - onChanged(); - } else { - geometryBuilder_.mergeFrom(value); - } - + public Builder addMapKeyIds(int value) { + ensureMapKeyIdsIsMutable(); + mapKeyIds_.addInt(value); + onChanged(); return this; } /** - * .pojo.Geometry geometry = 1; + *
+             * mapId
+             * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @param values The mapKeyIds to add. + * @return This builder for chaining. */ - public Builder clearGeometry() { - if (geometryBuilder_ == null) { - geometry_ = null; - onChanged(); - } else { - geometry_ = null; - geometryBuilder_ = null; - } - + public Builder addAllMapKeyIds( + java.lang.Iterable values) { + ensureMapKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mapKeyIds_); + onChanged(); return this; } /** - * .pojo.Geometry geometry = 1; + *
+             * mapId
+             * 
+ * + * repeated int32 mapKeyIds = 9; + * + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder getGeometryBuilder() { - + public Builder clearMapKeyIds() { + mapKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); - return getGeometryFieldBuilder().getBuilder(); + return this; } - /** - * .pojo.Geometry geometry = 1; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder getGeometryOrBuilder() { - if (geometryBuilder_ != null) { - return geometryBuilder_.getMessageOrBuilder(); - } else { - return geometry_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.getDefaultInstance() : geometry_; - } - } + private com.google.protobuf.Internal.IntList subKeyIds_ = emptyIntList(); - /** - * .pojo.Geometry geometry = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder> - getGeometryFieldBuilder() { - if (geometryBuilder_ == null) { - geometryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder>( - getGeometry(), - getParentForChildren(), - isClean()); - geometry_ = null; + private void ensureSubKeyIdsIsMutable() { + if (!((bitField0_ & 0x00000200) != 0)) { + subKeyIds_ = mutableCopy(subKeyIds_); + bitField0_ |= 0x00000200; } - return geometryBuilder_; } - private org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map properties_; - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> propertiesBuilder_; - /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
* - * @return Whether the properties field is set. + * repeated int32 subKeyIds = 10; + * + * @return A list containing the subKeyIds. */ - public boolean hasProperties() { - return propertiesBuilder_ != null || properties_ != null; + public java.util.List + getSubKeyIdsList() { + return ((bitField0_ & 0x00000200) != 0) ? + java.util.Collections.unmodifiableList(subKeyIds_) : subKeyIds_; } /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
* - * @return The properties. + * repeated int32 subKeyIds = 10; + * + * @return The count of subKeyIds. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getProperties() { - if (propertiesBuilder_ == null) { - return properties_ == null ? org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance() : properties_; - } else { - return propertiesBuilder_.getMessage(); - } + public int getSubKeyIdsCount() { + return subKeyIds_.size(); } /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
+ * + * repeated int32 subKeyIds = 10; + * + * @param index The index of the element to return. + * @return The subKeyIds at the given index. */ - public Builder setProperties(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (propertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - properties_ = value; - onChanged(); - } else { - propertiesBuilder_.setMessage(value); - } - - return this; + public int getSubKeyIds(int index) { + return subKeyIds_.getInt(index); } /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
+ * + * repeated int32 subKeyIds = 10; + * + * @param index The index to set the value at. + * @param value The subKeyIds to set. + * @return This builder for chaining. */ - public Builder setProperties( - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (propertiesBuilder_ == null) { - properties_ = builderForValue.build(); - onChanged(); - } else { - propertiesBuilder_.setMessage(builderForValue.build()); - } - + public Builder setSubKeyIds( + int index, int value) { + ensureSubKeyIdsIsMutable(); + subKeyIds_.setInt(index, value); + onChanged(); return this; } /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
+ * + * repeated int32 subKeyIds = 10; + * + * @param value The subKeyIds to add. + * @return This builder for chaining. */ - public Builder mergeProperties(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (propertiesBuilder_ == null) { - if (properties_ != null) { - properties_ = - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.newBuilder(properties_).mergeFrom(value).buildPartial(); - } else { - properties_ = value; - } - onChanged(); - } else { - propertiesBuilder_.mergeFrom(value); - } - + public Builder addSubKeyIds(int value) { + ensureSubKeyIdsIsMutable(); + subKeyIds_.addInt(value); + onChanged(); return this; } /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
+ * + * repeated int32 subKeyIds = 10; + * + * @param values The subKeyIds to add. + * @return This builder for chaining. */ - public Builder clearProperties() { - if (propertiesBuilder_ == null) { - properties_ = null; - onChanged(); - } else { - properties_ = null; - propertiesBuilder_ = null; - } - + public Builder addAllSubKeyIds( + java.lang.Iterable values) { + ensureSubKeyIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subKeyIds_); + onChanged(); return this; } /** - * .pojo.Map properties = 2; + *
+             * children id
+             * 
+ * + * repeated int32 subKeyIds = 10; + * + * @return This builder for chaining. */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder getPropertiesBuilder() { - + public Builder clearSubKeyIds() { + subKeyIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); - return getPropertiesFieldBuilder().getBuilder(); - } - - /** - * .pojo.Map properties = 2; - */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getPropertiesOrBuilder() { - if (propertiesBuilder_ != null) { - return propertiesBuilder_.getMessageOrBuilder(); - } else { - return properties_ == null ? - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance() : properties_; - } - } - - /** - * .pojo.Map properties = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> - getPropertiesFieldBuilder() { - if (propertiesBuilder_ == null) { - propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder>( - getProperties(), - getParentForChildren(), - isClean()); - properties_ = null; - } - return propertiesBuilder_; + return this; } @java.lang.Override @@ -17774,42 +21218,42 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:pojo.Feature) + // @@protoc_insertion_point(builder_scope:pojo.List) } - // @@protoc_insertion_point(class_scope:pojo.Feature) - private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:pojo.List) + private static final org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature(); + DEFAULT_INSTANCE = new org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List(); } - public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature getDefaultInstance() { + public static org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Feature parsePartialFrom( + public List parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Feature(input, extensionRegistry); + return new List(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feature getDefaultInstanceForType() { + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -18044,45 +21488,73 @@ public interface FeatureCollectionOrBuilder extends * * repeated .pojo.Geometry geometries = 8; */ - java.util.List - getGeometriesOrBuilderList(); + java.util.List + getGeometriesOrBuilderList(); + + /** + *
+         * features 为了最大限度压缩数据,这里单独列了geometry property,而未使用Feature对象
+         * 
+ * + * repeated .pojo.Geometry geometries = 8; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder getGeometriesOrBuilder( + int index); + + /** + * repeated .pojo.Map maps = 9; + */ + java.util.List + getMapsList(); + + /** + * repeated .pojo.Map maps = 9; + */ + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getMaps(int index); + + /** + * repeated .pojo.Map maps = 9; + */ + int getMapsCount(); + + /** + * repeated .pojo.Map maps = 9; + */ + java.util.List + getMapsOrBuilderList(); /** - *
-         * features 为了最大限度压缩数据,这里单独列了geometry property,而未使用Feature对象
-         * 
- * - * repeated .pojo.Geometry geometries = 8; + * repeated .pojo.Map maps = 9; */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder getGeometriesOrBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getMapsOrBuilder( int index); /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ - java.util.List - getPropertiessList(); + java.util.List + getListsList(); /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getPropertiess(int index); + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List getLists(int index); /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ - int getPropertiessCount(); + int getListsCount(); /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ - java.util.List - getPropertiessOrBuilderList(); + java.util.List + getListsOrBuilderList(); /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getPropertiessOrBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder getListsOrBuilder( int index); } @@ -18113,7 +21585,8 @@ private FeatureCollection() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; bytesValues_ = java.util.Collections.emptyList(); geometries_ = java.util.Collections.emptyList(); - propertiess_ = java.util.Collections.emptyList(); + maps_ = java.util.Collections.emptyList(); + lists_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -18269,13 +21742,22 @@ private FeatureCollection( } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { - propertiess_ = new java.util.ArrayList(); + maps_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } - propertiess_.add( + maps_.add( input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.parser(), extensionRegistry)); break; } + case 82: { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { + lists_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000200; + } + lists_.add( + input.readMessage(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.parser(), extensionRegistry)); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -18318,7 +21800,10 @@ private FeatureCollection( geometries_ = java.util.Collections.unmodifiableList(geometries_); } if (((mutable_bitField0_ & 0x00000100) != 0)) { - propertiess_ = java.util.Collections.unmodifiableList(propertiess_); + maps_ = java.util.Collections.unmodifiableList(maps_); + } + if (((mutable_bitField0_ & 0x00000200) != 0)) { + lists_ = java.util.Collections.unmodifiableList(lists_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -18678,49 +22163,94 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.GeometryOrBuilder getG return geometries_.get(index); } - public static final int PROPERTIESS_FIELD_NUMBER = 9; - private java.util.List propertiess_; + public static final int MAPS_FIELD_NUMBER = 9; + private java.util.List maps_; /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ @java.lang.Override - public java.util.List getPropertiessList() { - return propertiess_; + public java.util.List getMapsList() { + return maps_; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ @java.lang.Override public java.util.List - getPropertiessOrBuilderList() { - return propertiess_; + getMapsOrBuilderList() { + return maps_; + } + + /** + * repeated .pojo.Map maps = 9; + */ + @java.lang.Override + public int getMapsCount() { + return maps_.size(); + } + + /** + * repeated .pojo.Map maps = 9; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getMaps(int index) { + return maps_.get(index); + } + + /** + * repeated .pojo.Map maps = 9; + */ + @java.lang.Override + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getMapsOrBuilder( + int index) { + return maps_.get(index); + } + + public static final int LISTS_FIELD_NUMBER = 10; + private java.util.List lists_; + + /** + * repeated .pojo.List lists = 10; + */ + @java.lang.Override + public java.util.List getListsList() { + return lists_; + } + + /** + * repeated .pojo.List lists = 10; + */ + @java.lang.Override + public java.util.List + getListsOrBuilderList() { + return lists_; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ @java.lang.Override - public int getPropertiessCount() { - return propertiess_.size(); + public int getListsCount() { + return lists_.size(); } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getPropertiess(int index) { - return propertiess_.get(index); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List getLists(int index) { + return lists_.get(index); } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.List lists = 10; */ @java.lang.Override - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getPropertiessOrBuilder( + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder getListsOrBuilder( int index) { - return propertiess_.get(index); + return lists_.get(index); } private byte memoizedIsInitialized = -1; @@ -18779,8 +22309,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < geometries_.size(); i++) { output.writeMessage(8, geometries_.get(i)); } - for (int i = 0; i < propertiess_.size(); i++) { - output.writeMessage(9, propertiess_.get(i)); + for (int i = 0; i < maps_.size(); i++) { + output.writeMessage(9, maps_.get(i)); + } + for (int i = 0; i < lists_.size(); i++) { + output.writeMessage(10, lists_.get(i)); } unknownFields.writeTo(output); } @@ -18870,9 +22403,13 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, geometries_.get(i)); } - for (int i = 0; i < propertiess_.size(); i++) { + for (int i = 0; i < maps_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, maps_.get(i)); + } + for (int i = 0; i < lists_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, propertiess_.get(i)); + .computeMessageSize(10, lists_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18905,8 +22442,10 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getBytesValuesList())) return false; if (!getGeometriesList() .equals(other.getGeometriesList())) return false; - if (!getPropertiessList() - .equals(other.getPropertiessList())) return false; + if (!getMapsList() + .equals(other.getMapsList())) return false; + if (!getListsList() + .equals(other.getListsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18950,9 +22489,13 @@ public int hashCode() { hash = (37 * hash) + GEOMETRIES_FIELD_NUMBER; hash = (53 * hash) + getGeometriesList().hashCode(); } - if (getPropertiessCount() > 0) { - hash = (37 * hash) + PROPERTIESS_FIELD_NUMBER; - hash = (53 * hash) + getPropertiessList().hashCode(); + if (getMapsCount() > 0) { + hash = (37 * hash) + MAPS_FIELD_NUMBER; + hash = (53 * hash) + getMapsList().hashCode(); + } + if (getListsCount() > 0) { + hash = (37 * hash) + LISTS_FIELD_NUMBER; + hash = (53 * hash) + getListsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; @@ -19062,7 +22605,8 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - return new Builder(parent); + Builder builder = new Builder(parent); + return builder; } /** @@ -19104,7 +22648,8 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getGeometriesFieldBuilder(); - getPropertiessFieldBuilder(); + getMapsFieldBuilder(); + getListsFieldBuilder(); } } @@ -19131,11 +22676,17 @@ public Builder clear() { } else { geometriesBuilder_.clear(); } - if (propertiessBuilder_ == null) { - propertiess_ = java.util.Collections.emptyList(); + if (mapsBuilder_ == null) { + maps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { - propertiessBuilder_.clear(); + mapsBuilder_.clear(); + } + if (listsBuilder_ == null) { + lists_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + } else { + listsBuilder_.clear(); } return this; } @@ -19208,14 +22759,23 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.FeatureCollection buil } else { result.geometries_ = geometriesBuilder_.build(); } - if (propertiessBuilder_ == null) { + if (mapsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { - propertiess_ = java.util.Collections.unmodifiableList(propertiess_); + maps_ = java.util.Collections.unmodifiableList(maps_); bitField0_ = (bitField0_ & ~0x00000100); } - result.propertiess_ = propertiess_; + result.maps_ = maps_; + } else { + result.maps_ = mapsBuilder_.build(); + } + if (listsBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0)) { + lists_ = java.util.Collections.unmodifiableList(lists_); + bitField0_ = (bitField0_ & ~0x00000200); + } + result.lists_ = lists_; } else { - result.propertiess_ = propertiessBuilder_.build(); + result.lists_ = listsBuilder_.build(); } onBuilt(); return result; @@ -19368,29 +22928,55 @@ public Builder mergeFrom(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Feat } } } - if (propertiessBuilder_ == null) { - if (!other.propertiess_.isEmpty()) { - if (propertiess_.isEmpty()) { - propertiess_ = other.propertiess_; + if (mapsBuilder_ == null) { + if (!other.maps_.isEmpty()) { + if (maps_.isEmpty()) { + maps_ = other.maps_; bitField0_ = (bitField0_ & ~0x00000100); } else { - ensurePropertiessIsMutable(); - propertiess_.addAll(other.propertiess_); + ensureMapsIsMutable(); + maps_.addAll(other.maps_); } onChanged(); } } else { - if (!other.propertiess_.isEmpty()) { - if (propertiessBuilder_.isEmpty()) { - propertiessBuilder_.dispose(); - propertiessBuilder_ = null; - propertiess_ = other.propertiess_; + if (!other.maps_.isEmpty()) { + if (mapsBuilder_.isEmpty()) { + mapsBuilder_.dispose(); + mapsBuilder_ = null; + maps_ = other.maps_; bitField0_ = (bitField0_ & ~0x00000100); - propertiessBuilder_ = + mapsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMapsFieldBuilder() : null; + } else { + mapsBuilder_.addAllMessages(other.maps_); + } + } + } + if (listsBuilder_ == null) { + if (!other.lists_.isEmpty()) { + if (lists_.isEmpty()) { + lists_ = other.lists_; + bitField0_ = (bitField0_ & ~0x00000200); + } else { + ensureListsIsMutable(); + lists_.addAll(other.lists_); + } + onChanged(); + } + } else { + if (!other.lists_.isEmpty()) { + if (listsBuilder_.isEmpty()) { + listsBuilder_.dispose(); + listsBuilder_ = null; + lists_ = other.lists_; + bitField0_ = (bitField0_ & ~0x00000200); + listsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPropertiessFieldBuilder() : null; + getListsFieldBuilder() : null; } else { - propertiessBuilder_.addAllMessages(other.propertiess_); + listsBuilder_.addAllMessages(other.lists_); } } } @@ -20527,264 +24113,524 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Geometry.Builder addGe return geometriesBuilder_; } - private java.util.List propertiess_ = + private java.util.List maps_ = java.util.Collections.emptyList(); - private void ensurePropertiessIsMutable() { + private void ensureMapsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - propertiess_ = new java.util.ArrayList(propertiess_); + maps_ = new java.util.ArrayList(maps_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< - org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> propertiessBuilder_; + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> mapsBuilder_; /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public java.util.List getPropertiessList() { - if (propertiessBuilder_ == null) { - return java.util.Collections.unmodifiableList(propertiess_); + public java.util.List getMapsList() { + if (mapsBuilder_ == null) { + return java.util.Collections.unmodifiableList(maps_); } else { - return propertiessBuilder_.getMessageList(); + return mapsBuilder_.getMessageList(); } } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public int getPropertiessCount() { - if (propertiessBuilder_ == null) { - return propertiess_.size(); + public int getMapsCount() { + if (mapsBuilder_ == null) { + return maps_.size(); } else { - return propertiessBuilder_.getCount(); + return mapsBuilder_.getCount(); } } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getPropertiess(int index) { - if (propertiessBuilder_ == null) { - return propertiess_.get(index); + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map getMaps(int index) { + if (mapsBuilder_ == null) { + return maps_.get(index); } else { - return propertiessBuilder_.getMessage(index); + return mapsBuilder_.getMessage(index); } } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder setPropertiess( + public Builder setMaps( int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (propertiessBuilder_ == null) { + if (mapsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensurePropertiessIsMutable(); - propertiess_.set(index, value); + ensureMapsIsMutable(); + maps_.set(index, value); onChanged(); } else { - propertiessBuilder_.setMessage(index, value); + mapsBuilder_.setMessage(index, value); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder setPropertiess( + public Builder setMaps( int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (propertiessBuilder_ == null) { - ensurePropertiessIsMutable(); - propertiess_.set(index, builderForValue.build()); + if (mapsBuilder_ == null) { + ensureMapsIsMutable(); + maps_.set(index, builderForValue.build()); onChanged(); } else { - propertiessBuilder_.setMessage(index, builderForValue.build()); + mapsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder addPropertiess(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (propertiessBuilder_ == null) { + public Builder addMaps(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { + if (mapsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensurePropertiessIsMutable(); - propertiess_.add(value); + ensureMapsIsMutable(); + maps_.add(value); onChanged(); } else { - propertiessBuilder_.addMessage(value); + mapsBuilder_.addMessage(value); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder addPropertiess( + public Builder addMaps( int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map value) { - if (propertiessBuilder_ == null) { + if (mapsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensurePropertiessIsMutable(); - propertiess_.add(index, value); + ensureMapsIsMutable(); + maps_.add(index, value); onChanged(); } else { - propertiessBuilder_.addMessage(index, value); + mapsBuilder_.addMessage(index, value); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder addPropertiess( + public Builder addMaps( org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (propertiessBuilder_ == null) { - ensurePropertiessIsMutable(); - propertiess_.add(builderForValue.build()); + if (mapsBuilder_ == null) { + ensureMapsIsMutable(); + maps_.add(builderForValue.build()); onChanged(); } else { - propertiessBuilder_.addMessage(builderForValue.build()); + mapsBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder addPropertiess( + public Builder addMaps( int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder builderForValue) { - if (propertiessBuilder_ == null) { - ensurePropertiessIsMutable(); - propertiess_.add(index, builderForValue.build()); + if (mapsBuilder_ == null) { + ensureMapsIsMutable(); + maps_.add(index, builderForValue.build()); onChanged(); } else { - propertiessBuilder_.addMessage(index, builderForValue.build()); + mapsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder addAllPropertiess( + public Builder addAllMaps( java.lang.Iterable values) { - if (propertiessBuilder_ == null) { - ensurePropertiessIsMutable(); + if (mapsBuilder_ == null) { + ensureMapsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, propertiess_); + values, maps_); onChanged(); } else { - propertiessBuilder_.addAllMessages(values); + mapsBuilder_.addAllMessages(values); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder clearPropertiess() { - if (propertiessBuilder_ == null) { - propertiess_ = java.util.Collections.emptyList(); + public Builder clearMaps() { + if (mapsBuilder_ == null) { + maps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { - propertiessBuilder_.clear(); + mapsBuilder_.clear(); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public Builder removePropertiess(int index) { - if (propertiessBuilder_ == null) { - ensurePropertiessIsMutable(); - propertiess_.remove(index); + public Builder removeMaps(int index) { + if (mapsBuilder_ == null) { + ensureMapsIsMutable(); + maps_.remove(index); onChanged(); } else { - propertiessBuilder_.remove(index); + mapsBuilder_.remove(index); } return this; } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder getPropertiessBuilder( + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder getMapsBuilder( int index) { - return getPropertiessFieldBuilder().getBuilder(index); + return getMapsFieldBuilder().getBuilder(index); } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getPropertiessOrBuilder( + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder getMapsOrBuilder( int index) { - if (propertiessBuilder_ == null) { - return propertiess_.get(index); + if (mapsBuilder_ == null) { + return maps_.get(index); } else { - return propertiessBuilder_.getMessageOrBuilder(index); + return mapsBuilder_.getMessageOrBuilder(index); } } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ public java.util.List - getPropertiessOrBuilderList() { - if (propertiessBuilder_ != null) { - return propertiessBuilder_.getMessageOrBuilderList(); + getMapsOrBuilderList() { + if (mapsBuilder_ != null) { + return mapsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(propertiess_); + return java.util.Collections.unmodifiableList(maps_); } } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder addPropertiessBuilder() { - return getPropertiessFieldBuilder().addBuilder( + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder addMapsBuilder() { + return getMapsFieldBuilder().addBuilder( org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance()); } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ - public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder addPropertiessBuilder( + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder addMapsBuilder( int index) { - return getPropertiessFieldBuilder().addBuilder( + return getMapsFieldBuilder().addBuilder( index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.getDefaultInstance()); } /** - * repeated .pojo.Map propertiess = 9; + * repeated .pojo.Map maps = 9; */ public java.util.List - getPropertiessBuilderList() { - return getPropertiessFieldBuilder().getBuilderList(); + getMapsBuilderList() { + return getMapsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder> - getPropertiessFieldBuilder() { - if (propertiessBuilder_ == null) { - propertiessBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + getMapsFieldBuilder() { + if (mapsBuilder_ == null) { + mapsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Map.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MapOrBuilder>( - propertiess_, + maps_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); - propertiess_ = null; + maps_ = null; + } + return mapsBuilder_; + } + + private java.util.List lists_ = + java.util.Collections.emptyList(); + + private void ensureListsIsMutable() { + if (!((bitField0_ & 0x00000200) != 0)) { + lists_ = new java.util.ArrayList(lists_); + bitField0_ |= 0x00000200; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder> listsBuilder_; + + /** + * repeated .pojo.List lists = 10; + */ + public java.util.List getListsList() { + if (listsBuilder_ == null) { + return java.util.Collections.unmodifiableList(lists_); + } else { + return listsBuilder_.getMessageList(); + } + } + + /** + * repeated .pojo.List lists = 10; + */ + public int getListsCount() { + if (listsBuilder_ == null) { + return lists_.size(); + } else { + return listsBuilder_.getCount(); + } + } + + /** + * repeated .pojo.List lists = 10; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List getLists(int index) { + if (listsBuilder_ == null) { + return lists_.get(index); + } else { + return listsBuilder_.getMessage(index); + } + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder setLists( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List value) { + if (listsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureListsIsMutable(); + lists_.set(index, value); + onChanged(); + } else { + listsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder setLists( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder builderForValue) { + if (listsBuilder_ == null) { + ensureListsIsMutable(); + lists_.set(index, builderForValue.build()); + onChanged(); + } else { + listsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder addLists(org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List value) { + if (listsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureListsIsMutable(); + lists_.add(value); + onChanged(); + } else { + listsBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder addLists( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List value) { + if (listsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureListsIsMutable(); + lists_.add(index, value); + onChanged(); + } else { + listsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder addLists( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder builderForValue) { + if (listsBuilder_ == null) { + ensureListsIsMutable(); + lists_.add(builderForValue.build()); + onChanged(); + } else { + listsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder addLists( + int index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder builderForValue) { + if (listsBuilder_ == null) { + ensureListsIsMutable(); + lists_.add(index, builderForValue.build()); + onChanged(); + } else { + listsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder addAllLists( + java.lang.Iterable values) { + if (listsBuilder_ == null) { + ensureListsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, lists_); + onChanged(); + } else { + listsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder clearLists() { + if (listsBuilder_ == null) { + lists_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + } else { + listsBuilder_.clear(); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public Builder removeLists(int index) { + if (listsBuilder_ == null) { + ensureListsIsMutable(); + lists_.remove(index); + onChanged(); + } else { + listsBuilder_.remove(index); + } + return this; + } + + /** + * repeated .pojo.List lists = 10; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder getListsBuilder( + int index) { + return getListsFieldBuilder().getBuilder(index); + } + + /** + * repeated .pojo.List lists = 10; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder getListsOrBuilder( + int index) { + if (listsBuilder_ == null) { + return lists_.get(index); + } else { + return listsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .pojo.List lists = 10; + */ + public java.util.List + getListsOrBuilderList() { + if (listsBuilder_ != null) { + return listsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(lists_); + } + } + + /** + * repeated .pojo.List lists = 10; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder addListsBuilder() { + return getListsFieldBuilder().addBuilder( + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.getDefaultInstance()); + } + + /** + * repeated .pojo.List lists = 10; + */ + public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder addListsBuilder( + int index) { + return getListsFieldBuilder().addBuilder( + index, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.getDefaultInstance()); + } + + /** + * repeated .pojo.List lists = 10; + */ + public java.util.List + getListsBuilderList() { + return getListsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder> + getListsFieldBuilder() { + if (listsBuilder_ == null) { + listsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.List.Builder, org.wowtools.giscat.vector.pojo.proto.ProtoFeature.ListOrBuilder>( + lists_, + ((bitField0_ & 0x00000200) != 0), + getParentForChildren(), + isClean()); + lists_ = null; } - return propertiessBuilder_; + return listsBuilder_; } @java.lang.Override @@ -20841,6 +24687,11 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.FeatureCollection getD } + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_pojo_NullGeometry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_pojo_NullGeometry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_pojo_Point_descriptor; private static final @@ -20881,16 +24732,21 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.FeatureCollection getD private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_pojo_Geometry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_pojo_Feature_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_pojo_Feature_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_pojo_Map_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_pojo_Map_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_pojo_Feature_descriptor; + internal_static_pojo_List_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_pojo_Feature_fieldAccessorTable; + internal_static_pojo_List_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_pojo_FeatureCollection_descriptor; private static final @@ -20907,122 +24763,140 @@ public org.wowtools.giscat.vector.pojo.proto.ProtoFeature.FeatureCollection getD static { java.lang.String[] descriptorData = { - "\n\035definition/ProtoFeature.proto\022\004pojo\"(\n" + - "\005Point\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002 \001(\001\022\t\n\001z\030\003 \001(\001\"" + - "0\n\nLineString\022\n\n\002xs\030\001 \003(\001\022\n\n\002ys\030\002 \003(\001\022\n\n" + - "\002zs\030\003 \003(\001\"A\n\007Polygon\022\n\n\002xs\030\001 \003(\001\022\n\n\002ys\030\002" + - " \003(\001\022\n\n\002zs\030\003 \003(\001\022\022\n\nseparators\030\004 \003(\005\"0\n\n" + - "MultiPoint\022\n\n\002xs\030\001 \003(\001\022\n\n\002ys\030\002 \003(\001\022\n\n\002zs" + - "\030\003 \003(\001\"I\n\017MultiLineString\022\n\n\002xs\030\001 \003(\001\022\n\n" + - "\002ys\030\002 \003(\001\022\n\n\002zs\030\003 \003(\001\022\022\n\nseparators\030\004 \003(" + - "\005\"f\n\014MultiPolygon\022\n\n\002xs\030\001 \003(\001\022\n\n\002ys\030\002 \003(" + - "\001\022\n\n\002zs\030\003 \003(\001\022\027\n\017coordSeparators\030\004 \003(\005\022\031" + - "\n\021polygonSeparators\030\005 \003(\005\"\263\002\n\022GeometryCo" + - "llection\022\033\n\006points\030\001 \003(\0132\013.pojo.Point\022%\n" + - "\013lineStrings\030\002 \003(\0132\020.pojo.LineString\022\037\n\010" + - "polygons\030\003 \003(\0132\r.pojo.Polygon\022%\n\013multiPo" + - "ints\030\004 \003(\0132\020.pojo.MultiPoint\022/\n\020multiLin" + - "eStrings\030\005 \003(\0132\025.pojo.MultiLineString\022)\n" + - "\rmultiPolygons\030\006 \003(\0132\022.pojo.MultiPolygon" + - "\0225\n\023geometryCollections\030\007 \003(\0132\030.pojo.Geo" + - "metryCollection\"\242\002\n\010Geometry\022\032\n\005point\030\001 " + - "\001(\0132\013.pojo.Point\022$\n\nlineString\030\002 \001(\0132\020.p" + - "ojo.LineString\022\036\n\007polygon\030\003 \001(\0132\r.pojo.P" + - "olygon\022$\n\nmultiPoint\030\004 \001(\0132\020.pojo.MultiP" + - "oint\022.\n\017multiLineString\030\005 \001(\0132\025.pojo.Mul" + - "tiLineString\022(\n\014multiPolygon\030\006 \001(\0132\022.poj" + - "o.MultiPolygon\0224\n\022geometryCollection\030\007 \001" + - "(\0132\030.pojo.GeometryCollection\"\354\002\n\003Map\022\024\n\014" + - "doubleKeyIds\030\001 \003(\005\022\026\n\016doubleValueIds\030\002 \003" + - "(\005\022\023\n\013floatKeyIds\030\003 \003(\005\022\025\n\rfloatValueIds" + - "\030\004 \003(\005\022\024\n\014sint32KeyIds\030\005 \003(\005\022\026\n\016sint32Va" + - "lueIds\030\006 \003(\005\022\024\n\014sint64KeyIds\030\007 \003(\005\022\026\n\016si" + - "nt64ValueIds\030\010 \003(\005\022\022\n\nboolKeyIds\030\t \003(\005\022\022" + - "\n\nboolValues\030\n \003(\010\022\024\n\014stringKeyIds\030\013 \003(\005" + - "\022\026\n\016stringValueIds\030\014 \003(\005\022\023\n\013bytesKeyIds\030" + - "\r \003(\005\022\025\n\rbytesValueIds\030\016 \003(\005\022\021\n\tsubKeyId" + - "s\030\017 \003(\005\022\032\n\007subMaps\030\020 \003(\0132\t.pojo.Map\"J\n\007F" + - "eature\022 \n\010geometry\030\001 \001(\0132\016.pojo.Geometry" + - "\022\035\n\nproperties\030\002 \001(\0132\t.pojo.Map\"\347\001\n\021Feat" + - "ureCollection\022\014\n\004keys\030\001 \003(\t\022\024\n\014doubleVal" + - "ues\030\002 \003(\001\022\023\n\013floatValues\030\003 \003(\002\022\024\n\014sint32" + - "Values\030\004 \003(\021\022\024\n\014sint64Values\030\005 \003(\022\022\024\n\014st" + - "ringValues\030\006 \003(\t\022\023\n\013bytesValues\030\007 \003(\014\022\"\n" + - "\ngeometries\030\010 \003(\0132\016.pojo.Geometry\022\036\n\013pro" + - "pertiess\030\t \003(\0132\t.pojo.MapB5\n%org.wowtool" + - "s.giscat.vector.pojo.protoB\014ProtoFeature" + - "b\006proto3" + "\n\035definition/ProtoFeature.proto\022\004pojo\"\016\n" + + "\014NullGeometry\"(\n\005Point\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002" + + " \001(\001\022\t\n\001z\030\003 \001(\001\"0\n\nLineString\022\n\n\002xs\030\001 \003(" + + "\001\022\n\n\002ys\030\002 \003(\001\022\n\n\002zs\030\003 \003(\001\"A\n\007Polygon\022\n\n\002" + + "xs\030\001 \003(\001\022\n\n\002ys\030\002 \003(\001\022\n\n\002zs\030\003 \003(\001\022\022\n\nsepa" + + "rators\030\004 \003(\005\"0\n\nMultiPoint\022\n\n\002xs\030\001 \003(\001\022\n" + + "\n\002ys\030\002 \003(\001\022\n\n\002zs\030\003 \003(\001\"I\n\017MultiLineStrin" + + "g\022\n\n\002xs\030\001 \003(\001\022\n\n\002ys\030\002 \003(\001\022\n\n\002zs\030\003 \003(\001\022\022\n" + + "\nseparators\030\004 \003(\005\"f\n\014MultiPolygon\022\n\n\002xs\030" + + "\001 \003(\001\022\n\n\002ys\030\002 \003(\001\022\n\n\002zs\030\003 \003(\001\022\027\n\017coordSe" + + "parators\030\004 \003(\005\022\031\n\021polygonSeparators\030\005 \003(" + + "\005\"\263\002\n\022GeometryCollection\022\033\n\006points\030\001 \003(\013" + + "2\013.pojo.Point\022%\n\013lineStrings\030\002 \003(\0132\020.poj" + + "o.LineString\022\037\n\010polygons\030\003 \003(\0132\r.pojo.Po" + + "lygon\022%\n\013multiPoints\030\004 \003(\0132\020.pojo.MultiP" + + "oint\022/\n\020multiLineStrings\030\005 \003(\0132\025.pojo.Mu" + + "ltiLineString\022)\n\rmultiPolygons\030\006 \003(\0132\022.p" + + "ojo.MultiPolygon\0225\n\023geometryCollections\030" + + "\007 \003(\0132\030.pojo.GeometryCollection\"\314\002\n\010Geom" + + "etry\022\032\n\005point\030\001 \001(\0132\013.pojo.Point\022$\n\nline" + + "String\030\002 \001(\0132\020.pojo.LineString\022\036\n\007polygo" + + "n\030\003 \001(\0132\r.pojo.Polygon\022$\n\nmultiPoint\030\004 \001" + + "(\0132\020.pojo.MultiPoint\022.\n\017multiLineString\030" + + "\005 \001(\0132\025.pojo.MultiLineString\022(\n\014multiPol" + + "ygon\030\006 \001(\0132\022.pojo.MultiPolygon\0224\n\022geomet" + + "ryCollection\030\007 \001(\0132\030.pojo.GeometryCollec" + + "tion\022(\n\014nullGeometry\030\010 \001(\0132\022.pojo.NullGe" + + "ometry\"\t\n\007Feature\"\222\003\n\003Map\022\024\n\014doubleKeyId" + + "s\030\001 \003(\005\022\026\n\016doubleValueIds\030\002 \003(\005\022\023\n\013float" + + "KeyIds\030\003 \003(\005\022\025\n\rfloatValueIds\030\004 \003(\005\022\024\n\014s" + + "int32KeyIds\030\005 \003(\005\022\026\n\016sint32ValueIds\030\006 \003(" + + "\005\022\024\n\014sint64KeyIds\030\007 \003(\005\022\026\n\016sint64ValueId" + + "s\030\010 \003(\005\022\022\n\nboolKeyIds\030\t \003(\005\022\022\n\nboolValue" + + "s\030\n \003(\010\022\024\n\014stringKeyIds\030\013 \003(\005\022\026\n\016stringV" + + "alueIds\030\014 \003(\005\022\023\n\013bytesKeyIds\030\r \003(\005\022\025\n\rby" + + "tesValueIds\030\016 \003(\005\022\022\n\nlistKeyIds\030\017 \003(\005\022\024\n" + + "\014listValueIds\030\020 \003(\005\022\021\n\tsubKeyIds\030\021 \003(\005\022\026" + + "\n\016subMapValueIds\030\022 \003(\005\"\327\001\n\004List\022\017\n\007index" + + "es\030\001 \003(\005\022\024\n\014doubleKeyIds\030\002 \003(\005\022\023\n\013floatK" + + "eyIds\030\003 \003(\005\022\024\n\014sint32KeyIds\030\004 \003(\005\022\024\n\014sin" + + "t64KeyIds\030\005 \003(\005\022\022\n\nboolValues\030\006 \003(\010\022\026\n\016s" + + "tringValueIds\030\007 \003(\005\022\025\n\rbytesValueIds\030\010 \003" + + "(\005\022\021\n\tmapKeyIds\030\t \003(\005\022\021\n\tsubKeyIds\030\n \003(\005" + + "\"\373\001\n\021FeatureCollection\022\014\n\004keys\030\001 \003(\t\022\024\n\014" + + "doubleValues\030\002 \003(\001\022\023\n\013floatValues\030\003 \003(\002\022" + + "\024\n\014sint32Values\030\004 \003(\021\022\024\n\014sint64Values\030\005 " + + "\003(\022\022\024\n\014stringValues\030\006 \003(\t\022\023\n\013bytesValues" + + "\030\007 \003(\014\022\"\n\ngeometries\030\010 \003(\0132\016.pojo.Geomet" + + "ry\022\027\n\004maps\030\t \003(\0132\t.pojo.Map\022\031\n\005lists\030\n \003" + + "(\0132\n.pojo.ListB5\n%org.wowtools.giscat.ve" + + "ctor.pojo.protoB\014ProtoFeatureb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[]{ }); - internal_static_pojo_Point_descriptor = + internal_static_pojo_NullGeometry_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_pojo_NullGeometry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_pojo_NullGeometry_descriptor, + new java.lang.String[]{}); + internal_static_pojo_Point_descriptor = + getDescriptor().getMessageTypes().get(1); internal_static_pojo_Point_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_Point_descriptor, new java.lang.String[]{"X", "Y", "Z",}); internal_static_pojo_LineString_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageTypes().get(2); internal_static_pojo_LineString_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_LineString_descriptor, new java.lang.String[]{"Xs", "Ys", "Zs",}); internal_static_pojo_Polygon_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageTypes().get(3); internal_static_pojo_Polygon_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_Polygon_descriptor, new java.lang.String[]{"Xs", "Ys", "Zs", "Separators",}); internal_static_pojo_MultiPoint_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(4); internal_static_pojo_MultiPoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_MultiPoint_descriptor, new java.lang.String[]{"Xs", "Ys", "Zs",}); internal_static_pojo_MultiLineString_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(5); internal_static_pojo_MultiLineString_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_MultiLineString_descriptor, new java.lang.String[]{"Xs", "Ys", "Zs", "Separators",}); internal_static_pojo_MultiPolygon_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(6); internal_static_pojo_MultiPolygon_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_MultiPolygon_descriptor, new java.lang.String[]{"Xs", "Ys", "Zs", "CoordSeparators", "PolygonSeparators",}); internal_static_pojo_GeometryCollection_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(7); internal_static_pojo_GeometryCollection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_GeometryCollection_descriptor, new java.lang.String[]{"Points", "LineStrings", "Polygons", "MultiPoints", "MultiLineStrings", "MultiPolygons", "GeometryCollections",}); internal_static_pojo_Geometry_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(8); internal_static_pojo_Geometry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_Geometry_descriptor, - new java.lang.String[]{"Point", "LineString", "Polygon", "MultiPoint", "MultiLineString", "MultiPolygon", "GeometryCollection",}); - internal_static_pojo_Map_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_pojo_Map_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_pojo_Map_descriptor, - new java.lang.String[]{"DoubleKeyIds", "DoubleValueIds", "FloatKeyIds", "FloatValueIds", "Sint32KeyIds", "Sint32ValueIds", "Sint64KeyIds", "Sint64ValueIds", "BoolKeyIds", "BoolValues", "StringKeyIds", "StringValueIds", "BytesKeyIds", "BytesValueIds", "SubKeyIds", "SubMaps",}); + new java.lang.String[]{"Point", "LineString", "Polygon", "MultiPoint", "MultiLineString", "MultiPolygon", "GeometryCollection", "NullGeometry",}); internal_static_pojo_Feature_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_pojo_Feature_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_Feature_descriptor, - new java.lang.String[]{"Geometry", "Properties",}); - internal_static_pojo_FeatureCollection_descriptor = + new java.lang.String[]{}); + internal_static_pojo_Map_descriptor = getDescriptor().getMessageTypes().get(10); + internal_static_pojo_Map_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_pojo_Map_descriptor, + new java.lang.String[]{"DoubleKeyIds", "DoubleValueIds", "FloatKeyIds", "FloatValueIds", "Sint32KeyIds", "Sint32ValueIds", "Sint64KeyIds", "Sint64ValueIds", "BoolKeyIds", "BoolValues", "StringKeyIds", "StringValueIds", "BytesKeyIds", "BytesValueIds", "ListKeyIds", "ListValueIds", "SubKeyIds", "SubMapValueIds",}); + internal_static_pojo_List_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_pojo_List_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_pojo_List_descriptor, + new java.lang.String[]{"Indexes", "DoubleKeyIds", "FloatKeyIds", "Sint32KeyIds", "Sint64KeyIds", "BoolValues", "StringValueIds", "BytesValueIds", "MapKeyIds", "SubKeyIds",}); + internal_static_pojo_FeatureCollection_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_pojo_FeatureCollection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pojo_FeatureCollection_descriptor, - new java.lang.String[]{"Keys", "DoubleValues", "FloatValues", "Sint32Values", "Sint64Values", "StringValues", "BytesValues", "Geometries", "Propertiess",}); + new java.lang.String[]{"Keys", "DoubleValues", "FloatValues", "Sint32Values", "Sint64Values", "StringValues", "BytesValues", "Geometries", "Maps", "Lists",}); } // @@protoc_insertion_point(outer_class_scope) diff --git a/giscat-vector/giscat-vector-pojo/src/main/resources/ProtoFeature.proto b/giscat-vector/giscat-vector-pojo/src/main/resources/ProtoFeature.proto index 17ae8a3..32d2b9f 100644 --- a/giscat-vector/giscat-vector-pojo/src/main/resources/ProtoFeature.proto +++ b/giscat-vector/giscat-vector-pojo/src/main/resources/ProtoFeature.proto @@ -5,6 +5,10 @@ option java_outer_classname = "ProtoFeature"; // geometry具体实现。 +// 空几何对象 解析后返回null +message NullGeometry{ + +} // Point,包含点的 x y z坐标 ,z可选。 message Point{ double x = 1; @@ -88,11 +92,17 @@ message Geometry{ MultiPolygon multiPolygon = 6; GeometryCollection geometryCollection = 7; + + NullGeometry nullGeometry = 8; } +// Feature 仅作保留,不用这个进行序列化和反序列化 +message Feature{ -// 属性 支持的属性类型 double float sint32 sint64 bool string bytes subProperty -// 属性使用keyId-value或keyId-valueId格式来存储 +} + +// 属性映射 支持的属性类型 double float sint32 sint64 bool string bytes subProperty +// 属性映射使用keyId-value或keyId-valueId格式,与FeatureCollection中的key、value结合来存实际键值 // sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中 // 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后: // FeatureCollection { @@ -106,32 +116,56 @@ message Geometry{ // ] // } message Map{ - // key、value id + // keyId、valueId/value repeated int32 doubleKeyIds = 1; repeated int32 doubleValueIds = 2; + repeated int32 floatKeyIds = 3; repeated int32 floatValueIds = 4; + repeated int32 sint32KeyIds = 5; repeated int32 sint32ValueIds = 6; + repeated int32 sint64KeyIds = 7; repeated int32 sint64ValueIds = 8; + repeated int32 boolKeyIds = 9; repeated bool boolValues = 10; + repeated int32 stringKeyIds = 11; repeated int32 stringValueIds = 12; + repeated int32 bytesKeyIds = 13; repeated int32 bytesValueIds = 14; - //children Map key、value id - repeated int32 subKeyIds = 15; - repeated Map subMaps = 16; + // list keyId、valueId + repeated int32 listKeyIds = 15; + repeated int32 listValueIds = 16; + + // children keyId、valueId + repeated int32 subKeyIds = 17; + repeated int32 subMapValueIds = 18; + } +// list 属性 +message List{ + // indexes 标注list中的第n个元素的类型是什么类型,如[1L,2D,'SSS'] 的indexes为 [5,2,7] + repeated int32 indexes = 1; + // 数组值id,按数组先后顺序填入 + // valueId/value + repeated int32 doubleKeyIds = 2; + repeated int32 floatKeyIds = 3; + repeated int32 sint32KeyIds = 4; + repeated int32 sint64KeyIds = 5; + repeated bool boolValues = 6; + repeated int32 stringValueIds = 7; + repeated int32 bytesValueIds = 8; + // mapId + repeated int32 mapKeyIds = 9; + // children id + repeated int32 subKeyIds = 10; -// Feature 由于properties存放的是key id、value id,所以对其序列化/反序列化没有实际意义,故这个对象仅作保留而不会使用 -message Feature{ - Geometry geometry = 1; - Map properties = 2; } // FeatureCollection @@ -147,6 +181,6 @@ message FeatureCollection{ // features 为了最大限度压缩数据,这里单独列了geometry property,而未使用Feature对象 repeated Geometry geometries = 8; - repeated Map propertiess = 9; - + repeated Map maps = 9; + repeated List lists = 10; } diff --git a/giscat-vector/giscat-vector-pojo/src/test/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverterTest.java b/giscat-vector/giscat-vector-pojo/src/test/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverterTest.java index f741299..5fb4d43 100644 --- a/giscat-vector/giscat-vector-pojo/src/test/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverterTest.java +++ b/giscat-vector/giscat-vector-pojo/src/test/java/org/wowtools/giscat/vector/pojo/converter/ProtoFeatureConverterTest.java @@ -94,7 +94,7 @@ private void testProperties(Map... propertiesArr) { ArrayList features = new ArrayList<>(propertiesArr.length); for (Map properties : propertiesArr) { Feature feature = new Feature(); - feature.setGeometry(SampleData.point); + feature.setGeometry(propertiesArr.length / 2 == 0 ? null : SampleData.point); feature.setProperties(properties); features.add(feature); } diff --git a/giscat-vector/giscat-vector-util/pom.xml b/giscat-vector/giscat-vector-util/pom.xml index 9f17759..ac8e398 100644 --- a/giscat-vector/giscat-vector-util/pom.xml +++ b/giscat-vector/giscat-vector-util/pom.xml @@ -5,12 +5,12 @@ giscat org.wowtools - 1.4.0-STABLE + g1.5.0 4.0.0 giscat-vector-util - 1.4.0-STABLE + g1.5.0 常用gis工具 diff --git a/giscat-vector/pom.xml b/giscat-vector/pom.xml index 0e5dd38..72c7aec 100644 --- a/giscat-vector/pom.xml +++ b/giscat-vector/pom.xml @@ -5,12 +5,12 @@ giscat org.wowtools - 1.4.0-STABLE + g1.5.0 4.0.0 giscat-vector - 1.4.0-STABLE + g1.5.0 pom diff --git a/pom.xml b/pom.xml index 639deba..19754ef 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.wowtools giscat pom - 1.4.0-STABLE + g1.5.0 giscat giscat-vector @@ -27,22 +27,22 @@ giscat-vector-pojo org.wowtools - 1.4.0-STABLE + g1.5.0 giscat-vector-util org.wowtools - 1.4.0-STABLE + g1.5.0 giscat-vector-mvt org.wowtools - 1.4.0-STABLE + g1.5.0 giscat-vector-mbexpression org.wowtools - 1.4.0-STABLE + g1.5.0