Class JourneyPartRefs_RelStructure.Builder

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

public static final class JourneyPartRefs_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<JourneyPartRefs_RelStructure.Builder> implements JourneyPartRefs_RelStructureOrBuilder
 Type for a list of JOURNEY PARTs.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 119:55]
 
Protobuf type uk.org.netex.www.netex.JourneyPartRefs_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<JourneyPartRefs_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<JourneyPartRefs_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<JourneyPartRefs_RelStructure.Builder>
    • getDefaultInstanceForType

      public JourneyPartRefs_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 JourneyPartRefs_RelStructure buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public JourneyPartRefs_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<JourneyPartRefs_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 JourneyPartRefs_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 JourneyPartRefs_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 JourneyPartRefs_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 JourneyPartRefs_RelStructureOrBuilder
      Returns:
      The enum numeric value on the wire for modificationSet.
    • setModificationSetValue

      public JourneyPartRefs_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 JourneyPartRefs_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 JourneyPartRefs_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.
    • getJourneyPartRefList

      public List<GroupOfEntitiesRefStructure> getJourneyPartRefList()
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
      Specified by:
      getJourneyPartRefList in interface JourneyPartRefs_RelStructureOrBuilder
    • getJourneyPartRefCount

      public int getJourneyPartRefCount()
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
      Specified by:
      getJourneyPartRefCount in interface JourneyPartRefs_RelStructureOrBuilder
    • getJourneyPartRef

      public GroupOfEntitiesRefStructure getJourneyPartRef(int index)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
      Specified by:
      getJourneyPartRef in interface JourneyPartRefs_RelStructureOrBuilder
    • setJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder setJourneyPartRef(int index, GroupOfEntitiesRefStructure value)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • setJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder setJourneyPartRef(int index, GroupOfEntitiesRefStructure.Builder builderForValue)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • addJourneyPartRef

       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • addJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder addJourneyPartRef(int index, GroupOfEntitiesRefStructure value)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • addJourneyPartRef

       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • addJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder addJourneyPartRef(int index, GroupOfEntitiesRefStructure.Builder builderForValue)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • addAllJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder addAllJourneyPartRef(Iterable<? extends GroupOfEntitiesRefStructure> values)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • clearJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder clearJourneyPartRef()
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • removeJourneyPartRef

      public JourneyPartRefs_RelStructure.Builder removeJourneyPartRef(int index)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • getJourneyPartRefBuilder

      public GroupOfEntitiesRefStructure.Builder getJourneyPartRefBuilder(int index)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • getJourneyPartRefOrBuilder

      public GroupOfEntitiesRefStructureOrBuilder getJourneyPartRefOrBuilder(int index)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
      Specified by:
      getJourneyPartRefOrBuilder in interface JourneyPartRefs_RelStructureOrBuilder
    • getJourneyPartRefOrBuilderList

      public List<? extends GroupOfEntitiesRefStructureOrBuilder> getJourneyPartRefOrBuilderList()
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
      Specified by:
      getJourneyPartRefOrBuilderList in interface JourneyPartRefs_RelStructureOrBuilder
    • addJourneyPartRefBuilder

      public GroupOfEntitiesRefStructure.Builder addJourneyPartRefBuilder()
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • addJourneyPartRefBuilder

      public GroupOfEntitiesRefStructure.Builder addJourneyPartRefBuilder(int index)
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;
    • getJourneyPartRefBuilderList

      public List<GroupOfEntitiesRefStructure.Builder> getJourneyPartRefBuilderList()
       Reference to a JOURNEY PART.  [netex_part_2/part2_journeyTimes/netex_coupledJourney_support.xsd at 100:107]
       
      repeated .uk.org.netex.www.netex.GroupOfEntitiesRefStructure journey_part_ref = 3;