public static final class Osmformat.StringTable extends GeneratedMessageLite implements Osmformat.StringTableOrBuilder
OSMPBF.StringTable
String table, contains the common strings in each block. Note that we reserve index '0' as a delimiter, so the entry at that index in the table is ALWAYS blank and unused.
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.StringTable.Builder
Protobuf type
OSMPBF.StringTable |
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static Parser<Osmformat.StringTable> |
PARSER |
static int |
S_FIELD_NUMBER |
memoizedHashCode
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat.StringTable> PARSER
public static final int S_FIELD_NUMBER
public static Osmformat.StringTable getDefaultInstance()
public Osmformat.StringTable getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.StringTable> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
public List<ByteString> getSList()
repeated bytes s = 1;
getSList
in interface Osmformat.StringTableOrBuilder
public int getSCount()
repeated bytes s = 1;
getSCount
in interface Osmformat.StringTableOrBuilder
public ByteString getS(int index)
repeated bytes s = 1;
getS
in interface Osmformat.StringTableOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class GeneratedMessageLite
ObjectStreamException
public static Osmformat.StringTable parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.StringTable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.StringTable parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.StringTable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.StringTable parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.StringTable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.StringTable parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.StringTable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.StringTable parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.StringTable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.StringTable.Builder newBuilder()
public Osmformat.StringTable.Builder newBuilderForType()
newBuilderForType
in interface MessageLite
public static Osmformat.StringTable.Builder newBuilder(Osmformat.StringTable prototype)
public Osmformat.StringTable.Builder toBuilder()
toBuilder
in interface MessageLite