类 ProtoFeature.MultiPolygon
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.wowtools.giscat.vector.pojo.proto.ProtoFeature.MultiPolygon
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ProtoFeature.MultiPolygonOrBuilder
- 封闭类:
- ProtoFeature
public static final class ProtoFeature.MultiPolygon extends com.google.protobuf.GeneratedMessageV3 implements ProtoFeature.MultiPolygonOrBuilder
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 typepojo.MultiPolygon- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classProtoFeature.MultiPolygon.BuilderMultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCOORDSEPARATORS_FIELD_NUMBERstatic intPOLYGONSEPARATORS_FIELD_NUMBERstatic intXS_FIELD_NUMBERstatic intYS_FIELD_NUMBERstatic intZS_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)intgetCoordSeparators(int index)repeated int32 coordSeparators = 4;intgetCoordSeparatorsCount()repeated int32 coordSeparators = 4;List<Integer>getCoordSeparatorsList()repeated int32 coordSeparators = 4;static ProtoFeature.MultiPolygongetDefaultInstance()ProtoFeature.MultiPolygongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ProtoFeature.MultiPolygon>getParserForType()intgetPolygonSeparators(int index)repeated int32 polygonSeparators = 5;intgetPolygonSeparatorsCount()repeated int32 polygonSeparators = 5;List<Integer>getPolygonSeparatorsList()repeated int32 polygonSeparators = 5;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()doublegetXs(int index)repeated double xs = 1;intgetXsCount()repeated double xs = 1;List<Double>getXsList()repeated double xs = 1;doublegetYs(int index)repeated double ys = 2;intgetYsCount()repeated double ys = 2;List<Double>getYsList()repeated double ys = 2;doublegetZs(int index)repeated double zs = 3;intgetZsCount()repeated double zs = 3;List<Double>getZsList()repeated double zs = 3;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProtoFeature.MultiPolygon.BuildernewBuilder()static ProtoFeature.MultiPolygon.BuildernewBuilder(ProtoFeature.MultiPolygon prototype)ProtoFeature.MultiPolygon.BuildernewBuilderForType()protected ProtoFeature.MultiPolygon.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ProtoFeature.MultiPolygonparseDelimitedFrom(InputStream input)static ProtoFeature.MultiPolygonparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.MultiPolygonparseFrom(byte[] data)static ProtoFeature.MultiPolygonparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.MultiPolygonparseFrom(com.google.protobuf.ByteString data)static ProtoFeature.MultiPolygonparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.MultiPolygonparseFrom(com.google.protobuf.CodedInputStream input)static ProtoFeature.MultiPolygonparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.MultiPolygonparseFrom(InputStream input)static ProtoFeature.MultiPolygonparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.MultiPolygonparseFrom(ByteBuffer data)static ProtoFeature.MultiPolygonparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ProtoFeature.MultiPolygon>parser()ProtoFeature.MultiPolygon.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
XS_FIELD_NUMBER
public static final int XS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
YS_FIELD_NUMBER
public static final int YS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
ZS_FIELD_NUMBER
public static final int ZS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
COORDSEPARATORS_FIELD_NUMBER
public static final int COORDSEPARATORS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
POLYGONSEPARATORS_FIELD_NUMBER
public static final int POLYGONSEPARATORS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getXsList
public List<Double> getXsList()
repeated double xs = 1;- 指定者:
getXsList在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- A list containing the xs.
-
getXsCount
public int getXsCount()
repeated double xs = 1;- 指定者:
getXsCount在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- The count of xs.
-
getXs
public double getXs(int index)
repeated double xs = 1;- 指定者:
getXs在接口中ProtoFeature.MultiPolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The xs at the given index.
-
getYsList
public List<Double> getYsList()
repeated double ys = 2;- 指定者:
getYsList在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- A list containing the ys.
-
getYsCount
public int getYsCount()
repeated double ys = 2;- 指定者:
getYsCount在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- The count of ys.
-
getYs
public double getYs(int index)
repeated double ys = 2;- 指定者:
getYs在接口中ProtoFeature.MultiPolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The ys at the given index.
-
getZsList
public List<Double> getZsList()
repeated double zs = 3;- 指定者:
getZsList在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- A list containing the zs.
-
getZsCount
public int getZsCount()
repeated double zs = 3;- 指定者:
getZsCount在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- The count of zs.
-
getZs
public double getZs(int index)
repeated double zs = 3;- 指定者:
getZs在接口中ProtoFeature.MultiPolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The zs at the given index.
-
getCoordSeparatorsList
public List<Integer> getCoordSeparatorsList()
repeated int32 coordSeparators = 4;- 指定者:
getCoordSeparatorsList在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- A list containing the coordSeparators.
-
getCoordSeparatorsCount
public int getCoordSeparatorsCount()
repeated int32 coordSeparators = 4;- 指定者:
getCoordSeparatorsCount在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- The count of coordSeparators.
-
getCoordSeparators
public int getCoordSeparators(int index)
repeated int32 coordSeparators = 4;- 指定者:
getCoordSeparators在接口中ProtoFeature.MultiPolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The coordSeparators at the given index.
-
getPolygonSeparatorsList
public List<Integer> getPolygonSeparatorsList()
repeated int32 polygonSeparators = 5;- 指定者:
getPolygonSeparatorsList在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- A list containing the polygonSeparators.
-
getPolygonSeparatorsCount
public int getPolygonSeparatorsCount()
repeated int32 polygonSeparators = 5;- 指定者:
getPolygonSeparatorsCount在接口中ProtoFeature.MultiPolygonOrBuilder- 返回:
- The count of polygonSeparators.
-
getPolygonSeparators
public int getPolygonSeparators(int index)
repeated int32 polygonSeparators = 5;- 指定者:
getPolygonSeparators在接口中ProtoFeature.MultiPolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The polygonSeparators at the given index.
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static ProtoFeature.MultiPolygon parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static ProtoFeature.MultiPolygon parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static ProtoFeature.MultiPolygon parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public ProtoFeature.MultiPolygon.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static ProtoFeature.MultiPolygon.Builder newBuilder()
-
newBuilder
public static ProtoFeature.MultiPolygon.Builder newBuilder(ProtoFeature.MultiPolygon prototype)
-
toBuilder
public ProtoFeature.MultiPolygon.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected ProtoFeature.MultiPolygon.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ProtoFeature.MultiPolygon getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ProtoFeature.MultiPolygon> parser()
-
getParserForType
public com.google.protobuf.Parser<ProtoFeature.MultiPolygon> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ProtoFeature.MultiPolygon getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-