public static interface ReportingDataAnnotation.DateRangeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEndDate()
public abstract Date getEndDate()
Required. The end date for this range. Must be a valid date with year, month, and day set. This date must be greater than or equal to the start date.
.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.Date |
The endDate. |
getEndDateOrBuilder()
public abstract DateOrBuilder getEndDateOrBuilder()
Required. The end date for this range. Must be a valid date with year, month, and day set. This date must be greater than or equal to the start date.
.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getStartDate()
public abstract Date getStartDate()
Required. The start date for this range. Must be a valid date with year, month, and day set. The date may be in the past, present, or future.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.Date |
The startDate. |
getStartDateOrBuilder()
public abstract DateOrBuilder getStartDateOrBuilder()
Required. The start date for this range. Must be a valid date with year, month, and day set. The date may be in the past, present, or future.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
hasEndDate()
public abstract boolean hasEndDate()
Required. The end date for this range. Must be a valid date with year, month, and day set. This date must be greater than or equal to the start date.
.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endDate field is set. |
hasStartDate()
public abstract boolean hasStartDate()
Required. The start date for this range. Must be a valid date with year, month, and day set. The date may be in the past, present, or future.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the startDate field is set. |