Package com.google.photos.types.proto
Interface DateRangeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DateRange
,DateRange.Builder
public interface DateRangeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.type.Date
getEndDate()
The end date (included as part of the range).com.google.type.DateOrBuilder
getEndDateOrBuilder()
The end date (included as part of the range).com.google.type.Date
getStartDate()
The start date (included as part of the range) in one of the formats described.com.google.type.DateOrBuilder
getStartDateOrBuilder()
The start date (included as part of the range) in one of the formats described.boolean
hasEndDate()
The end date (included as part of the range).boolean
hasStartDate()
The start date (included as part of the range) in one of the formats described.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStartDate
boolean hasStartDate()
The start date (included as part of the range) in one of the formats described.
.google.type.Date start_date = 1;
- Returns:
- Whether the startDate field is set.
-
getStartDate
com.google.type.Date getStartDate()
The start date (included as part of the range) in one of the formats described.
.google.type.Date start_date = 1;
- Returns:
- The startDate.
-
getStartDateOrBuilder
com.google.type.DateOrBuilder getStartDateOrBuilder()
The start date (included as part of the range) in one of the formats described.
.google.type.Date start_date = 1;
-
hasEndDate
boolean hasEndDate()
The end date (included as part of the range). It must be specified in the same format as the start date.
.google.type.Date end_date = 2;
- Returns:
- Whether the endDate field is set.
-
getEndDate
com.google.type.Date getEndDate()
The end date (included as part of the range). It must be specified in the same format as the start date.
.google.type.Date end_date = 2;
- Returns:
- The endDate.
-
getEndDateOrBuilder
com.google.type.DateOrBuilder getEndDateOrBuilder()
The end date (included as part of the range). It must be specified in the same format as the start date.
.google.type.Date end_date = 2;
-
-