Package io.temporal.api.deployment.v1
Interface WorkerDeploymentInfo.WorkerDeploymentVersionSummaryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerDeploymentInfo.WorkerDeploymentVersionSummary,WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder
- Enclosing class:
- WorkerDeploymentInfo
public static interface WorkerDeploymentInfo.WorkerDeploymentVersionSummaryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime().google.protobuf.Timestamp create_time = 2;com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder().google.protobuf.Timestamp create_time = 2;com.google.protobuf.TimestampgetCurrentSinceTime()Unset if not current.com.google.protobuf.TimestampOrBuildergetCurrentSinceTimeOrBuilder()Unset if not current.WorkerDeploymentVersiongetDeploymentVersion()Required.WorkerDeploymentVersionOrBuildergetDeploymentVersionOrBuilder()Required.VersionDrainageInfogetDrainageInfo()Information about workflow drainage to help the user determine when it is safe to decommission a Version.VersionDrainageInfoOrBuildergetDrainageInfoOrBuilder()Information about workflow drainage to help the user determine when it is safe to decommission a Version.VersionDrainageStatusgetDrainageStatus()Deprecated.intgetDrainageStatusValue()Deprecated.com.google.protobuf.TimestampgetFirstActivationTime()Timestamp when this version first became current or ramping.com.google.protobuf.TimestampOrBuildergetFirstActivationTimeOrBuilder()Timestamp when this version first became current or ramping.com.google.protobuf.TimestampgetLastDeactivationTime()Timestamp when this version last stopped being current or ramping.com.google.protobuf.TimestampOrBuildergetLastDeactivationTimeOrBuilder()Timestamp when this version last stopped being current or ramping.com.google.protobuf.TimestampgetRampingSinceTime()Unset if not ramping.com.google.protobuf.TimestampOrBuildergetRampingSinceTimeOrBuilder()Unset if not ramping.com.google.protobuf.TimestampgetRoutingUpdateTime()Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.com.google.protobuf.TimestampOrBuildergetRoutingUpdateTimeOrBuilder()Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.WorkerDeploymentVersionStatusgetStatus()The status of the Worker Deployment Version.intgetStatusValue()The status of the Worker Deployment Version.java.lang.StringgetVersion()Deprecated.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.version is deprecated.com.google.protobuf.ByteStringgetVersionBytes()Deprecated.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.version is deprecated.booleanhasCreateTime().google.protobuf.Timestamp create_time = 2;booleanhasCurrentSinceTime()Unset if not current.booleanhasDeploymentVersion()Required.booleanhasDrainageInfo()Information about workflow drainage to help the user determine when it is safe to decommission a Version.booleanhasFirstActivationTime()Timestamp when this version first became current or ramping.booleanhasLastDeactivationTime()Timestamp when this version last stopped being current or ramping.booleanhasRampingSinceTime()Unset if not ramping.booleanhasRoutingUpdateTime()Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVersion
@Deprecated java.lang.String getVersion()
Deprecated.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.version is deprecated. See temporal/api/deployment/v1/message.proto;l=205Deprecated. Use `deployment_version`.
string version = 1 [deprecated = true];- Returns:
- The version.
-
getVersionBytes
@Deprecated com.google.protobuf.ByteString getVersionBytes()
Deprecated.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.version is deprecated. See temporal/api/deployment/v1/message.proto;l=205Deprecated. Use `deployment_version`.
string version = 1 [deprecated = true];- Returns:
- The bytes for version.
-
getStatusValue
int getStatusValue()
The status of the Worker Deployment Version.
.temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 11;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
WorkerDeploymentVersionStatus getStatus()
The status of the Worker Deployment Version.
.temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 11;- Returns:
- The status.
-
hasDeploymentVersion
boolean hasDeploymentVersion()
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
WorkerDeploymentVersion getDeploymentVersion()
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Returns:
- The deploymentVersion.
-
getDeploymentVersionOrBuilder
WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder()
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
-
hasCreateTime
boolean hasCreateTime()
.google.protobuf.Timestamp create_time = 2;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
.google.protobuf.Timestamp create_time = 2;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
.google.protobuf.Timestamp create_time = 2;
-
getDrainageStatusValue
int getDrainageStatusValue()
Deprecated. Use `drainage_info` instead.
.temporal.api.enums.v1.VersionDrainageStatus drainage_status = 3;- Returns:
- The enum numeric value on the wire for drainageStatus.
-
getDrainageStatus
VersionDrainageStatus getDrainageStatus()
Deprecated. Use `drainage_info` instead.
.temporal.api.enums.v1.VersionDrainageStatus drainage_status = 3;- Returns:
- The drainageStatus.
-
hasDrainageInfo
boolean hasDrainageInfo()
Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping
.temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 5;- Returns:
- Whether the drainageInfo field is set.
-
getDrainageInfo
VersionDrainageInfo getDrainageInfo()
Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping
.temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 5;- Returns:
- The drainageInfo.
-
getDrainageInfoOrBuilder
VersionDrainageInfoOrBuilder getDrainageInfoOrBuilder()
Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping
.temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 5;
-
hasCurrentSinceTime
boolean hasCurrentSinceTime()
Unset if not current. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --).google.protobuf.Timestamp current_since_time = 6;- Returns:
- Whether the currentSinceTime field is set.
-
getCurrentSinceTime
com.google.protobuf.Timestamp getCurrentSinceTime()
Unset if not current. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --).google.protobuf.Timestamp current_since_time = 6;- Returns:
- The currentSinceTime.
-
getCurrentSinceTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCurrentSinceTimeOrBuilder()
Unset if not current. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --).google.protobuf.Timestamp current_since_time = 6;
-
hasRampingSinceTime
boolean hasRampingSinceTime()
Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --).google.protobuf.Timestamp ramping_since_time = 7;- Returns:
- Whether the rampingSinceTime field is set.
-
getRampingSinceTime
com.google.protobuf.Timestamp getRampingSinceTime()
Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --).google.protobuf.Timestamp ramping_since_time = 7;- Returns:
- The rampingSinceTime.
-
getRampingSinceTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRampingSinceTimeOrBuilder()
Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --).google.protobuf.Timestamp ramping_since_time = 7;
-
hasRoutingUpdateTime
boolean hasRoutingUpdateTime()
Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
.google.protobuf.Timestamp routing_update_time = 8;- Returns:
- Whether the routingUpdateTime field is set.
-
getRoutingUpdateTime
com.google.protobuf.Timestamp getRoutingUpdateTime()
Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
.google.protobuf.Timestamp routing_update_time = 8;- Returns:
- The routingUpdateTime.
-
getRoutingUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRoutingUpdateTimeOrBuilder()
Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
.google.protobuf.Timestamp routing_update_time = 8;
-
hasFirstActivationTime
boolean hasFirstActivationTime()
Timestamp when this version first became current or ramping.
.google.protobuf.Timestamp first_activation_time = 9;- Returns:
- Whether the firstActivationTime field is set.
-
getFirstActivationTime
com.google.protobuf.Timestamp getFirstActivationTime()
Timestamp when this version first became current or ramping.
.google.protobuf.Timestamp first_activation_time = 9;- Returns:
- The firstActivationTime.
-
getFirstActivationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getFirstActivationTimeOrBuilder()
Timestamp when this version first became current or ramping.
.google.protobuf.Timestamp first_activation_time = 9;
-
hasLastDeactivationTime
boolean hasLastDeactivationTime()
Timestamp when this version last stopped being current or ramping.
.google.protobuf.Timestamp last_deactivation_time = 10;- Returns:
- Whether the lastDeactivationTime field is set.
-
getLastDeactivationTime
com.google.protobuf.Timestamp getLastDeactivationTime()
Timestamp when this version last stopped being current or ramping.
.google.protobuf.Timestamp last_deactivation_time = 10;- Returns:
- The lastDeactivationTime.
-
getLastDeactivationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastDeactivationTimeOrBuilder()
Timestamp when this version last stopped being current or ramping.
.google.protobuf.Timestamp last_deactivation_time = 10;
-
-