- 1.74.0 (latest)
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class WeeklyWindow.Builder extends GeneratedMessageV3.Builder<WeeklyWindow.Builder> implements WeeklyWindowOrBuilderWeekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.
Protobuf type google.cloud.deploy.v1.WeeklyWindow
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WeeklyWindow.BuilderImplements
WeeklyWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDaysOfWeek(Iterable<? extends DayOfWeek> values)
public WeeklyWindow.Builder addAllDaysOfWeek(Iterable<? extends DayOfWeek> values)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.type.DayOfWeek>The daysOfWeek to add. |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
addAllDaysOfWeekValue(Iterable<Integer> values)
public WeeklyWindow.Builder addAllDaysOfWeekValue(Iterable<Integer> values)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for daysOfWeek to add. |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
addDaysOfWeek(DayOfWeek value)
public WeeklyWindow.Builder addDaysOfWeek(DayOfWeek value)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.DayOfWeekThe daysOfWeek to add. |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
addDaysOfWeekValue(int value)
public WeeklyWindow.Builder addDaysOfWeekValue(int value)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for daysOfWeek to add. |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WeeklyWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
build()
public WeeklyWindow build()| Returns | |
|---|---|
| Type | Description |
WeeklyWindow |
|
buildPartial()
public WeeklyWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
WeeklyWindow |
|
clear()
public WeeklyWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
clearDaysOfWeek()
public WeeklyWindow.Builder clearDaysOfWeek()Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
clearEndTime()
public WeeklyWindow.Builder clearEndTime()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public WeeklyWindow.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public WeeklyWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
clearStartTime()
public WeeklyWindow.Builder clearStartTime()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
clone()
public WeeklyWindow.Builder clone()| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
getDaysOfWeek(int index)
public DayOfWeek getDaysOfWeek(int index)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
com.google.type.DayOfWeek |
The daysOfWeek at the given index. |
getDaysOfWeekCount()
public int getDaysOfWeekCount()Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of daysOfWeek. |
getDaysOfWeekList()
public List<DayOfWeek> getDaysOfWeekList()Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<com.google.type.DayOfWeek> |
A list containing the daysOfWeek. |
getDaysOfWeekValue(int index)
public int getDaysOfWeekValue(int index)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of daysOfWeek at the given index. |
getDaysOfWeekValueList()
public List<Integer> getDaysOfWeekValueList()Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for daysOfWeek. |
getDefaultInstanceForType()
public WeeklyWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WeeklyWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public TimeOfDay getEndTime()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The endTime. |
getEndTimeBuilder()
public TimeOfDay.Builder getEndTimeBuilder()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay.Builder |
|
getEndTimeOrBuilder()
public TimeOfDayOrBuilder getEndTimeOrBuilder()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
getStartTime()
public TimeOfDay getStartTime()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The startTime. |
getStartTimeBuilder()
public TimeOfDay.Builder getStartTimeBuilder()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay.Builder |
|
getStartTimeOrBuilder()
public TimeOfDayOrBuilder getStartTimeOrBuilder()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
hasEndTime()
public boolean hasEndTime()Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(TimeOfDay value)
public WeeklyWindow.Builder mergeEndTime(TimeOfDay value)Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
mergeFrom(WeeklyWindow other)
public WeeklyWindow.Builder mergeFrom(WeeklyWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
WeeklyWindow |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WeeklyWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WeeklyWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
mergeStartTime(TimeOfDay value)
public WeeklyWindow.Builder mergeStartTime(TimeOfDay value)Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WeeklyWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setDaysOfWeek(int index, DayOfWeek value)
public WeeklyWindow.Builder setDaysOfWeek(int index, DayOfWeek value)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
com.google.type.DayOfWeekThe daysOfWeek to set. |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
setDaysOfWeekValue(int index, int value)
public WeeklyWindow.Builder setDaysOfWeekValue(int index, int value)Optional. Days of week. If left empty, all days of the week will be included.
repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for daysOfWeek to set. |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
This builder for chaining. |
setEndTime(TimeOfDay value)
public WeeklyWindow.Builder setEndTime(TimeOfDay value)Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setEndTime(TimeOfDay.Builder builderForValue)
public WeeklyWindow.Builder setEndTime(TimeOfDay.Builder builderForValue)Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.TimeOfDay.Builder |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public WeeklyWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WeeklyWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setStartTime(TimeOfDay value)
public WeeklyWindow.Builder setStartTime(TimeOfDay value)Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setStartTime(TimeOfDay.Builder builderForValue)
public WeeklyWindow.Builder setStartTime(TimeOfDay.Builder builderForValue)Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.TimeOfDay.Builder |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final WeeklyWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|