public final class TimeWindows extends GeneratedMessageV3 implements TimeWindowsOrBuilder
Time 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ONE_TIME_WINDOWS_FIELD_NUMBER
public static final int ONE_TIME_WINDOWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WEEKLY_WINDOWS_FIELD_NUMBER
public static final int WEEKLY_WINDOWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TimeWindows getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TimeWindows.Builder newBuilder()
newBuilder(TimeWindows prototype)
public static TimeWindows.Builder newBuilder(TimeWindows prototype)
public static TimeWindows parseDelimitedFrom(InputStream input)
public static TimeWindows parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TimeWindows parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeWindows parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TimeWindows parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeWindows parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeWindows parseFrom(CodedInputStream input)
public static TimeWindows parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeWindows parseFrom(InputStream input)
public static TimeWindows parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TimeWindows parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeWindows parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TimeWindows> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public TimeWindows getDefaultInstanceForType()
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
|
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];
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
|
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> |
|
getParserForType()
public Parser<TimeWindows> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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
|
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];
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
|
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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TimeWindows.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimeWindows.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TimeWindows.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides