Class FareContractsInFrame_RelStructure

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
uk.org.netex.www.netex.FareContractsInFrame_RelStructure
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, FareContractsInFrame_RelStructureOrBuilder

public final class FareContractsInFrame_RelStructure extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

  • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FareContractsInFrame_RelStructure parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FareContractsInFrame_RelStructure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FareContractsInFrame_RelStructure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FareContractsInFrame_RelStructure.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FareContractsInFrame_RelStructure.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FareContractsInFrame_RelStructure.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FareContractsInFrame_RelStructure getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FareContractsInFrame_RelStructure> parser()
    • getParserForType

      public com.google.protobuf.Parser<FareContractsInFrame_RelStructure> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FareContractsInFrame_RelStructure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder