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,Serializable
@Generated(value="protoc",
comments="annotations:WorkerDeploymentVersionInfo.java.pb.meta")
public final class WorkerDeploymentVersionInfo
extends com.google.protobuf.GeneratedMessageV3
implements WorkerDeploymentVersionInfoOrBuilder
A 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.Protobuf type
temporal.api.deployment.v1.WorkerDeploymentVersionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Worker Deployment Version (Version, for short) represents all workers of the same code and config within a Deployment.static final classProtobuf typetemporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfostatic interfaceNested 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.com.google.protobuf.Timestamp.google.protobuf.Timestamp create_time = 3;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp create_time = 3;com.google.protobuf.Timestamp(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.com.google.protobuf.TimestampOrBuilder(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.static WorkerDeploymentVersionInfoDeprecated.com.google.protobuf.ByteStringDeprecated.Required.Required.static final com.google.protobuf.Descriptors.DescriptorHelps user determine when it is safe to decommission the workers of this Version.Helps user determine when it is safe to decommission the workers of this Version.com.google.protobuf.TimestampTimestamp when this version first became current or ramping.com.google.protobuf.TimestampOrBuilderTimestamp when this version first became current or ramping.com.google.protobuf.TimestampTimestamp when this version last became current.com.google.protobuf.TimestampOrBuilderTimestamp when this version last became current.com.google.protobuf.TimestampTimestamp when this version last stopped being current or ramping.com.google.protobuf.TimestampOrBuilderTimestamp when this version last stopped being current or ramping.Identity of the last client who modified the configuration of this Version.com.google.protobuf.ByteStringIdentity of the last client who modified the configuration of this Version.Arbitrary user-provided metadata attached to this version.Arbitrary user-provided metadata attached to this version.com.google.protobuf.Parser<WorkerDeploymentVersionInfo> com.google.protobuf.Timestamp(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.com.google.protobuf.TimestampOrBuilder(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.floatRange: [0, 100].com.google.protobuf.TimestampLast time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.com.google.protobuf.TimestampOrBuilderLast time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.intThe status of the Worker Deployment Version.intThe status of the Worker Deployment Version.getTaskQueueInfos(int index) All the Task Queues that have ever polled from this Deployment version.intAll the Task Queues that have ever polled from this Deployment version.All the Task Queues that have ever polled from this Deployment version.getTaskQueueInfosOrBuilder(int index) All the Task Queues that have ever polled from this Deployment version.All the Task Queues that have ever polled from this Deployment version.Deprecated.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated.booleanOptional.boolean.google.protobuf.Timestamp create_time = 3;boolean(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.booleanRequired.booleanHelps user determine when it is safe to decommission the workers of this Version.booleanTimestamp when this version first became current or ramping.inthashCode()booleanTimestamp when this version last became current.booleanTimestamp when this version last stopped being current or ramping.booleanArbitrary user-provided metadata attached to this version.boolean(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition.booleanLast time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(WorkerDeploymentVersionInfo prototype) protected WorkerDeploymentVersionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static WorkerDeploymentVersionInfoparseDelimitedFrom(InputStream input) static WorkerDeploymentVersionInfoparseDelimitedFrom(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(InputStream input) static WorkerDeploymentVersionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerDeploymentVersionInfoparseFrom(ByteBuffer data) static WorkerDeploymentVersionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkerDeploymentVersionInfo> parser()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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
DEPLOYMENT_VERSION_FIELD_NUMBER
public static final int DEPLOYMENT_VERSION_FIELD_NUMBER- See Also:
-
DEPLOYMENT_NAME_FIELD_NUMBER
public static final int DEPLOYMENT_NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
ROUTING_CHANGED_TIME_FIELD_NUMBER
public static final int ROUTING_CHANGED_TIME_FIELD_NUMBER- See Also:
-
CURRENT_SINCE_TIME_FIELD_NUMBER
public static final int CURRENT_SINCE_TIME_FIELD_NUMBER- See Also:
-
RAMPING_SINCE_TIME_FIELD_NUMBER
public static final int RAMPING_SINCE_TIME_FIELD_NUMBER- See Also:
-
FIRST_ACTIVATION_TIME_FIELD_NUMBER
public static final int FIRST_ACTIVATION_TIME_FIELD_NUMBER- See Also:
-
LAST_CURRENT_TIME_FIELD_NUMBER
public static final int LAST_CURRENT_TIME_FIELD_NUMBER- See Also:
-
LAST_DEACTIVATION_TIME_FIELD_NUMBER
public static final int LAST_DEACTIVATION_TIME_FIELD_NUMBER- See Also:
-
RAMP_PERCENTAGE_FIELD_NUMBER
public static final int RAMP_PERCENTAGE_FIELD_NUMBER- See Also:
-
TASK_QUEUE_INFOS_FIELD_NUMBER
public static final int TASK_QUEUE_INFOS_FIELD_NUMBER- See Also:
-
DRAINAGE_INFO_FIELD_NUMBER
public static final int DRAINAGE_INFO_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
COMPUTE_CONFIG_FIELD_NUMBER
public static final int COMPUTE_CONFIG_FIELD_NUMBER- See Also:
-
LAST_MODIFIER_IDENTITY_FIELD_NUMBER
public static final int LAST_MODIFIER_IDENTITY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- 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.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.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
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
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Specified by:
getDeploymentVersionin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The deploymentVersion.
-
getDeploymentVersionOrBuilder
Required.
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;- Specified by:
getDeploymentVersionOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getDeploymentName
Deprecated. User deployment_version.deployment_name.
string deployment_name = 2;- Specified by:
getDeploymentNamein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The deploymentName.
-
getDeploymentNameBytes
public com.google.protobuf.ByteString getDeploymentNameBytes()Deprecated. User deployment_version.deployment_name.
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
-
hasLastCurrentTime
public boolean hasLastCurrentTime()Timestamp when this version last became current. Can be used to determine whether a version has ever been Current.
.google.protobuf.Timestamp last_current_time = 15;- Specified by:
hasLastCurrentTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the lastCurrentTime field is set.
-
getLastCurrentTime
public com.google.protobuf.Timestamp getLastCurrentTime()Timestamp when this version last became current. Can be used to determine whether a version has ever been Current.
.google.protobuf.Timestamp last_current_time = 15;- Specified by:
getLastCurrentTimein interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The lastCurrentTime.
-
getLastCurrentTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastCurrentTimeOrBuilder()Timestamp when this version last became current. Can be used to determine whether a version has ever been Current.
.google.protobuf.Timestamp last_current_time = 15;- Specified by:
getLastCurrentTimeOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasLastDeactivationTime
public boolean hasLastDeactivationTime()Timestamp when this version last stopped being current or ramping. Cleared if the version becomes current or ramping again.
.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. Cleared if the version becomes current or ramping again.
.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. Cleared if the version becomes current or ramping again.
.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
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 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
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
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
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
Arbitrary user-provided metadata attached to this version.
.temporal.api.deployment.v1.VersionMetadata metadata = 10;- Specified by:
getMetadatain interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
Arbitrary user-provided metadata attached to this version.
.temporal.api.deployment.v1.VersionMetadata metadata = 10;- Specified by:
getMetadataOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
hasComputeConfig
public boolean hasComputeConfig()Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management.
.temporal.api.compute.v1.ComputeConfig compute_config = 16;- Specified by:
hasComputeConfigin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- Whether the computeConfig field is set.
-
getComputeConfig
Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management.
.temporal.api.compute.v1.ComputeConfig compute_config = 16;- Specified by:
getComputeConfigin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The computeConfig.
-
getComputeConfigOrBuilder
Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management.
.temporal.api.compute.v1.ComputeConfig compute_config = 16;- Specified by:
getComputeConfigOrBuilderin interfaceWorkerDeploymentVersionInfoOrBuilder
-
getLastModifierIdentity
Identity of the last client who modified the configuration of this Version. As of now, this field only covers changes through the following APIs: - `CreateWorkerDeploymentVersion` - `UpdateWorkerDeploymentVersionComputeConfig` - `UpdateWorkerDeploymentVersionMetadata`
string last_modifier_identity = 17;- Specified by:
getLastModifierIdentityin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The lastModifierIdentity.
-
getLastModifierIdentityBytes
public com.google.protobuf.ByteString getLastModifierIdentityBytes()Identity of the last client who modified the configuration of this Version. As of now, this field only covers changes through the following APIs: - `CreateWorkerDeploymentVersion` - `UpdateWorkerDeploymentVersionComputeConfig` - `UpdateWorkerDeploymentVersionMetadata`
string last_modifier_identity = 17;- Specified by:
getLastModifierIdentityBytesin interfaceWorkerDeploymentVersionInfoOrBuilder- Returns:
- The bytes for lastModifierIdentity.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(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
- Throws:
IOException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WorkerDeploymentVersionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkerDeploymentVersionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-