Class UpdateActivityExecutionOptionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateActivityExecutionOptionsRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
io.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateActivityExecutionOptionsRequestOrBuilder,Cloneable
- Enclosing class:
UpdateActivityExecutionOptionsRequest
public static final class UpdateActivityExecutionOptionsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
implements UpdateActivityExecutionOptionsRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ID of the activity to target.Activity options.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who initiated this requestNamespace of the workflow which scheduled this activityclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Resource ID for routing.If set, the activity options will be restored to the default.Run ID of the workflow or standalone activity.Controls which fields from `activity_options` will be appliedIf provided, targets a workflow activity for the given workflow ID.clone()The ID of the activity to target.com.google.protobuf.ByteStringThe ID of the activity to target.Activity options.Activity options.Activity options.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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.FieldMask.BuilderControls 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 appliedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanActivity options.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateMask(com.google.protobuf.FieldMask value) Controls which fields from `activity_options` will be appliedsetActivityId(String value) The ID of the activity to target.setActivityIdBytes(com.google.protobuf.ByteString value) The ID of the activity to target.Activity options.setActivityOptions(ActivityOptions.Builder builderForValue) Activity options.setIdentity(String value) The identity of the client who initiated this requestsetIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this requestsetNamespace(String value) Namespace of the workflow which scheduled this activitysetNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the workflow which scheduled this activitysetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceId(String value) Resource ID for routing.setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing.setRestoreOriginal(boolean value) If set, the activity options will be restored to the default.Run ID of the workflow or standalone activity.setRunIdBytes(com.google.protobuf.ByteString value) Run ID of the workflow or standalone activity.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateMask(com.google.protobuf.FieldMask value) Controls which fields from `activity_options` will be appliedsetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Controls which fields from `activity_options` will be appliedsetWorkflowId(String value) If provided, targets a workflow activity for the given workflow ID.setWorkflowIdBytes(com.google.protobuf.ByteString value) If provided, targets a workflow activity for the given workflow ID.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<UpdateActivityExecutionOptionsRequest.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<UpdateActivityExecutionOptionsRequest.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<UpdateActivityExecutionOptionsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<UpdateActivityExecutionOptionsRequest.Builder>
-
setField
public UpdateActivityExecutionOptionsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
clearField
public UpdateActivityExecutionOptionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
clearOneof
public UpdateActivityExecutionOptionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
setRepeatedField
public UpdateActivityExecutionOptionsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
addRepeatedField
public UpdateActivityExecutionOptionsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
mergeFrom
public UpdateActivityExecutionOptionsRequest.Builder mergeFrom(UpdateActivityExecutionOptionsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
mergeFrom
public UpdateActivityExecutionOptionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateActivityExecutionOptionsRequest.Builder>- Throws:
IOException
-
getNamespace
Namespace of the workflow which scheduled this activity
string namespace = 1;- Specified by:
getNamespacein interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
Namespace of the workflow which scheduled this activity
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
Namespace of the workflow which scheduled this activity
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public UpdateActivityExecutionOptionsRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the workflow which scheduled this activity
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getWorkflowId
If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Specified by:
getWorkflowIdin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public 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;- Specified by:
getWorkflowIdBytesin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public UpdateActivityExecutionOptionsRequest.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value) If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Parameters:
value- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
getActivityId
The ID of the activity to target.
string activity_id = 3;- Specified by:
getActivityIdin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()The ID of the activity to target.
string activity_id = 3;- Specified by:
getActivityIdBytesin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
The ID of the activity to target.
string activity_id = 3;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
The ID of the activity to target.
string activity_id = 3;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public UpdateActivityExecutionOptionsRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value) The ID of the activity to target.
string activity_id = 3;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
getRunId
Run ID of the workflow or standalone activity.
string run_id = 4;- Specified by:
getRunIdin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Run ID of the workflow or standalone activity.
string run_id = 4;- Specified by:
getRunIdBytesin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The bytes for runId.
-
setRunId
Run ID of the workflow or standalone activity.
string run_id = 4;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
Run ID of the workflow or standalone activity.
string run_id = 4;- Returns:
- This builder for chaining.
-
setRunIdBytes
public UpdateActivityExecutionOptionsRequest.Builder setRunIdBytes(com.google.protobuf.ByteString value) Run ID of the workflow or standalone activity.
string run_id = 4;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getIdentity
The identity of the client who initiated this request
string identity = 5;- Specified by:
getIdentityin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request
string identity = 5;- Specified by:
getIdentityBytesin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who initiated this request
string identity = 5;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who initiated this request
string identity = 5;- Returns:
- This builder for chaining.
-
setIdentityBytes
public UpdateActivityExecutionOptionsRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this request
string identity = 5;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasActivityOptions
public boolean hasActivityOptions()Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6;- Specified by:
hasActivityOptionsin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- Whether the activityOptions field is set.
-
getActivityOptions
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6;- Specified by:
getActivityOptionsin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The activityOptions.
-
setActivityOptions
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6; -
setActivityOptions
public UpdateActivityExecutionOptionsRequest.Builder setActivityOptions(ActivityOptions.Builder builderForValue) Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6; -
mergeActivityOptions
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6; -
clearActivityOptions
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6; -
getActivityOptionsBuilder
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6; -
getActivityOptionsOrBuilder
Activity options. Partial updates are accepted and controlled by update_mask
.temporal.api.activity.v1.ActivityOptions activity_options = 6;- Specified by:
getActivityOptionsOrBuilderin interfaceUpdateActivityExecutionOptionsRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7;- Specified by:
hasUpdateMaskin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7;- Specified by:
getUpdateMaskin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public UpdateActivityExecutionOptionsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value) Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7; -
setUpdateMask
public UpdateActivityExecutionOptionsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7; -
mergeUpdateMask
public UpdateActivityExecutionOptionsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value) Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7; -
clearUpdateMask
Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7; -
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Controls which fields from `activity_options` will be applied
.google.protobuf.FieldMask update_mask = 7;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateActivityExecutionOptionsRequestOrBuilder
-
getRestoreOriginal
public 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;- Specified by:
getRestoreOriginalin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The restoreOriginal.
-
setRestoreOriginal
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;- Parameters:
value- The restoreOriginal to set.- Returns:
- This builder for chaining.
-
clearRestoreOriginal
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:
- This builder for chaining.
-
getResourceId
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 9;- Specified by:
getResourceIdin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The resourceId.
-
getResourceIdBytes
public 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;- Specified by:
getResourceIdBytesin interfaceUpdateActivityExecutionOptionsRequestOrBuilder- Returns:
- The bytes for resourceId.
-
setResourceId
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 9;- Parameters:
value- The resourceId to set.- Returns:
- This builder for chaining.
-
clearResourceId
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 9;- Returns:
- This builder for chaining.
-
setResourceIdBytes
public UpdateActivityExecutionOptionsRequest.Builder setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 9;- Parameters:
value- The bytes for resourceId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateActivityExecutionOptionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-
mergeUnknownFields
public final UpdateActivityExecutionOptionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateActivityExecutionOptionsRequest.Builder>
-