Class VehicleTypePreferences_RelStructure.Builder

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

public static final class VehicleTypePreferences_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<VehicleTypePreferences_RelStructure.Builder> implements VehicleTypePreferences_RelStructureOrBuilder
 Type for a list of VEHICLE TYPE PREFERENCEs.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 301:62]
 
Protobuf type uk.org.netex.www.netex.VehicleTypePreferences_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<VehicleTypePreferences_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<VehicleTypePreferences_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<VehicleTypePreferences_RelStructure.Builder>
    • getDefaultInstanceForType

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

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

      public VehicleTypePreferences_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<VehicleTypePreferences_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 VehicleTypePreferences_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 VehicleTypePreferences_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 VehicleTypePreferences_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.
    • getVehicleTypePreferenceList

      public List<VehicleTypePreferenceType> getVehicleTypePreferenceList()
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
      Specified by:
      getVehicleTypePreferenceList in interface VehicleTypePreferences_RelStructureOrBuilder
    • getVehicleTypePreferenceCount

      public int getVehicleTypePreferenceCount()
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
      Specified by:
      getVehicleTypePreferenceCount in interface VehicleTypePreferences_RelStructureOrBuilder
    • getVehicleTypePreference

      public VehicleTypePreferenceType getVehicleTypePreference(int index)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
      Specified by:
      getVehicleTypePreference in interface VehicleTypePreferences_RelStructureOrBuilder
    • setVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder setVehicleTypePreference(int index, VehicleTypePreferenceType value)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • setVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder setVehicleTypePreference(int index, VehicleTypePreferenceType.Builder builderForValue)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • addVehicleTypePreference

       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • addVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder addVehicleTypePreference(int index, VehicleTypePreferenceType value)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • addVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder addVehicleTypePreference(VehicleTypePreferenceType.Builder builderForValue)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • addVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder addVehicleTypePreference(int index, VehicleTypePreferenceType.Builder builderForValue)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • addAllVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder addAllVehicleTypePreference(Iterable<? extends VehicleTypePreferenceType> values)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • clearVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder clearVehicleTypePreference()
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • removeVehicleTypePreference

      public VehicleTypePreferences_RelStructure.Builder removeVehicleTypePreference(int index)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • getVehicleTypePreferenceBuilder

      public VehicleTypePreferenceType.Builder getVehicleTypePreferenceBuilder(int index)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • getVehicleTypePreferenceOrBuilder

      public VehicleTypePreferenceTypeOrBuilder getVehicleTypePreferenceOrBuilder(int index)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
      Specified by:
      getVehicleTypePreferenceOrBuilder in interface VehicleTypePreferences_RelStructureOrBuilder
    • getVehicleTypePreferenceOrBuilderList

      public List<? extends VehicleTypePreferenceTypeOrBuilder> getVehicleTypePreferenceOrBuilderList()
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
      Specified by:
      getVehicleTypePreferenceOrBuilderList in interface VehicleTypePreferences_RelStructureOrBuilder
    • addVehicleTypePreferenceBuilder

      public VehicleTypePreferenceType.Builder addVehicleTypePreferenceBuilder()
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • addVehicleTypePreferenceBuilder

      public VehicleTypePreferenceType.Builder addVehicleTypePreferenceBuilder(int index)
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;
    • getVehicleTypePreferenceBuilderList

      public List<VehicleTypePreferenceType.Builder> getVehicleTypePreferenceBuilderList()
       The preference for the use of a particular VEHICLE TYPE for a SERVICE JOURNEY PATTERN, depending on the DAY TYPE and TIME DEMAND TYPE. The rank of preferences must be recorded. Different VEHICLE TYPEs may be given the same rank.  [netex_part_1/part1_tacticalPlanning/netex_timeDemandType_version.xsd at 313:96]
       
      repeated .uk.org.netex.www.netex.VehicleTypePreferenceType vehicle_type_preference = 2;