- 1.81.0 (latest)
- 1.80.0
- 1.79.0
- 1.78.0
- 1.76.0
- 1.74.0
- 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 TimeWindows.Builder extends GeneratedMessage.Builder<TimeWindows.Builder> implements TimeWindowsOrBuilderTime windows within which actions are restricted. See the documentation for more information on how to configure dates/times.
Protobuf type google.cloud.deploy.v1.TimeWindows
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimeWindows.BuilderImplements
TimeWindowsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllOneTimeWindows(Iterable<? extends OneTimeWindow> values)
public TimeWindows.Builder addAllOneTimeWindows(Iterable<? extends OneTimeWindow> values)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.deploy.v1.OneTimeWindow> |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addAllWeeklyWindows(Iterable<? extends WeeklyWindow> values)
public TimeWindows.Builder addAllWeeklyWindows(Iterable<? extends WeeklyWindow> values)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.deploy.v1.WeeklyWindow> |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addOneTimeWindows(OneTimeWindow value)
public TimeWindows.Builder addOneTimeWindows(OneTimeWindow value)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
OneTimeWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addOneTimeWindows(OneTimeWindow.Builder builderForValue)
public TimeWindows.Builder addOneTimeWindows(OneTimeWindow.Builder builderForValue)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OneTimeWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addOneTimeWindows(int index, OneTimeWindow value)
public TimeWindows.Builder addOneTimeWindows(int index, OneTimeWindow value)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OneTimeWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addOneTimeWindows(int index, OneTimeWindow.Builder builderForValue)
public TimeWindows.Builder addOneTimeWindows(int index, OneTimeWindow.Builder builderForValue)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OneTimeWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addOneTimeWindowsBuilder()
public OneTimeWindow.Builder addOneTimeWindowsBuilder()Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OneTimeWindow.Builder |
|
addOneTimeWindowsBuilder(int index)
public OneTimeWindow.Builder addOneTimeWindowsBuilder(int index)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OneTimeWindow.Builder |
|
addWeeklyWindows(WeeklyWindow value)
public TimeWindows.Builder addWeeklyWindows(WeeklyWindow value)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
WeeklyWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addWeeklyWindows(WeeklyWindow.Builder builderForValue)
public TimeWindows.Builder addWeeklyWindows(WeeklyWindow.Builder builderForValue)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WeeklyWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addWeeklyWindows(int index, WeeklyWindow value)
public TimeWindows.Builder addWeeklyWindows(int index, WeeklyWindow value)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
WeeklyWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addWeeklyWindows(int index, WeeklyWindow.Builder builderForValue)
public TimeWindows.Builder addWeeklyWindows(int index, WeeklyWindow.Builder builderForValue)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
WeeklyWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
addWeeklyWindowsBuilder()
public WeeklyWindow.Builder addWeeklyWindowsBuilder()Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
addWeeklyWindowsBuilder(int index)
public WeeklyWindow.Builder addWeeklyWindowsBuilder(int index)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
build()
public TimeWindows build()| Returns | |
|---|---|
| Type | Description |
TimeWindows |
|
buildPartial()
public TimeWindows buildPartial()| Returns | |
|---|---|
| Type | Description |
TimeWindows |
|
clear()
public TimeWindows.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
clearOneTimeWindows()
public TimeWindows.Builder clearOneTimeWindows()Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
clearTimeZone()
public TimeWindows.Builder clearTimeZone()Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
This builder for chaining. |
clearWeeklyWindows()
public TimeWindows.Builder clearWeeklyWindows()Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
getDefaultInstanceForType()
public TimeWindows getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeWindows |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOneTimeWindows(int index)
public OneTimeWindow getOneTimeWindows(int index)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OneTimeWindow |
|
getOneTimeWindowsBuilder(int index)
public OneTimeWindow.Builder getOneTimeWindowsBuilder(int index)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OneTimeWindow.Builder |
|
getOneTimeWindowsBuilderList()
public List<OneTimeWindow.Builder> getOneTimeWindowsBuilderList()Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getOneTimeWindowsCount()
public int getOneTimeWindowsCount()Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getOneTimeWindowsList()
public List<OneTimeWindow> getOneTimeWindowsList()Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<OneTimeWindow> |
|
getOneTimeWindowsOrBuilder(int index)
public OneTimeWindowOrBuilder getOneTimeWindowsOrBuilder(int index)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OneTimeWindowOrBuilder |
|
getOneTimeWindowsOrBuilderList()
public List<? extends OneTimeWindowOrBuilder> getOneTimeWindowsOrBuilderList()Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.deploy.v1.OneTimeWindowOrBuilder> |
|
getTimeZone()
public String getTimeZone()Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The timeZone. |
getTimeZoneBytes()
public ByteString getTimeZoneBytes()Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for timeZone. |
getWeeklyWindows(int index)
public WeeklyWindow getWeeklyWindows(int index)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow |
|
getWeeklyWindowsBuilder(int index)
public WeeklyWindow.Builder getWeeklyWindowsBuilder(int index)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindow.Builder |
|
getWeeklyWindowsBuilderList()
public List<WeeklyWindow.Builder> getWeeklyWindowsBuilderList()Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getWeeklyWindowsCount()
public int getWeeklyWindowsCount()Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getWeeklyWindowsList()
public List<WeeklyWindow> getWeeklyWindowsList()Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<WeeklyWindow> |
|
getWeeklyWindowsOrBuilder(int index)
public WeeklyWindowOrBuilder getWeeklyWindowsOrBuilder(int index)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WeeklyWindowOrBuilder |
|
getWeeklyWindowsOrBuilderList()
public List<? extends WeeklyWindowOrBuilder> getWeeklyWindowsOrBuilderList()Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.deploy.v1.WeeklyWindowOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TimeWindows other)
public TimeWindows.Builder mergeFrom(TimeWindows other)| Parameter | |
|---|---|
| Name | Description |
other |
TimeWindows |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeWindows.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimeWindows.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
removeOneTimeWindows(int index)
public TimeWindows.Builder removeOneTimeWindows(int index)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
removeWeeklyWindows(int index)
public TimeWindows.Builder removeWeeklyWindows(int index)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
setOneTimeWindows(int index, OneTimeWindow value)
public TimeWindows.Builder setOneTimeWindows(int index, OneTimeWindow value)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OneTimeWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
setOneTimeWindows(int index, OneTimeWindow.Builder builderForValue)
public TimeWindows.Builder setOneTimeWindows(int index, OneTimeWindow.Builder builderForValue)Optional. One-time windows within which actions are restricted.
repeated .google.cloud.deploy.v1.OneTimeWindow one_time_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OneTimeWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
setTimeZone(String value)
public TimeWindows.Builder setTimeZone(String value)Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe timeZone to set. |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
This builder for chaining. |
setTimeZoneBytes(ByteString value)
public TimeWindows.Builder setTimeZoneBytes(ByteString value)Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for timeZone to set. |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
This builder for chaining. |
setWeeklyWindows(int index, WeeklyWindow value)
public TimeWindows.Builder setWeeklyWindows(int index, WeeklyWindow value)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
WeeklyWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|
setWeeklyWindows(int index, WeeklyWindow.Builder builderForValue)
public TimeWindows.Builder setWeeklyWindows(int index, WeeklyWindow.Builder builderForValue)Optional. Recurring weekly windows within which actions are restricted.
repeated .google.cloud.deploy.v1.WeeklyWindow weekly_windows = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
WeeklyWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindows.Builder |
|