Interface CustomPeriodOrBuilder (2.37.0)

public interface CustomPeriodOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndDate()

public abstract Date getEndDate()

Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
com.google.type.Date

The endDate.

getEndDateOrBuilder()

public abstract DateOrBuilder getEndDateOrBuilder()

Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
com.google.type.DateOrBuilder

getStartDate()

public abstract Date getStartDate()

Required. The start date must be after January 1, 2017.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.Date

The startDate.

getStartDateOrBuilder()

public abstract DateOrBuilder getStartDateOrBuilder()

Required. The start date must be after January 1, 2017.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.DateOrBuilder

hasEndDate()

public abstract boolean hasEndDate()

Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the endDate field is set.

hasStartDate()

public abstract boolean hasStartDate()

Required. The start date must be after January 1, 2017.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the startDate field is set.