Package com.google.cloud.compute.v1
Class ResourcePolicyWeeklyCycleDayOfWeek.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
com.google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek.Builder
- All Implemented Interfaces:
ResourcePolicyWeeklyCycleDayOfWeekOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourcePolicyWeeklyCycleDayOfWeek
public static final class ResourcePolicyWeeklyCycleDayOfWeek.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
implements ResourcePolicyWeeklyCycleDayOfWeekOrBuilder
Protobuf type
google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearDay()Defines a schedule that runs on specific days of the week.Output only.Time within the window to start the operations.getDay()Defines a schedule that runs on specific days of the week.com.google.protobuf.ByteStringDefines a schedule that runs on specific days of the week.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Time within the window to start the operations.com.google.protobuf.ByteStringTime within the window to start the operations.booleanhasDay()Defines a schedule that runs on specific days of the week.booleanOutput only.booleanTime within the window to start the operations.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Defines a schedule that runs on specific days of the week.setDayBytes(com.google.protobuf.ByteString value) Defines a schedule that runs on specific days of the week.setDuration(String value) Output only.setDurationBytes(com.google.protobuf.ByteString value) Output only.setStartTime(String value) Time within the window to start the operations.setStartTimeBytes(com.google.protobuf.ByteString value) Time within the window to start the operations.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
-
mergeFrom
public ResourcePolicyWeeklyCycleDayOfWeek.Builder mergeFrom(ResourcePolicyWeeklyCycleDayOfWeek other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>
-
mergeFrom
public ResourcePolicyWeeklyCycleDayOfWeek.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourcePolicyWeeklyCycleDayOfWeek.Builder>- Throws:
IOException
-
hasDay
public 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;- Specified by:
hasDayin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- Whether the day field is set.
-
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;- Specified by:
getDayin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- The day.
-
getDayBytes
public 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;- Specified by:
getDayBytesin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- The bytes for day.
-
setDay
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;- Parameters:
value- The day to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setDayBytes
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;- Parameters:
value- The bytes for day to set.- Returns:
- This builder for chaining.
-
hasDuration
public boolean hasDuration()Output only. [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;- Specified by:
hasDurationin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
Output only. [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;- Specified by:
getDurationin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- The duration.
-
getDurationBytes
public com.google.protobuf.ByteString getDurationBytes()Output only. [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;- Specified by:
getDurationBytesin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- The bytes for duration.
-
setDuration
Output only. [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;- Parameters:
value- The duration to set.- Returns:
- This builder for chaining.
-
clearDuration
Output only. [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;- Returns:
- This builder for chaining.
-
setDurationBytes
public ResourcePolicyWeeklyCycleDayOfWeek.Builder setDurationBytes(com.google.protobuf.ByteString value) Output only. [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;- Parameters:
value- The bytes for duration to set.- Returns:
- This builder for chaining.
-
hasStartTime
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;- Specified by:
hasStartTimein interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- Whether the startTime field is set.
-
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;- Specified by:
getStartTimein interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- The startTime.
-
getStartTimeBytes
public 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;- Specified by:
getStartTimeBytesin interfaceResourcePolicyWeeklyCycleDayOfWeekOrBuilder- Returns:
- The bytes for startTime.
-
setStartTime
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;- Parameters:
value- The startTime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setStartTimeBytes
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;- Parameters:
value- The bytes for startTime to set.- Returns:
- This builder for chaining.
-