Class PB_RDF.RDF_PrefixName.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
org.apache.jena.riot.protobuf.wire.PB_RDF.RDF_PrefixName.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_PrefixNameOrBuilder
Enclosing class:
PB_RDF.RDF_PrefixName

public static final class PB_RDF.RDF_PrefixName.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder> implements PB_RDF.RDF_PrefixNameOrBuilder
 A prefix name (abbrev for an IRI)
 
Protobuf type RDF_PrefixName
  • Method Details

    • getDescriptor

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • getDefaultInstanceForType

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

      public PB_RDF.RDF_PrefixName build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PB_RDF.RDF_PrefixName buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • setField

      public PB_RDF.RDF_PrefixName.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • clearField

      public PB_RDF.RDF_PrefixName.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • clearOneof

      public PB_RDF.RDF_PrefixName.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • setRepeatedField

      public PB_RDF.RDF_PrefixName.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • addRepeatedField

      public PB_RDF.RDF_PrefixName.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • mergeFrom

      public PB_RDF.RDF_PrefixName.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PB_RDF.RDF_PrefixName.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • mergeFrom

      public PB_RDF.RDF_PrefixName.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PB_RDF.RDF_PrefixName.Builder>
      Throws:
      IOException
    • getPrefix

      public String getPrefix()
      string prefix = 1;
      Specified by:
      getPrefix in interface PB_RDF.RDF_PrefixNameOrBuilder
      Returns:
      The prefix.
    • getPrefixBytes

      public com.google.protobuf.ByteString getPrefixBytes()
      string prefix = 1;
      Specified by:
      getPrefixBytes in interface PB_RDF.RDF_PrefixNameOrBuilder
      Returns:
      The bytes for prefix.
    • setPrefix

      public PB_RDF.RDF_PrefixName.Builder setPrefix(String value)
      string prefix = 1;
      Parameters:
      value - The prefix to set.
      Returns:
      This builder for chaining.
    • clearPrefix

      public PB_RDF.RDF_PrefixName.Builder clearPrefix()
      string prefix = 1;
      Returns:
      This builder for chaining.
    • setPrefixBytes

      public PB_RDF.RDF_PrefixName.Builder setPrefixBytes(com.google.protobuf.ByteString value)
      string prefix = 1;
      Parameters:
      value - The bytes for prefix to set.
      Returns:
      This builder for chaining.
    • getLocalName

      public String getLocalName()
      string localName = 2;
      Specified by:
      getLocalName in interface PB_RDF.RDF_PrefixNameOrBuilder
      Returns:
      The localName.
    • getLocalNameBytes

      public com.google.protobuf.ByteString getLocalNameBytes()
      string localName = 2;
      Specified by:
      getLocalNameBytes in interface PB_RDF.RDF_PrefixNameOrBuilder
      Returns:
      The bytes for localName.
    • setLocalName

      public PB_RDF.RDF_PrefixName.Builder setLocalName(String value)
      string localName = 2;
      Parameters:
      value - The localName to set.
      Returns:
      This builder for chaining.
    • clearLocalName

      public PB_RDF.RDF_PrefixName.Builder clearLocalName()
      string localName = 2;
      Returns:
      This builder for chaining.
    • setLocalNameBytes

      public PB_RDF.RDF_PrefixName.Builder setLocalNameBytes(com.google.protobuf.ByteString value)
      string localName = 2;
      Parameters:
      value - The bytes for localName to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final PB_RDF.RDF_PrefixName.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>
    • mergeUnknownFields

      public final PB_RDF.RDF_PrefixName.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PB_RDF.RDF_PrefixName.Builder>