public static enum Schedule.State extends Enum<Schedule.State> implements com.google.protobuf.ProtocolMessageEnum
Possible state of the schedule.Protobuf enum
google.cloud.aiplatform.v1.Schedule.State| Enum Constant and Description |
|---|
ACTIVE
The Schedule is active.
|
COMPLETED
The Schedule is completed.
|
PAUSED
The schedule is paused.
|
STATE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The Schedule is active.
|
static int |
COMPLETED_VALUE
The Schedule is completed.
|
static int |
PAUSED_VALUE
The schedule is paused.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static Schedule.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Schedule.State> |
internalGetValueMap() |
static Schedule.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Schedule.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Schedule.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schedule.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schedule.State STATE_UNSPECIFIED
Unspecified.
STATE_UNSPECIFIED = 0;public static final Schedule.State ACTIVE
The Schedule is active. Runs are being scheduled on the user-specified timespec.
ACTIVE = 1;public static final Schedule.State PAUSED
The schedule is paused. No new runs will be created until the schedule is resumed. Already started runs will be allowed to complete.
PAUSED = 2;public static final Schedule.State COMPLETED
The Schedule is completed. No new runs will be scheduled. Already started runs will be allowed to complete. Schedules in completed state cannot be paused or resumed.
COMPLETED = 3;public static final Schedule.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified.
STATE_UNSPECIFIED = 0;public static final int ACTIVE_VALUE
The Schedule is active. Runs are being scheduled on the user-specified timespec.
ACTIVE = 1;public static final int PAUSED_VALUE
The schedule is paused. No new runs will be created until the schedule is resumed. Already started runs will be allowed to complete.
PAUSED = 2;public static final int COMPLETED_VALUE
The Schedule is completed. No new runs will be scheduled. Already started runs will be allowed to complete. Schedules in completed state cannot be paused or resumed.
COMPLETED = 3;public static Schedule.State[] values()
for (Schedule.State c : Schedule.State.values()) System.out.println(c);
public static Schedule.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Schedule.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Schedule.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Schedule.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Schedule.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.