Class WorkerDeploymentInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkerDeploymentInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
io.temporal.api.deployment.v1.WorkerDeploymentInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkerDeploymentInfoOrBuilder,Cloneable
- Enclosing class:
WorkerDeploymentInfo
public static final class WorkerDeploymentInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
implements WorkerDeploymentInfoOrBuilder
A Worker Deployment (Deployment, for short) represents all workers serving a shared set of Task Queues. Typically, a Deployment represents one service or application. A Deployment contains multiple Deployment Versions, each representing a different version of workers. (see documentation of WorkerDeploymentVersionInfo) Deployment records are created in Temporal server automatically when their first poller arrives to the server.Protobuf type
temporal.api.deployment.v1.WorkerDeploymentInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllVersionSummaries(Iterable<? extends WorkerDeploymentInfo.WorkerDeploymentVersionSummary> values) Deployment Versions that are currently tracked in this Deployment.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary value) Deployment Versions that are currently tracked in this Deployment.addVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue) Deployment Versions that are currently tracked in this Deployment.Deployment Versions that are currently tracked in this Deployment.Deployment Versions that are currently tracked in this Deployment.Deployment Versions that are currently tracked in this Deployment.addVersionSummariesBuilder(int index) Deployment Versions that are currently tracked in this Deployment.build()clear().google.protobuf.Timestamp create_time = 3;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Identity of the last client who modified the configuration of this Deployment.Identity of the client that has the exclusive right to make changes to this Worker Deployment.Identifies a Worker Deployment.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .temporal.api.deployment.v1.RoutingConfig routing_config = 4;Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.Deployment Versions that are currently tracked in this Deployment.clone()com.google.protobuf.Timestamp.google.protobuf.Timestamp create_time = 3;com.google.protobuf.Timestamp.Builder.google.protobuf.Timestamp create_time = 3;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp create_time = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIdentity of the last client who modified the configuration of this Deployment.com.google.protobuf.ByteStringIdentity of the last client who modified the configuration of this Deployment.Identity of the client that has the exclusive right to make changes to this Worker Deployment.com.google.protobuf.ByteStringIdentity of the client that has the exclusive right to make changes to this Worker Deployment.getName()Identifies a Worker Deployment.com.google.protobuf.ByteStringIdentifies a Worker Deployment..temporal.api.deployment.v1.RoutingConfig routing_config = 4;.temporal.api.deployment.v1.RoutingConfig routing_config = 4;.temporal.api.deployment.v1.RoutingConfig routing_config = 4;Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.intIndicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.getVersionSummaries(int index) Deployment Versions that are currently tracked in this Deployment.getVersionSummariesBuilder(int index) Deployment Versions that are currently tracked in this Deployment.Deployment Versions that are currently tracked in this Deployment.intDeployment Versions that are currently tracked in this Deployment.Deployment Versions that are currently tracked in this Deployment.getVersionSummariesOrBuilder(int index) Deployment Versions that are currently tracked in this Deployment.Deployment Versions that are currently tracked in this Deployment.boolean.google.protobuf.Timestamp create_time = 3;boolean.temporal.api.deployment.v1.RoutingConfig routing_config = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp create_time = 3;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(WorkerDeploymentInfo other) mergeRoutingConfig(RoutingConfig value) .temporal.api.deployment.v1.RoutingConfig routing_config = 4;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeVersionSummaries(int index) Deployment Versions that are currently tracked in this Deployment.setCreateTime(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp create_time = 3;setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp create_time = 3;setLastModifierIdentity(String value) Identity of the last client who modified the configuration of this Deployment.setLastModifierIdentityBytes(com.google.protobuf.ByteString value) Identity of the last client who modified the configuration of this Deployment.setManagerIdentity(String value) Identity of the client that has the exclusive right to make changes to this Worker Deployment.setManagerIdentityBytes(com.google.protobuf.ByteString value) Identity of the client that has the exclusive right to make changes to this Worker Deployment.Identifies a Worker Deployment.setNameBytes(com.google.protobuf.ByteString value) Identifies a Worker Deployment.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRoutingConfig(RoutingConfig value) .temporal.api.deployment.v1.RoutingConfig routing_config = 4;setRoutingConfig(RoutingConfig.Builder builderForValue) .temporal.api.deployment.v1.RoutingConfig routing_config = 4;Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.setRoutingConfigUpdateStateValue(int value) Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary value) Deployment Versions that are currently tracked in this Deployment.setVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue) Deployment Versions that are currently tracked in this Deployment.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<WorkerDeploymentInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
setField
public WorkerDeploymentInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
clearField
public WorkerDeploymentInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
clearOneof
public WorkerDeploymentInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
setRepeatedField
public WorkerDeploymentInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
addRepeatedField
public WorkerDeploymentInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerDeploymentInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
mergeFrom
public WorkerDeploymentInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerDeploymentInfo.Builder>- Throws:
IOException
-
getName
Identifies a Worker Deployment. Must be unique within the namespace.
string name = 1;- Specified by:
getNamein interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifies a Worker Deployment. Must be unique within the namespace.
string name = 1;- Specified by:
getNameBytesin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Identifies a Worker Deployment. Must be unique within the namespace.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifies a Worker Deployment. Must be unique within the namespace.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Identifies a Worker Deployment. Must be unique within the namespace.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersionSummariesList
Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;- Specified by:
getVersionSummariesListin interfaceWorkerDeploymentInfoOrBuilder
-
getVersionSummariesCount
public int getVersionSummariesCount()Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;- Specified by:
getVersionSummariesCountin interfaceWorkerDeploymentInfoOrBuilder
-
getVersionSummaries
Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;- Specified by:
getVersionSummariesin interfaceWorkerDeploymentInfoOrBuilder
-
setVersionSummaries
public WorkerDeploymentInfo.Builder setVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary value) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
setVersionSummaries
public WorkerDeploymentInfo.Builder setVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
addVersionSummaries
public WorkerDeploymentInfo.Builder addVersionSummaries(WorkerDeploymentInfo.WorkerDeploymentVersionSummary value) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
addVersionSummaries
public WorkerDeploymentInfo.Builder addVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary value) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
addVersionSummaries
public WorkerDeploymentInfo.Builder addVersionSummaries(WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
addVersionSummaries
public WorkerDeploymentInfo.Builder addVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
addAllVersionSummaries
public WorkerDeploymentInfo.Builder addAllVersionSummaries(Iterable<? extends WorkerDeploymentInfo.WorkerDeploymentVersionSummary> values) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
clearVersionSummaries
Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
removeVersionSummaries
Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
getVersionSummariesBuilder
public WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder getVersionSummariesBuilder(int index) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
getVersionSummariesOrBuilder
public WorkerDeploymentInfo.WorkerDeploymentVersionSummaryOrBuilder getVersionSummariesOrBuilder(int index) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;- Specified by:
getVersionSummariesOrBuilderin interfaceWorkerDeploymentInfoOrBuilder
-
getVersionSummariesOrBuilderList
public List<? extends WorkerDeploymentInfo.WorkerDeploymentVersionSummaryOrBuilder> getVersionSummariesOrBuilderList()Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;- Specified by:
getVersionSummariesOrBuilderListin interfaceWorkerDeploymentInfoOrBuilder
-
addVersionSummariesBuilder
Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
addVersionSummariesBuilder
public WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder addVersionSummariesBuilder(int index) Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
getVersionSummariesBuilderList
public List<WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder> getVersionSummariesBuilderList()Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be cleaned up automatically if all the following conditions meet: - It does not receive new executions (is not current or ramping) - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2; -
hasCreateTime
public boolean hasCreateTime().google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein interfaceWorkerDeploymentInfoOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime().google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimein interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The createTime.
-
setCreateTime
.google.protobuf.Timestamp create_time = 3; -
setCreateTime
public WorkerDeploymentInfo.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp create_time = 3; -
mergeCreateTime
.google.protobuf.Timestamp create_time = 3; -
clearCreateTime
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder().google.protobuf.Timestamp create_time = 3; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder().google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfaceWorkerDeploymentInfoOrBuilder
-
hasRoutingConfig
public boolean hasRoutingConfig().temporal.api.deployment.v1.RoutingConfig routing_config = 4;- Specified by:
hasRoutingConfigin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- Whether the routingConfig field is set.
-
getRoutingConfig
.temporal.api.deployment.v1.RoutingConfig routing_config = 4;- Specified by:
getRoutingConfigin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The routingConfig.
-
setRoutingConfig
.temporal.api.deployment.v1.RoutingConfig routing_config = 4; -
setRoutingConfig
.temporal.api.deployment.v1.RoutingConfig routing_config = 4; -
mergeRoutingConfig
.temporal.api.deployment.v1.RoutingConfig routing_config = 4; -
clearRoutingConfig
.temporal.api.deployment.v1.RoutingConfig routing_config = 4; -
getRoutingConfigBuilder
.temporal.api.deployment.v1.RoutingConfig routing_config = 4; -
getRoutingConfigOrBuilder
.temporal.api.deployment.v1.RoutingConfig routing_config = 4;- Specified by:
getRoutingConfigOrBuilderin interfaceWorkerDeploymentInfoOrBuilder
-
getLastModifierIdentity
Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and `SetWorkerDeploymentRampingVersion`.
string last_modifier_identity = 5;- Specified by:
getLastModifierIdentityin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The lastModifierIdentity.
-
getLastModifierIdentityBytes
public com.google.protobuf.ByteString getLastModifierIdentityBytes()Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and `SetWorkerDeploymentRampingVersion`.
string last_modifier_identity = 5;- Specified by:
getLastModifierIdentityBytesin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The bytes for lastModifierIdentity.
-
setLastModifierIdentity
Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and `SetWorkerDeploymentRampingVersion`.
string last_modifier_identity = 5;- Parameters:
value- The lastModifierIdentity to set.- Returns:
- This builder for chaining.
-
clearLastModifierIdentity
Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and `SetWorkerDeploymentRampingVersion`.
string last_modifier_identity = 5;- Returns:
- This builder for chaining.
-
setLastModifierIdentityBytes
public WorkerDeploymentInfo.Builder setLastModifierIdentityBytes(com.google.protobuf.ByteString value) Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and `SetWorkerDeploymentRampingVersion`.
string last_modifier_identity = 5;- Parameters:
value- The bytes for lastModifierIdentity to set.- Returns:
- This builder for chaining.
-
getManagerIdentity
Identity of the client that has the exclusive right to make changes to this Worker Deployment. Empty by default. If this is set, clients whose identity does not match `manager_identity` will not be able to make changes to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
string manager_identity = 6;- Specified by:
getManagerIdentityin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The managerIdentity.
-
getManagerIdentityBytes
public com.google.protobuf.ByteString getManagerIdentityBytes()Identity of the client that has the exclusive right to make changes to this Worker Deployment. Empty by default. If this is set, clients whose identity does not match `manager_identity` will not be able to make changes to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
string manager_identity = 6;- Specified by:
getManagerIdentityBytesin interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The bytes for managerIdentity.
-
setManagerIdentity
Identity of the client that has the exclusive right to make changes to this Worker Deployment. Empty by default. If this is set, clients whose identity does not match `manager_identity` will not be able to make changes to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
string manager_identity = 6;- Parameters:
value- The managerIdentity to set.- Returns:
- This builder for chaining.
-
clearManagerIdentity
Identity of the client that has the exclusive right to make changes to this Worker Deployment. Empty by default. If this is set, clients whose identity does not match `manager_identity` will not be able to make changes to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
string manager_identity = 6;- Returns:
- This builder for chaining.
-
setManagerIdentityBytes
Identity of the client that has the exclusive right to make changes to this Worker Deployment. Empty by default. If this is set, clients whose identity does not match `manager_identity` will not be able to make changes to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
string manager_identity = 6;- Parameters:
value- The bytes for managerIdentity to set.- Returns:
- This builder for chaining.
-
getRoutingConfigUpdateStateValue
public int getRoutingConfigUpdateStateValue()Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.
.temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;- Specified by:
getRoutingConfigUpdateStateValuein interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The enum numeric value on the wire for routingConfigUpdateState.
-
setRoutingConfigUpdateStateValue
Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.
.temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;- Parameters:
value- The enum numeric value on the wire for routingConfigUpdateState to set.- Returns:
- This builder for chaining.
-
getRoutingConfigUpdateState
Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.
.temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;- Specified by:
getRoutingConfigUpdateStatein interfaceWorkerDeploymentInfoOrBuilder- Returns:
- The routingConfigUpdateState.
-
setRoutingConfigUpdateState
Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.
.temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;- Parameters:
value- The routingConfigUpdateState to set.- Returns:
- This builder for chaining.
-
clearRoutingConfigUpdateState
Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions.
.temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkerDeploymentInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-
mergeUnknownFields
public final WorkerDeploymentInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
-