Interface UpdateActivityExecutionOptionsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateActivityExecutionOptionsRequest,UpdateActivityExecutionOptionsRequest.Builder
@Generated(value="protoc",
comments="annotations:UpdateActivityExecutionOptionsRequestOrBuilder.java.pb.meta")
public interface UpdateActivityExecutionOptionsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the activity to target.com.google.protobuf.ByteStringThe ID of the activity to target.Activity options.Activity options.The identity of the client who initiated this requestcom.google.protobuf.ByteStringThe identity of the client who initiated this requestNamespace of the workflow which scheduled this activitycom.google.protobuf.ByteStringNamespace of the workflow which scheduled this activityResource ID for routing.com.google.protobuf.ByteStringResource ID for routing.booleanIf set, the activity options will be restored to the default.getRunId()Run ID of the workflow or standalone activity.com.google.protobuf.ByteStringRun ID of the workflow or standalone activity.com.google.protobuf.FieldMaskControls which fields from `activity_options` will be appliedcom.google.protobuf.FieldMaskOrBuilderControls which fields from `activity_options` will be appliedIf provided, targets a workflow activity for the given workflow ID.com.google.protobuf.ByteStringIf provided, targets a workflow activity for the given workflow ID.booleanActivity options.booleanControls which fields from `activity_options` will be appliedMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespace
String getNamespace()Namespace of the workflow which scheduled this activity
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity
string namespace = 1;- Returns:
- The bytes for namespace.
-
getWorkflowId
String getWorkflowId()If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Returns:
- The workflowId.
-
getWorkflowIdBytes
com.google.protobuf.ByteString getWorkflowIdBytes()If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Returns:
- The bytes for workflowId.
-
getActivityId
String getActivityId()The ID of the activity to target.
string activity_id = 3;- Returns:
- The activityId.
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()The ID of the activity to target.
string activity_id = 3;- Returns:
- The bytes for activityId.
-
getRunId
String getRunId()Run ID of the workflow or standalone activity.
string run_id = 4;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()Run ID of the workflow or standalone activity.
string run_id = 4;- Returns:
- The bytes for runId.
-
getIdentity
String getIdentity()The identity of the client who initiated this request
string identity = 5;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request
string identity = 5;- Returns:
- The bytes for identity.
-
hasActivityOptions
boolean hasActivityOptions()Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6;- Returns:
- Whether the activityOptions field is set.
-
getActivityOptions
ActivityOptions getActivityOptions()Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6;- Returns:
- The activityOptions.
-
getActivityOptionsOrBuilder
ActivityOptionsOrBuilder getActivityOptionsOrBuilder()Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6; -
hasUpdateMask
boolean hasUpdateMask()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7; -
getRestoreOriginal
boolean getRestoreOriginal()If set, the activity options will be restored to the default. Default options are then options activity was created with. They are part of the first schedule event. This flag cannot be combined with any other option; if you supply restore_original together with other options, the request will be rejected.
bool restore_original = 8;- Returns:
- The restoreOriginal.
-
getResourceId
String getResourceId()Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 9;- Returns:
- The resourceId.
-
getResourceIdBytes
com.google.protobuf.ByteString getResourceIdBytes()Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 9;- Returns:
- The bytes for resourceId.
-