Class SingleJourneyRefs_RelStructure.Builder

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

public static final class SingleJourneyRefs_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<SingleJourneyRefs_RelStructure.Builder> implements SingleJourneyRefs_RelStructureOrBuilder
 Type for a list of SINGLE JOURNEYs.  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 60:57]
 
Protobuf type uk.org.netex.www.netex.SingleJourneyRefs_RelStructure
  • 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<SingleJourneyRefs_RelStructure.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<SingleJourneyRefs_RelStructure.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<SingleJourneyRefs_RelStructure.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public SingleJourneyRefs_RelStructure.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<SingleJourneyRefs_RelStructure.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Specified by:
      getId in interface SingleJourneyRefs_RelStructureOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Specified by:
      getIdBytes in interface SingleJourneyRefs_RelStructureOrBuilder
      Returns:
      The bytes for id.
    • setId

       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public SingleJourneyRefs_RelStructure.Builder setIdBytes(com.google.protobuf.ByteString value)
       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getModificationSetValue

      public int getModificationSetValue()
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Specified by:
      getModificationSetValue in interface SingleJourneyRefs_RelStructureOrBuilder
      Returns:
      The enum numeric value on the wire for modificationSet.
    • setModificationSetValue

      public SingleJourneyRefs_RelStructure.Builder setModificationSetValue(int value)
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Parameters:
      value - The enum numeric value on the wire for modificationSet to set.
      Returns:
      This builder for chaining.
    • getModificationSet

      public ModificationSetEnumeration getModificationSet()
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Specified by:
      getModificationSet in interface SingleJourneyRefs_RelStructureOrBuilder
      Returns:
      The modificationSet.
    • setModificationSet

       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Parameters:
      value - The modificationSet to set.
      Returns:
      This builder for chaining.
    • clearModificationSet

      public SingleJourneyRefs_RelStructure.Builder clearModificationSet()
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Returns:
      This builder for chaining.
    • hasSingleJourneyRef

      public boolean hasSingleJourneyRef()
       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
      Specified by:
      hasSingleJourneyRef in interface SingleJourneyRefs_RelStructureOrBuilder
      Returns:
      Whether the singleJourneyRef field is set.
    • getSingleJourneyRef

      public VersionOfObjectRefStructure getSingleJourneyRef()
       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
      Specified by:
      getSingleJourneyRef in interface SingleJourneyRefs_RelStructureOrBuilder
      Returns:
      The singleJourneyRef.
    • setSingleJourneyRef

       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
    • setSingleJourneyRef

       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
    • mergeSingleJourneyRef

       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
    • clearSingleJourneyRef

      public SingleJourneyRefs_RelStructure.Builder clearSingleJourneyRef()
       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
    • getSingleJourneyRefBuilder

      public VersionOfObjectRefStructure.Builder getSingleJourneyRefBuilder()
       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
    • getSingleJourneyRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getSingleJourneyRefOrBuilder()
       Reference to a SINGLE JOURNEY. +v1.2.2  [netex_part_5/part5_sj/netex_nm_singleJourneyService_support.xsd at 78:103]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure single_journey_ref = 3;
      Specified by:
      getSingleJourneyRefOrBuilder in interface SingleJourneyRefs_RelStructureOrBuilder