Class TrainElementsType.Builder

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

public static final class TrainElementsType.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrainElementsType.Builder> implements TrainElementsTypeOrBuilder
 Train elements to which SCHEDULED STOP POINT is to be assigned.  [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 206:52]
 
Protobuf type uk.org.netex.www.netex.TrainElementsType
  • 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<TrainElementsType.Builder>
    • clear

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

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

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

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

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

      public TrainElementsType.Builder mergeFrom(TrainElementsType other)
    • isInitialized

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

      public TrainElementsType.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<TrainElementsType.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 TrainElementsTypeOrBuilder
      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 TrainElementsTypeOrBuilder
      Returns:
      The bytes for id.
    • setId

      public TrainElementsType.Builder setId(String value)
       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

      public TrainElementsType.Builder 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 TrainElementsType.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 198:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Specified by:
      getModificationSetValue in interface TrainElementsTypeOrBuilder
      Returns:
      The enum numeric value on the wire for modificationSet.
    • setModificationSetValue

      public TrainElementsType.Builder setModificationSetValue(int value)
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 198: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 198:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Specified by:
      getModificationSet in interface TrainElementsTypeOrBuilder
      Returns:
      The modificationSet.
    • setModificationSet

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

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

      public List<ChoiceWrapper_TrainStopAssignments_RelStructure> getChoiceWrapperList()
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
      Specified by:
      getChoiceWrapperList in interface TrainElementsTypeOrBuilder
    • getChoiceWrapperCount

      public int getChoiceWrapperCount()
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
      Specified by:
      getChoiceWrapperCount in interface TrainElementsTypeOrBuilder
    • getChoiceWrapper

      public ChoiceWrapper_TrainStopAssignments_RelStructure getChoiceWrapper(int index)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
      Specified by:
      getChoiceWrapper in interface TrainElementsTypeOrBuilder
    • setChoiceWrapper

       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • setChoiceWrapper

      public TrainElementsType.Builder setChoiceWrapper(int index, ChoiceWrapper_TrainStopAssignments_RelStructure.Builder builderForValue)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • addChoiceWrapper

       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • addChoiceWrapper

       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • addChoiceWrapper

       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • addChoiceWrapper

      public TrainElementsType.Builder addChoiceWrapper(int index, ChoiceWrapper_TrainStopAssignments_RelStructure.Builder builderForValue)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • addAllChoiceWrapper

       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • clearChoiceWrapper

      public TrainElementsType.Builder clearChoiceWrapper()
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • removeChoiceWrapper

      public TrainElementsType.Builder removeChoiceWrapper(int index)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • getChoiceWrapperBuilder

      public ChoiceWrapper_TrainStopAssignments_RelStructure.Builder getChoiceWrapperBuilder(int index)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • getChoiceWrapperOrBuilder

      public ChoiceWrapper_TrainStopAssignments_RelStructureOrBuilder getChoiceWrapperOrBuilder(int index)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
      Specified by:
      getChoiceWrapperOrBuilder in interface TrainElementsTypeOrBuilder
    • getChoiceWrapperOrBuilderList

      public List<? extends ChoiceWrapper_TrainStopAssignments_RelStructureOrBuilder> getChoiceWrapperOrBuilderList()
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
      Specified by:
      getChoiceWrapperOrBuilderList in interface TrainElementsTypeOrBuilder
    • addChoiceWrapperBuilder

       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • addChoiceWrapperBuilder

      public ChoiceWrapper_TrainStopAssignments_RelStructure.Builder addChoiceWrapperBuilder(int index)
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;
    • getChoiceWrapperBuilderList

      public List<ChoiceWrapper_TrainStopAssignments_RelStructure.Builder> getChoiceWrapperBuilderList()
       [netex_part_1/part1_tacticalPlanning/netex_stopAssignment_version.xsd at 285:39]
       
      repeated .uk.org.netex.www.netex.ChoiceWrapper_TrainStopAssignments_RelStructure choice_wrapper = 3;