Interface ResourcePolicyDailyCycleOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDaysInCycle()
      Defines a schedule with units measured in days.
      String getDuration()
      [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
      com.google.protobuf.ByteString getDurationBytes()
      [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
      String getStartTime()
      Start time of the window.
      com.google.protobuf.ByteString getStartTimeBytes()
      Start time of the window.
      boolean hasDaysInCycle()
      Defines a schedule with units measured in days.
      boolean hasDuration()
      [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
      boolean hasStartTime()
      Start time of the window.
      • 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

      • hasDaysInCycle

        boolean hasDaysInCycle()
         Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
         
        optional int32 days_in_cycle = 369790004;
        Returns:
        Whether the daysInCycle field is set.
      • getDaysInCycle

        int getDaysInCycle()
         Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
         
        optional int32 days_in_cycle = 369790004;
        Returns:
        The daysInCycle.
      • hasDuration

        boolean hasDuration()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional string duration = 155471252;
        Returns:
        Whether the duration field is set.
      • getDuration

        String getDuration()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional string duration = 155471252;
        Returns:
        The duration.
      • getDurationBytes

        com.google.protobuf.ByteString getDurationBytes()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional string duration = 155471252;
        Returns:
        The bytes for duration.
      • hasStartTime

        boolean hasStartTime()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Returns:
        Whether the startTime field is set.
      • getStartTime

        String getStartTime()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Returns:
        The startTime.
      • getStartTimeBytes

        com.google.protobuf.ByteString getStartTimeBytes()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Returns:
        The bytes for startTime.