Interface UpdateActivityOptionsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateActivityOptionsRequest,UpdateActivityOptionsRequest.Builder
@Generated(value="protoc", comments="annotations:UpdateActivityOptionsRequestOrBuilder.java.pb.meta") public interface UpdateActivityOptionsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateActivityOptionsRequest.ActivityCasegetActivityCase()ActivityOptionsgetActivityOptions()Activity options.ActivityOptionsOrBuildergetActivityOptionsOrBuilder()Activity options.WorkflowExecutiongetExecution()Execution info of the workflow which scheduled this activityWorkflowExecutionOrBuildergetExecutionOrBuilder()Execution info of the workflow which scheduled this activityjava.lang.StringgetId()Only activity with this ID will be updated.com.google.protobuf.ByteStringgetIdBytes()Only activity with this ID will be updated.java.lang.StringgetIdentity()The identity of the client who initiated this requestcom.google.protobuf.ByteStringgetIdentityBytes()The identity of the client who initiated this requestbooleangetMatchAll()Update all running activities.java.lang.StringgetNamespace()Namespace of the workflow which scheduled this activitycom.google.protobuf.ByteStringgetNamespaceBytes()Namespace of the workflow which scheduled this activitybooleangetRestoreOriginal()If set, the activity options will be restored to the default.java.lang.StringgetType()Update all running activities of this type.com.google.protobuf.ByteStringgetTypeBytes()Update all running activities of this type.com.google.protobuf.FieldMaskgetUpdateMask()Controls which fields from `activity_options` will be appliedcom.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()Controls which fields from `activity_options` will be appliedbooleanhasActivityOptions()Activity options.booleanhasExecution()Execution info of the workflow which scheduled this activitybooleanhasId()Only activity with this ID will be updated.booleanhasMatchAll()Update all running activities.booleanhasType()Update all running activities of this type.booleanhasUpdateMask()Controls which fields from `activity_options` will be applied-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.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.
-
hasExecution
boolean hasExecution()
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Returns:
- Whether the execution field is set.
-
getExecution
WorkflowExecution getExecution()
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Returns:
- The execution.
-
getExecutionOrBuilder
WorkflowExecutionOrBuilder getExecutionOrBuilder()
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
getIdentity
java.lang.String getIdentity()
The identity of the client who initiated this request
string identity = 3;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
The identity of the client who initiated this request
string identity = 3;- 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 = 4;- 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 = 4;- Returns:
- The activityOptions.
-
getActivityOptionsOrBuilder
ActivityOptionsOrBuilder getActivityOptionsOrBuilder()
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 4;
-
hasUpdateMask
boolean hasUpdateMask()
Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 5;- 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 = 5;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 5;
-
hasId
boolean hasId()
Only activity with this ID will be updated.
string id = 6;- Returns:
- Whether the id field is set.
-
getId
java.lang.String getId()
Only activity with this ID will be updated.
string id = 6;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Only activity with this ID will be updated.
string id = 6;- Returns:
- The bytes for id.
-
hasType
boolean hasType()
Update all running activities of this type.
string type = 7;- Returns:
- Whether the type field is set.
-
getType
java.lang.String getType()
Update all running activities of this type.
string type = 7;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Update all running activities of this type.
string type = 7;- Returns:
- The bytes for type.
-
hasMatchAll
boolean hasMatchAll()
Update all running activities.
bool match_all = 9;- Returns:
- Whether the matchAll field is set.
-
getMatchAll
boolean getMatchAll()
Update all running activities.
bool match_all = 9;- Returns:
- The matchAll.
-
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.
-
getActivityCase
UpdateActivityOptionsRequest.ActivityCase getActivityCase()
-
-