Class RecordActivityTaskHeartbeatByIdRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RecordActivityTaskHeartbeatByIdRequestOrBuilder,Cloneable
- Enclosing class:
RecordActivityTaskHeartbeatByIdRequest
public static final class RecordActivityTaskHeartbeatByIdRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
implements RecordActivityTaskHeartbeatByIdRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Id of the activity we're heartbeatingArbitrary data, of which the most recent call is kept, to store for this activityclearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the worker/clientNamespace 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 we're heartbeatingcom.google.protobuf.ByteStringId of the activity we're heartbeatingstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorArbitrary data, of which the most recent call is kept, to store for this activityArbitrary data, of which the most recent call is kept, to store for this activityArbitrary data, of which the most recent call is kept, to store for this activityThe identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientNamespace 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 activitybooleanArbitrary data, of which the most recent call is kept, to store for this activityprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDetails(Payloads value) Arbitrary data, of which the most recent call is kept, to store for this activitymergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActivityId(String value) Id of the activity we're heartbeatingsetActivityIdBytes(com.google.protobuf.ByteString value) Id of the activity we're heartbeatingsetDetails(Payloads value) Arbitrary data, of which the most recent call is kept, to store for this activitysetDetails(Payloads.Builder builderForValue) Arbitrary data, of which the most recent call is kept, to store for this activitysetIdentity(String value) The identity of the worker/clientsetIdentityBytes(com.google.protobuf.ByteString value) The identity of the worker/clientsetNamespace(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<RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
setField
public RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
clearField
public RecordActivityTaskHeartbeatByIdRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
clearOneof
public RecordActivityTaskHeartbeatByIdRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
setRepeatedField
public RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
addRepeatedField
public RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
mergeFrom
public RecordActivityTaskHeartbeatByIdRequest.Builder mergeFrom(RecordActivityTaskHeartbeatByIdRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
mergeFrom
public RecordActivityTaskHeartbeatByIdRequest.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<RecordActivityTaskHeartbeatByIdRequest.Builder>- Throws:
IOException
-
getNamespace
Namespace of the workflow which scheduled this activity
string namespace = 1;- Specified by:
getNamespacein interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 RecordActivityTaskHeartbeatByIdRequest.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 interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 RecordActivityTaskHeartbeatByIdRequest.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 interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 RecordActivityTaskHeartbeatByIdRequest.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 we're heartbeating
string activity_id = 4;- Specified by:
getActivityIdin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()Id of the activity we're heartbeating
string activity_id = 4;- Specified by:
getActivityIdBytesin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
Id of the activity we're heartbeating
string activity_id = 4;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
Id of the activity we're heartbeating
string activity_id = 4;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public RecordActivityTaskHeartbeatByIdRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value) Id of the activity we're heartbeating
string activity_id = 4;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
hasDetails
public boolean hasDetails()Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5;- Specified by:
hasDetailsin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5;- Specified by:
getDetailsin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- The details.
-
setDetails
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5; -
setDetails
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5; -
mergeDetails
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5; -
clearDetails
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5; -
getDetailsBuilder
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5; -
getDetailsOrBuilder
Arbitrary data, of which the most recent call is kept, to store for this activity
.temporal.api.common.v1.Payloads details = 5;- Specified by:
getDetailsOrBuilderin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder
-
getIdentity
The identity of the worker/client
string identity = 6;- Specified by:
getIdentityin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client
string identity = 6;- Specified by:
getIdentityBytesin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 RecordActivityTaskHeartbeatByIdRequest.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.
-
getResourceId
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 7;- Specified by:
getResourceIdin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- 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 = 7;- Specified by:
getResourceIdBytesin interfaceRecordActivityTaskHeartbeatByIdRequestOrBuilder- Returns:
- The bytes for resourceId.
-
setResourceId
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 7;- 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 = 7;- Returns:
- This builder for chaining.
-
setResourceIdBytes
public RecordActivityTaskHeartbeatByIdRequest.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 = 7;- Parameters:
value- The bytes for resourceId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RecordActivityTaskHeartbeatByIdRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
-
mergeUnknownFields
public final RecordActivityTaskHeartbeatByIdRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RecordActivityTaskHeartbeatByIdRequest.Builder>
-