/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/notebooks/v1/schedule.proto

package com.google.cloud.notebooks.v1;

public interface ScheduleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.notebooks.v1.Schedule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The name of this schedule. Format:
   * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The name of this schedule. Format:
   * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Display name used for UI purposes.
   * Name can only contain alphanumeric characters, hyphens `-`,
   * and underscores `_`.
   * </pre>
   *
   * <code>string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The displayName.
   */
  java.lang.String getDisplayName();
  /**
   *
   *
   * <pre>
   * Output only. Display name used for UI purposes.
   * Name can only contain alphanumeric characters, hyphens `-`,
   * and underscores `_`.
   * </pre>
   *
   * <code>string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for displayName.
   */
  com.google.protobuf.ByteString getDisplayNameBytes();

  /**
   *
   *
   * <pre>
   * A brief description of this environment.
   * </pre>
   *
   * <code>string description = 3;</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * A brief description of this environment.
   * </pre>
   *
   * <code>string description = 3;</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   * <code>.google.cloud.notebooks.v1.Schedule.State state = 4;</code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   * <code>.google.cloud.notebooks.v1.Schedule.State state = 4;</code>
   *
   * @return The state.
   */
  com.google.cloud.notebooks.v1.Schedule.State getState();

  /**
   *
   *
   * <pre>
   * Cron-tab formatted schedule by which the job will execute.
   * Format: minute, hour, day of month, month, day of week,
   * e.g. `0 0 * * WED` = every Wednesday
   * More examples: https://crontab.guru/examples.html
   * </pre>
   *
   * <code>string cron_schedule = 5;</code>
   *
   * @return The cronSchedule.
   */
  java.lang.String getCronSchedule();
  /**
   *
   *
   * <pre>
   * Cron-tab formatted schedule by which the job will execute.
   * Format: minute, hour, day of month, month, day of week,
   * e.g. `0 0 * * WED` = every Wednesday
   * More examples: https://crontab.guru/examples.html
   * </pre>
   *
   * <code>string cron_schedule = 5;</code>
   *
   * @return The bytes for cronSchedule.
   */
  com.google.protobuf.ByteString getCronScheduleBytes();

  /**
   *
   *
   * <pre>
   * Timezone on which the cron_schedule.
   * The value of this field must be a time zone name from the tz database.
   * TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
   * Note that some time zones include a provision for daylight savings time.
   * The rules for daylight saving time are determined by the chosen tz.
   * For UTC use the string "utc". If a time zone is not specified,
   * the default will be in UTC (also known as GMT).
   * </pre>
   *
   * <code>string time_zone = 6;</code>
   *
   * @return The timeZone.
   */
  java.lang.String getTimeZone();
  /**
   *
   *
   * <pre>
   * Timezone on which the cron_schedule.
   * The value of this field must be a time zone name from the tz database.
   * TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
   * Note that some time zones include a provision for daylight savings time.
   * The rules for daylight saving time are determined by the chosen tz.
   * For UTC use the string "utc". If a time zone is not specified,
   * the default will be in UTC (also known as GMT).
   * </pre>
   *
   * <code>string time_zone = 6;</code>
   *
   * @return The bytes for timeZone.
   */
  com.google.protobuf.ByteString getTimeZoneBytes();

  /**
   *
   *
   * <pre>
   * Output only. Time the schedule was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the schedule was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the schedule was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Time the schedule was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the schedule was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the schedule was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Notebook Execution Template corresponding to this schedule.
   * </pre>
   *
   * <code>.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;</code>
   *
   * @return Whether the executionTemplate field is set.
   */
  boolean hasExecutionTemplate();
  /**
   *
   *
   * <pre>
   * Notebook Execution Template corresponding to this schedule.
   * </pre>
   *
   * <code>.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;</code>
   *
   * @return The executionTemplate.
   */
  com.google.cloud.notebooks.v1.ExecutionTemplate getExecutionTemplate();
  /**
   *
   *
   * <pre>
   * Notebook Execution Template corresponding to this schedule.
   * </pre>
   *
   * <code>.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 9;</code>
   */
  com.google.cloud.notebooks.v1.ExecutionTemplateOrBuilder getExecutionTemplateOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The most recent execution names triggered from this schedule and their
   * corresponding states.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<com.google.cloud.notebooks.v1.Execution> getRecentExecutionsList();
  /**
   *
   *
   * <pre>
   * Output only. The most recent execution names triggered from this schedule and their
   * corresponding states.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.notebooks.v1.Execution getRecentExecutions(int index);
  /**
   *
   *
   * <pre>
   * Output only. The most recent execution names triggered from this schedule and their
   * corresponding states.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  int getRecentExecutionsCount();
  /**
   *
   *
   * <pre>
   * Output only. The most recent execution names triggered from this schedule and their
   * corresponding states.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<? extends com.google.cloud.notebooks.v1.ExecutionOrBuilder>
      getRecentExecutionsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. The most recent execution names triggered from this schedule and their
   * corresponding states.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.notebooks.v1.Execution recent_executions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.notebooks.v1.ExecutionOrBuilder getRecentExecutionsOrBuilder(int index);
}
