Interface CustomPeriodOrBuilder

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

    public interface CustomPeriodOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.type.Date getEndDate()
      Optional.
      com.google.type.DateOrBuilder getEndDateOrBuilder()
      Optional.
      com.google.type.Date getStartDate()
      Required.
      com.google.type.DateOrBuilder getStartDateOrBuilder()
      Required.
      boolean hasEndDate()
      Optional.
      boolean hasStartDate()
      Required.
      • 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 Detail

      • hasStartDate

        boolean hasStartDate()
         Required. The start date must be after January 1, 2017.
         
        .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the startDate field is set.
      • getStartDate

        com.google.type.Date getStartDate()
         Required. The start date must be after January 1, 2017.
         
        .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The startDate.
      • getStartDateOrBuilder

        com.google.type.DateOrBuilder getStartDateOrBuilder()
         Required. The start date must be after January 1, 2017.
         
        .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasEndDate

        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:
        Whether the endDate field is set.
      • getEndDate

        com.google.type.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:
        The endDate.
      • getEndDateOrBuilder

        com.google.type.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];