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

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

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

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

        public PauseActivityByIdRequest.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<PauseActivityByIdRequest.Builder>
      • setRepeatedField

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

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

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

        public PauseActivityByIdRequest.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<PauseActivityByIdRequest.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 PauseActivityByIdRequestOrBuilder
        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 PauseActivityByIdRequestOrBuilder
        Returns:
        The bytes for namespace.
      • setNamespace

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

        public PauseActivityByIdRequest.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 PauseActivityByIdRequestOrBuilder
        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 PauseActivityByIdRequestOrBuilder
        Returns:
        The bytes for workflowId.
      • setWorkflowId

        public PauseActivityByIdRequest.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 PauseActivityByIdRequest.Builder clearWorkflowId()
         ID of the workflow which scheduled this activity.
         
        string workflow_id = 2;
        Returns:
        This builder for chaining.
      • setWorkflowIdBytes

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

        public PauseActivityByIdRequest.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 PauseActivityByIdRequest.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 PauseActivityByIdRequest.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 PauseActivityByIdRequestOrBuilder
        Returns:
        The bytes for activityId.
      • setActivityId

        public PauseActivityByIdRequest.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 PauseActivityByIdRequest.Builder clearActivityId()
         ID of the activity we're updating.
         
        string activity_id = 4;
        Returns:
        This builder for chaining.
      • setActivityIdBytes

        public PauseActivityByIdRequest.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 PauseActivityByIdRequestOrBuilder
        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 PauseActivityByIdRequestOrBuilder
        Returns:
        The bytes for identity.
      • setIdentity

        public PauseActivityByIdRequest.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 PauseActivityByIdRequest.Builder clearIdentity()
         The identity of the client who initiated this request.
         
        string identity = 5;
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public PauseActivityByIdRequest.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 PauseActivityByIdRequest.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 PauseActivityByIdRequest.Builder clearRequestId()
         Used to de-dupe requests.
         
        string request_id = 6;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public PauseActivityByIdRequest.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.
      • setUnknownFields

        public final PauseActivityByIdRequest.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<PauseActivityByIdRequest.Builder>
      • mergeUnknownFields

        public final PauseActivityByIdRequest.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<PauseActivityByIdRequest.Builder>