Interface TemporalRestrictionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TemporalRestriction, TemporalRestriction.Builder

@Generated public interface TemporalRestrictionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Description of the temporal restriction
    com.google.protobuf.ByteString
    Description of the temporal restriction
    com.google.protobuf.Timestamp
    End date of restriction
    com.google.protobuf.TimestampOrBuilder
    End date of restriction
    Restriction type (e.g., "embargo", "limited_time", "seasonal")
    com.google.protobuf.ByteString
    Restriction type (e.g., "embargo", "limited_time", "seasonal")
    com.google.protobuf.Timestamp
    Start date of restriction
    com.google.protobuf.TimestampOrBuilder
    Start date of restriction
    boolean
    Description of the temporal restriction
    boolean
    End date of restriction
    boolean
    Start date of restriction

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRestrictionType

      String getRestrictionType()
       Restriction type (e.g., "embargo", "limited_time", "seasonal")
       
      string restriction_type = 1 [json_name = "restrictionType"];
      Returns:
      The restrictionType.
    • getRestrictionTypeBytes

      com.google.protobuf.ByteString getRestrictionTypeBytes()
       Restriction type (e.g., "embargo", "limited_time", "seasonal")
       
      string restriction_type = 1 [json_name = "restrictionType"];
      Returns:
      The bytes for restrictionType.
    • hasStartDate

      boolean hasStartDate()
       Start date of restriction
       
      optional .google.protobuf.Timestamp start_date = 2 [json_name = "startDate"];
      Returns:
      Whether the startDate field is set.
    • getStartDate

      com.google.protobuf.Timestamp getStartDate()
       Start date of restriction
       
      optional .google.protobuf.Timestamp start_date = 2 [json_name = "startDate"];
      Returns:
      The startDate.
    • getStartDateOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartDateOrBuilder()
       Start date of restriction
       
      optional .google.protobuf.Timestamp start_date = 2 [json_name = "startDate"];
    • hasEndDate

      boolean hasEndDate()
       End date of restriction
       
      optional .google.protobuf.Timestamp end_date = 3 [json_name = "endDate"];
      Returns:
      Whether the endDate field is set.
    • getEndDate

      com.google.protobuf.Timestamp getEndDate()
       End date of restriction
       
      optional .google.protobuf.Timestamp end_date = 3 [json_name = "endDate"];
      Returns:
      The endDate.
    • getEndDateOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder()
       End date of restriction
       
      optional .google.protobuf.Timestamp end_date = 3 [json_name = "endDate"];
    • hasDescription

      boolean hasDescription()
       Description of the temporal restriction
       
      optional string description = 4 [json_name = "description"];
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       Description of the temporal restriction
       
      optional string description = 4 [json_name = "description"];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Description of the temporal restriction
       
      optional string description = 4 [json_name = "description"];
      Returns:
      The bytes for description.