Package com.google.cloud.compute.v1
Interface AutoscalingPolicyScalingScheduleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoscalingPolicyScalingSchedule
,AutoscalingPolicyScalingSchedule.Builder
public interface AutoscalingPolicyScalingScheduleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
A description of a scaling schedule.com.google.protobuf.ByteString
getDescriptionBytes()
A description of a scaling schedule.boolean
getDisabled()
A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations.int
getDurationSec()
The duration of time intervals, in seconds, for which this scaling schedule is to run.int
getMinRequiredReplicas()
The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule.String
getSchedule()
The start timestamps of time intervals when this scaling schedule is to provide a scaling signal.com.google.protobuf.ByteString
getScheduleBytes()
The start timestamps of time intervals when this scaling schedule is to provide a scaling signal.String
getTimeZone()
The time zone to use when interpreting the schedule.com.google.protobuf.ByteString
getTimeZoneBytes()
The time zone to use when interpreting the schedule.boolean
hasDescription()
A description of a scaling schedule.boolean
hasDisabled()
A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations.boolean
hasDurationSec()
The duration of time intervals, in seconds, for which this scaling schedule is to run.boolean
hasMinRequiredReplicas()
The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule.boolean
hasSchedule()
The start timestamps of time intervals when this scaling schedule is to provide a scaling signal.boolean
hasTimeZone()
The time zone to use when interpreting the schedule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDescription
boolean hasDescription()
A description of a scaling schedule.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
A description of a scaling schedule.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
A description of a scaling schedule.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasDisabled
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;
- Returns:
- Whether the disabled field is set.
-
getDisabled
boolean getDisabled()
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;
- Returns:
- The disabled.
-
hasDurationSec
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;
- Returns:
- Whether the durationSec field is set.
-
getDurationSec
int getDurationSec()
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;
- Returns:
- The durationSec.
-
hasMinRequiredReplicas
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;
- Returns:
- Whether the minRequiredReplicas field is set.
-
getMinRequiredReplicas
int getMinRequiredReplicas()
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;
- Returns:
- The minRequiredReplicas.
-
hasSchedule
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;
- Returns:
- Whether the schedule field is set.
-
getSchedule
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;
- Returns:
- The schedule.
-
getScheduleBytes
com.google.protobuf.ByteString getScheduleBytes()
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;
- Returns:
- The bytes for schedule.
-
hasTimeZone
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: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” if left empty.
optional string time_zone = 36848094;
- Returns:
- Whether the timeZone field is set.
-
getTimeZone
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: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” if left empty.
optional string time_zone = 36848094;
- Returns:
- The timeZone.
-
getTimeZoneBytes
com.google.protobuf.ByteString getTimeZoneBytes()
The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” if left empty.
optional string time_zone = 36848094;
- Returns:
- The bytes for timeZone.
-
-