Class FareContractsInFrame_RelStructure.Builder

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

public static final class FareContractsInFrame_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<FareContractsInFrame_RelStructure.Builder> implements FareContractsInFrame_RelStructureOrBuilder
 Type for containment in frame of SALES FARE CONTRACTs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 137:60]
 
Protobuf type uk.org.netex.www.netex.FareContractsInFrame_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<FareContractsInFrame_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<FareContractsInFrame_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<FareContractsInFrame_RelStructure.Builder>
    • getDefaultInstanceForType

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

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

      public FareContractsInFrame_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<FareContractsInFrame_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 FareContractsInFrame_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 FareContractsInFrame_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 FareContractsInFrame_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.
    • getFareContractList

      public List<FareContractType> getFareContractList()
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
      Specified by:
      getFareContractList in interface FareContractsInFrame_RelStructureOrBuilder
    • getFareContractCount

      public int getFareContractCount()
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
      Specified by:
      getFareContractCount in interface FareContractsInFrame_RelStructureOrBuilder
    • getFareContract

      public FareContractType getFareContract(int index)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
      Specified by:
      getFareContract in interface FareContractsInFrame_RelStructureOrBuilder
    • setFareContract

      public FareContractsInFrame_RelStructure.Builder setFareContract(int index, FareContractType value)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • setFareContract

      public FareContractsInFrame_RelStructure.Builder setFareContract(int index, FareContractType.Builder builderForValue)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • addFareContract

       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • addFareContract

      public FareContractsInFrame_RelStructure.Builder addFareContract(int index, FareContractType value)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • addFareContract

      public FareContractsInFrame_RelStructure.Builder addFareContract(FareContractType.Builder builderForValue)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • addFareContract

      public FareContractsInFrame_RelStructure.Builder addFareContract(int index, FareContractType.Builder builderForValue)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • addAllFareContract

      public FareContractsInFrame_RelStructure.Builder addAllFareContract(Iterable<? extends FareContractType> values)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • clearFareContract

      public FareContractsInFrame_RelStructure.Builder clearFareContract()
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • removeFareContract

      public FareContractsInFrame_RelStructure.Builder removeFareContract(int index)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • getFareContractBuilder

      public FareContractType.Builder getFareContractBuilder(int index)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • getFareContractOrBuilder

      public FareContractTypeOrBuilder getFareContractOrBuilder(int index)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
      Specified by:
      getFareContractOrBuilder in interface FareContractsInFrame_RelStructureOrBuilder
    • getFareContractOrBuilderList

      public List<? extends FareContractTypeOrBuilder> getFareContractOrBuilderList()
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
      Specified by:
      getFareContractOrBuilderList in interface FareContractsInFrame_RelStructureOrBuilder
    • addFareContractBuilder

      public FareContractType.Builder addFareContractBuilder()
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • addFareContractBuilder

      public FareContractType.Builder addFareContractBuilder(int index)
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;
    • getFareContractBuilderList

      public List<FareContractType.Builder> getFareContractBuilderList()
       A contract with a particular (but possibly anonymous) customer, ruling the consumption of transport services (and joint services). A FARE CONTRACT may be designed for a fixed SALES OFFER PACKAGE (e.g. ticket) or to allow successive purchases of SALES OFFER PACKAGEs.  [netex_part_3/part3_salesTransactions/netex_salesContract_version.xsd at 341:90]
       
      repeated .uk.org.netex.www.netex.FareContractType fare_contract = 2;