Class SteppedDurationStructure.Builder

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

public static final class SteppedDurationStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<SteppedDurationStructure.Builder> implements SteppedDurationStructureOrBuilder
 [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 552:51]
 
Protobuf type uk.org.netex.www.netex.SteppedDurationStructure
  • 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<SteppedDurationStructure.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<SteppedDurationStructure.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<SteppedDurationStructure.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SteppedDurationStructure.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<SteppedDurationStructure.Builder>
      Throws:
      IOException
    • hasInitialStepDuration

      public boolean hasInitialStepDuration()
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
      Specified by:
      hasInitialStepDuration in interface SteppedDurationStructureOrBuilder
      Returns:
      Whether the initialStepDuration field is set.
    • getInitialStepDuration

      public com.google.protobuf.Duration getInitialStepDuration()
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
      Specified by:
      getInitialStepDuration in interface SteppedDurationStructureOrBuilder
      Returns:
      The initialStepDuration.
    • setInitialStepDuration

      public SteppedDurationStructure.Builder setInitialStepDuration(com.google.protobuf.Duration value)
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
    • setInitialStepDuration

      public SteppedDurationStructure.Builder setInitialStepDuration(com.google.protobuf.Duration.Builder builderForValue)
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
    • mergeInitialStepDuration

      public SteppedDurationStructure.Builder mergeInitialStepDuration(com.google.protobuf.Duration value)
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
    • clearInitialStepDuration

      public SteppedDurationStructure.Builder clearInitialStepDuration()
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
    • getInitialStepDurationBuilder

      public com.google.protobuf.Duration.Builder getInitialStepDurationBuilder()
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
    • getInitialStepDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getInitialStepDurationOrBuilder()
       Duration of first step  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 557:64]
       
      .google.protobuf.Duration initial_step_duration = 1;
      Specified by:
      getInitialStepDurationOrBuilder in interface SteppedDurationStructureOrBuilder
    • hasSubsequentStepsDuration

      public boolean hasSubsequentStepsDuration()
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
      Specified by:
      hasSubsequentStepsDuration in interface SteppedDurationStructureOrBuilder
      Returns:
      Whether the subsequentStepsDuration field is set.
    • getSubsequentStepsDuration

      public com.google.protobuf.Duration getSubsequentStepsDuration()
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
      Specified by:
      getSubsequentStepsDuration in interface SteppedDurationStructureOrBuilder
      Returns:
      The subsequentStepsDuration.
    • setSubsequentStepsDuration

      public SteppedDurationStructure.Builder setSubsequentStepsDuration(com.google.protobuf.Duration value)
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
    • setSubsequentStepsDuration

      public SteppedDurationStructure.Builder setSubsequentStepsDuration(com.google.protobuf.Duration.Builder builderForValue)
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
    • mergeSubsequentStepsDuration

      public SteppedDurationStructure.Builder mergeSubsequentStepsDuration(com.google.protobuf.Duration value)
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
    • clearSubsequentStepsDuration

      public SteppedDurationStructure.Builder clearSubsequentStepsDuration()
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
    • getSubsequentStepsDurationBuilder

      public com.google.protobuf.Duration.Builder getSubsequentStepsDurationBuilder()
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
    • getSubsequentStepsDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getSubsequentStepsDurationOrBuilder()
       Duration of subsequent steps  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 562:68]
       
      .google.protobuf.Duration subsequent_steps_duration = 2;
      Specified by:
      getSubsequentStepsDurationOrBuilder in interface SteppedDurationStructureOrBuilder
    • hasMaximumDuration

      public boolean hasMaximumDuration()
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
      Specified by:
      hasMaximumDuration in interface SteppedDurationStructureOrBuilder
      Returns:
      Whether the maximumDuration field is set.
    • getMaximumDuration

      public com.google.protobuf.Duration getMaximumDuration()
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
      Specified by:
      getMaximumDuration in interface SteppedDurationStructureOrBuilder
      Returns:
      The maximumDuration.
    • setMaximumDuration

      public SteppedDurationStructure.Builder setMaximumDuration(com.google.protobuf.Duration value)
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
    • setMaximumDuration

      public SteppedDurationStructure.Builder setMaximumDuration(com.google.protobuf.Duration.Builder builderForValue)
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
    • mergeMaximumDuration

      public SteppedDurationStructure.Builder mergeMaximumDuration(com.google.protobuf.Duration value)
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
    • clearMaximumDuration

      public SteppedDurationStructure.Builder clearMaximumDuration()
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
    • getMaximumDurationBuilder

      public com.google.protobuf.Duration.Builder getMaximumDurationBuilder()
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
    • getMaximumDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getMaximumDurationOrBuilder()
       Maximum duration (upper limit for total duration)  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 567:74]
       
      .google.protobuf.Duration maximum_duration = 3;
      Specified by:
      getMaximumDurationOrBuilder in interface SteppedDurationStructureOrBuilder
    • getStepUnitValue

      public int getStepUnitValue()
       Unit in which steps are counted  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 572:65]
       
      .uk.org.netex.www.netex.StepLimitUnitEnumeration step_unit = 4;
      Specified by:
      getStepUnitValue in interface SteppedDurationStructureOrBuilder
      Returns:
      The enum numeric value on the wire for stepUnit.
    • setStepUnitValue

      public SteppedDurationStructure.Builder setStepUnitValue(int value)
       Unit in which steps are counted  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 572:65]
       
      .uk.org.netex.www.netex.StepLimitUnitEnumeration step_unit = 4;
      Parameters:
      value - The enum numeric value on the wire for stepUnit to set.
      Returns:
      This builder for chaining.
    • getStepUnit

      public StepLimitUnitEnumeration getStepUnit()
       Unit in which steps are counted  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 572:65]
       
      .uk.org.netex.www.netex.StepLimitUnitEnumeration step_unit = 4;
      Specified by:
      getStepUnit in interface SteppedDurationStructureOrBuilder
      Returns:
      The stepUnit.
    • setStepUnit

       Unit in which steps are counted  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 572:65]
       
      .uk.org.netex.www.netex.StepLimitUnitEnumeration step_unit = 4;
      Parameters:
      value - The stepUnit to set.
      Returns:
      This builder for chaining.
    • clearStepUnit

      public SteppedDurationStructure.Builder clearStepUnit()
       Unit in which steps are counted  [netex_part_3/part3_fares/netex_usageParameterTravel_version.xsd at 572:65]
       
      .uk.org.netex.www.netex.StepLimitUnitEnumeration step_unit = 4;
      Returns:
      This builder for chaining.