All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.gkebackup.v1.ExclusionWindowOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.54.0
Show newest version
/*
 * Copyright 2024 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/gkebackup/v1/backup_plan.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.gkebackup.v1;

public interface ExclusionWindowOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.gkebackup.v1.ExclusionWindow)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Specifies the start time of the window using time of the day in
   * UTC.
   * 
* * .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** * * *
   * Required. Specifies the start time of the window using time of the day in
   * UTC.
   * 
* * .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The startTime. */ com.google.type.TimeOfDay getStartTime(); /** * * *
   * Required. Specifies the start time of the window using time of the day in
   * UTC.
   * 
* * .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.TimeOfDayOrBuilder getStartTimeOrBuilder(); /** * * *
   * Required. Specifies duration of the window.
   * Duration must be >= 5 minutes and < (target RPO - 20 minutes).
   * Additional restrictions based on the recurrence type to allow some time for
   * backup to happen:
   * - single_occurrence_date:  no restriction, but UI may warn about this when
   * duration >= target RPO
   * - daily window: duration < 24 hours
   * - weekly window:
   *   - days of week includes all seven days of a week: duration < 24 hours
   *   - all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
   * 
* * .google.protobuf.Duration duration = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the duration field is set. */ boolean hasDuration(); /** * * *
   * Required. Specifies duration of the window.
   * Duration must be >= 5 minutes and < (target RPO - 20 minutes).
   * Additional restrictions based on the recurrence type to allow some time for
   * backup to happen:
   * - single_occurrence_date:  no restriction, but UI may warn about this when
   * duration >= target RPO
   * - daily window: duration < 24 hours
   * - weekly window:
   *   - days of week includes all seven days of a week: duration < 24 hours
   *   - all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
   * 
* * .google.protobuf.Duration duration = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** * * *
   * Required. Specifies duration of the window.
   * Duration must be >= 5 minutes and < (target RPO - 20 minutes).
   * Additional restrictions based on the recurrence type to allow some time for
   * backup to happen:
   * - single_occurrence_date:  no restriction, but UI may warn about this when
   * duration >= target RPO
   * - daily window: duration < 24 hours
   * - weekly window:
   *   - days of week includes all seven days of a week: duration < 24 hours
   *   - all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
   * 
* * .google.protobuf.Duration duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** * * *
   * No recurrence. The exclusion window occurs only once and on this
   * date in UTC.
   * 
* * .google.type.Date single_occurrence_date = 3; * * @return Whether the singleOccurrenceDate field is set. */ boolean hasSingleOccurrenceDate(); /** * * *
   * No recurrence. The exclusion window occurs only once and on this
   * date in UTC.
   * 
* * .google.type.Date single_occurrence_date = 3; * * @return The singleOccurrenceDate. */ com.google.type.Date getSingleOccurrenceDate(); /** * * *
   * No recurrence. The exclusion window occurs only once and on this
   * date in UTC.
   * 
* * .google.type.Date single_occurrence_date = 3; */ com.google.type.DateOrBuilder getSingleOccurrenceDateOrBuilder(); /** * * *
   * The exclusion window occurs every day if set to "True".
   * Specifying this field to "False" is an error.
   * 
* * bool daily = 4; * * @return Whether the daily field is set. */ boolean hasDaily(); /** * * *
   * The exclusion window occurs every day if set to "True".
   * Specifying this field to "False" is an error.
   * 
* * bool daily = 4; * * @return The daily. */ boolean getDaily(); /** * * *
   * The exclusion window occurs on these days of each week in UTC.
   * 
* * .google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5; * * @return Whether the daysOfWeek field is set. */ boolean hasDaysOfWeek(); /** * * *
   * The exclusion window occurs on these days of each week in UTC.
   * 
* * .google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5; * * @return The daysOfWeek. */ com.google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList getDaysOfWeek(); /** * * *
   * The exclusion window occurs on these days of each week in UTC.
   * 
* * .google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5; */ com.google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekListOrBuilder getDaysOfWeekOrBuilder(); com.google.cloud.gkebackup.v1.ExclusionWindow.RecurrenceCase getRecurrenceCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy