Class PB_RDF.RDF_Literal

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.jena.riot.protobuf.wire.PB_RDF.RDF_Literal
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, PB_RDF.RDF_LiteralOrBuilder
Enclosing class:
PB_RDF

public static final class PB_RDF.RDF_Literal extends com.google.protobuf.GeneratedMessage implements PB_RDF.RDF_LiteralOrBuilder
Protobuf type RDF_Literal
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getLiteralKindCase

      public PB_RDF.RDF_Literal.LiteralKindCase getLiteralKindCase()
      Specified by:
      getLiteralKindCase in interface PB_RDF.RDF_LiteralOrBuilder
    • getLex

      public String getLex()
      string lex = 1;
      Specified by:
      getLex in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The lex.
    • getLexBytes

      public com.google.protobuf.ByteString getLexBytes()
      string lex = 1;
      Specified by:
      getLexBytes in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The bytes for lex.
    • hasSimple

      public boolean hasSimple()
      bool simple = 9;
      Specified by:
      hasSimple in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      Whether the simple field is set.
    • getSimple

      public boolean getSimple()
      bool simple = 9;
      Specified by:
      getSimple in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The simple.
    • hasLangtag

      public boolean hasLangtag()
      string langtag = 2;
      Specified by:
      hasLangtag in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      Whether the langtag field is set.
    • getLangtag

      public String getLangtag()
      string langtag = 2;
      Specified by:
      getLangtag in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The langtag.
    • getLangtagBytes

      public com.google.protobuf.ByteString getLangtagBytes()
      string langtag = 2;
      Specified by:
      getLangtagBytes in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The bytes for langtag.
    • hasDatatype

      public boolean hasDatatype()
      string datatype = 3;
      Specified by:
      hasDatatype in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      Whether the datatype field is set.
    • getDatatype

      public String getDatatype()
      string datatype = 3;
      Specified by:
      getDatatype in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The datatype.
    • getDatatypeBytes

      public com.google.protobuf.ByteString getDatatypeBytes()
      string datatype = 3;
      Specified by:
      getDatatypeBytes in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The bytes for datatype.
    • hasDtPrefix

      public boolean hasDtPrefix()
      .RDF_PrefixName dtPrefix = 4;
      Specified by:
      hasDtPrefix in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      Whether the dtPrefix field is set.
    • getDtPrefix

      public PB_RDF.RDF_PrefixName getDtPrefix()
      .RDF_PrefixName dtPrefix = 4;
      Specified by:
      getDtPrefix in interface PB_RDF.RDF_LiteralOrBuilder
      Returns:
      The dtPrefix.
    • getDtPrefixOrBuilder

      public PB_RDF.RDF_PrefixNameOrBuilder getDtPrefixOrBuilder()
      .RDF_PrefixName dtPrefix = 4;
      Specified by:
      getDtPrefixOrBuilder in interface PB_RDF.RDF_LiteralOrBuilder
    • isInitialized

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

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

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

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

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

      public static PB_RDF.RDF_Literal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PB_RDF.RDF_Literal parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PB_RDF.RDF_Literal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PB_RDF.RDF_Literal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PB_RDF.RDF_Literal.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PB_RDF.RDF_Literal.Builder newBuilder()
    • newBuilder

      public static PB_RDF.RDF_Literal.Builder newBuilder(PB_RDF.RDF_Literal prototype)
    • toBuilder

      public PB_RDF.RDF_Literal.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static PB_RDF.RDF_Literal getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PB_RDF.RDF_Literal> parser()
    • getParserForType

      public com.google.protobuf.Parser<PB_RDF.RDF_Literal> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PB_RDF.RDF_Literal getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder