public static final class ResourcePolicyInstanceSchedulePolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder> implements ResourcePolicyInstanceSchedulePolicyOrBuilder
An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.Protobuf type
google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResourcePolicyInstanceSchedulePolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicyInstanceSchedulePolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicyInstanceSchedulePolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(ResourcePolicyInstanceSchedulePolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>IOExceptionpublic boolean hasExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;hasExpirationTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic String getExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;getExpirationTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic com.google.protobuf.ByteString getExpirationTimeBytes()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;getExpirationTimeBytes in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicy.Builder setExpirationTime(String value)
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;value - The expirationTime to set.public ResourcePolicyInstanceSchedulePolicy.Builder clearExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;public ResourcePolicyInstanceSchedulePolicy.Builder setExpirationTimeBytes(com.google.protobuf.ByteString value)
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;value - The bytes for expirationTime to set.public boolean hasStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;hasStartTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic String getStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;getStartTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;getStartTimeBytes in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicy.Builder setStartTime(String value)
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;value - The startTime to set.public ResourcePolicyInstanceSchedulePolicy.Builder clearStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;public ResourcePolicyInstanceSchedulePolicy.Builder setStartTimeBytes(com.google.protobuf.ByteString value)
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;value - The bytes for startTime to set.public boolean hasTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;hasTimeZone in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic String getTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;getTimeZone in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic com.google.protobuf.ByteString getTimeZoneBytes()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;getTimeZoneBytes in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicy.Builder setTimeZone(String value)
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;value - The timeZone to set.public ResourcePolicyInstanceSchedulePolicy.Builder clearTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;public ResourcePolicyInstanceSchedulePolicy.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;value - The bytes for timeZone to set.public boolean hasVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
hasVmStartSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
getVmStartSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicy.Builder setVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
public ResourcePolicyInstanceSchedulePolicy.Builder setVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule.Builder builderForValue)
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
public ResourcePolicyInstanceSchedulePolicy.Builder mergeVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
public ResourcePolicyInstanceSchedulePolicy.Builder clearVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
public ResourcePolicyInstanceSchedulePolicySchedule.Builder getVmStartScheduleBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
getVmStartScheduleOrBuilder in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic boolean hasVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
hasVmStopSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
getVmStopSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicy.Builder setVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
public ResourcePolicyInstanceSchedulePolicy.Builder setVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule.Builder builderForValue)
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
public ResourcePolicyInstanceSchedulePolicy.Builder mergeVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
public ResourcePolicyInstanceSchedulePolicy.Builder clearVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
public ResourcePolicyInstanceSchedulePolicySchedule.Builder getVmStopScheduleBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
getVmStopScheduleOrBuilder in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic final ResourcePolicyInstanceSchedulePolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>public final ResourcePolicyInstanceSchedulePolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder>Copyright © 2023 Google LLC. All rights reserved.