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 TypeMethodDescriptionDescription of the temporal restrictioncom.google.protobuf.ByteStringDescription of the temporal restrictioncom.google.protobuf.TimestampEnd date of restrictioncom.google.protobuf.TimestampOrBuilderEnd date of restrictionRestriction type (e.g., "embargo", "limited_time", "seasonal")com.google.protobuf.ByteStringRestriction type (e.g., "embargo", "limited_time", "seasonal")com.google.protobuf.TimestampStart date of restrictioncom.google.protobuf.TimestampOrBuilderStart date of restrictionbooleanDescription of the temporal restrictionbooleanEnd date of restrictionbooleanStart date of restrictionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-