Class UpdateActivityOptionsByIdRequest.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<UpdateActivityOptionsByIdRequest.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<UpdateActivityOptionsByIdRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public UpdateActivityOptionsByIdRequest.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<UpdateActivityOptionsByIdRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public UpdateActivityOptionsByIdRequest.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.
      • setNamespaceBytes

        public UpdateActivityOptionsByIdRequest.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.
      • setWorkflowId

        public UpdateActivityOptionsByIdRequest.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.
      • setWorkflowIdBytes

        public UpdateActivityOptionsByIdRequest.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 UpdateActivityOptionsByIdRequestOrBuilder
        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 UpdateActivityOptionsByIdRequestOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public UpdateActivityOptionsByIdRequest.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 UpdateActivityOptionsByIdRequest.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 UpdateActivityOptionsByIdRequest.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.
      • setActivityId

        public UpdateActivityOptionsByIdRequest.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.
      • setActivityIdBytes

        public UpdateActivityOptionsByIdRequest.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.
      • setIdentity

        public UpdateActivityOptionsByIdRequest.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.
      • setIdentityBytes

        public UpdateActivityOptionsByIdRequest.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:
        hasActivityOptions in interface UpdateActivityOptionsByIdRequestOrBuilder
        Returns:
        Whether the activityOptions field is set.
      • clearActivityOptions

        public UpdateActivityOptionsByIdRequest.Builder clearActivityOptions()
         Activity options. Partial updates are accepted and controlled by update_mask
         
        .temporal.api.activity.v1.ActivityOptions activity_options = 6;
      • getActivityOptionsBuilder

        public ActivityOptions.Builder getActivityOptionsBuilder()
         Activity options. Partial updates are accepted and controlled by update_mask
         
        .temporal.api.activity.v1.ActivityOptions activity_options = 6;
      • hasUpdateMask

        public boolean hasUpdateMask()
         Controls which fields from `activity_options` will be applied
         
        .google.protobuf.FieldMask update_mask = 7;
        Specified by:
        hasUpdateMask in interface UpdateActivityOptionsByIdRequestOrBuilder
        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:
        getUpdateMask in interface UpdateActivityOptionsByIdRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateActivityOptionsByIdRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Controls which fields from `activity_options` will be applied
         
        .google.protobuf.FieldMask update_mask = 7;
      • setUpdateMask

        public UpdateActivityOptionsByIdRequest.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 UpdateActivityOptionsByIdRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         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;
      • setRequestId

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

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