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

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

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

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

        public UpdateActivityOptionsRequest.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<UpdateActivityOptionsRequest.Builder>
      • addRepeatedField

        public UpdateActivityOptionsRequest.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<UpdateActivityOptionsRequest.Builder>
      • isInitialized

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

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

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

        public UpdateActivityOptionsRequest.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 UpdateActivityOptionsRequest.Builder clearNamespace()
         Namespace of the workflow which scheduled this activity
         
        string namespace = 1;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public UpdateActivityOptionsRequest.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.
      • hasExecution

        public boolean hasExecution()
         Execution info of the workflow which scheduled this activity
         
        .temporal.api.common.v1.WorkflowExecution execution = 2;
        Specified by:
        hasExecution in interface UpdateActivityOptionsRequestOrBuilder
        Returns:
        Whether the execution field is set.
      • clearExecution

        public UpdateActivityOptionsRequest.Builder clearExecution()
         Execution info of the workflow which scheduled this activity
         
        .temporal.api.common.v1.WorkflowExecution execution = 2;
      • getExecutionBuilder

        public WorkflowExecution.Builder getExecutionBuilder()
         Execution info of the workflow which scheduled this activity
         
        .temporal.api.common.v1.WorkflowExecution execution = 2;
      • getIdentityBytes

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

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

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

        public UpdateActivityOptionsRequest.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         The identity of the client who initiated this request
         
        string identity = 3;
        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 = 4;
        Specified by:
        hasActivityOptions in interface UpdateActivityOptionsRequestOrBuilder
        Returns:
        Whether the activityOptions field is set.
      • mergeActivityOptions

        public UpdateActivityOptionsRequest.Builder mergeActivityOptions​(ActivityOptions value)
         Activity options. Partial updates are accepted and controlled by update_mask
         
        .temporal.api.activity.v1.ActivityOptions activity_options = 4;
      • clearActivityOptions

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

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

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

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

        public UpdateActivityOptionsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Controls which fields from `activity_options` will be applied
         
        .google.protobuf.FieldMask update_mask = 5;
      • mergeUpdateMask

        public UpdateActivityOptionsRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Controls which fields from `activity_options` will be applied
         
        .google.protobuf.FieldMask update_mask = 5;
      • clearUpdateMask

        public UpdateActivityOptionsRequest.Builder clearUpdateMask()
         Controls which fields from `activity_options` will be applied
         
        .google.protobuf.FieldMask update_mask = 5;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Controls which fields from `activity_options` will be applied
         
        .google.protobuf.FieldMask update_mask = 5;
      • setId

        public UpdateActivityOptionsRequest.Builder setId​(java.lang.String value)
         Only activity with this ID will be updated.
         
        string id = 6;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public UpdateActivityOptionsRequest.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Only activity with this ID will be updated.
         
        string id = 6;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • setType

        public UpdateActivityOptionsRequest.Builder setType​(java.lang.String value)
         Update all running activities of this type.
         
        string type = 7;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • setTypeBytes

        public UpdateActivityOptionsRequest.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         Update all running activities of this type.
         
        string type = 7;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.