public static final class ResourcePolicyWeeklyCycleDayOfWeek.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder> implements ResourcePolicyWeeklyCycleDayOfWeekOrBuilder
Protobuf type
google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek| Modifier and Type | Method and Description |
|---|---|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicyWeeklyCycleDayOfWeek |
build() |
ResourcePolicyWeeklyCycleDayOfWeek |
buildPartial() |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clear() |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clearDay()
Defines a schedule that runs on specific days of the week.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clearDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clearStartTime()
Time within the window to start the operations.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
clone() |
String |
getDay()
Defines a schedule that runs on specific days of the week.
|
com.google.protobuf.ByteString |
getDayBytes()
Defines a schedule that runs on specific days of the week.
|
ResourcePolicyWeeklyCycleDayOfWeek |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
com.google.protobuf.ByteString |
getDurationBytes()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
String |
getStartTime()
Time within the window to start the operations.
|
com.google.protobuf.ByteString |
getStartTimeBytes()
Time within the window to start the operations.
|
boolean |
hasDay()
Defines a schedule that runs on specific days of the week.
|
boolean |
hasDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
boolean |
hasStartTime()
Time within the window to start the operations.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
mergeFrom(ResourcePolicyWeeklyCycleDayOfWeek other) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setDay(String value)
Defines a schedule that runs on specific days of the week.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setDayBytes(com.google.protobuf.ByteString value)
Defines a schedule that runs on specific days of the week.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setDuration(String value)
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setDurationBytes(com.google.protobuf.ByteString value)
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setStartTime(String value)
Time within the window to start the operations.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setStartTimeBytes(com.google.protobuf.ByteString value)
Time within the window to start the operations.
|
ResourcePolicyWeeklyCycleDayOfWeek.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.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<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResourcePolicyWeeklyCycleDayOfWeek build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicyWeeklyCycleDayOfWeek buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicyWeeklyCycleDayOfWeek.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.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<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.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<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.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<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.Builder mergeFrom(ResourcePolicyWeeklyCycleDayOfWeek other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public ResourcePolicyWeeklyCycleDayOfWeek.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<ResourcePolicyWeeklyCycleDayOfWeek.Builder>IOExceptionpublic boolean hasDay()
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Check the Day enum for the list of possible values.
optional string day = 99228;hasDay in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic String getDay()
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Check the Day enum for the list of possible values.
optional string day = 99228;getDay in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic com.google.protobuf.ByteString getDayBytes()
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Check the Day enum for the list of possible values.
optional string day = 99228;getDayBytes in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic ResourcePolicyWeeklyCycleDayOfWeek.Builder setDay(String value)
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Check the Day enum for the list of possible values.
optional string day = 99228;value - The day to set.public ResourcePolicyWeeklyCycleDayOfWeek.Builder clearDay()
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Check the Day enum for the list of possible values.
optional string day = 99228;public ResourcePolicyWeeklyCycleDayOfWeek.Builder setDayBytes(com.google.protobuf.ByteString value)
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Check the Day enum for the list of possible values.
optional string day = 99228;value - The bytes for day to set.public boolean hasDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;hasDuration in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic String getDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;getDuration in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic com.google.protobuf.ByteString getDurationBytes()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;getDurationBytes in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic ResourcePolicyWeeklyCycleDayOfWeek.Builder setDuration(String value)
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;value - The duration to set.public ResourcePolicyWeeklyCycleDayOfWeek.Builder clearDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;public ResourcePolicyWeeklyCycleDayOfWeek.Builder setDurationBytes(com.google.protobuf.ByteString value)
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;value - The bytes for duration to set.public boolean hasStartTime()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;hasStartTime in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic String getStartTime()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;getStartTime in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;getStartTimeBytes in interface ResourcePolicyWeeklyCycleDayOfWeekOrBuilderpublic ResourcePolicyWeeklyCycleDayOfWeek.Builder setStartTime(String value)
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;value - The startTime to set.public ResourcePolicyWeeklyCycleDayOfWeek.Builder clearStartTime()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;public ResourcePolicyWeeklyCycleDayOfWeek.Builder setStartTimeBytes(com.google.protobuf.ByteString value)
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;value - The bytes for startTime to set.public final ResourcePolicyWeeklyCycleDayOfWeek.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>public final ResourcePolicyWeeklyCycleDayOfWeek.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>Copyright © 2023 Google LLC. All rights reserved.