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

com.google.cloud.compute.v1.AutoscalingPolicyScalingScheduleOrBuilder Maven / Gradle / Ivy

/*
 * 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/compute/v1/compute.proto

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

public interface AutoscalingPolicyScalingScheduleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AutoscalingPolicyScalingSchedule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * A description of a scaling schedule.
   * 
* * optional string description = 422937596; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * A description of a scaling schedule.
   * 
* * optional string description = 422937596; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * A description of a scaling schedule.
   * 
* * optional string description = 422937596; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default.
   * 
* * optional bool disabled = 270940796; * * @return Whether the disabled field is set. */ boolean hasDisabled(); /** * * *
   * A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default.
   * 
* * optional bool disabled = 270940796; * * @return The disabled. */ boolean getDisabled(); /** * * *
   * The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required.
   * 
* * optional int32 duration_sec = 212356902; * * @return Whether the durationSec field is set. */ boolean hasDurationSec(); /** * * *
   * The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required.
   * 
* * optional int32 duration_sec = 212356902; * * @return The durationSec. */ int getDurationSec(); /** * * *
   * The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required.
   * 
* * optional int32 min_required_replicas = 365514414; * * @return Whether the minRequiredReplicas field is set. */ boolean hasMinRequiredReplicas(); /** * * *
   * The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required.
   * 
* * optional int32 min_required_replicas = 365514414; * * @return The minRequiredReplicas. */ int getMinRequiredReplicas(); /** * * *
   * The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.
   * 
* * optional string schedule = 375820951; * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** * * *
   * The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.
   * 
* * optional string schedule = 375820951; * * @return The schedule. */ java.lang.String getSchedule(); /** * * *
   * The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.
   * 
* * optional string schedule = 375820951; * * @return The bytes for schedule. */ com.google.protobuf.ByteString getScheduleBytes(); /** * * *
   * The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of "UTC" if left empty.
   * 
* * optional string time_zone = 36848094; * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** * * *
   * The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of "UTC" if left empty.
   * 
* * optional string time_zone = 36848094; * * @return The timeZone. */ java.lang.String getTimeZone(); /** * * *
   * The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of "UTC" if left empty.
   * 
* * optional string time_zone = 36848094; * * @return The bytes for timeZone. */ com.google.protobuf.ByteString getTimeZoneBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy