Package io.temporal.api.deployment.v1
Interface VersionDrainageInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VersionDrainageInfo,VersionDrainageInfo.Builder
@Generated(value="protoc", comments="annotations:VersionDrainageInfoOrBuilder.java.pb.meta") public interface VersionDrainageInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetLastChangedTime()Last time the drainage status changed.com.google.protobuf.TimestampOrBuildergetLastChangedTimeOrBuilder()Last time the drainage status changed.com.google.protobuf.TimestampgetLastCheckedTime()Last time the system checked for drainage of this version.com.google.protobuf.TimestampOrBuildergetLastCheckedTimeOrBuilder()Last time the system checked for drainage of this version.VersionDrainageStatusgetStatus()Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping).intgetStatusValue()Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping).booleanhasLastChangedTime()Last time the drainage status changed.booleanhasLastCheckedTime()Last time the system checked for drainage of this version.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStatusValue
int getStatusValue()
Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping). Set to DRAINED when no more open pinned workflows exist on this version.
.temporal.api.enums.v1.VersionDrainageStatus status = 1;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
VersionDrainageStatus getStatus()
Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping). Set to DRAINED when no more open pinned workflows exist on this version.
.temporal.api.enums.v1.VersionDrainageStatus status = 1;- Returns:
- The status.
-
hasLastChangedTime
boolean hasLastChangedTime()
Last time the drainage status changed.
.google.protobuf.Timestamp last_changed_time = 2;- Returns:
- Whether the lastChangedTime field is set.
-
getLastChangedTime
com.google.protobuf.Timestamp getLastChangedTime()
Last time the drainage status changed.
.google.protobuf.Timestamp last_changed_time = 2;- Returns:
- The lastChangedTime.
-
getLastChangedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastChangedTimeOrBuilder()
Last time the drainage status changed.
.google.protobuf.Timestamp last_changed_time = 2;
-
hasLastCheckedTime
boolean hasLastCheckedTime()
Last time the system checked for drainage of this version.
.google.protobuf.Timestamp last_checked_time = 3;- Returns:
- Whether the lastCheckedTime field is set.
-
getLastCheckedTime
com.google.protobuf.Timestamp getLastCheckedTime()
Last time the system checked for drainage of this version.
.google.protobuf.Timestamp last_checked_time = 3;- Returns:
- The lastCheckedTime.
-
getLastCheckedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastCheckedTimeOrBuilder()
Last time the system checked for drainage of this version.
.google.protobuf.Timestamp last_checked_time = 3;
-
-