Class DutiesInFrame_RelStructure.Builder

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

public static final class DutiesInFrame_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<DutiesInFrame_RelStructure.Builder> implements DutiesInFrame_RelStructureOrBuilder
 Type for containment in frame of DUTies.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 96:53]
 
Protobuf type uk.org.netex.www.netex.DutiesInFrame_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<DutiesInFrame_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<DutiesInFrame_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<DutiesInFrame_RelStructure.Builder>
    • getDefaultInstanceForType

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

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

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

      public DutiesInFrame_RelStructure.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 DutiesInFrame_RelStructureOrBuilder
      Returns:
      The modificationSet.
    • setModificationSet

       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 DutiesInFrame_RelStructure.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.
    • getDutyList

      public List<DutyType> getDutyList()
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
      Specified by:
      getDutyList in interface DutiesInFrame_RelStructureOrBuilder
    • getDutyCount

      public int getDutyCount()
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
      Specified by:
      getDutyCount in interface DutiesInFrame_RelStructureOrBuilder
    • getDuty

      public DutyType getDuty(int index)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
      Specified by:
      getDuty in interface DutiesInFrame_RelStructureOrBuilder
    • setDuty

      public DutiesInFrame_RelStructure.Builder setDuty(int index, DutyType value)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • setDuty

      public DutiesInFrame_RelStructure.Builder setDuty(int index, DutyType.Builder builderForValue)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • addDuty

       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • addDuty

      public DutiesInFrame_RelStructure.Builder addDuty(int index, DutyType value)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • addDuty

      public DutiesInFrame_RelStructure.Builder addDuty(DutyType.Builder builderForValue)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • addDuty

      public DutiesInFrame_RelStructure.Builder addDuty(int index, DutyType.Builder builderForValue)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • addAllDuty

      public DutiesInFrame_RelStructure.Builder addAllDuty(Iterable<? extends DutyType> values)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • clearDuty

       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • removeDuty

      public DutiesInFrame_RelStructure.Builder removeDuty(int index)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • getDutyBuilder

      public DutyType.Builder getDutyBuilder(int index)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • getDutyOrBuilder

      public DutyTypeOrBuilder getDutyOrBuilder(int index)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
      Specified by:
      getDutyOrBuilder in interface DutiesInFrame_RelStructureOrBuilder
    • getDutyOrBuilderList

      public List<? extends DutyTypeOrBuilder> getDutyOrBuilderList()
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
      Specified by:
      getDutyOrBuilderList in interface DutiesInFrame_RelStructureOrBuilder
    • addDutyBuilder

      public DutyType.Builder addDutyBuilder()
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • addDutyBuilder

      public DutyType.Builder addDutyBuilder(int index)
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;
    • getDutyBuilderList

      public List<DutyType.Builder> getDutyBuilderList()
       The work to be performed by a driver on a particular DAY TYPE.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 133:82]
       
      repeated .uk.org.netex.www.netex.DutyType duty = 3;