Class RespondActivityTaskFailedByIdRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RespondActivityTaskFailedByIdRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RespondActivityTaskFailedByIdRequestOrBuilder,Cloneable
- Enclosing class:
RespondActivityTaskFailedByIdRequest
public static final class RespondActivityTaskFailedByIdRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
implements RespondActivityTaskFailedByIdRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Id of the activity to failDetailed failure informationclearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the worker/clientAdditional details to be stored as last activity heartbeatNamespace of the workflow which scheduled this activityclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Resource ID for routing.For a workflow activity - the run ID of the workflow which scheduled this activity.Id of the workflow which scheduled this activity, leave empty to target a standalone activityclone()Id of the activity to failcom.google.protobuf.ByteStringId of the activity to failstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDetailed failure informationDetailed failure informationDetailed failure informationThe identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientAdditional details to be stored as last activity heartbeatAdditional details to be stored as last activity heartbeatAdditional details to be stored as last activity heartbeatNamespace 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.getRunId()For a workflow activity - the run ID of the workflow which scheduled this activity.com.google.protobuf.ByteStringFor a workflow activity - the run ID of the workflow which scheduled this activity.Id of the workflow which scheduled this activity, leave empty to target a standalone activitycom.google.protobuf.ByteStringId of the workflow which scheduled this activity, leave empty to target a standalone activitybooleanDetailed failure informationbooleanAdditional details to be stored as last activity heartbeatprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFailure(Failure value) Detailed failure informationmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Additional details to be stored as last activity heartbeatmergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActivityId(String value) Id of the activity to failsetActivityIdBytes(com.google.protobuf.ByteString value) Id of the activity to failsetFailure(Failure value) Detailed failure informationsetFailure(Failure.Builder builderForValue) Detailed failure informationsetIdentity(String value) The identity of the worker/clientsetIdentityBytes(com.google.protobuf.ByteString value) The identity of the worker/clientsetLastHeartbeatDetails(Payloads value) Additional details to be stored as last activity heartbeatsetLastHeartbeatDetails(Payloads.Builder builderForValue) Additional details to be stored as last activity heartbeatsetNamespace(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.For a workflow activity - the run ID of the workflow which scheduled this activity.setRunIdBytes(com.google.protobuf.ByteString value) For a workflow activity - the run ID of the workflow which scheduled this activity.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowId(String value) Id of the workflow which scheduled this activity, leave empty to target a standalone activitysetWorkflowIdBytes(com.google.protobuf.ByteString value) Id of the workflow which scheduled this activity, leave empty to target a standalone activityMethods 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<RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.Builder>
-
setField
public RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.Builder>
-
clearField
public RespondActivityTaskFailedByIdRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
-
clearOneof
public RespondActivityTaskFailedByIdRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
-
setRepeatedField
public RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.Builder>
-
addRepeatedField
public RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RespondActivityTaskFailedByIdRequest.Builder>
-
mergeFrom
public RespondActivityTaskFailedByIdRequest.Builder mergeFrom(RespondActivityTaskFailedByIdRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
-
mergeFrom
public RespondActivityTaskFailedByIdRequest.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<RespondActivityTaskFailedByIdRequest.Builder>- Throws:
IOException
-
getNamespace
Namespace of the workflow which scheduled this activity
string namespace = 1;- Specified by:
getNamespacein interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- 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 RespondActivityTaskFailedByIdRequest.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
Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Specified by:
getWorkflowIdin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Specified by:
getWorkflowIdBytesin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public RespondActivityTaskFailedByIdRequest.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value) Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Parameters:
value- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
getRunId
For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Specified by:
getRunIdin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Specified by:
getRunIdBytesin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The bytes for runId.
-
setRunId
For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Returns:
- This builder for chaining.
-
setRunIdBytes
public RespondActivityTaskFailedByIdRequest.Builder setRunIdBytes(com.google.protobuf.ByteString value) For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getActivityId
Id of the activity to fail
string activity_id = 4;- Specified by:
getActivityIdin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()Id of the activity to fail
string activity_id = 4;- Specified by:
getActivityIdBytesin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
Id of the activity to fail
string activity_id = 4;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
Id of the activity to fail
string activity_id = 4;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public RespondActivityTaskFailedByIdRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value) Id of the activity to fail
string activity_id = 4;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
hasFailure
public boolean hasFailure()Detailed failure information
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
hasFailurein interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailurein interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The failure.
-
setFailure
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5; -
setFailure
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5; -
mergeFailure
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5; -
clearFailure
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5; -
getFailureBuilder
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5; -
getFailureOrBuilder
Detailed failure information
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailureOrBuilderin interfaceRespondActivityTaskFailedByIdRequestOrBuilder
-
getIdentity
The identity of the worker/client
string identity = 6;- Specified by:
getIdentityin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client
string identity = 6;- Specified by:
getIdentityBytesin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the worker/client
string identity = 6;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the worker/client
string identity = 6;- Returns:
- This builder for chaining.
-
setIdentityBytes
public RespondActivityTaskFailedByIdRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value) The identity of the worker/client
string identity = 6;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasLastHeartbeatDetails
public boolean hasLastHeartbeatDetails()Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7;- Specified by:
hasLastHeartbeatDetailsin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- Whether the lastHeartbeatDetails field is set.
-
getLastHeartbeatDetails
Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7;- Specified by:
getLastHeartbeatDetailsin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The lastHeartbeatDetails.
-
setLastHeartbeatDetails
Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7; -
setLastHeartbeatDetails
public RespondActivityTaskFailedByIdRequest.Builder setLastHeartbeatDetails(Payloads.Builder builderForValue) Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7; -
mergeLastHeartbeatDetails
Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7; -
clearLastHeartbeatDetails
Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7; -
getLastHeartbeatDetailsBuilder
Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7; -
getLastHeartbeatDetailsOrBuilder
Additional details to be stored as last activity heartbeat
.temporal.api.common.v1.Payloads last_heartbeat_details = 7;- Specified by:
getLastHeartbeatDetailsOrBuilderin interfaceRespondActivityTaskFailedByIdRequestOrBuilder
-
getResourceId
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Specified by:
getResourceIdin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The resourceId.
-
getResourceIdBytes
public com.google.protobuf.ByteString getResourceIdBytes()Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Specified by:
getResourceIdBytesin interfaceRespondActivityTaskFailedByIdRequestOrBuilder- Returns:
- The bytes for resourceId.
-
setResourceId
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Parameters:
value- The resourceId to set.- Returns:
- This builder for chaining.
-
clearResourceId
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Returns:
- This builder for chaining.
-
setResourceIdBytes
public RespondActivityTaskFailedByIdRequest.Builder setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Parameters:
value- The bytes for resourceId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RespondActivityTaskFailedByIdRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
-
mergeUnknownFields
public final RespondActivityTaskFailedByIdRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondActivityTaskFailedByIdRequest.Builder>
-