Package com.google.cloud.compute.v1
Class AutoscalingPolicyScalingSchedule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
- com.google.cloud.compute.v1.AutoscalingPolicyScalingSchedule.Builder
-
- All Implemented Interfaces:
AutoscalingPolicyScalingScheduleOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AutoscalingPolicyScalingSchedule
public static final class AutoscalingPolicyScalingSchedule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder> implements AutoscalingPolicyScalingScheduleOrBuilder
Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out.
Protobuf typegoogle.cloud.compute.v1.AutoscalingPolicyScalingSchedule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoscalingPolicyScalingSchedule.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoscalingPolicyScalingSchedule
build()
AutoscalingPolicyScalingSchedule
buildPartial()
AutoscalingPolicyScalingSchedule.Builder
clear()
AutoscalingPolicyScalingSchedule.Builder
clearDescription()
A description of a scaling schedule.AutoscalingPolicyScalingSchedule.Builder
clearDisabled()
A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations.AutoscalingPolicyScalingSchedule.Builder
clearDurationSec()
The duration of time intervals, in seconds, for which this scaling schedule is to run.AutoscalingPolicyScalingSchedule.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AutoscalingPolicyScalingSchedule.Builder
clearMinRequiredReplicas()
The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule.AutoscalingPolicyScalingSchedule.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AutoscalingPolicyScalingSchedule.Builder
clearSchedule()
The start timestamps of time intervals when this scaling schedule is to provide a scaling signal.AutoscalingPolicyScalingSchedule.Builder
clearTimeZone()
The time zone to use when interpreting the schedule.AutoscalingPolicyScalingSchedule.Builder
clone()
AutoscalingPolicyScalingSchedule
getDefaultInstanceForType()
String
getDescription()
A description of a scaling schedule.com.google.protobuf.ByteString
getDescriptionBytes()
A description of a scaling schedule.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AutoscalingPolicyScalingSchedule.Builder
mergeFrom(AutoscalingPolicyScalingSchedule other)
AutoscalingPolicyScalingSchedule.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AutoscalingPolicyScalingSchedule.Builder
mergeFrom(com.google.protobuf.Message other)
AutoscalingPolicyScalingSchedule.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AutoscalingPolicyScalingSchedule.Builder
setDescription(String value)
A description of a scaling schedule.AutoscalingPolicyScalingSchedule.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of a scaling schedule.AutoscalingPolicyScalingSchedule.Builder
setDisabled(boolean value)
A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations.AutoscalingPolicyScalingSchedule.Builder
setDurationSec(int value)
The duration of time intervals, in seconds, for which this scaling schedule is to run.AutoscalingPolicyScalingSchedule.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoscalingPolicyScalingSchedule.Builder
setMinRequiredReplicas(int value)
The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule.AutoscalingPolicyScalingSchedule.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AutoscalingPolicyScalingSchedule.Builder
setSchedule(String value)
The start timestamps of time intervals when this scaling schedule is to provide a scaling signal.AutoscalingPolicyScalingSchedule.Builder
setScheduleBytes(com.google.protobuf.ByteString value)
The start timestamps of time intervals when this scaling schedule is to provide a scaling signal.AutoscalingPolicyScalingSchedule.Builder
setTimeZone(String value)
The time zone to use when interpreting the schedule.AutoscalingPolicyScalingSchedule.Builder
setTimeZoneBytes(com.google.protobuf.ByteString value)
The time zone to use when interpreting the schedule.AutoscalingPolicyScalingSchedule.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
clear
public AutoscalingPolicyScalingSchedule.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
getDefaultInstanceForType
public AutoscalingPolicyScalingSchedule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutoscalingPolicyScalingSchedule build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutoscalingPolicyScalingSchedule buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutoscalingPolicyScalingSchedule.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
setField
public AutoscalingPolicyScalingSchedule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
clearField
public AutoscalingPolicyScalingSchedule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
clearOneof
public AutoscalingPolicyScalingSchedule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
setRepeatedField
public AutoscalingPolicyScalingSchedule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
addRepeatedField
public AutoscalingPolicyScalingSchedule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
mergeFrom
public AutoscalingPolicyScalingSchedule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
mergeFrom
public AutoscalingPolicyScalingSchedule.Builder mergeFrom(AutoscalingPolicyScalingSchedule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
mergeFrom
public AutoscalingPolicyScalingSchedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutoscalingPolicyScalingSchedule.Builder>
- Throws:
IOException
-
hasDescription
public boolean hasDescription()
A description of a scaling schedule.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
A description of a scaling schedule.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A description of a scaling schedule.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public AutoscalingPolicyScalingSchedule.Builder setDescription(String value)
A description of a scaling schedule.
optional string description = 422937596;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public AutoscalingPolicyScalingSchedule.Builder clearDescription()
A description of a scaling schedule.
optional string description = 422937596;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AutoscalingPolicyScalingSchedule.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description of a scaling schedule.
optional string description = 422937596;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDisabled
public 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;
- Specified by:
hasDisabled
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- Whether the disabled field is set.
-
getDisabled
public 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;
- Specified by:
getDisabled
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The disabled.
-
setDisabled
public AutoscalingPolicyScalingSchedule.Builder setDisabled(boolean value)
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;
- Parameters:
value
- The disabled to set.- Returns:
- This builder for chaining.
-
clearDisabled
public AutoscalingPolicyScalingSchedule.Builder clearDisabled()
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:
- This builder for chaining.
-
hasDurationSec
public 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;
- Specified by:
hasDurationSec
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- Whether the durationSec field is set.
-
getDurationSec
public 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;
- Specified by:
getDurationSec
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The durationSec.
-
setDurationSec
public AutoscalingPolicyScalingSchedule.Builder setDurationSec(int value)
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;
- Parameters:
value
- The durationSec to set.- Returns:
- This builder for chaining.
-
clearDurationSec
public AutoscalingPolicyScalingSchedule.Builder clearDurationSec()
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:
- This builder for chaining.
-
hasMinRequiredReplicas
public 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;
- Specified by:
hasMinRequiredReplicas
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- Whether the minRequiredReplicas field is set.
-
getMinRequiredReplicas
public 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;
- Specified by:
getMinRequiredReplicas
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The minRequiredReplicas.
-
setMinRequiredReplicas
public AutoscalingPolicyScalingSchedule.Builder setMinRequiredReplicas(int value)
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;
- Parameters:
value
- The minRequiredReplicas to set.- Returns:
- This builder for chaining.
-
clearMinRequiredReplicas
public AutoscalingPolicyScalingSchedule.Builder clearMinRequiredReplicas()
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:
- This builder for chaining.
-
hasSchedule
public 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;
- Specified by:
hasSchedule
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- Whether the schedule field is set.
-
getSchedule
public 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;
- Specified by:
getSchedule
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The schedule.
-
getScheduleBytes
public 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;
- Specified by:
getScheduleBytes
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The bytes for schedule.
-
setSchedule
public AutoscalingPolicyScalingSchedule.Builder setSchedule(String value)
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;
- Parameters:
value
- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
public AutoscalingPolicyScalingSchedule.Builder clearSchedule()
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:
- This builder for chaining.
-
setScheduleBytes
public AutoscalingPolicyScalingSchedule.Builder setScheduleBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
hasTimeZone
public 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;
- Specified by:
hasTimeZone
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- Whether the timeZone field is set.
-
getTimeZone
public 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;
- Specified by:
getTimeZone
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The timeZone.
-
getTimeZoneBytes
public 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;
- Specified by:
getTimeZoneBytes
in interfaceAutoscalingPolicyScalingScheduleOrBuilder
- Returns:
- The bytes for timeZone.
-
setTimeZone
public AutoscalingPolicyScalingSchedule.Builder setTimeZone(String value)
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;
- Parameters:
value
- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
public AutoscalingPolicyScalingSchedule.Builder clearTimeZone()
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:
- This builder for chaining.
-
setTimeZoneBytes
public AutoscalingPolicyScalingSchedule.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AutoscalingPolicyScalingSchedule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
mergeUnknownFields
public final AutoscalingPolicyScalingSchedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScalingSchedule.Builder>
-
-