Package io.temporal.api.deployment.v1
Class WorkerDeploymentVersionInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.deployment.v1.WorkerDeploymentVersionInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkerDeploymentVersionInfoOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:WorkerDeploymentVersionInfo.java.pb.meta") public final class WorkerDeploymentVersionInfo extends com.google.protobuf.GeneratedMessageV3 implements WorkerDeploymentVersionInfoOrBuilderA Worker Deployment Version (Version, for short) represents all workers of the same code and config within a Deployment. Workers of the same Version are expected to behave exactly the same so when executions move between them there are no non-determinism issues. Worker Deployment Versions are created in Temporal server automatically when their first poller arrives to the server. Experimental. Worker Deployments are experimental and might significantly change in the future.
Protobuf typetemporal.api.deployment.v1.WorkerDeploymentVersionInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkerDeploymentVersionInfo.BuilderA Worker Deployment Version (Version, for short) represents all workers of the same code and config within a Deployment.static classWorkerDeploymentVersionInfo.VersionTaskQueueInfoProtobuf typetemporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfostatic interfaceWorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intCURRENT_SINCE_TIME_FIELD_NUMBERstatic intDEPLOYMENT_NAME_FIELD_NUMBERstatic intDEPLOYMENT_VERSION_FIELD_NUMBERstatic intDRAINAGE_INFO_FIELD_NUMBERstatic intFIRST_ACTIVATION_TIME_FIELD_NUMBERstatic intLAST_DEACTIVATION_TIME_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intRAMP_PERCENTAGE_FIELD_NUMBERstatic intRAMPING_SINCE_TIME_FIELD_NUMBERstatic intROUTING_CHANGED_TIME_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTASK_QUEUE_INFOS_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)com.google.protobuf.TimestampgetCreateTime().google.protobuf.Timestamp create_time = 3;com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder().google.protobuf.Timestamp create_time = 3;com.google.protobuf.TimestampgetCurrentSinceTime()(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.com.google.protobuf.TimestampOrBuildergetCurrentSinceTimeOrBuilder()(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.static WorkerDeploymentVersionInfogetDefaultInstance()WorkerDeploymentVersionInfogetDefaultInstanceForType()java.lang.StringgetDeploymentName()string deployment_name = 2;com.google.protobuf.ByteStringgetDeploymentNameBytes()string deployment_name = 2;WorkerDeploymentVersiongetDeploymentVersion()Required.WorkerDeploymentVersionOrBuildergetDeploymentVersionOrBuilder()Required.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()VersionDrainageInfogetDrainageInfo()Helps user determine when it is safe to decommission the workers of this Version.VersionDrainageInfoOrBuildergetDrainageInfoOrBuilder()Helps user determine when it is safe to decommission the workers of this Version.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.VersionMetadatagetMetadata()Arbitrary user-provided metadata attached to this version.VersionMetadataOrBuildergetMetadataOrBuilder()Arbitrary user-provided metadata attached to this version.com.google.protobuf.Parser<WorkerDeploymentVersionInfo>getParserForType()com.google.protobuf.TimestampgetRampingSinceTime()(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.com.google.protobuf.TimestampOrBuildergetRampingSinceTimeOrBuilder()(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.floatgetRampPercentage()Range: [0, 100].com.google.protobuf.TimestampgetRoutingChangedTime()Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.com.google.protobuf.TimestampOrBuildergetRoutingChangedTimeOrBuilder()Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.intgetSerializedSize()WorkerDeploymentVersionStatusgetStatus()The status of the Worker Deployment Version.intgetStatusValue()The status of the Worker Deployment Version.WorkerDeploymentVersionInfo.VersionTaskQueueInfogetTaskQueueInfos(int index)All the Task Queues that have ever polled from this Deployment version.intgetTaskQueueInfosCount()All the Task Queues that have ever polled from this Deployment version.java.util.List<WorkerDeploymentVersionInfo.VersionTaskQueueInfo>getTaskQueueInfosList()All the Task Queues that have ever polled from this Deployment version.WorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuildergetTaskQueueInfosOrBuilder(int index)All the Task Queues that have ever polled from this Deployment version.java.util.List<? extends WorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuilder>getTaskQueueInfosOrBuilderList()All the Task Queues that have ever polled from this Deployment version.java.lang.StringgetVersion()Deprecated.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated.com.google.protobuf.ByteStringgetVersionBytes()Deprecated.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated.booleanhasCreateTime().google.protobuf.Timestamp create_time = 3;booleanhasCurrentSinceTime()(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.booleanhasDeploymentVersion()Required.booleanhasDrainageInfo()Helps user determine when it is safe to decommission the workers of this Version.booleanhasFirstActivationTime()Timestamp when this version first became current or ramping.inthashCode()booleanhasLastDeactivationTime()Timestamp when this version last stopped being current or ramping.booleanhasMetadata()Arbitrary user-provided metadata attached to this version.booleanhasRampingSinceTime()(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.booleanhasRoutingChangedTime()Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WorkerDeploymentVersionInfo.BuildernewBuilder()static WorkerDeploymentVersionInfo.BuildernewBuilder(WorkerDeploymentVersionInfo prototype)WorkerDeploymentVersionInfo.BuildernewBuilderForType()protected WorkerDeploymentVersionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WorkerDeploymentVersionInfoparseDelimitedFrom(java.io.InputStream input)static WorkerDeploymentVersionInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkerDeploymentVersionInfoparseFrom(byte[] data)static WorkerDeploymentVersionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkerDeploymentVersionInfoparseFrom(com.google.protobuf.ByteString data)static WorkerDeploymentVersionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkerDeploymentVersionInfoparseFrom(com.google.protobuf.CodedInputStream input)static WorkerDeploymentVersionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkerDeploymentVersionInfoparseFrom(java.io.InputStream input)static WorkerDeploymentVersionInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkerDeploymentVersionInfoparseFrom(java.nio.ByteBuffer data)static WorkerDeploymentVersionInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WorkerDeploymentVersionInfo>parser()WorkerDeploymentVersionInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYMENT_VERSION_FIELD_NUMBER
public static final int DEPLOYMENT_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYMENT_NAME_FIELD_NUMBER
public static final int DEPLOYMENT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTING_CHANGED_TIME_FIELD_NUMBER
public static final int ROUTING_CHANGED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_SINCE_TIME_FIELD_NUMBER
public static final int CURRENT_SINCE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAMPING_SINCE_TIME_FIELD_NUMBER
public static final int RAMPING_SINCE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIRST_ACTIVATION_TIME_FIELD_NUMBER
public static final int FIRST_ACTIVATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_DEACTIVATION_TIME_FIELD_NUMBER
public static final int LAST_DEACTIVATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAMP_PERCENTAGE_FIELD_NUMBER
public static final int RAMP_PERCENTAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_INFOS_FIELD_NUMBER
public static final int TASK_QUEUE_INFOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRAINAGE_INFO_FIELD_NUMBER
public static final int DRAINAGE_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVersion
@Deprecated public java.lang.String getVersion()
Deprecated.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97Deprecated. Use `deployment_version`.
string version = 1 [deprecated = true];- Specified by:
getVersionin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
@Deprecated public com.google.protobuf.ByteString getVersionBytes()
Deprecated.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97Deprecated. Use `deployment_version`.
string version = 1 [deprecated = true];- Specified by:
getVersionBytesin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The bytes for version.
-
getStatusValue
public int getStatusValue()
The status of the Worker Deployment Version.
.temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;- Specified by:
getStatusValuein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public WorkerDeploymentVersionStatus getStatus()
The status of the Worker Deployment Version.
.temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;- Specified by:
getStatusin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The status.
-
hasDeploymentVersion
public boolean hasDeploymentVersion()
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Specified by:
hasDeploymentVersionin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
public WorkerDeploymentVersion getDeploymentVersion()
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Specified by:
getDeploymentVersionin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The deploymentVersion.
-
getDeploymentVersionOrBuilder
public WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder()
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Specified by:
getDeploymentVersionOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getDeploymentName
public java.lang.String getDeploymentName()
string deployment_name = 2;- Specified by:
getDeploymentNamein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The deploymentName.
-
getDeploymentNameBytes
public com.google.protobuf.ByteString getDeploymentNameBytes()
string deployment_name = 2;- Specified by:
getDeploymentNameBytesin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The bytes for deploymentName.
-
hasCreateTime
public boolean hasCreateTime()
.google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasRoutingChangedTime
public boolean hasRoutingChangedTime()
Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
.google.protobuf.Timestamp routing_changed_time = 4;- Specified by:
hasRoutingChangedTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the routingChangedTime field is set.
-
getRoutingChangedTime
public com.google.protobuf.Timestamp getRoutingChangedTime()
Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
.google.protobuf.Timestamp routing_changed_time = 4;- Specified by:
getRoutingChangedTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The routingChangedTime.
-
getRoutingChangedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRoutingChangedTimeOrBuilder()
Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
.google.protobuf.Timestamp routing_changed_time = 4;- Specified by:
getRoutingChangedTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasCurrentSinceTime
public boolean hasCurrentSinceTime()
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not current..google.protobuf.Timestamp current_since_time = 5;- Specified by:
hasCurrentSinceTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the currentSinceTime field is set.
-
getCurrentSinceTime
public com.google.protobuf.Timestamp getCurrentSinceTime()
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not current..google.protobuf.Timestamp current_since_time = 5;- Specified by:
getCurrentSinceTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The currentSinceTime.
-
getCurrentSinceTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentSinceTimeOrBuilder()
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not current..google.protobuf.Timestamp current_since_time = 5;- Specified by:
getCurrentSinceTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasRampingSinceTime
public boolean hasRampingSinceTime()
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not ramping. Updated when the version first starts ramping, not on each ramp change..google.protobuf.Timestamp ramping_since_time = 6;- Specified by:
hasRampingSinceTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the rampingSinceTime field is set.
-
getRampingSinceTime
public com.google.protobuf.Timestamp getRampingSinceTime()
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not ramping. Updated when the version first starts ramping, not on each ramp change..google.protobuf.Timestamp ramping_since_time = 6;- Specified by:
getRampingSinceTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The rampingSinceTime.
-
getRampingSinceTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRampingSinceTimeOrBuilder()
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not ramping. Updated when the version first starts ramping, not on each ramp change..google.protobuf.Timestamp ramping_since_time = 6;- Specified by:
getRampingSinceTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasFirstActivationTime
public boolean hasFirstActivationTime()
Timestamp when this version first became current or ramping.
.google.protobuf.Timestamp first_activation_time = 12;- Specified by:
hasFirstActivationTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the firstActivationTime field is set.
-
getFirstActivationTime
public com.google.protobuf.Timestamp getFirstActivationTime()
Timestamp when this version first became current or ramping.
.google.protobuf.Timestamp first_activation_time = 12;- Specified by:
getFirstActivationTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The firstActivationTime.
-
getFirstActivationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirstActivationTimeOrBuilder()
Timestamp when this version first became current or ramping.
.google.protobuf.Timestamp first_activation_time = 12;- Specified by:
getFirstActivationTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasLastDeactivationTime
public boolean hasLastDeactivationTime()
Timestamp when this version last stopped being current or ramping.
.google.protobuf.Timestamp last_deactivation_time = 13;- Specified by:
hasLastDeactivationTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the lastDeactivationTime field is set.
-
getLastDeactivationTime
public com.google.protobuf.Timestamp getLastDeactivationTime()
Timestamp when this version last stopped being current or ramping.
.google.protobuf.Timestamp last_deactivation_time = 13;- Specified by:
getLastDeactivationTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The lastDeactivationTime.
-
getLastDeactivationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastDeactivationTimeOrBuilder()
Timestamp when this version last stopped being current or ramping.
.google.protobuf.Timestamp last_deactivation_time = 13;- Specified by:
getLastDeactivationTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getRampPercentage
public float getRampPercentage()
Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil). Can be in the range [0, 100] if the version is ramping.
float ramp_percentage = 7;- Specified by:
getRampPercentagein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The rampPercentage.
-
getTaskQueueInfosList
public java.util.List<WorkerDeploymentVersionInfo.VersionTaskQueueInfo> getTaskQueueInfosList()
All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;- Specified by:
getTaskQueueInfosListin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getTaskQueueInfosOrBuilderList
public java.util.List<? extends WorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuilder> getTaskQueueInfosOrBuilderList()
All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;- Specified by:
getTaskQueueInfosOrBuilderListin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getTaskQueueInfosCount
public int getTaskQueueInfosCount()
All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;- Specified by:
getTaskQueueInfosCountin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getTaskQueueInfos
public WorkerDeploymentVersionInfo.VersionTaskQueueInfo getTaskQueueInfos(int index)
All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;- Specified by:
getTaskQueueInfosin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getTaskQueueInfosOrBuilder
public WorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuilder getTaskQueueInfosOrBuilder(int index)
All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;- Specified by:
getTaskQueueInfosOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasDrainageInfo
public boolean hasDrainageInfo()
Helps user determine when it is safe to decommission the workers of this Version. Not present when version is current or ramping. Current limitations: - Not supported for Unversioned mode. - Periodically refreshed, may have delays up to few minutes (consult the last_checked_time value). - Refreshed only when version is not current or ramping AND the status is not "drained" yet. - Once the status is changed to "drained", it is not changed until the Version becomes Current or Ramping again, at which time the drainage info is cleared. This means if the Version is "drained" but new workflows are sent to it via Pinned Versioning Override, the status does not account for those Pinned-override executions and remains "drained".
.temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;- Specified by:
hasDrainageInfoin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the drainageInfo field is set.
-
getDrainageInfo
public VersionDrainageInfo getDrainageInfo()
Helps user determine when it is safe to decommission the workers of this Version. Not present when version is current or ramping. Current limitations: - Not supported for Unversioned mode. - Periodically refreshed, may have delays up to few minutes (consult the last_checked_time value). - Refreshed only when version is not current or ramping AND the status is not "drained" yet. - Once the status is changed to "drained", it is not changed until the Version becomes Current or Ramping again, at which time the drainage info is cleared. This means if the Version is "drained" but new workflows are sent to it via Pinned Versioning Override, the status does not account for those Pinned-override executions and remains "drained".
.temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;- Specified by:
getDrainageInfoin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The drainageInfo.
-
getDrainageInfoOrBuilder
public VersionDrainageInfoOrBuilder getDrainageInfoOrBuilder()
Helps user determine when it is safe to decommission the workers of this Version. Not present when version is current or ramping. Current limitations: - Not supported for Unversioned mode. - Periodically refreshed, may have delays up to few minutes (consult the last_checked_time value). - Refreshed only when version is not current or ramping AND the status is not "drained" yet. - Once the status is changed to "drained", it is not changed until the Version becomes Current or Ramping again, at which time the drainage info is cleared. This means if the Version is "drained" but new workflows are sent to it via Pinned Versioning Override, the status does not account for those Pinned-override executions and remains "drained".
.temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;- Specified by:
getDrainageInfoOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasMetadata
public boolean hasMetadata()
Arbitrary user-provided metadata attached to this version.
.temporal.api.deployment.v1.VersionMetadata metadata = 10;- Specified by:
hasMetadatain interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public VersionMetadata getMetadata()
Arbitrary user-provided metadata attached to this version.
.temporal.api.deployment.v1.VersionMetadata metadata = 10;- Specified by:
getMetadatain interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public VersionMetadataOrBuilder getMetadataOrBuilder()
Arbitrary user-provided metadata attached to this version.
.temporal.api.deployment.v1.VersionMetadata metadata = 10;- Specified by:
getMetadataOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkerDeploymentVersionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkerDeploymentVersionInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public WorkerDeploymentVersionInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WorkerDeploymentVersionInfo.Builder newBuilder()
-
newBuilder
public static WorkerDeploymentVersionInfo.Builder newBuilder(WorkerDeploymentVersionInfo prototype)
-
toBuilder
public WorkerDeploymentVersionInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkerDeploymentVersionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WorkerDeploymentVersionInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WorkerDeploymentVersionInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<WorkerDeploymentVersionInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WorkerDeploymentVersionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-