Class CodespaceType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CodespaceType.Builder>
com.google.protobuf.GeneratedMessage.Builder<CodespaceType.Builder>
uk.org.netex.www.netex.CodespaceType.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, CodespaceTypeOrBuilder
Enclosing class:
CodespaceType

public static final class CodespaceType.Builder extends com.google.protobuf.GeneratedMessage.Builder<CodespaceType.Builder> implements CodespaceTypeOrBuilder
 A system for uniquely identifying objects of a given type. Used for the distributed management of objects from many different sources. For example eachregion of a country may be given a different codespace to use when allocating stop identifieres which will be unique within a country.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 71:49]
 
Protobuf type uk.org.netex.www.netex.CodespaceType
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CodespaceType.Builder>
    • clear

      public CodespaceType.Builder 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.GeneratedMessage.Builder<CodespaceType.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.GeneratedMessage.Builder<CodespaceType.Builder>
    • getDefaultInstanceForType

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

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

      public CodespaceType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CodespaceType.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<CodespaceType.Builder>
    • mergeFrom

      public CodespaceType.Builder mergeFrom(CodespaceType other)
    • isInitialized

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

      public CodespaceType.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<CodespaceType.Builder>
      Throws:
      IOException
    • getDataSourceRef

      public String getDataSourceRef()
       Data Source of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 129:65]
       
      string data_source_ref = 3;
      Specified by:
      getDataSourceRef in interface CodespaceTypeOrBuilder
      Returns:
      The dataSourceRef.
    • getDataSourceRefBytes

      public com.google.protobuf.ByteString getDataSourceRefBytes()
       Data Source of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 129:65]
       
      string data_source_ref = 3;
      Specified by:
      getDataSourceRefBytes in interface CodespaceTypeOrBuilder
      Returns:
      The bytes for dataSourceRef.
    • setDataSourceRef

      public CodespaceType.Builder setDataSourceRef(String value)
       Data Source of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 129:65]
       
      string data_source_ref = 3;
      Parameters:
      value - The dataSourceRef to set.
      Returns:
      This builder for chaining.
    • clearDataSourceRef

      public CodespaceType.Builder clearDataSourceRef()
       Data Source of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 129:65]
       
      string data_source_ref = 3;
      Returns:
      This builder for chaining.
    • setDataSourceRefBytes

      public CodespaceType.Builder setDataSourceRefBytes(com.google.protobuf.ByteString value)
       Data Source of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 129:65]
       
      string data_source_ref = 3;
      Parameters:
      value - The bytes for dataSourceRef to set.
      Returns:
      This builder for chaining.
    • getId

      public String getId()
       Identifier of CODESPACE.  May be the same as Xmlns prefix.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 97:69]
       
      string id = 11;
      Specified by:
      getId in interface CodespaceTypeOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of CODESPACE.  May be the same as Xmlns prefix.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 97:69]
       
      string id = 11;
      Specified by:
      getIdBytes in interface CodespaceTypeOrBuilder
      Returns:
      The bytes for id.
    • setId

      public CodespaceType.Builder setId(String value)
       Identifier of CODESPACE.  May be the same as Xmlns prefix.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 97:69]
       
      string id = 11;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public CodespaceType.Builder clearId()
       Identifier of CODESPACE.  May be the same as Xmlns prefix.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 97:69]
       
      string id = 11;
      Returns:
      This builder for chaining.
    • setIdBytes

      public CodespaceType.Builder setIdBytes(com.google.protobuf.ByteString value)
       Identifier of CODESPACE.  May be the same as Xmlns prefix.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 97:69]
       
      string id = 11;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getXmlns

      public String getXmlns()
       Prefix used to identify CODESPACE, e.g. 'napt', 'oda', 'ratp' etc.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 80:57]
       
      string xmlns = 12;
      Specified by:
      getXmlns in interface CodespaceTypeOrBuilder
      Returns:
      The xmlns.
    • getXmlnsBytes

      public com.google.protobuf.ByteString getXmlnsBytes()
       Prefix used to identify CODESPACE, e.g. 'napt', 'oda', 'ratp' etc.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 80:57]
       
      string xmlns = 12;
      Specified by:
      getXmlnsBytes in interface CodespaceTypeOrBuilder
      Returns:
      The bytes for xmlns.
    • setXmlns

      public CodespaceType.Builder setXmlns(String value)
       Prefix used to identify CODESPACE, e.g. 'napt', 'oda', 'ratp' etc.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 80:57]
       
      string xmlns = 12;
      Parameters:
      value - The xmlns to set.
      Returns:
      This builder for chaining.
    • clearXmlns

      public CodespaceType.Builder clearXmlns()
       Prefix used to identify CODESPACE, e.g. 'napt', 'oda', 'ratp' etc.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 80:57]
       
      string xmlns = 12;
      Returns:
      This builder for chaining.
    • setXmlnsBytes

      public CodespaceType.Builder setXmlnsBytes(com.google.protobuf.ByteString value)
       Prefix used to identify CODESPACE, e.g. 'napt', 'oda', 'ratp' etc.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 80:57]
       
      string xmlns = 12;
      Parameters:
      value - The bytes for xmlns to set.
      Returns:
      This builder for chaining.
    • getXmlnsUrl

      public String getXmlnsUrl()
       CODESPACE path. The URL associated which with the CODESPACE defines a unique system for identifying objects within the CODESPACE.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 85:69]
       
      string xmlns_url = 13;
      Specified by:
      getXmlnsUrl in interface CodespaceTypeOrBuilder
      Returns:
      The xmlnsUrl.
    • getXmlnsUrlBytes

      public com.google.protobuf.ByteString getXmlnsUrlBytes()
       CODESPACE path. The URL associated which with the CODESPACE defines a unique system for identifying objects within the CODESPACE.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 85:69]
       
      string xmlns_url = 13;
      Specified by:
      getXmlnsUrlBytes in interface CodespaceTypeOrBuilder
      Returns:
      The bytes for xmlnsUrl.
    • setXmlnsUrl

      public CodespaceType.Builder setXmlnsUrl(String value)
       CODESPACE path. The URL associated which with the CODESPACE defines a unique system for identifying objects within the CODESPACE.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 85:69]
       
      string xmlns_url = 13;
      Parameters:
      value - The xmlnsUrl to set.
      Returns:
      This builder for chaining.
    • clearXmlnsUrl

      public CodespaceType.Builder clearXmlnsUrl()
       CODESPACE path. The URL associated which with the CODESPACE defines a unique system for identifying objects within the CODESPACE.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 85:69]
       
      string xmlns_url = 13;
      Returns:
      This builder for chaining.
    • setXmlnsUrlBytes

      public CodespaceType.Builder setXmlnsUrlBytes(com.google.protobuf.ByteString value)
       CODESPACE path. The URL associated which with the CODESPACE defines a unique system for identifying objects within the CODESPACE.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 85:69]
       
      string xmlns_url = 13;
      Parameters:
      value - The bytes for xmlnsUrl to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description of CODESPACE. This is for internal systems use only.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 90:72]
       
      string description = 14;
      Specified by:
      getDescription in interface CodespaceTypeOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of CODESPACE. This is for internal systems use only.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 90:72]
       
      string description = 14;
      Specified by:
      getDescriptionBytes in interface CodespaceTypeOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public CodespaceType.Builder setDescription(String value)
       Description of CODESPACE. This is for internal systems use only.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 90:72]
       
      string description = 14;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public CodespaceType.Builder clearDescription()
       Description of CODESPACE. This is for internal systems use only.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 90:72]
       
      string description = 14;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public CodespaceType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of CODESPACE. This is for internal systems use only.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 90:72]
       
      string description = 14;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.