Class Roundings_RelStructure.Builder

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

public static final class Roundings_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<Roundings_RelStructure.Builder> implements Roundings_RelStructureOrBuilder
 Set of FARE ROUNDING parameters such as rounding steps.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 227:49]
 
Protobuf type uk.org.netex.www.netex.Roundings_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<Roundings_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<Roundings_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<Roundings_RelStructure.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public Roundings_RelStructure.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

       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public Roundings_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.
    • getRoundingList

      public List<RoundingType> getRoundingList()
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
      Specified by:
      getRoundingList in interface Roundings_RelStructureOrBuilder
    • getRoundingCount

      public int getRoundingCount()
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
      Specified by:
      getRoundingCount in interface Roundings_RelStructureOrBuilder
    • getRounding

      public RoundingType getRounding(int index)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
      Specified by:
      getRounding in interface Roundings_RelStructureOrBuilder
    • setRounding

      public Roundings_RelStructure.Builder setRounding(int index, RoundingType value)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • setRounding

      public Roundings_RelStructure.Builder setRounding(int index, RoundingType.Builder builderForValue)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • addRounding

      public Roundings_RelStructure.Builder addRounding(RoundingType value)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • addRounding

      public Roundings_RelStructure.Builder addRounding(int index, RoundingType value)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • addRounding

      public Roundings_RelStructure.Builder addRounding(RoundingType.Builder builderForValue)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • addRounding

      public Roundings_RelStructure.Builder addRounding(int index, RoundingType.Builder builderForValue)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • addAllRounding

      public Roundings_RelStructure.Builder addAllRounding(Iterable<? extends RoundingType> values)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • clearRounding

      public Roundings_RelStructure.Builder clearRounding()
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • removeRounding

      public Roundings_RelStructure.Builder removeRounding(int index)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • getRoundingBuilder

      public RoundingType.Builder getRoundingBuilder(int index)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • getRoundingOrBuilder

      public RoundingTypeOrBuilder getRoundingOrBuilder(int index)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
      Specified by:
      getRoundingOrBuilder in interface Roundings_RelStructureOrBuilder
    • getRoundingOrBuilderList

      public List<? extends RoundingTypeOrBuilder> getRoundingOrBuilderList()
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
      Specified by:
      getRoundingOrBuilderList in interface Roundings_RelStructureOrBuilder
    • addRoundingBuilder

      public RoundingType.Builder addRoundingBuilder()
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • addRoundingBuilder

      public RoundingType.Builder addRoundingBuilder(int index)
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;
    • getRoundingBuilderList

      public List<RoundingType.Builder> getRoundingBuilderList()
       Parameters describing how the results of calculations are to be rounded to the nearest quantum.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 239:83]
       
      repeated .uk.org.netex.www.netex.RoundingType rounding = 2;