Class DutyPartsType.Builder

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

public static final class DutyPartsType.Builder extends com.google.protobuf.GeneratedMessage.Builder<DutyPartsType.Builder> implements DutyPartsTypeOrBuilder
 DUTY PARTs (Runs) in frame.  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 79:48]
 
Protobuf type uk.org.netex.www.netex.DutyPartsType
  • 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<DutyPartsType.Builder>
    • clear

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

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

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

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

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

      public DutyPartsType.Builder mergeFrom(DutyPartsType other)
    • isInitialized

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

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

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

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

      public DutyPartsType.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 DutyPartsType.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.
    • getDutyPartList

      public List<DutyPartType> getDutyPartList()
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
      Specified by:
      getDutyPartList in interface DutyPartsTypeOrBuilder
    • getDutyPartCount

      public int getDutyPartCount()
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
      Specified by:
      getDutyPartCount in interface DutyPartsTypeOrBuilder
    • getDutyPart

      public DutyPartType getDutyPart(int index)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
      Specified by:
      getDutyPart in interface DutyPartsTypeOrBuilder
    • setDutyPart

      public DutyPartsType.Builder setDutyPart(int index, DutyPartType value)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • setDutyPart

      public DutyPartsType.Builder setDutyPart(int index, DutyPartType.Builder builderForValue)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • addDutyPart

      public DutyPartsType.Builder addDutyPart(DutyPartType value)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • addDutyPart

      public DutyPartsType.Builder addDutyPart(int index, DutyPartType value)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • addDutyPart

      public DutyPartsType.Builder addDutyPart(DutyPartType.Builder builderForValue)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • addDutyPart

      public DutyPartsType.Builder addDutyPart(int index, DutyPartType.Builder builderForValue)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • addAllDutyPart

      public DutyPartsType.Builder addAllDutyPart(Iterable<? extends DutyPartType> values)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • clearDutyPart

      public DutyPartsType.Builder clearDutyPart()
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • removeDutyPart

      public DutyPartsType.Builder removeDutyPart(int index)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • getDutyPartBuilder

      public DutyPartType.Builder getDutyPartBuilder(int index)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • getDutyPartOrBuilder

      public DutyPartTypeOrBuilder getDutyPartOrBuilder(int index)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
      Specified by:
      getDutyPartOrBuilder in interface DutyPartsTypeOrBuilder
    • getDutyPartOrBuilderList

      public List<? extends DutyPartTypeOrBuilder> getDutyPartOrBuilderList()
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
      Specified by:
      getDutyPartOrBuilderList in interface DutyPartsTypeOrBuilder
    • addDutyPartBuilder

      public DutyPartType.Builder addDutyPartBuilder()
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • addDutyPartBuilder

      public DutyPartType.Builder addDutyPartBuilder(int index)
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;
    • getDutyPartBuilderList

      public List<DutyPartType.Builder> getDutyPartBuilderList()
       A continuous part of a driver DUTY during which (s)he is under the management of the company. A DUTY PART may include BREAKs. .  [netex_part_2/part2_vehicleService/netex_duty_version.xsd at 279:86]
       
      repeated .uk.org.netex.www.netex.DutyPartType duty_part = 3;