Class CompanionProfileType

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

public final class CompanionProfileType extends com.google.protobuf.GeneratedMessage implements CompanionProfileTypeOrBuilder
 The number and characteristics (weight, volume) of luggage that a holder of an access right is entitled to carry.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 415:92]
 
Protobuf type uk.org.netex.www.netex.CompanionProfileType
See Also:
  • Field Details

    • CREATED_FIELD_NUMBER

      public static final int CREATED_FIELD_NUMBER
      See Also:
    • CHANGED_FIELD_NUMBER

      public static final int CHANGED_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • DERIVED_FROM_VERSION_REF_FIELD_NUMBER

      public static final int DERIVED_FROM_VERSION_REF_FIELD_NUMBER
      See Also:
    • DERIVED_FROM_OBJECT_REF_FIELD_NUMBER

      public static final int DERIVED_FROM_OBJECT_REF_FIELD_NUMBER
      See Also:
    • VALIDITY_CONDITIONS_FIELD_NUMBER

      public static final int VALIDITY_CONDITIONS_FIELD_NUMBER
      See Also:
    • VALID_BETWEEN_FIELD_NUMBER

      public static final int VALID_BETWEEN_FIELD_NUMBER
      See Also:
    • ALTERNATIVE_TEXTS_FIELD_NUMBER

      public static final int ALTERNATIVE_TEXTS_FIELD_NUMBER
      See Also:
    • KEY_LIST_FIELD_NUMBER

      public static final int KEY_LIST_FIELD_NUMBER
      See Also:
    • EXTENSIONS_FIELD_NUMBER

      public static final int EXTENSIONS_FIELD_NUMBER
      See Also:
    • BRANDING_REF_FIELD_NUMBER

      public static final int BRANDING_REF_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • URL_FIELD_NUMBER

      public static final int URL_FIELD_NUMBER
      See Also:
    • ALTERNATIVE_NAMES_FIELD_NUMBER

      public static final int ALTERNATIVE_NAMES_FIELD_NUMBER
      See Also:
    • NOTICE_ASSIGNMENTS_FIELD_NUMBER

      public static final int NOTICE_ASSIGNMENTS_FIELD_NUMBER
      See Also:
    • TYPE_OF_USAGE_PARAMETER_REF_FIELD_NUMBER

      public static final int TYPE_OF_USAGE_PARAMETER_REF_FIELD_NUMBER
      See Also:
    • PRICES_FIELD_NUMBER

      public static final int PRICES_FIELD_NUMBER
      See Also:
    • PARENT_REF_FIELD_NUMBER

      public static final int PARENT_REF_FIELD_NUMBER
      See Also:
    • COMPANION_RELATIONSHIP_TYPE_FIELD_NUMBER

      public static final int COMPANION_RELATIONSHIP_TYPE_FIELD_NUMBER
      See Also:
    • MINIMUM_NUMBER_OF_PERSONS_FIELD_NUMBER

      public static final int MINIMUM_NUMBER_OF_PERSONS_FIELD_NUMBER
      See Also:
    • MAXIMUM_NUMBER_OF_PERSONS_FIELD_NUMBER

      public static final int MAXIMUM_NUMBER_OF_PERSONS_FIELD_NUMBER
      See Also:
    • DISCOUNT_BASIS_FIELD_NUMBER

      public static final int DISCOUNT_BASIS_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • VEHICLE_POOLER_PROFILE_REF_FIELD_NUMBER

      public static final int VEHICLE_POOLER_PROFILE_REF_FIELD_NUMBER
      See Also:
    • USER_PROFILE_REF_FIELD_NUMBER

      public static final int USER_PROFILE_REF_FIELD_NUMBER
      See Also:
    • COMPANION_PROFILE_REF_FIELD_NUMBER

      public static final int COMPANION_PROFILE_REF_FIELD_NUMBER
      See Also:
  • 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
    • getUserProfileRefStructureCase

      public CompanionProfileType.UserProfileRefStructureCase getUserProfileRefStructureCase()
      Specified by:
      getUserProfileRefStructureCase in interface CompanionProfileTypeOrBuilder
    • hasCreated

      public boolean hasCreated()
       Date ENTITY was first created.  [netex_framework/netex_responsibility/netex_version_support.xsd at 190:68]
       
      .google.protobuf.Timestamp created = 4;
      Specified by:
      hasCreated in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the created field is set.
    • getCreated

      public com.google.protobuf.Timestamp getCreated()
       Date ENTITY was first created.  [netex_framework/netex_responsibility/netex_version_support.xsd at 190:68]
       
      .google.protobuf.Timestamp created = 4;
      Specified by:
      getCreated in interface CompanionProfileTypeOrBuilder
      Returns:
      The created.
    • getCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
       Date ENTITY was first created.  [netex_framework/netex_responsibility/netex_version_support.xsd at 190:68]
       
      .google.protobuf.Timestamp created = 4;
      Specified by:
      getCreatedOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasChanged

      public boolean hasChanged()
       Date ENTITY or version was last changed.  [netex_framework/netex_responsibility/netex_version_support.xsd at 195:68]
       
      .google.protobuf.Timestamp changed = 5;
      Specified by:
      hasChanged in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the changed field is set.
    • getChanged

      public com.google.protobuf.Timestamp getChanged()
       Date ENTITY or version was last changed.  [netex_framework/netex_responsibility/netex_version_support.xsd at 195:68]
       
      .google.protobuf.Timestamp changed = 5;
      Specified by:
      getChanged in interface CompanionProfileTypeOrBuilder
      Returns:
      The changed.
    • getChangedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getChangedOrBuilder()
       Date ENTITY or version was last changed.  [netex_framework/netex_responsibility/netex_version_support.xsd at 195:68]
       
      .google.protobuf.Timestamp changed = 5;
      Specified by:
      getChangedOrBuilder in interface CompanionProfileTypeOrBuilder
    • getVersion

      public String getVersion()
       Version number of entity.  [netex_framework/netex_responsibility/netex_version_support.xsd at 201:69]
       
      string version = 7;
      Specified by:
      getVersion in interface CompanionProfileTypeOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Version number of entity.  [netex_framework/netex_responsibility/netex_version_support.xsd at 201:69]
       
      string version = 7;
      Specified by:
      getVersionBytes in interface CompanionProfileTypeOrBuilder
      Returns:
      The bytes for version.
    • getStatusValue

      public int getStatusValue()
       Whether ENTITY is currently in use. Default is "active".  [netex_framework/netex_responsibility/netex_version_support.xsd at 206:89]
       
      .uk.org.netex.www.netex.StatusEnumeration status = 8;
      Specified by:
      getStatusValue in interface CompanionProfileTypeOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public StatusEnumeration getStatus()
       Whether ENTITY is currently in use. Default is "active".  [netex_framework/netex_responsibility/netex_version_support.xsd at 206:89]
       
      .uk.org.netex.www.netex.StatusEnumeration status = 8;
      Specified by:
      getStatus in interface CompanionProfileTypeOrBuilder
      Returns:
      The status.
    • getDerivedFromVersionRef

      public String getDerivedFromVersionRef()
       Version of this object from which this version of ENTITY was derived.  [netex_framework/netex_responsibility/netex_version_support.xsd at 212:83]
       
      string derived_from_version_ref = 472;
      Specified by:
      getDerivedFromVersionRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The derivedFromVersionRef.
    • getDerivedFromVersionRefBytes

      public com.google.protobuf.ByteString getDerivedFromVersionRefBytes()
       Version of this object from which this version of ENTITY was derived.  [netex_framework/netex_responsibility/netex_version_support.xsd at 212:83]
       
      string derived_from_version_ref = 472;
      Specified by:
      getDerivedFromVersionRefBytes in interface CompanionProfileTypeOrBuilder
      Returns:
      The bytes for derivedFromVersionRef.
    • getDerivedFromObjectRef

      public String getDerivedFromObjectRef()
       Identity of object from which this object of ENTITY was derived. Normally the same.  [netex_framework/netex_responsibility/netex_version_support.xsd at 218:81]
       
      string derived_from_object_ref = 473;
      Specified by:
      getDerivedFromObjectRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The derivedFromObjectRef.
    • getDerivedFromObjectRefBytes

      public com.google.protobuf.ByteString getDerivedFromObjectRefBytes()
       Identity of object from which this object of ENTITY was derived. Normally the same.  [netex_framework/netex_responsibility/netex_version_support.xsd at 218:81]
       
      string derived_from_object_ref = 473;
      Specified by:
      getDerivedFromObjectRefBytes in interface CompanionProfileTypeOrBuilder
      Returns:
      The bytes for derivedFromObjectRef.
    • hasValidityConditions

      public boolean hasValidityConditions()
       VALIDITY CONDITIONs conditioning entity.  [netex_framework/netex_responsibility/netex_version_version.xsd at 111:83]
       
      .uk.org.netex.www.netex.ValidityConditions_RelStructure validity_conditions = 12;
      Specified by:
      hasValidityConditions in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the validityConditions field is set.
    • getValidityConditions

      public ValidityConditions_RelStructure getValidityConditions()
       VALIDITY CONDITIONs conditioning entity.  [netex_framework/netex_responsibility/netex_version_version.xsd at 111:83]
       
      .uk.org.netex.www.netex.ValidityConditions_RelStructure validity_conditions = 12;
      Specified by:
      getValidityConditions in interface CompanionProfileTypeOrBuilder
      Returns:
      The validityConditions.
    • getValidityConditionsOrBuilder

      public ValidityConditions_RelStructureOrBuilder getValidityConditionsOrBuilder()
       VALIDITY CONDITIONs conditioning entity.  [netex_framework/netex_responsibility/netex_version_version.xsd at 111:83]
       
      .uk.org.netex.www.netex.ValidityConditions_RelStructure validity_conditions = 12;
      Specified by:
      getValidityConditionsOrBuilder in interface CompanionProfileTypeOrBuilder
    • getValidBetweenList

      public List<ValidBetweenType> getValidBetweenList()
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenList in interface CompanionProfileTypeOrBuilder
    • getValidBetweenOrBuilderList

      public List<? extends ValidBetweenTypeOrBuilder> getValidBetweenOrBuilderList()
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenOrBuilderList in interface CompanionProfileTypeOrBuilder
    • getValidBetweenCount

      public int getValidBetweenCount()
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenCount in interface CompanionProfileTypeOrBuilder
    • getValidBetween

      public ValidBetweenType getValidBetween(int index)
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetween in interface CompanionProfileTypeOrBuilder
    • getValidBetweenOrBuilder

      public ValidBetweenTypeOrBuilder getValidBetweenOrBuilder(int index)
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasAlternativeTexts

      public boolean hasAlternativeTexts()
       Additional Translations of text  elements.  [netex_framework/netex_responsibility/netex_version_version.xsd at 118:92]
       
      .uk.org.netex.www.netex.AlternativeTexts_RelStructure alternative_texts = 21;
      Specified by:
      hasAlternativeTexts in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the alternativeTexts field is set.
    • getAlternativeTexts

      public AlternativeTexts_RelStructure getAlternativeTexts()
       Additional Translations of text  elements.  [netex_framework/netex_responsibility/netex_version_version.xsd at 118:92]
       
      .uk.org.netex.www.netex.AlternativeTexts_RelStructure alternative_texts = 21;
      Specified by:
      getAlternativeTexts in interface CompanionProfileTypeOrBuilder
      Returns:
      The alternativeTexts.
    • getAlternativeTextsOrBuilder

      public AlternativeTexts_RelStructureOrBuilder getAlternativeTextsOrBuilder()
       Additional Translations of text  elements.  [netex_framework/netex_responsibility/netex_version_version.xsd at 118:92]
       
      .uk.org.netex.www.netex.AlternativeTexts_RelStructure alternative_texts = 21;
      Specified by:
      getAlternativeTextsOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasKeyList

      public boolean hasKeyList()
       A list of alternative Key values for an element.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 165:54]
       
      .uk.org.netex.www.netex.KeyListStructure key_list = 71;
      Specified by:
      hasKeyList in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the keyList field is set.
    • getKeyList

      public KeyListStructure getKeyList()
       A list of alternative Key values for an element.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 165:54]
       
      .uk.org.netex.www.netex.KeyListStructure key_list = 71;
      Specified by:
      getKeyList in interface CompanionProfileTypeOrBuilder
      Returns:
      The keyList.
    • getKeyListOrBuilder

      public KeyListStructureOrBuilder getKeyListOrBuilder()
       A list of alternative Key values for an element.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 165:54]
       
      .uk.org.netex.www.netex.KeyListStructure key_list = 71;
      Specified by:
      getKeyListOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasExtensions

      public boolean hasExtensions()
       User defined Extensions to ENTITY in schema. (Wrapper tag used to avoid problems with handling of optional 'any' by some validators).  [netex_framework/netex_utility/netex_utility_xml.xsd at 85:60]
       
      .uk.org.netex.www.netex.ExtensionsStructure extensions = 72;
      Specified by:
      hasExtensions in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the extensions field is set.
    • getExtensions

      public ExtensionsStructure getExtensions()
       User defined Extensions to ENTITY in schema. (Wrapper tag used to avoid problems with handling of optional 'any' by some validators).  [netex_framework/netex_utility/netex_utility_xml.xsd at 85:60]
       
      .uk.org.netex.www.netex.ExtensionsStructure extensions = 72;
      Specified by:
      getExtensions in interface CompanionProfileTypeOrBuilder
      Returns:
      The extensions.
    • getExtensionsOrBuilder

      public ExtensionsStructureOrBuilder getExtensionsOrBuilder()
       User defined Extensions to ENTITY in schema. (Wrapper tag used to avoid problems with handling of optional 'any' by some validators).  [netex_framework/netex_utility/netex_utility_xml.xsd at 85:60]
       
      .uk.org.netex.www.netex.ExtensionsStructure extensions = 72;
      Specified by:
      getExtensionsOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasBrandingRef

      public boolean hasBrandingRef()
       Reference to a BRANDING.  [netex_framework/netex_responsibility/netex_responsibility_support.xsd at 256:114]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure branding_ref = 73;
      Specified by:
      hasBrandingRef in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the brandingRef field is set.
    • getBrandingRef

      public VersionOfObjectRefStructure getBrandingRef()
       Reference to a BRANDING.  [netex_framework/netex_responsibility/netex_responsibility_support.xsd at 256:114]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure branding_ref = 73;
      Specified by:
      getBrandingRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The brandingRef.
    • getBrandingRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getBrandingRefOrBuilder()
       Reference to a BRANDING.  [netex_framework/netex_responsibility/netex_responsibility_support.xsd at 256:114]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure branding_ref = 73;
      Specified by:
      getBrandingRefOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasName

      public boolean hasName()
       Name of PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 124:69]
       
      .uk.org.netex.www.netex.MultilingualString name = 161;
      Specified by:
      hasName in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public MultilingualString getName()
       Name of PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 124:69]
       
      .uk.org.netex.www.netex.MultilingualString name = 161;
      Specified by:
      getName in interface CompanionProfileTypeOrBuilder
      Returns:
      The name.
    • getNameOrBuilder

      public MultilingualStringOrBuilder getNameOrBuilder()
       Name of PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 124:69]
       
      .uk.org.netex.www.netex.MultilingualString name = 161;
      Specified by:
      getNameOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasDescription

      public boolean hasDescription()
       Description of PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 129:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 162;
      Specified by:
      hasDescription in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public MultilingualString getDescription()
       Description of PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 129:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 162;
      Specified by:
      getDescription in interface CompanionProfileTypeOrBuilder
      Returns:
      The description.
    • getDescriptionOrBuilder

      public MultilingualStringOrBuilder getDescriptionOrBuilder()
       Description of PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 129:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 162;
      Specified by:
      getDescriptionOrBuilder in interface CompanionProfileTypeOrBuilder
    • getUrl

      public String getUrl()
       URL for information on element.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 134:60]
       
      string url = 163;
      Specified by:
      getUrl in interface CompanionProfileTypeOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       URL for information on element.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 134:60]
       
      string url = 163;
      Specified by:
      getUrlBytes in interface CompanionProfileTypeOrBuilder
      Returns:
      The bytes for url.
    • hasInfoLinks

      public boolean hasInfoLinks()
       Hyperlinks associated with GPRICEABLE OBLECT. Can be used to associated pfs, web pages etc, conditions of use etc.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 139:48]
       
      .uk.org.netex.www.netex.PriceableObject_VersionStructure_InfoLinksType info_links = 164;
      Specified by:
      hasInfoLinks in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the infoLinks field is set.
    • getInfoLinks

       Hyperlinks associated with GPRICEABLE OBLECT. Can be used to associated pfs, web pages etc, conditions of use etc.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 139:48]
       
      .uk.org.netex.www.netex.PriceableObject_VersionStructure_InfoLinksType info_links = 164;
      Specified by:
      getInfoLinks in interface CompanionProfileTypeOrBuilder
      Returns:
      The infoLinks.
    • getInfoLinksOrBuilder

       Hyperlinks associated with GPRICEABLE OBLECT. Can be used to associated pfs, web pages etc, conditions of use etc.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 139:48]
       
      .uk.org.netex.www.netex.PriceableObject_VersionStructure_InfoLinksType info_links = 164;
      Specified by:
      getInfoLinksOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasAlternativeNames

      public boolean hasAlternativeNames()
       ALTERNATIVE NAMEs for PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 149:92]
       
      .uk.org.netex.www.netex.AlternativeNames_RelStructure alternative_names = 165;
      Specified by:
      hasAlternativeNames in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the alternativeNames field is set.
    • getAlternativeNames

      public AlternativeNames_RelStructure getAlternativeNames()
       ALTERNATIVE NAMEs for PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 149:92]
       
      .uk.org.netex.www.netex.AlternativeNames_RelStructure alternative_names = 165;
      Specified by:
      getAlternativeNames in interface CompanionProfileTypeOrBuilder
      Returns:
      The alternativeNames.
    • getAlternativeNamesOrBuilder

      public AlternativeNames_RelStructureOrBuilder getAlternativeNamesOrBuilder()
       ALTERNATIVE NAMEs for PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 149:92]
       
      .uk.org.netex.www.netex.AlternativeNames_RelStructure alternative_names = 165;
      Specified by:
      getAlternativeNamesOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasNoticeAssignments

      public boolean hasNoticeAssignments()
       NOTICE ASSIGNMENTs for PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 154:94]
       
      .uk.org.netex.www.netex.NoticeAssignments_RelStructure notice_assignments = 166;
      Specified by:
      hasNoticeAssignments in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the noticeAssignments field is set.
    • getNoticeAssignments

      public NoticeAssignments_RelStructure getNoticeAssignments()
       NOTICE ASSIGNMENTs for PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 154:94]
       
      .uk.org.netex.www.netex.NoticeAssignments_RelStructure notice_assignments = 166;
      Specified by:
      getNoticeAssignments in interface CompanionProfileTypeOrBuilder
      Returns:
      The noticeAssignments.
    • getNoticeAssignmentsOrBuilder

      public NoticeAssignments_RelStructureOrBuilder getNoticeAssignmentsOrBuilder()
       NOTICE ASSIGNMENTs for PRICEABLE OBJECT.  [netex_part_3/part3_fares/netex_farePrice_version.xsd at 154:94]
       
      .uk.org.netex.www.netex.NoticeAssignments_RelStructure notice_assignments = 166;
      Specified by:
      getNoticeAssignmentsOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasTypeOfUsageParameterRef

      public boolean hasTypeOfUsageParameterRef()
       Reference to a TYPE OF USAGE PARAMETER.  [netex_part_3/part3_fares/netex_usageParameter_support.xsd at 144:125]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure type_of_usage_parameter_ref = 331;
      Specified by:
      hasTypeOfUsageParameterRef in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the typeOfUsageParameterRef field is set.
    • getTypeOfUsageParameterRef

      public VersionOfObjectRefStructure getTypeOfUsageParameterRef()
       Reference to a TYPE OF USAGE PARAMETER.  [netex_part_3/part3_fares/netex_usageParameter_support.xsd at 144:125]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure type_of_usage_parameter_ref = 331;
      Specified by:
      getTypeOfUsageParameterRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The typeOfUsageParameterRef.
    • getTypeOfUsageParameterRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getTypeOfUsageParameterRefOrBuilder()
       Reference to a TYPE OF USAGE PARAMETER.  [netex_part_3/part3_fares/netex_usageParameter_support.xsd at 144:125]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure type_of_usage_parameter_ref = 331;
      Specified by:
      getTypeOfUsageParameterRefOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasPrices

      public boolean hasPrices()
       Prices associated with USAGE PARAMETER.  [netex_part_3/part3_fares/netex_usageParameter_version.xsd at 141:86]
       
      .uk.org.netex.www.netex.UsageParameterPrices_RelStructure prices = 332;
      Specified by:
      hasPrices in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the prices field is set.
    • getPrices

       Prices associated with USAGE PARAMETER.  [netex_part_3/part3_fares/netex_usageParameter_version.xsd at 141:86]
       
      .uk.org.netex.www.netex.UsageParameterPrices_RelStructure prices = 332;
      Specified by:
      getPrices in interface CompanionProfileTypeOrBuilder
      Returns:
      The prices.
    • getPricesOrBuilder

      public UsageParameterPrices_RelStructureOrBuilder getPricesOrBuilder()
       Prices associated with USAGE PARAMETER.  [netex_part_3/part3_fares/netex_usageParameter_version.xsd at 141:86]
       
      .uk.org.netex.www.netex.UsageParameterPrices_RelStructure prices = 332;
      Specified by:
      getPricesOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasParentRef

      public boolean hasParentRef()
       Parent USER PROFILE or GROUP TICKET for which this  specifes the member rules.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 461:82]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure parent_ref = 501;
      Specified by:
      hasParentRef in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the parentRef field is set.
    • getParentRef

      public VersionOfObjectRefStructure getParentRef()
       Parent USER PROFILE or GROUP TICKET for which this  specifes the member rules.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 461:82]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure parent_ref = 501;
      Specified by:
      getParentRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The parentRef.
    • getParentRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getParentRefOrBuilder()
       Parent USER PROFILE or GROUP TICKET for which this  specifes the member rules.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 461:82]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure parent_ref = 501;
      Specified by:
      getParentRefOrBuilder in interface CompanionProfileTypeOrBuilder
    • getCompanionRelationshipTypeValue

      public int getCompanionRelationshipTypeValue()
       Required Relationship of companion to eliigble user +V1.1.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 467:121]
       
      .uk.org.netex.www.netex.CompanionRelationshipEnumeration companion_relationship_type = 504;
      Specified by:
      getCompanionRelationshipTypeValue in interface CompanionProfileTypeOrBuilder
      Returns:
      The enum numeric value on the wire for companionRelationshipType.
    • getCompanionRelationshipType

      public CompanionRelationshipEnumeration getCompanionRelationshipType()
       Required Relationship of companion to eliigble user +V1.1.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 467:121]
       
      .uk.org.netex.www.netex.CompanionRelationshipEnumeration companion_relationship_type = 504;
      Specified by:
      getCompanionRelationshipType in interface CompanionProfileTypeOrBuilder
      Returns:
      The companionRelationshipType.
    • getMinimumNumberOfPersons

      public int getMinimumNumberOfPersons()
       Minimum number of persons of this type allowed as companions..  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 472:87]
       
      uint32 minimum_number_of_persons = 505;
      Specified by:
      getMinimumNumberOfPersons in interface CompanionProfileTypeOrBuilder
      Returns:
      The minimumNumberOfPersons.
    • getMaximumNumberOfPersons

      public int getMaximumNumberOfPersons()
       Maximum number of persons of this type allowed as companions.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 477:87]
       
      uint32 maximum_number_of_persons = 506;
      Specified by:
      getMaximumNumberOfPersons in interface CompanionProfileTypeOrBuilder
      Returns:
      The maximumNumberOfPersons.
    • getDiscountBasisValue

      public int getDiscountBasisValue()
       Nature of discount for this profile.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 482:84]
       
      .uk.org.netex.www.netex.DiscountBasisEnumeration discount_basis = 507;
      Specified by:
      getDiscountBasisValue in interface CompanionProfileTypeOrBuilder
      Returns:
      The enum numeric value on the wire for discountBasis.
    • getDiscountBasis

      public DiscountBasisEnumeration getDiscountBasis()
       Nature of discount for this profile.  [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 482:84]
       
      .uk.org.netex.www.netex.DiscountBasisEnumeration discount_basis = 507;
      Specified by:
      getDiscountBasis in interface CompanionProfileTypeOrBuilder
      Returns:
      The discountBasis.
    • getId

      public String getId()
       [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 439:62]
       
      string id = 531;
      Specified by:
      getId in interface CompanionProfileTypeOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       [netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd at 439:62]
       
      string id = 531;
      Specified by:
      getIdBytes in interface CompanionProfileTypeOrBuilder
      Returns:
      The bytes for id.
    • hasVehiclePoolerProfileRef

      public boolean hasVehiclePoolerProfileRef()
       Reference to a VEHICLE POOLER PROFILE usage parameter. +v1.2.2  [netex_part_5/part5_fm/netex_nm_usageParameterEligibility_support.xsd at 66:121]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure vehicle_pooler_profile_ref = 424;
      Specified by:
      hasVehiclePoolerProfileRef in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the vehiclePoolerProfileRef field is set.
    • getVehiclePoolerProfileRef

      public VersionOfObjectRefStructure getVehiclePoolerProfileRef()
       Reference to a VEHICLE POOLER PROFILE usage parameter. +v1.2.2  [netex_part_5/part5_fm/netex_nm_usageParameterEligibility_support.xsd at 66:121]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure vehicle_pooler_profile_ref = 424;
      Specified by:
      getVehiclePoolerProfileRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The vehiclePoolerProfileRef.
    • getVehiclePoolerProfileRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getVehiclePoolerProfileRefOrBuilder()
       Reference to a VEHICLE POOLER PROFILE usage parameter. +v1.2.2  [netex_part_5/part5_fm/netex_nm_usageParameterEligibility_support.xsd at 66:121]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure vehicle_pooler_profile_ref = 424;
      Specified by:
      getVehiclePoolerProfileRefOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasUserProfileRef

      public boolean hasUserProfileRef()
       Reference to a USER PROFILE usage parameter.  [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 150:108]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure user_profile_ref = 502;
      Specified by:
      hasUserProfileRef in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the userProfileRef field is set.
    • getUserProfileRef

      public VersionOfObjectRefStructure getUserProfileRef()
       Reference to a USER PROFILE usage parameter.  [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 150:108]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure user_profile_ref = 502;
      Specified by:
      getUserProfileRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The userProfileRef.
    • getUserProfileRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getUserProfileRefOrBuilder()
       Reference to a USER PROFILE usage parameter.  [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 150:108]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure user_profile_ref = 502;
      Specified by:
      getUserProfileRefOrBuilder in interface CompanionProfileTypeOrBuilder
    • hasCompanionProfileRef

      public boolean hasCompanionProfileRef()
       Reference to a COMPANION PROFILE usage parameter.  [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 316:113]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure companion_profile_ref = 503;
      Specified by:
      hasCompanionProfileRef in interface CompanionProfileTypeOrBuilder
      Returns:
      Whether the companionProfileRef field is set.
    • getCompanionProfileRef

      public VersionOfObjectRefStructure getCompanionProfileRef()
       Reference to a COMPANION PROFILE usage parameter.  [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 316:113]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure companion_profile_ref = 503;
      Specified by:
      getCompanionProfileRef in interface CompanionProfileTypeOrBuilder
      Returns:
      The companionProfileRef.
    • getCompanionProfileRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getCompanionProfileRefOrBuilder()
       Reference to a COMPANION PROFILE usage parameter.  [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 316:113]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure companion_profile_ref = 503;
      Specified by:
      getCompanionProfileRefOrBuilder in interface CompanionProfileTypeOrBuilder
    • 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 CompanionProfileType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CompanionProfileType.Builder newBuilder()
    • newBuilder

      public static CompanionProfileType.Builder newBuilder(CompanionProfileType prototype)
    • toBuilder

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

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

      public static CompanionProfileType getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CompanionProfileType> 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 CompanionProfileType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder