Package io.temporal.api.deployment.v1
Interface WorkerDeploymentOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerDeploymentOptions,WorkerDeploymentOptions.Builder
@Generated(value="protoc", comments="annotations:WorkerDeploymentOptionsOrBuilder.java.pb.meta") public interface WorkerDeploymentOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBuildId()The Build ID of the worker.com.google.protobuf.ByteStringgetBuildIdBytes()The Build ID of the worker.java.lang.StringgetDeploymentName()Required.com.google.protobuf.ByteStringgetDeploymentNameBytes()Required.WorkerVersioningModegetWorkerVersioningMode()Required.intgetWorkerVersioningModeValue()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDeploymentName
java.lang.String getDeploymentName()
Required. Worker Deployment name.
string deployment_name = 1;- Returns:
- The deploymentName.
-
getDeploymentNameBytes
com.google.protobuf.ByteString getDeploymentNameBytes()
Required. Worker Deployment name.
string deployment_name = 1;- Returns:
- The bytes for deploymentName.
-
getBuildId
java.lang.String getBuildId()
The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case, the worker will be part of a Deployment Version identified by "<deployment_name>.<build_id>".
string build_id = 2;- Returns:
- The buildId.
-
getBuildIdBytes
com.google.protobuf.ByteString getBuildIdBytes()
The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case, the worker will be part of a Deployment Version identified by "<deployment_name>.<build_id>".
string build_id = 2;- Returns:
- The bytes for buildId.
-
getWorkerVersioningModeValue
int getWorkerVersioningModeValue()
Required. Versioning Mode for this worker. Must be the same for all workers with the same `deployment_name` and `build_id` combination, across all Task Queues. When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version identified by "<deployment_name>.<build_id>".
.temporal.api.enums.v1.WorkerVersioningMode worker_versioning_mode = 3;- Returns:
- The enum numeric value on the wire for workerVersioningMode.
-
getWorkerVersioningMode
WorkerVersioningMode getWorkerVersioningMode()
Required. Versioning Mode for this worker. Must be the same for all workers with the same `deployment_name` and `build_id` combination, across all Task Queues. When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version identified by "<deployment_name>.<build_id>".
.temporal.api.enums.v1.WorkerVersioningMode worker_versioning_mode = 3;- Returns:
- The workerVersioningMode.
-
-