Class WorkerListInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.worker.v1.WorkerListInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkerListInfoOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:WorkerListInfo.java.pb.meta")
public final class WorkerListInfo
extends com.google.protobuf.GeneratedMessageV3
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 type
temporal.api.worker.v1.WorkerListInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLimited worker information returned in the list response.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 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 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 TypeMethodDescriptionbooleanstatic WorkerListInfo.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;static final com.google.protobuf.Descriptors.DescriptorgetDrivers(int index) Storage drivers in use by this SDK.intStorage drivers in use by this SDK.Storage drivers in use by this SDK.getDriversOrBuilder(int index) Storage drivers in use by this SDK.List<? extends StorageDriverInfoOrBuilder> Storage drivers in use by this SDK.Worker host identifier.com.google.protobuf.ByteStringWorker host identifier.com.google.protobuf.Parser<WorkerListInfo> getPlugins(int index) Plugins currently in use by this SDK.intPlugins currently in use by this SDK.Plugins currently in use by this SDK.getPluginsOrBuilder(int index) Plugins currently in use by this SDK.List<? extends PluginInfoOrBuilder> Plugins currently in use by this SDK.Worker process identifier.com.google.protobuf.ByteStringWorker process identifier.string sdk_name = 5;com.google.protobuf.ByteStringstring sdk_name = 5;string sdk_version = 6;com.google.protobuf.ByteStringstring sdk_version = 6;intcom.google.protobuf.TimestampWorker start time.com.google.protobuf.TimestampOrBuilderWorker start time.Worker status.intWorker status.Task queue this worker is polling for tasks.com.google.protobuf.ByteStringTask queue this worker is polling for tasks.Worker grouping identifier.com.google.protobuf.ByteStringWorker grouping identifier.Worker identity, set by the client, may not be unique.com.google.protobuf.ByteStringWorker identity, set by the client, may not be unique.Worker identifier, should be unique for the namespace.com.google.protobuf.ByteStringWorker identifier, should be unique for the namespace.boolean.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;inthashCode()booleanWorker start time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic WorkerListInfo.Builderstatic WorkerListInfo.BuildernewBuilder(WorkerListInfo prototype) protected WorkerListInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static WorkerListInfoparseDelimitedFrom(InputStream input) static WorkerListInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerListInfoparseFrom(byte[] data) static WorkerListInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerListInfoparseFrom(com.google.protobuf.ByteString data) static WorkerListInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerListInfoparseFrom(com.google.protobuf.CodedInputStream input) static WorkerListInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerListInfoparseFrom(InputStream input) static WorkerListInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerListInfoparseFrom(ByteBuffer data) static WorkerListInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkerListInfo> 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
-
WORKER_INSTANCE_KEY_FIELD_NUMBER
public static final int WORKER_INSTANCE_KEY_FIELD_NUMBER- See Also:
-
WORKER_IDENTITY_FIELD_NUMBER
public static final int WORKER_IDENTITY_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
DEPLOYMENT_VERSION_FIELD_NUMBER
public static final int DEPLOYMENT_VERSION_FIELD_NUMBER- See Also:
-
SDK_NAME_FIELD_NUMBER
public static final int SDK_NAME_FIELD_NUMBER- See Also:
-
SDK_VERSION_FIELD_NUMBER
public static final int SDK_VERSION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
HOST_NAME_FIELD_NUMBER
public static final int HOST_NAME_FIELD_NUMBER- See Also:
-
WORKER_GROUPING_KEY_FIELD_NUMBER
public static final int WORKER_GROUPING_KEY_FIELD_NUMBER- See Also:
-
PROCESS_ID_FIELD_NUMBER
public static final int PROCESS_ID_FIELD_NUMBER- See Also:
-
PLUGINS_FIELD_NUMBER
public static final int PLUGINS_FIELD_NUMBER- See Also:
-
DRIVERS_FIELD_NUMBER
public static final int DRIVERS_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
-
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.
-
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.
-
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.
-
hasDeploymentVersion
public boolean hasDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Specified by:
hasDeploymentVersionin interfaceWorkerListInfoOrBuilder- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Specified by:
getDeploymentVersionin interfaceWorkerListInfoOrBuilder- Returns:
- The deploymentVersion.
-
getDeploymentVersionOrBuilder
.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Specified by:
getDeploymentVersionOrBuilderin interfaceWorkerListInfoOrBuilder
-
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.
-
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.
-
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.
-
getStatus
Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Specified by:
getStatusin interfaceWorkerListInfoOrBuilder- Returns:
- The status.
-
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.
-
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
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.
-
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.
-
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.
-
getPluginsList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsListin interfaceWorkerListInfoOrBuilder
-
getPluginsOrBuilderList
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsOrBuilderListin 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
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsin interfaceWorkerListInfoOrBuilder
-
getPluginsOrBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;- Specified by:
getPluginsOrBuilderin interfaceWorkerListInfoOrBuilder
-
getDriversList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversListin interfaceWorkerListInfoOrBuilder
-
getDriversOrBuilderList
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversOrBuilderListin 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
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversin interfaceWorkerListInfoOrBuilder
-
getDriversOrBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;- Specified by:
getDriversOrBuilderin interfaceWorkerListInfoOrBuilder
-
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 WorkerListInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerListInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerListInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerListInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerListInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerListInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WorkerListInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WorkerListInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WorkerListInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkerListInfo 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 WorkerListInfo.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
-