Class ResetActivityByIdRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • getDefaultInstanceForType

        public ResetActivityByIdRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ResetActivityByIdRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ResetActivityByIdRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public ResetActivityByIdRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • setRepeatedField

        public ResetActivityByIdRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • addRepeatedField

        public ResetActivityByIdRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • mergeFrom

        public ResetActivityByIdRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResetActivityByIdRequest.Builder>
        Throws:
        java.io.IOException
      • getNamespace

        public java.lang.String getNamespace()
         Namespace of the workflow which scheduled this activity.
         
        string namespace = 1;
        Specified by:
        getNamespace in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The namespace.
      • getNamespaceBytes

        public com.google.protobuf.ByteString getNamespaceBytes()
         Namespace of the workflow which scheduled this activity.
         
        string namespace = 1;
        Specified by:
        getNamespaceBytes in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The bytes for namespace.
      • setNamespace

        public ResetActivityByIdRequest.Builder setNamespace​(java.lang.String value)
         Namespace of the workflow which scheduled this activity.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • clearNamespace

        public ResetActivityByIdRequest.Builder clearNamespace()
         Namespace of the workflow which scheduled this activity.
         
        string namespace = 1;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public ResetActivityByIdRequest.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

        public java.lang.String getWorkflowId()
         ID of the workflow which scheduled this activity.
         
        string workflow_id = 2;
        Specified by:
        getWorkflowId in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The workflowId.
      • getWorkflowIdBytes

        public com.google.protobuf.ByteString getWorkflowIdBytes()
         ID of the workflow which scheduled this activity.
         
        string workflow_id = 2;
        Specified by:
        getWorkflowIdBytes in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The bytes for workflowId.
      • setWorkflowId

        public ResetActivityByIdRequest.Builder setWorkflowId​(java.lang.String value)
         ID of the workflow which scheduled this activity.
         
        string workflow_id = 2;
        Parameters:
        value - The workflowId to set.
        Returns:
        This builder for chaining.
      • clearWorkflowId

        public ResetActivityByIdRequest.Builder clearWorkflowId()
         ID of the workflow which scheduled this activity.
         
        string workflow_id = 2;
        Returns:
        This builder for chaining.
      • setWorkflowIdBytes

        public ResetActivityByIdRequest.Builder setWorkflowIdBytes​(com.google.protobuf.ByteString value)
         ID of the workflow which scheduled this activity.
         
        string workflow_id = 2;
        Parameters:
        value - The bytes for workflowId to set.
        Returns:
        This builder for chaining.
      • getRunId

        public java.lang.String getRunId()
         Run ID of the workflow which scheduled this activity.
         If empty - latest workflow is used.
         
        string run_id = 3;
        Specified by:
        getRunId in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The runId.
      • getRunIdBytes

        public com.google.protobuf.ByteString getRunIdBytes()
         Run ID of the workflow which scheduled this activity.
         If empty - latest workflow is used.
         
        string run_id = 3;
        Specified by:
        getRunIdBytes in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public ResetActivityByIdRequest.Builder setRunId​(java.lang.String value)
         Run ID of the workflow which scheduled this activity.
         If empty - latest workflow is used.
         
        string run_id = 3;
        Parameters:
        value - The runId to set.
        Returns:
        This builder for chaining.
      • clearRunId

        public ResetActivityByIdRequest.Builder clearRunId()
         Run ID of the workflow which scheduled this activity.
         If empty - latest workflow is used.
         
        string run_id = 3;
        Returns:
        This builder for chaining.
      • setRunIdBytes

        public ResetActivityByIdRequest.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
         Run ID of the workflow which scheduled this activity.
         If empty - latest workflow is used.
         
        string run_id = 3;
        Parameters:
        value - The bytes for runId to set.
        Returns:
        This builder for chaining.
      • getActivityIdBytes

        public com.google.protobuf.ByteString getActivityIdBytes()
         ID of the activity we're updating.
         
        string activity_id = 4;
        Specified by:
        getActivityIdBytes in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The bytes for activityId.
      • setActivityId

        public ResetActivityByIdRequest.Builder setActivityId​(java.lang.String value)
         ID of the activity we're updating.
         
        string activity_id = 4;
        Parameters:
        value - The activityId to set.
        Returns:
        This builder for chaining.
      • clearActivityId

        public ResetActivityByIdRequest.Builder clearActivityId()
         ID of the activity we're updating.
         
        string activity_id = 4;
        Returns:
        This builder for chaining.
      • setActivityIdBytes

        public ResetActivityByIdRequest.Builder setActivityIdBytes​(com.google.protobuf.ByteString value)
         ID of the activity we're updating.
         
        string activity_id = 4;
        Parameters:
        value - The bytes for activityId to set.
        Returns:
        This builder for chaining.
      • getIdentity

        public java.lang.String getIdentity()
         The identity of the client who initiated this request.
         
        string identity = 5;
        Specified by:
        getIdentity in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The identity.
      • getIdentityBytes

        public com.google.protobuf.ByteString getIdentityBytes()
         The identity of the client who initiated this request.
         
        string identity = 5;
        Specified by:
        getIdentityBytes in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The bytes for identity.
      • setIdentity

        public ResetActivityByIdRequest.Builder setIdentity​(java.lang.String value)
         The identity of the client who initiated this request.
         
        string identity = 5;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • clearIdentity

        public ResetActivityByIdRequest.Builder clearIdentity()
         The identity of the client who initiated this request.
         
        string identity = 5;
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public ResetActivityByIdRequest.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.
      • setRequestId

        public ResetActivityByIdRequest.Builder setRequestId​(java.lang.String value)
         Used to de-dupe requests.
         
        string request_id = 6;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public ResetActivityByIdRequest.Builder clearRequestId()
         Used to de-dupe requests.
         
        string request_id = 6;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public ResetActivityByIdRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Used to de-dupe requests.
         
        string request_id = 6;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • getNoWait

        public boolean getNoWait()
         Indicates that activity should be scheduled immediately.
         If this flag doesn't set, and activity currently running - temporal will wait until activity is completed.
         
        bool no_wait = 7;
        Specified by:
        getNoWait in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The noWait.
      • setNoWait

        public ResetActivityByIdRequest.Builder setNoWait​(boolean value)
         Indicates that activity should be scheduled immediately.
         If this flag doesn't set, and activity currently running - temporal will wait until activity is completed.
         
        bool no_wait = 7;
        Parameters:
        value - The noWait to set.
        Returns:
        This builder for chaining.
      • clearNoWait

        public ResetActivityByIdRequest.Builder clearNoWait()
         Indicates that activity should be scheduled immediately.
         If this flag doesn't set, and activity currently running - temporal will wait until activity is completed.
         
        bool no_wait = 7;
        Returns:
        This builder for chaining.
      • getResetHeartbeat

        public boolean getResetHeartbeat()
         Indicates that activity should reset heartbeat details.
         This flag will be applied only to the new instance of the activity.
         
        bool reset_heartbeat = 8;
        Specified by:
        getResetHeartbeat in interface ResetActivityByIdRequestOrBuilder
        Returns:
        The resetHeartbeat.
      • setResetHeartbeat

        public ResetActivityByIdRequest.Builder setResetHeartbeat​(boolean value)
         Indicates that activity should reset heartbeat details.
         This flag will be applied only to the new instance of the activity.
         
        bool reset_heartbeat = 8;
        Parameters:
        value - The resetHeartbeat to set.
        Returns:
        This builder for chaining.
      • clearResetHeartbeat

        public ResetActivityByIdRequest.Builder clearResetHeartbeat()
         Indicates that activity should reset heartbeat details.
         This flag will be applied only to the new instance of the activity.
         
        bool reset_heartbeat = 8;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ResetActivityByIdRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>
      • mergeUnknownFields

        public final ResetActivityByIdRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResetActivityByIdRequest.Builder>