Module org.apache.jena.arq
Class PB_RDF.RDF_Literal.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PB_RDF.RDF_Literal.Builder>
org.apache.jena.riot.protobuf.wire.PB_RDF.RDF_Literal.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,PB_RDF.RDF_LiteralOrBuilder
- Enclosing class:
- PB_RDF.RDF_Literal
public static final class PB_RDF.RDF_Literal.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PB_RDF.RDF_Literal.Builder>
implements PB_RDF.RDF_LiteralOrBuilder
Protobuf type
RDF_Literal
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string datatype = 3;
.RDF_PrefixName dtPrefix = 4;
string langtag = 2;
clearLex()
string lex = 1;
bool simple = 9;
string datatype = 3;
com.google.protobuf.ByteString
string datatype = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.RDF_PrefixName dtPrefix = 4;
.RDF_PrefixName dtPrefix = 4;
.RDF_PrefixName dtPrefix = 4;
string langtag = 2;
com.google.protobuf.ByteString
string langtag = 2;
getLex()
string lex = 1;
com.google.protobuf.ByteString
string lex = 1;
boolean
bool simple = 9;
boolean
string datatype = 3;
boolean
.RDF_PrefixName dtPrefix = 4;
boolean
string langtag = 2;
boolean
bool simple = 9;
final boolean
.RDF_PrefixName dtPrefix = 4;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(PB_RDF.RDF_Literal other) setDatatype
(String value) string datatype = 3;
setDatatypeBytes
(com.google.protobuf.ByteString value) string datatype = 3;
setDtPrefix
(PB_RDF.RDF_PrefixName value) .RDF_PrefixName dtPrefix = 4;
setDtPrefix
(PB_RDF.RDF_PrefixName.Builder builderForValue) .RDF_PrefixName dtPrefix = 4;
setLangtag
(String value) string langtag = 2;
setLangtagBytes
(com.google.protobuf.ByteString value) string langtag = 2;
string lex = 1;
setLexBytes
(com.google.protobuf.ByteString value) string lex = 1;
setSimple
(boolean value) bool simple = 9;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFields
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<PB_RDF.RDF_Literal.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<PB_RDF.RDF_Literal.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PB_RDF.RDF_Literal.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<PB_RDF.RDF_Literal.Builder>
-
mergeFrom
public PB_RDF.RDF_Literal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PB_RDF.RDF_Literal.Builder>
- Throws:
IOException
-
getLiteralKindCase
- Specified by:
getLiteralKindCase
in interfacePB_RDF.RDF_LiteralOrBuilder
-
clearLiteralKind
-
getLex
string lex = 1;
- Specified by:
getLex
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The lex.
-
getLexBytes
public com.google.protobuf.ByteString getLexBytes()string lex = 1;
- Specified by:
getLexBytes
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The bytes for lex.
-
setLex
string lex = 1;
- Parameters:
value
- The lex to set.- Returns:
- This builder for chaining.
-
clearLex
string lex = 1;
- Returns:
- This builder for chaining.
-
setLexBytes
string lex = 1;
- Parameters:
value
- The bytes for lex to set.- Returns:
- This builder for chaining.
-
hasSimple
public boolean hasSimple()bool simple = 9;
- Specified by:
hasSimple
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- Whether the simple field is set.
-
getSimple
public boolean getSimple()bool simple = 9;
- Specified by:
getSimple
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The simple.
-
setSimple
bool simple = 9;
- Parameters:
value
- The simple to set.- Returns:
- This builder for chaining.
-
clearSimple
bool simple = 9;
- Returns:
- This builder for chaining.
-
hasLangtag
public boolean hasLangtag()string langtag = 2;
- Specified by:
hasLangtag
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- Whether the langtag field is set.
-
getLangtag
string langtag = 2;
- Specified by:
getLangtag
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The langtag.
-
getLangtagBytes
public com.google.protobuf.ByteString getLangtagBytes()string langtag = 2;
- Specified by:
getLangtagBytes
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The bytes for langtag.
-
setLangtag
string langtag = 2;
- Parameters:
value
- The langtag to set.- Returns:
- This builder for chaining.
-
clearLangtag
string langtag = 2;
- Returns:
- This builder for chaining.
-
setLangtagBytes
string langtag = 2;
- Parameters:
value
- The bytes for langtag to set.- Returns:
- This builder for chaining.
-
hasDatatype
public boolean hasDatatype()string datatype = 3;
- Specified by:
hasDatatype
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- Whether the datatype field is set.
-
getDatatype
string datatype = 3;
- Specified by:
getDatatype
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The datatype.
-
getDatatypeBytes
public com.google.protobuf.ByteString getDatatypeBytes()string datatype = 3;
- Specified by:
getDatatypeBytes
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The bytes for datatype.
-
setDatatype
string datatype = 3;
- Parameters:
value
- The datatype to set.- Returns:
- This builder for chaining.
-
clearDatatype
string datatype = 3;
- Returns:
- This builder for chaining.
-
setDatatypeBytes
string datatype = 3;
- Parameters:
value
- The bytes for datatype to set.- Returns:
- This builder for chaining.
-
hasDtPrefix
public boolean hasDtPrefix().RDF_PrefixName dtPrefix = 4;
- Specified by:
hasDtPrefix
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- Whether the dtPrefix field is set.
-
getDtPrefix
.RDF_PrefixName dtPrefix = 4;
- Specified by:
getDtPrefix
in interfacePB_RDF.RDF_LiteralOrBuilder
- Returns:
- The dtPrefix.
-
setDtPrefix
.RDF_PrefixName dtPrefix = 4;
-
setDtPrefix
.RDF_PrefixName dtPrefix = 4;
-
mergeDtPrefix
.RDF_PrefixName dtPrefix = 4;
-
clearDtPrefix
.RDF_PrefixName dtPrefix = 4;
-
getDtPrefixBuilder
.RDF_PrefixName dtPrefix = 4;
-
getDtPrefixOrBuilder
.RDF_PrefixName dtPrefix = 4;
- Specified by:
getDtPrefixOrBuilder
in interfacePB_RDF.RDF_LiteralOrBuilder
-