Class EntitlementConstraintStructure

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

@Generated public final class EntitlementConstraintStructure extends com.google.protobuf.GeneratedMessage implements EntitlementConstraintStructureOrBuilder
 Entitlement constraints related product or offe.  +v1.1.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 190:57]
 
Protobuf type uk.org.netex.www.netex.EntitlementConstraintStructure
See Also:
  • Field Details

    • PERIOD_CONSTRAINT_FIELD_NUMBER

      public static final int PERIOD_CONSTRAINT_FIELD_NUMBER
      See Also:
    • ORIGIN_CONSTRAINT_FIELD_NUMBER

      public static final int ORIGIN_CONSTRAINT_FIELD_NUMBER
      See Also:
    • DESTINATION_CONSTRAINT_FIELD_NUMBER

      public static final int DESTINATION_CONSTRAINT_FIELD_NUMBER
      See Also:
    • TARIFF_ZONE_CONSTRAINT_FIELD_NUMBER

      public static final int TARIFF_ZONE_CONSTRAINT_FIELD_NUMBER
      See Also:
    • ROUTE_CONSTRAINT_FIELD_NUMBER

      public static final int ROUTE_CONSTRAINT_FIELD_NUMBER
      See Also:
    • DIRECTION_CONSTRAINT_FIELD_NUMBER

      public static final int DIRECTION_CONSTRAINT_FIELD_NUMBER
      See Also:
    • OPERATOR_CONSTRAINT_FIELD_NUMBER

      public static final int OPERATOR_CONSTRAINT_FIELD_NUMBER
      See Also:
    • TYPE_OF_PRODUCT_CATEGORY_CONSTRAINT_FIELD_NUMBER

      public static final int TYPE_OF_PRODUCT_CATEGORY_CONSTRAINT_FIELD_NUMBER
      See Also:
    • CLASS_OF_USE_CONSTRAINT_FIELD_NUMBER

      public static final int CLASS_OF_USE_CONSTRAINT_FIELD_NUMBER
      See Also:
    • TYPE_OF_TRAVEL_DOCUMENT_CONSTRAINT_FIELD_NUMBER

      public static final int TYPE_OF_TRAVEL_DOCUMENT_CONSTRAINT_FIELD_NUMBER
      See Also:
    • JOURNEY_CONSTRAINT_FIELD_NUMBER

      public static final int JOURNEY_CONSTRAINT_FIELD_NUMBER
      See Also:
    • USER_CONSTRAINT_FIELD_NUMBER

      public static final int USER_CONSTRAINT_FIELD_NUMBER
      See Also:
    • SPECIFIC_TO_PROFILES_FIELD_NUMBER

      public static final int SPECIFIC_TO_PROFILES_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
    • getPeriodConstraintValue

      public int getPeriodConstraintValue()
       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Specified by:
      getPeriodConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for periodConstraint.
    • getPeriodConstraint

      public SamePeriodEnumeration getPeriodConstraint()
       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Specified by:
      getPeriodConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The periodConstraint.
    • getOriginConstraintValue

      public int getOriginConstraintValue()
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Specified by:
      getOriginConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for originConstraint.
    • getOriginConstraint

      public SameStopEnumeration getOriginConstraint()
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Specified by:
      getOriginConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The originConstraint.
    • getDestinationConstraintValue

      public int getDestinationConstraintValue()
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Specified by:
      getDestinationConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for destinationConstraint.
    • getDestinationConstraint

      public SameStopEnumeration getDestinationConstraint()
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Specified by:
      getDestinationConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The destinationConstraint.
    • getTariffZoneConstraintValue

      public int getTariffZoneConstraintValue()
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Specified by:
      getTariffZoneConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for tariffZoneConstraint.
    • getTariffZoneConstraint

      public SameZoneEnumeration getTariffZoneConstraint()
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Specified by:
      getTariffZoneConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The tariffZoneConstraint.
    • getRouteConstraintValue

      public int getRouteConstraintValue()
       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Specified by:
      getRouteConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for routeConstraint.
    • getRouteConstraint

      public SameRouteEnumeration getRouteConstraint()
       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Specified by:
      getRouteConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The routeConstraint.
    • getDirectionConstraintValue

      public int getDirectionConstraintValue()
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Specified by:
      getDirectionConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for directionConstraint.
    • getDirectionConstraint

      public SameRouteEnumeration getDirectionConstraint()
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Specified by:
      getDirectionConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The directionConstraint.
    • getOperatorConstraintValue

      public int getOperatorConstraintValue()
       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Specified by:
      getOperatorConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for operatorConstraint.
    • getOperatorConstraint

      public SameOperatorEnumeration getOperatorConstraint()
       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Specified by:
      getOperatorConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The operatorConstraint.
    • getTypeOfProductCategoryConstraintValue

      public int getTypeOfProductCategoryConstraintValue()
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Specified by:
      getTypeOfProductCategoryConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for typeOfProductCategoryConstraint.
    • getTypeOfProductCategoryConstraint

      public SameTypeOfProductCategoryEnumeration getTypeOfProductCategoryConstraint()
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Specified by:
      getTypeOfProductCategoryConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The typeOfProductCategoryConstraint.
    • getClassOfUseConstraintValue

      public int getClassOfUseConstraintValue()
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Specified by:
      getClassOfUseConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for classOfUseConstraint.
    • getClassOfUseConstraint

      public SameClassOfUseEnumeration getClassOfUseConstraint()
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Specified by:
      getClassOfUseConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The classOfUseConstraint.
    • getTypeOfTravelDocumentConstraintValue

      public int getTypeOfTravelDocumentConstraintValue()
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Specified by:
      getTypeOfTravelDocumentConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for typeOfTravelDocumentConstraint.
    • getTypeOfTravelDocumentConstraint

      public SameTypeOfTravelDocumentEnumeration getTypeOfTravelDocumentConstraint()
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Specified by:
      getTypeOfTravelDocumentConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The typeOfTravelDocumentConstraint.
    • getJourneyConstraintValue

      public int getJourneyConstraintValue()
       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Specified by:
      getJourneyConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for journeyConstraint.
    • getJourneyConstraint

      public SameJourneyEnumeration getJourneyConstraint()
       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Specified by:
      getJourneyConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The journeyConstraint.
    • getUserConstraintValue

      public int getUserConstraintValue()
       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Specified by:
      getUserConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for userConstraint.
    • getUserConstraint

      public SameUserEnumeration getUserConstraint()
       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Specified by:
      getUserConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The userConstraint.
    • hasSpecificToProfiles

      public boolean hasSpecificToProfiles()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
      Specified by:
      hasSpecificToProfiles in interface EntitlementConstraintStructureOrBuilder
      Returns:
      Whether the specificToProfiles field is set.
    • getSpecificToProfiles

      public UserProfileRefs_RelStructure getSpecificToProfiles()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
      Specified by:
      getSpecificToProfiles in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The specificToProfiles.
    • getSpecificToProfilesOrBuilder

      public UserProfileRefs_RelStructureOrBuilder getSpecificToProfilesOrBuilder()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
      Specified by:
      getSpecificToProfilesOrBuilder in interface EntitlementConstraintStructureOrBuilder
    • 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 EntitlementConstraintStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static EntitlementConstraintStructure.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static EntitlementConstraintStructure getDefaultInstance()
    • parser

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

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