public static final class Osmformat.PrimitiveBlock extends proto4.GeneratedMessage implements Osmformat.PrimitiveBlockOrBuilder
PrimitiveBlock| Modifier and Type | Class and Description |
|---|---|
static class |
Osmformat.PrimitiveBlock.Builder
Protobuf type
PrimitiveBlock |
proto4.GeneratedMessage.ExtendableBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends proto4.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, proto4.GeneratedMessage.ExtendableMessage<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.FieldAccessorTable, proto4.GeneratedMessage.GeneratedExtension<ContainingT extends proto4.Message,T>, proto4.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATE_GRANULARITY_FIELD_NUMBER |
static int |
GRANULARITY_FIELD_NUMBER |
static int |
LAT_OFFSET_FIELD_NUMBER |
static int |
LON_OFFSET_FIELD_NUMBER |
static int |
PRIMITIVEGROUP_FIELD_NUMBER |
static int |
STRINGTABLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
|
static Osmformat.PrimitiveBlock |
getDefaultInstance() |
Osmformat.PrimitiveBlock |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
int |
getGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block
|
long |
getLatOffset()
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
|
long |
getLonOffset()
optional int64 lon_offset = 20 [default = 0]; |
proto4.Parser<Osmformat.PrimitiveBlock> |
getParserForType() |
Osmformat.PrimitiveGroup |
getPrimitivegroup(int index)
repeated .PrimitiveGroup primitivegroup = 2; |
int |
getPrimitivegroupCount()
repeated .PrimitiveGroup primitivegroup = 2; |
List<Osmformat.PrimitiveGroup> |
getPrimitivegroupList()
repeated .PrimitiveGroup primitivegroup = 2; |
Osmformat.PrimitiveGroupOrBuilder |
getPrimitivegroupOrBuilder(int index)
repeated .PrimitiveGroup primitivegroup = 2; |
List<? extends Osmformat.PrimitiveGroupOrBuilder> |
getPrimitivegroupOrBuilderList()
repeated .PrimitiveGroup primitivegroup = 2; |
int |
getSerializedSize() |
Osmformat.StringTable |
getStringtable()
required .StringTable stringtable = 1; |
Osmformat.StringTableOrBuilder |
getStringtableOrBuilder()
required .StringTable stringtable = 1; |
boolean |
hasDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
|
boolean |
hasGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block
|
int |
hashCode() |
boolean |
hasLatOffset()
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
|
boolean |
hasLonOffset()
optional int64 lon_offset = 20 [default = 0]; |
boolean |
hasStringtable()
required .StringTable stringtable = 1; |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Osmformat.PrimitiveBlock.Builder |
newBuilder() |
static Osmformat.PrimitiveBlock.Builder |
newBuilder(Osmformat.PrimitiveBlock prototype) |
Osmformat.PrimitiveBlock.Builder |
newBuilderForType() |
protected Osmformat.PrimitiveBlock.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.PrimitiveBlock |
parseDelimitedFrom(InputStream input) |
static Osmformat.PrimitiveBlock |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.PrimitiveBlock |
parseFrom(byte[] data) |
static Osmformat.PrimitiveBlock |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.PrimitiveBlock |
parseFrom(ByteBuffer data) |
static Osmformat.PrimitiveBlock |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.PrimitiveBlock |
parseFrom(proto4.ByteString data) |
static Osmformat.PrimitiveBlock |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.PrimitiveBlock |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.PrimitiveBlock |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.PrimitiveBlock |
parseFrom(InputStream input) |
static Osmformat.PrimitiveBlock |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.PrimitiveBlock> |
parser() |
Osmformat.PrimitiveBlock.Builder |
toBuilder() |
void |
writeTo(proto4.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STRINGTABLE_FIELD_NUMBER
public static final int PRIMITIVEGROUP_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER
public static final int LAT_OFFSET_FIELD_NUMBER
public static final int LON_OFFSET_FIELD_NUMBER
public static final int DATE_GRANULARITY_FIELD_NUMBER
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class proto4.GeneratedMessagepublic boolean hasStringtable()
required .StringTable stringtable = 1;hasStringtable in interface Osmformat.PrimitiveBlockOrBuilderpublic Osmformat.StringTable getStringtable()
required .StringTable stringtable = 1;getStringtable in interface Osmformat.PrimitiveBlockOrBuilderpublic Osmformat.StringTableOrBuilder getStringtableOrBuilder()
required .StringTable stringtable = 1;getStringtableOrBuilder in interface Osmformat.PrimitiveBlockOrBuilderpublic List<Osmformat.PrimitiveGroup> getPrimitivegroupList()
repeated .PrimitiveGroup primitivegroup = 2;getPrimitivegroupList in interface Osmformat.PrimitiveBlockOrBuilderpublic List<? extends Osmformat.PrimitiveGroupOrBuilder> getPrimitivegroupOrBuilderList()
repeated .PrimitiveGroup primitivegroup = 2;getPrimitivegroupOrBuilderList in interface Osmformat.PrimitiveBlockOrBuilderpublic int getPrimitivegroupCount()
repeated .PrimitiveGroup primitivegroup = 2;getPrimitivegroupCount in interface Osmformat.PrimitiveBlockOrBuilderpublic Osmformat.PrimitiveGroup getPrimitivegroup(int index)
repeated .PrimitiveGroup primitivegroup = 2;getPrimitivegroup in interface Osmformat.PrimitiveBlockOrBuilderpublic Osmformat.PrimitiveGroupOrBuilder getPrimitivegroupOrBuilder(int index)
repeated .PrimitiveGroup primitivegroup = 2;getPrimitivegroupOrBuilder in interface Osmformat.PrimitiveBlockOrBuilderpublic boolean hasGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block
optional int32 granularity = 17 [default = 100];hasGranularity in interface Osmformat.PrimitiveBlockOrBuilderpublic int getGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block
optional int32 granularity = 17 [default = 100];getGranularity in interface Osmformat.PrimitiveBlockOrBuilderpublic boolean hasLatOffset()
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
optional int64 lat_offset = 19 [default = 0];hasLatOffset in interface Osmformat.PrimitiveBlockOrBuilderpublic long getLatOffset()
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
optional int64 lat_offset = 19 [default = 0];getLatOffset in interface Osmformat.PrimitiveBlockOrBuilderpublic boolean hasLonOffset()
optional int64 lon_offset = 20 [default = 0];hasLonOffset in interface Osmformat.PrimitiveBlockOrBuilderpublic long getLonOffset()
optional int64 lon_offset = 20 [default = 0];getLonOffset in interface Osmformat.PrimitiveBlockOrBuilderpublic boolean hasDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];hasDateGranularity in interface Osmformat.PrimitiveBlockOrBuilderpublic int getDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];getDateGranularity in interface Osmformat.PrimitiveBlockOrBuilderpublic final boolean isInitialized()
isInitialized in interface proto4.MessageLiteOrBuilderisInitialized in class proto4.GeneratedMessagepublic void writeTo(proto4.CodedOutputStream output)
throws IOException
writeTo in interface proto4.MessageLitewriteTo in class proto4.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface proto4.MessageLitegetSerializedSize in class proto4.GeneratedMessagepublic boolean equals(Object obj)
equals in interface proto4.Messageequals in class proto4.AbstractMessagepublic int hashCode()
hashCode in interface proto4.MessagehashCode in class proto4.AbstractMessagepublic static Osmformat.PrimitiveBlock parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.PrimitiveBlock parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.PrimitiveBlock parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.PrimitiveBlock parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.PrimitiveBlock parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.PrimitiveBlock parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.PrimitiveBlock parseFrom(InputStream input) throws IOException
IOExceptionpublic static Osmformat.PrimitiveBlock parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Osmformat.PrimitiveBlock parseFrom(proto4.CodedInputStream input) throws IOException
IOExceptionpublic static Osmformat.PrimitiveBlock parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Osmformat.PrimitiveBlock.Builder newBuilderForType()
newBuilderForType in interface proto4.MessagenewBuilderForType in interface proto4.MessageLitepublic static Osmformat.PrimitiveBlock.Builder newBuilder()
public static Osmformat.PrimitiveBlock.Builder newBuilder(Osmformat.PrimitiveBlock prototype)
public Osmformat.PrimitiveBlock.Builder toBuilder()
toBuilder in interface proto4.MessagetoBuilder in interface proto4.MessageLiteprotected Osmformat.PrimitiveBlock.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType in class proto4.AbstractMessagepublic static Osmformat.PrimitiveBlock getDefaultInstance()
public static proto4.Parser<Osmformat.PrimitiveBlock> parser()
public proto4.Parser<Osmformat.PrimitiveBlock> getParserForType()
getParserForType in interface proto4.MessagegetParserForType in interface proto4.MessageLitegetParserForType in class proto4.GeneratedMessagepublic Osmformat.PrimitiveBlock getDefaultInstanceForType()
getDefaultInstanceForType in interface proto4.MessageLiteOrBuildergetDefaultInstanceForType in interface proto4.MessageOrBuilderCopyright © 2025 The Apache Software Foundation. All rights reserved.