Interface Trigger.ScheduleOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Trigger.Schedule, Trigger.Schedule.Builder
    Enclosing class:
    Trigger

    public static interface Trigger.ScheduleOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCron()
      Required.
      com.google.protobuf.ByteString getCronBytes()
      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

      • getCron

        String getCron()
         Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
         scans periodically.
        
         To explicitly set a timezone in the cron tab, apply a prefix in the
         cron tab: **"CRON_TZ=${IANA_TIME_ZONE}"** or **"TZ=${IANA_TIME_ZONE}"**.
         The **${IANA_TIME_ZONE}** may only be a valid string from IANA time zone
         database
         ([wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).
         For example, `CRON_TZ=America/New_York 1 * * * *`, or
         `TZ=America/New_York 1 * * * *`.
        
         This field is required for Schedule scans.
         
        string cron = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The cron.
      • getCronBytes

        com.google.protobuf.ByteString getCronBytes()
         Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
         scans periodically.
        
         To explicitly set a timezone in the cron tab, apply a prefix in the
         cron tab: **"CRON_TZ=${IANA_TIME_ZONE}"** or **"TZ=${IANA_TIME_ZONE}"**.
         The **${IANA_TIME_ZONE}** may only be a valid string from IANA time zone
         database
         ([wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).
         For example, `CRON_TZ=America/New_York 1 * * * *`, or
         `TZ=America/New_York 1 * * * *`.
        
         This field is required for Schedule scans.
         
        string cron = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for cron.