Package vector_tile
Class VectorTile.Tile.Layer
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>
vector_tile.VectorTile.Tile.Layer
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<VectorTile.Tile.Layer>
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,VectorTile.Tile.LayerOrBuilder
- Enclosing class:
- VectorTile.Tile
public static final class VectorTile.Tile.Layer
extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>
implements VectorTile.Tile.LayerOrBuilder
Layers are described in section 4.1 of the specificationProtobuf type
vector_tile.Tile.Layer
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Layers are described in section 4.1 of the specificationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
Nested classes/interfaces inherited from class 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<VectorTile.Tile.Layer>
Deprecated.static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static VectorTile.Tile.Layer
static final com.google.protobuf.Descriptors.Descriptor
int
Although this is an "optional" field it is required by the specification.getFeatures
(int index) The actual features in this tile.int
The actual features in this tile.The actual features in this tile.getFeaturesOrBuilder
(int index) The actual features in this tile.List<? extends VectorTile.Tile.FeatureOrBuilder>
The actual features in this tile.getKeys
(int index) Dictionary encoding for keyscom.google.protobuf.ByteString
getKeysBytes
(int index) Dictionary encoding for keysint
Dictionary encoding for keyscom.google.protobuf.ProtocolStringList
Dictionary encoding for keysgetName()
required string name = 1;
com.google.protobuf.ByteString
required string name = 1;
com.google.protobuf.Parser<VectorTile.Tile.Layer>
int
final com.google.protobuf.UnknownFieldSet
getValues
(int index) Dictionary encoding for valuesint
Dictionary encoding for valuesDictionary encoding for valuesgetValuesOrBuilder
(int index) Dictionary encoding for valuesList<? extends VectorTile.Tile.ValueOrBuilder>
Dictionary encoding for valuesint
Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.boolean
Although this is an "optional" field it is required by the specification.int
hashCode()
boolean
hasName()
required string name = 1;
boolean
Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(VectorTile.Tile.Layer prototype) protected VectorTile.Tile.Layer.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static VectorTile.Tile.Layer
parseDelimitedFrom
(InputStream input) static VectorTile.Tile.Layer
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.Layer
parseFrom
(byte[] data) static VectorTile.Tile.Layer
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.Layer
parseFrom
(com.google.protobuf.ByteString data) static VectorTile.Tile.Layer
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.Layer
parseFrom
(com.google.protobuf.CodedInputStream input) static VectorTile.Tile.Layer
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.Layer
parseFrom
(InputStream input) static VectorTile.Tile.Layer
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.Layer
parseFrom
(ByteBuffer data) static VectorTile.Tile.Layer
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VectorTile.Tile.Layer>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER- See Also:
-
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER- See Also:
-
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER- See Also:
-
EXTENT_FIELD_NUMBER
public static final int EXTENT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasVersion
public boolean hasVersion()Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.
required uint32 version = 15 [default = 1];
- Specified by:
hasVersion
in interfaceVectorTile.Tile.LayerOrBuilder
-
getVersion
public int getVersion()Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.
required uint32 version = 15 [default = 1];
- Specified by:
getVersion
in interfaceVectorTile.Tile.LayerOrBuilder
-
hasName
public boolean hasName()required string name = 1;
- Specified by:
hasName
in interfaceVectorTile.Tile.LayerOrBuilder
-
getName
required string name = 1;
- Specified by:
getName
in interfaceVectorTile.Tile.LayerOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()required string name = 1;
- Specified by:
getNameBytes
in interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesList
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
- Specified by:
getFeaturesList
in interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesOrBuilderList
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
- Specified by:
getFeaturesOrBuilderList
in interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesCount
public int getFeaturesCount()The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
- Specified by:
getFeaturesCount
in interfaceVectorTile.Tile.LayerOrBuilder
-
getFeatures
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
- Specified by:
getFeatures
in interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesOrBuilder
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
- Specified by:
getFeaturesOrBuilder
in interfaceVectorTile.Tile.LayerOrBuilder
-
getKeysList
public com.google.protobuf.ProtocolStringList getKeysList()Dictionary encoding for keys
repeated string keys = 3;
- Specified by:
getKeysList
in interfaceVectorTile.Tile.LayerOrBuilder
-
getKeysCount
public int getKeysCount()Dictionary encoding for keys
repeated string keys = 3;
- Specified by:
getKeysCount
in interfaceVectorTile.Tile.LayerOrBuilder
-
getKeys
Dictionary encoding for keys
repeated string keys = 3;
- Specified by:
getKeys
in interfaceVectorTile.Tile.LayerOrBuilder
-
getKeysBytes
public com.google.protobuf.ByteString getKeysBytes(int index) Dictionary encoding for keys
repeated string keys = 3;
- Specified by:
getKeysBytes
in interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesList
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
- Specified by:
getValuesList
in interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesOrBuilderList
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
- Specified by:
getValuesOrBuilderList
in interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesCount
public int getValuesCount()Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
- Specified by:
getValuesCount
in interfaceVectorTile.Tile.LayerOrBuilder
-
getValues
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
- Specified by:
getValues
in interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesOrBuilder
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
- Specified by:
getValuesOrBuilder
in interfaceVectorTile.Tile.LayerOrBuilder
-
hasExtent
public boolean hasExtent()Although this is an "optional" field it is required by the specification. See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
- Specified by:
hasExtent
in interfaceVectorTile.Tile.LayerOrBuilder
-
getExtent
public int getExtent()Although this is an "optional" field it is required by the specification. See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
- Specified by:
getExtent
in interfaceVectorTile.Tile.LayerOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VectorTile.Tile.Layer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VectorTile.Tile.Layer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<VectorTile.Tile.Layer>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-