Class PriceRuleStepResults_RelStructure.Builder

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

public static final class PriceRuleStepResults_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<PriceRuleStepResults_RelStructure.Builder> implements PriceRuleStepResults_RelStructureOrBuilder
 Type for a list of rules step calculation results  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 324:60]
 
Protobuf type uk.org.netex.www.netex.PriceRuleStepResults_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<PriceRuleStepResults_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<PriceRuleStepResults_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<PriceRuleStepResults_RelStructure.Builder>
    • getDefaultInstanceForType

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

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

      public PriceRuleStepResults_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<PriceRuleStepResults_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 PriceRuleStepResults_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 PriceRuleStepResults_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 PriceRuleStepResults_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.
    • getRuleStepResultList

      public List<PriceRuleStepResultStructure> getRuleStepResultList()
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
      Specified by:
      getRuleStepResultList in interface PriceRuleStepResults_RelStructureOrBuilder
    • getRuleStepResultCount

      public int getRuleStepResultCount()
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
      Specified by:
      getRuleStepResultCount in interface PriceRuleStepResults_RelStructureOrBuilder
    • getRuleStepResult

      public PriceRuleStepResultStructure getRuleStepResult(int index)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
      Specified by:
      getRuleStepResult in interface PriceRuleStepResults_RelStructureOrBuilder
    • setRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder setRuleStepResult(int index, PriceRuleStepResultStructure value)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • setRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder setRuleStepResult(int index, PriceRuleStepResultStructure.Builder builderForValue)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • addRuleStepResult

       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • addRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder addRuleStepResult(int index, PriceRuleStepResultStructure value)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • addRuleStepResult

       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • addRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder addRuleStepResult(int index, PriceRuleStepResultStructure.Builder builderForValue)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • addAllRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder addAllRuleStepResult(Iterable<? extends PriceRuleStepResultStructure> values)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • clearRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder clearRuleStepResult()
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • removeRuleStepResult

      public PriceRuleStepResults_RelStructure.Builder removeRuleStepResult(int index)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • getRuleStepResultBuilder

      public PriceRuleStepResultStructure.Builder getRuleStepResultBuilder(int index)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • getRuleStepResultOrBuilder

      public PriceRuleStepResultStructureOrBuilder getRuleStepResultOrBuilder(int index)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
      Specified by:
      getRuleStepResultOrBuilder in interface PriceRuleStepResults_RelStructureOrBuilder
    • getRuleStepResultOrBuilderList

      public List<? extends PriceRuleStepResultStructureOrBuilder> getRuleStepResultOrBuilderList()
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
      Specified by:
      getRuleStepResultOrBuilderList in interface PriceRuleStepResults_RelStructureOrBuilder
    • addRuleStepResultBuilder

      public PriceRuleStepResultStructure.Builder addRuleStepResultBuilder()
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • addRuleStepResultBuilder

      public PriceRuleStepResultStructure.Builder addRuleStepResultBuilder(int index)
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;
    • getRuleStepResultBuilderList

      public List<PriceRuleStepResultStructure.Builder> getRuleStepResultBuilderList()
       Record of amount deducted by a price rule calculation, e.g. an additional tax step. If PRICING RULES are chained there may be multiple steps to record. The source of the input price can be indicated by a FARE PRICE REF of some sort. The RULE STEP RESULT Amount is the resulting  net price after the pricing rule has been applied to the input amount. The RULE STEP RESULT  Adjustment Amount is  the difference beteen the original input price and the RULE STEP RESULT  Amount (so it is possible to derive the input price amount  by adding the the Adjustment to the  Net Amount.  A similar computation can be done for any units.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 331:99]
       
      repeated .uk.org.netex.www.netex.PriceRuleStepResultStructure rule_step_result = 2;