Class Osmformat.StringTable

  • All Implemented Interfaces:
    Serializable, Osmformat.StringTableOrBuilder, proto4.Message, proto4.MessageLite, proto4.MessageLiteOrBuilder, proto4.MessageOrBuilder
    Enclosing class:
    Osmformat

    public static final class Osmformat.StringTable
    extends proto4.GeneratedMessage
    implements Osmformat.StringTableOrBuilder
     * 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.
     

    Protobuf type StringTable

    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

        public static final proto4.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class proto4.GeneratedMessage
      • getS

        public proto4.ByteString getS​(int index)
        repeated bytes s = 1;
        Specified by:
        getS in interface Osmformat.StringTableOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The s at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface proto4.MessageLiteOrBuilder
        Overrides:
        isInitialized in class proto4.GeneratedMessage
      • writeTo

        public void writeTo​(proto4.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface proto4.MessageLite
        Overrides:
        writeTo in class proto4.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface proto4.MessageLite
        Overrides:
        getSerializedSize in class proto4.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface proto4.Message
        Overrides:
        equals in class proto4.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface proto4.Message
        Overrides:
        hashCode in class proto4.AbstractMessage
      • parseFrom

        public static Osmformat.StringTable parseFrom​(ByteBuffer data)
                                               throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.StringTable parseFrom​(ByteBuffer data,
                                                      proto4.ExtensionRegistryLite extensionRegistry)
                                               throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.StringTable parseFrom​(proto4.ByteString data)
                                               throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.StringTable parseFrom​(proto4.ByteString data,
                                                      proto4.ExtensionRegistryLite extensionRegistry)
                                               throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.StringTable parseFrom​(byte[] data)
                                               throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.StringTable parseFrom​(byte[] data,
                                                      proto4.ExtensionRegistryLite extensionRegistry)
                                               throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • newBuilderForType

        public Osmformat.StringTable.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface proto4.Message
        Specified by:
        newBuilderForType in interface proto4.MessageLite
      • toBuilder

        public Osmformat.StringTable.Builder toBuilder()
        Specified by:
        toBuilder in interface proto4.Message
        Specified by:
        toBuilder in interface proto4.MessageLite
      • newBuilderForType

        protected Osmformat.StringTable.Builder newBuilderForType​(proto4.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class proto4.AbstractMessage
      • getParserForType

        public proto4.Parser<Osmformat.StringTable> getParserForType()
        Specified by:
        getParserForType in interface proto4.Message
        Specified by:
        getParserForType in interface proto4.MessageLite
        Overrides:
        getParserForType in class proto4.GeneratedMessage
      • getDefaultInstanceForType

        public Osmformat.StringTable getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface proto4.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface proto4.MessageOrBuilder