Package io.temporal.api.worker.v1
Class WorkerListInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
- io.temporal.api.worker.v1.WorkerListInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkerListInfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- WorkerListInfo
public static final class WorkerListInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder> implements WorkerListInfoOrBuilder
Limited worker information returned in the list response. When adding fields here, ensure that it is also added to WorkerInfo (as it carries the full worker information).
Protobuf typetemporal.api.worker.v1.WorkerListInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerListInfo.BuilderaddAllDrivers(java.lang.Iterable<? extends StorageDriverInfo> values)Storage drivers in use by this SDK.WorkerListInfo.BuilderaddAllPlugins(java.lang.Iterable<? extends PluginInfo> values)Plugins currently in use by this SDK.WorkerListInfo.BuilderaddDrivers(int index, StorageDriverInfo value)Storage drivers in use by this SDK.WorkerListInfo.BuilderaddDrivers(int index, StorageDriverInfo.Builder builderForValue)Storage drivers in use by this SDK.WorkerListInfo.BuilderaddDrivers(StorageDriverInfo value)Storage drivers in use by this SDK.WorkerListInfo.BuilderaddDrivers(StorageDriverInfo.Builder builderForValue)Storage drivers in use by this SDK.StorageDriverInfo.BuilderaddDriversBuilder()Storage drivers in use by this SDK.StorageDriverInfo.BuilderaddDriversBuilder(int index)Storage drivers in use by this SDK.WorkerListInfo.BuilderaddPlugins(int index, PluginInfo value)Plugins currently in use by this SDK.WorkerListInfo.BuilderaddPlugins(int index, PluginInfo.Builder builderForValue)Plugins currently in use by this SDK.WorkerListInfo.BuilderaddPlugins(PluginInfo value)Plugins currently in use by this SDK.WorkerListInfo.BuilderaddPlugins(PluginInfo.Builder builderForValue)Plugins currently in use by this SDK.PluginInfo.BuilderaddPluginsBuilder()Plugins currently in use by this SDK.PluginInfo.BuilderaddPluginsBuilder(int index)Plugins currently in use by this SDK.WorkerListInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkerListInfobuild()WorkerListInfobuildPartial()WorkerListInfo.Builderclear()WorkerListInfo.BuilderclearDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerListInfo.BuilderclearDrivers()Storage drivers in use by this SDK.WorkerListInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkerListInfo.BuilderclearHostName()Worker host identifier.WorkerListInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkerListInfo.BuilderclearPlugins()Plugins currently in use by this SDK.WorkerListInfo.BuilderclearProcessId()Worker process identifier.WorkerListInfo.BuilderclearSdkName()string sdk_name = 5;WorkerListInfo.BuilderclearSdkVersion()string sdk_version = 6;WorkerListInfo.BuilderclearStartTime()Worker start time.WorkerListInfo.BuilderclearStatus()Worker status.WorkerListInfo.BuilderclearTaskQueue()Task queue this worker is polling for tasks.WorkerListInfo.BuilderclearWorkerGroupingKey()Worker grouping identifier.WorkerListInfo.BuilderclearWorkerIdentity()Worker identity, set by the client, may not be unique.WorkerListInfo.BuilderclearWorkerInstanceKey()Worker identifier, should be unique for the namespace.WorkerListInfo.Builderclone()WorkerListInfogetDefaultInstanceForType()WorkerDeploymentVersiongetDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerDeploymentVersion.BuildergetDeploymentVersionBuilder().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerDeploymentVersionOrBuildergetDeploymentVersionOrBuilder().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StorageDriverInfogetDrivers(int index)Storage drivers in use by this SDK.StorageDriverInfo.BuildergetDriversBuilder(int index)Storage drivers in use by this SDK.java.util.List<StorageDriverInfo.Builder>getDriversBuilderList()Storage drivers in use by this SDK.intgetDriversCount()Storage drivers in use by this SDK.java.util.List<StorageDriverInfo>getDriversList()Storage drivers in use by this SDK.StorageDriverInfoOrBuildergetDriversOrBuilder(int index)Storage drivers in use by this SDK.java.util.List<? extends StorageDriverInfoOrBuilder>getDriversOrBuilderList()Storage drivers in use by this SDK.java.lang.StringgetHostName()Worker host identifier.com.google.protobuf.ByteStringgetHostNameBytes()Worker host identifier.PluginInfogetPlugins(int index)Plugins currently in use by this SDK.PluginInfo.BuildergetPluginsBuilder(int index)Plugins currently in use by this SDK.java.util.List<PluginInfo.Builder>getPluginsBuilderList()Plugins currently in use by this SDK.intgetPluginsCount()Plugins currently in use by this SDK.java.util.List<PluginInfo>getPluginsList()Plugins currently in use by this SDK.PluginInfoOrBuildergetPluginsOrBuilder(int index)Plugins currently in use by this SDK.java.util.List<? extends PluginInfoOrBuilder>getPluginsOrBuilderList()Plugins currently in use by this SDK.java.lang.StringgetProcessId()Worker process identifier.com.google.protobuf.ByteStringgetProcessIdBytes()Worker process identifier.java.lang.StringgetSdkName()string sdk_name = 5;com.google.protobuf.ByteStringgetSdkNameBytes()string sdk_name = 5;java.lang.StringgetSdkVersion()string sdk_version = 6;com.google.protobuf.ByteStringgetSdkVersionBytes()string sdk_version = 6;com.google.protobuf.TimestampgetStartTime()Worker start time.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Worker start time.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Worker start time.WorkerStatusgetStatus()Worker status.intgetStatusValue()Worker status.java.lang.StringgetTaskQueue()Task queue this worker is polling for tasks.com.google.protobuf.ByteStringgetTaskQueueBytes()Task queue this worker is polling for tasks.java.lang.StringgetWorkerGroupingKey()Worker grouping identifier.com.google.protobuf.ByteStringgetWorkerGroupingKeyBytes()Worker grouping identifier.java.lang.StringgetWorkerIdentity()Worker identity, set by the client, may not be unique.com.google.protobuf.ByteStringgetWorkerIdentityBytes()Worker identity, set by the client, may not be unique.java.lang.StringgetWorkerInstanceKey()Worker identifier, should be unique for the namespace.com.google.protobuf.ByteStringgetWorkerInstanceKeyBytes()Worker identifier, should be unique for the namespace.booleanhasDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;booleanhasStartTime()Worker start time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkerListInfo.BuildermergeDeploymentVersion(WorkerDeploymentVersion value).temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerListInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkerListInfo.BuildermergeFrom(com.google.protobuf.Message other)WorkerListInfo.BuildermergeFrom(WorkerListInfo other)WorkerListInfo.BuildermergeStartTime(com.google.protobuf.Timestamp value)Worker start time.WorkerListInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkerListInfo.BuilderremoveDrivers(int index)Storage drivers in use by this SDK.WorkerListInfo.BuilderremovePlugins(int index)Plugins currently in use by this SDK.WorkerListInfo.BuildersetDeploymentVersion(WorkerDeploymentVersion value).temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerListInfo.BuildersetDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue).temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerListInfo.BuildersetDrivers(int index, StorageDriverInfo value)Storage drivers in use by this SDK.WorkerListInfo.BuildersetDrivers(int index, StorageDriverInfo.Builder builderForValue)Storage drivers in use by this SDK.WorkerListInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkerListInfo.BuildersetHostName(java.lang.String value)Worker host identifier.WorkerListInfo.BuildersetHostNameBytes(com.google.protobuf.ByteString value)Worker host identifier.WorkerListInfo.BuildersetPlugins(int index, PluginInfo value)Plugins currently in use by this SDK.WorkerListInfo.BuildersetPlugins(int index, PluginInfo.Builder builderForValue)Plugins currently in use by this SDK.WorkerListInfo.BuildersetProcessId(java.lang.String value)Worker process identifier.WorkerListInfo.BuildersetProcessIdBytes(com.google.protobuf.ByteString value)Worker process identifier.WorkerListInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkerListInfo.BuildersetSdkName(java.lang.String value)string sdk_name = 5;WorkerListInfo.BuildersetSdkNameBytes(com.google.protobuf.ByteString value)string sdk_name = 5;WorkerListInfo.BuildersetSdkVersion(java.lang.String value)string sdk_version = 6;WorkerListInfo.BuildersetSdkVersionBytes(com.google.protobuf.ByteString value)string sdk_version = 6;WorkerListInfo.BuildersetStartTime(com.google.protobuf.Timestamp value)Worker start time.WorkerListInfo.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Worker start time.WorkerListInfo.BuildersetStatus(WorkerStatus value)Worker status.WorkerListInfo.BuildersetStatusValue(int value)Worker status.WorkerListInfo.BuildersetTaskQueue(java.lang.String value)Task queue this worker is polling for tasks.WorkerListInfo.BuildersetTaskQueueBytes(com.google.protobuf.ByteString value)Task queue this worker is polling for tasks.WorkerListInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkerListInfo.BuildersetWorkerGroupingKey(java.lang.String value)Worker grouping identifier.WorkerListInfo.BuildersetWorkerGroupingKeyBytes(com.google.protobuf.ByteString value)Worker grouping identifier.WorkerListInfo.BuildersetWorkerIdentity(java.lang.String value)Worker identity, set by the client, may not be unique.WorkerListInfo.BuildersetWorkerIdentityBytes(com.google.protobuf.ByteString value)Worker identity, set by the client, may not be unique.WorkerListInfo.BuildersetWorkerInstanceKey(java.lang.String value)Worker identifier, should be unique for the namespace.WorkerListInfo.BuildersetWorkerInstanceKeyBytes(com.google.protobuf.ByteString value)Worker identifier, should be unique for the namespace.-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<WorkerListInfo.Builder>
-
clear
public WorkerListInfo.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<WorkerListInfo.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<WorkerListInfo.Builder>
-
getDefaultInstanceForType
public WorkerListInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkerListInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkerListInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkerListInfo.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<WorkerListInfo.Builder>
-
setField
public WorkerListInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
clearField
public WorkerListInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
clearOneof
public WorkerListInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
setRepeatedField
public WorkerListInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
addRepeatedField
public WorkerListInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
mergeFrom
public WorkerListInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerListInfo.Builder>
-
mergeFrom
public WorkerListInfo.Builder mergeFrom(WorkerListInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
mergeFrom
public WorkerListInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerListInfo.Builder>- Throws:
java.io.IOException
-
getWorkerInstanceKey
public java.lang.String getWorkerInstanceKey()
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
string worker_instance_key = 1;- Specified by:
getWorkerInstanceKeyin interfaceWorkerListInfoOrBuilder- Returns:
- The workerInstanceKey.
-
getWorkerInstanceKeyBytes
public com.google.protobuf.ByteString getWorkerInstanceKeyBytes()
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
string worker_instance_key = 1;- Specified by:
getWorkerInstanceKeyBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for workerInstanceKey.
-
setWorkerInstanceKey
public WorkerListInfo.Builder setWorkerInstanceKey(java.lang.String value)
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
string worker_instance_key = 1;- Parameters:
value- The workerInstanceKey to set.- Returns:
- This builder for chaining.
-
clearWorkerInstanceKey
public WorkerListInfo.Builder clearWorkerInstanceKey()
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
string worker_instance_key = 1;- Returns:
- This builder for chaining.
-
setWorkerInstanceKeyBytes
public WorkerListInfo.Builder setWorkerInstanceKeyBytes(com.google.protobuf.ByteString value)
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
string worker_instance_key = 1;- Parameters:
value- The bytes for workerInstanceKey to set.- Returns:
- This builder for chaining.
-
getWorkerIdentity
public java.lang.String getWorkerIdentity()
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
string worker_identity = 2;- Specified by:
getWorkerIdentityin interfaceWorkerListInfoOrBuilder- Returns:
- The workerIdentity.
-
getWorkerIdentityBytes
public com.google.protobuf.ByteString getWorkerIdentityBytes()
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
string worker_identity = 2;- Specified by:
getWorkerIdentityBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for workerIdentity.
-
setWorkerIdentity
public WorkerListInfo.Builder setWorkerIdentity(java.lang.String value)
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
string worker_identity = 2;- Parameters:
value- The workerIdentity to set.- Returns:
- This builder for chaining.
-
clearWorkerIdentity
public WorkerListInfo.Builder clearWorkerIdentity()
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
string worker_identity = 2;- Returns:
- This builder for chaining.
-
setWorkerIdentityBytes
public WorkerListInfo.Builder setWorkerIdentityBytes(com.google.protobuf.ByteString value)
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
string worker_identity = 2;- Parameters:
value- The bytes for workerIdentity to set.- Returns:
- This builder for chaining.
-
getTaskQueue
public java.lang.String getTaskQueue()
Task queue this worker is polling for tasks.
string task_queue = 3;- Specified by:
getTaskQueuein interfaceWorkerListInfoOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()
Task queue this worker is polling for tasks.
string task_queue = 3;- Specified by:
getTaskQueueBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for taskQueue.
-
setTaskQueue
public WorkerListInfo.Builder setTaskQueue(java.lang.String value)
Task queue this worker is polling for tasks.
string task_queue = 3;- Parameters:
value- The taskQueue to set.- Returns:
- This builder for chaining.
-
clearTaskQueue
public WorkerListInfo.Builder clearTaskQueue()
Task queue this worker is polling for tasks.
string task_queue = 3;- Returns:
- This builder for chaining.
-
setTaskQueueBytes
public WorkerListInfo.Builder setTaskQueueBytes(com.google.protobuf.ByteString value)
Task queue this worker is polling for tasks.
string task_queue = 3;- Parameters:
value- The bytes for taskQueue to set.- Returns:
- This builder for chaining.
-
hasDeploymentVersion
public boolean hasDeploymentVersion()
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Specified by:
hasDeploymentVersionin interfaceWorkerListInfoOrBuilder- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
public WorkerDeploymentVersion getDeploymentVersion()
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Specified by:
getDeploymentVersionin interfaceWorkerListInfoOrBuilder- Returns:
- The deploymentVersion.
-
setDeploymentVersion
public WorkerListInfo.Builder setDeploymentVersion(WorkerDeploymentVersion value)
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
-
setDeploymentVersion
public WorkerListInfo.Builder setDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
-
mergeDeploymentVersion
public WorkerListInfo.Builder mergeDeploymentVersion(WorkerDeploymentVersion value)
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
-
clearDeploymentVersion
public WorkerListInfo.Builder clearDeploymentVersion()
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
-
getDeploymentVersionBuilder
public WorkerDeploymentVersion.Builder getDeploymentVersionBuilder()
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
-
getDeploymentVersionOrBuilder
public WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder()
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Specified by:
getDeploymentVersionOrBuilderin interfaceWorkerListInfoOrBuilder
-
getSdkName
public java.lang.String getSdkName()
string sdk_name = 5;- Specified by:
getSdkNamein interfaceWorkerListInfoOrBuilder- Returns:
- The sdkName.
-
getSdkNameBytes
public com.google.protobuf.ByteString getSdkNameBytes()
string sdk_name = 5;- Specified by:
getSdkNameBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for sdkName.
-
setSdkName
public WorkerListInfo.Builder setSdkName(java.lang.String value)
string sdk_name = 5;- Parameters:
value- The sdkName to set.- Returns:
- This builder for chaining.
-
clearSdkName
public WorkerListInfo.Builder clearSdkName()
string sdk_name = 5;- Returns:
- This builder for chaining.
-
setSdkNameBytes
public WorkerListInfo.Builder setSdkNameBytes(com.google.protobuf.ByteString value)
string sdk_name = 5;- Parameters:
value- The bytes for sdkName to set.- Returns:
- This builder for chaining.
-
getSdkVersion
public java.lang.String getSdkVersion()
string sdk_version = 6;- Specified by:
getSdkVersionin interfaceWorkerListInfoOrBuilder- Returns:
- The sdkVersion.
-
getSdkVersionBytes
public com.google.protobuf.ByteString getSdkVersionBytes()
string sdk_version = 6;- Specified by:
getSdkVersionBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for sdkVersion.
-
setSdkVersion
public WorkerListInfo.Builder setSdkVersion(java.lang.String value)
string sdk_version = 6;- Parameters:
value- The sdkVersion to set.- Returns:
- This builder for chaining.
-
clearSdkVersion
public WorkerListInfo.Builder clearSdkVersion()
string sdk_version = 6;- Returns:
- This builder for chaining.
-
setSdkVersionBytes
public WorkerListInfo.Builder setSdkVersionBytes(com.google.protobuf.ByteString value)
string sdk_version = 6;- Parameters:
value- The bytes for sdkVersion to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Specified by:
getStatusValuein interfaceWorkerListInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public WorkerListInfo.Builder setStatusValue(int value)
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public WorkerStatus getStatus()
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Specified by:
getStatusin interfaceWorkerListInfoOrBuilder- Returns:
- The status.
-
setStatus
public WorkerListInfo.Builder setStatus(WorkerStatus value)
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public WorkerListInfo.Builder clearStatus()
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;- Specified by:
hasStartTimein interfaceWorkerListInfoOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;- Specified by:
getStartTimein interfaceWorkerListInfoOrBuilder- Returns:
- The startTime.
-
setStartTime
public WorkerListInfo.Builder setStartTime(com.google.protobuf.Timestamp value)
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;
-
setStartTime
public WorkerListInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;
-
mergeStartTime
public WorkerListInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;
-
clearStartTime
public WorkerListInfo.Builder clearStartTime()
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;- Specified by:
getStartTimeOrBuilderin interfaceWorkerListInfoOrBuilder
-
getHostName
public java.lang.String getHostName()
Worker host identifier.
string host_name = 9;- Specified by:
getHostNamein interfaceWorkerListInfoOrBuilder- Returns:
- The hostName.
-
getHostNameBytes
public com.google.protobuf.ByteString getHostNameBytes()
Worker host identifier.
string host_name = 9;- Specified by:
getHostNameBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for hostName.
-
setHostName
public WorkerListInfo.Builder setHostName(java.lang.String value)
Worker host identifier.
string host_name = 9;- Parameters:
value- The hostName to set.- Returns:
- This builder for chaining.
-
clearHostName
public WorkerListInfo.Builder clearHostName()
Worker host identifier.
string host_name = 9;- Returns:
- This builder for chaining.
-
setHostNameBytes
public WorkerListInfo.Builder setHostNameBytes(com.google.protobuf.ByteString value)
Worker host identifier.
string host_name = 9;- Parameters:
value- The bytes for hostName to set.- Returns:
- This builder for chaining.
-
getWorkerGroupingKey
public java.lang.String getWorkerGroupingKey()
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 10;- Specified by:
getWorkerGroupingKeyin interfaceWorkerListInfoOrBuilder- Returns:
- The workerGroupingKey.
-
getWorkerGroupingKeyBytes
public com.google.protobuf.ByteString getWorkerGroupingKeyBytes()
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 10;- Specified by:
getWorkerGroupingKeyBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for workerGroupingKey.
-
setWorkerGroupingKey
public WorkerListInfo.Builder setWorkerGroupingKey(java.lang.String value)
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 10;- Parameters:
value- The workerGroupingKey to set.- Returns:
- This builder for chaining.
-
clearWorkerGroupingKey
public WorkerListInfo.Builder clearWorkerGroupingKey()
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 10;- Returns:
- This builder for chaining.
-
setWorkerGroupingKeyBytes
public WorkerListInfo.Builder setWorkerGroupingKeyBytes(com.google.protobuf.ByteString value)
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 10;- Parameters:
value- The bytes for workerGroupingKey to set.- Returns:
- This builder for chaining.
-
getProcessId
public java.lang.String getProcessId()
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 11;- Specified by:
getProcessIdin interfaceWorkerListInfoOrBuilder- Returns:
- The processId.
-
getProcessIdBytes
public com.google.protobuf.ByteString getProcessIdBytes()
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 11;- Specified by:
getProcessIdBytesin interfaceWorkerListInfoOrBuilder- Returns:
- The bytes for processId.
-
setProcessId
public WorkerListInfo.Builder setProcessId(java.lang.String value)
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 11;- Parameters:
value- The processId to set.- Returns:
- This builder for chaining.
-
clearProcessId
public WorkerListInfo.Builder clearProcessId()
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 11;- Returns:
- This builder for chaining.
-
setProcessIdBytes
public WorkerListInfo.Builder setProcessIdBytes(com.google.protobuf.ByteString value)
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 11;- Parameters:
value- The bytes for processId to set.- Returns:
- This builder for chaining.
-
getPluginsList
public java.util.List<PluginInfo> getPluginsList()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsListin interfaceWorkerListInfoOrBuilder
-
getPluginsCount
public int getPluginsCount()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsCountin interfaceWorkerListInfoOrBuilder
-
getPlugins
public PluginInfo getPlugins(int index)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsin interfaceWorkerListInfoOrBuilder
-
setPlugins
public WorkerListInfo.Builder setPlugins(int index, PluginInfo value)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
setPlugins
public WorkerListInfo.Builder setPlugins(int index, PluginInfo.Builder builderForValue)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
addPlugins
public WorkerListInfo.Builder addPlugins(PluginInfo value)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
addPlugins
public WorkerListInfo.Builder addPlugins(int index, PluginInfo value)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
addPlugins
public WorkerListInfo.Builder addPlugins(PluginInfo.Builder builderForValue)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
addPlugins
public WorkerListInfo.Builder addPlugins(int index, PluginInfo.Builder builderForValue)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
addAllPlugins
public WorkerListInfo.Builder addAllPlugins(java.lang.Iterable<? extends PluginInfo> values)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
clearPlugins
public WorkerListInfo.Builder clearPlugins()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
removePlugins
public WorkerListInfo.Builder removePlugins(int index)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getPluginsBuilder
public PluginInfo.Builder getPluginsBuilder(int index)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getPluginsOrBuilder
public PluginInfoOrBuilder getPluginsOrBuilder(int index)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsOrBuilderin interfaceWorkerListInfoOrBuilder
-
getPluginsOrBuilderList
public java.util.List<? extends PluginInfoOrBuilder> getPluginsOrBuilderList()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsOrBuilderListin interfaceWorkerListInfoOrBuilder
-
addPluginsBuilder
public PluginInfo.Builder addPluginsBuilder()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
addPluginsBuilder
public PluginInfo.Builder addPluginsBuilder(int index)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getPluginsBuilderList
public java.util.List<PluginInfo.Builder> getPluginsBuilderList()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getDriversList
public java.util.List<StorageDriverInfo> getDriversList()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversListin interfaceWorkerListInfoOrBuilder
-
getDriversCount
public int getDriversCount()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversCountin interfaceWorkerListInfoOrBuilder
-
getDrivers
public StorageDriverInfo getDrivers(int index)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversin interfaceWorkerListInfoOrBuilder
-
setDrivers
public WorkerListInfo.Builder setDrivers(int index, StorageDriverInfo value)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
setDrivers
public WorkerListInfo.Builder setDrivers(int index, StorageDriverInfo.Builder builderForValue)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
addDrivers
public WorkerListInfo.Builder addDrivers(StorageDriverInfo value)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
addDrivers
public WorkerListInfo.Builder addDrivers(int index, StorageDriverInfo value)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
addDrivers
public WorkerListInfo.Builder addDrivers(StorageDriverInfo.Builder builderForValue)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
addDrivers
public WorkerListInfo.Builder addDrivers(int index, StorageDriverInfo.Builder builderForValue)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
addAllDrivers
public WorkerListInfo.Builder addAllDrivers(java.lang.Iterable<? extends StorageDriverInfo> values)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
clearDrivers
public WorkerListInfo.Builder clearDrivers()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
removeDrivers
public WorkerListInfo.Builder removeDrivers(int index)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
getDriversBuilder
public StorageDriverInfo.Builder getDriversBuilder(int index)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
getDriversOrBuilder
public StorageDriverInfoOrBuilder getDriversOrBuilder(int index)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversOrBuilderin interfaceWorkerListInfoOrBuilder
-
getDriversOrBuilderList
public java.util.List<? extends StorageDriverInfoOrBuilder> getDriversOrBuilderList()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversOrBuilderListin interfaceWorkerListInfoOrBuilder
-
addDriversBuilder
public StorageDriverInfo.Builder addDriversBuilder()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
addDriversBuilder
public StorageDriverInfo.Builder addDriversBuilder(int index)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
getDriversBuilderList
public java.util.List<StorageDriverInfo.Builder> getDriversBuilderList()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
setUnknownFields
public final WorkerListInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
mergeUnknownFields
public final WorkerListInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerListInfo.Builder>
-
-