Class UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
      • clear

        public UnpauseActivityRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UnpauseActivityRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
      • setField

        public UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
      • clearField

        public UnpauseActivityRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
      • clearOneof

        public UnpauseActivityRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
      • setRepeatedField

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

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

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

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

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

        public UnpauseActivityRequest.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 UnpauseActivityRequestOrBuilder
        Returns:
        Whether the execution field is set.
      • clearExecution

        public UnpauseActivityRequest.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;
      • getIdentity

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

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

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

        public UnpauseActivityRequest.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.
      • hasId

        public boolean hasId()
         Only the activity with this ID will be unpaused.
         
        string id = 4;
        Specified by:
        hasId in interface UnpauseActivityRequestOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public java.lang.String getId()
         Only the activity with this ID will be unpaused.
         
        string id = 4;
        Specified by:
        getId in interface UnpauseActivityRequestOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Only the activity with this ID will be unpaused.
         
        string id = 4;
        Specified by:
        getIdBytes in interface UnpauseActivityRequestOrBuilder
        Returns:
        The bytes for id.
      • setId

        public UnpauseActivityRequest.Builder setId​(java.lang.String value)
         Only the activity with this ID will be unpaused.
         
        string id = 4;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public UnpauseActivityRequest.Builder clearId()
         Only the activity with this ID will be unpaused.
         
        string id = 4;
        Returns:
        This builder for chaining.
      • setIdBytes

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

        public boolean hasType()
         Unpause all running activities with of this type.
         
        string type = 5;
        Specified by:
        hasType in interface UnpauseActivityRequestOrBuilder
        Returns:
        Whether the type field is set.
      • getType

        public java.lang.String getType()
         Unpause all running activities with of this type.
         
        string type = 5;
        Specified by:
        getType in interface UnpauseActivityRequestOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         Unpause all running activities with of this type.
         
        string type = 5;
        Specified by:
        getTypeBytes in interface UnpauseActivityRequestOrBuilder
        Returns:
        The bytes for type.
      • setType

        public UnpauseActivityRequest.Builder setType​(java.lang.String value)
         Unpause all running activities with of this type.
         
        string type = 5;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public UnpauseActivityRequest.Builder clearType()
         Unpause all running activities with of this type.
         
        string type = 5;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public UnpauseActivityRequest.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         Unpause all running activities with of this type.
         
        string type = 5;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasUnpauseAll

        public boolean hasUnpauseAll()
         Unpause all running activities.
         
        bool unpause_all = 6;
        Specified by:
        hasUnpauseAll in interface UnpauseActivityRequestOrBuilder
        Returns:
        Whether the unpauseAll field is set.
      • setUnpauseAll

        public UnpauseActivityRequest.Builder setUnpauseAll​(boolean value)
         Unpause all running activities.
         
        bool unpause_all = 6;
        Parameters:
        value - The unpauseAll to set.
        Returns:
        This builder for chaining.
      • clearUnpauseAll

        public UnpauseActivityRequest.Builder clearUnpauseAll()
         Unpause all running activities.
         
        bool unpause_all = 6;
        Returns:
        This builder for chaining.
      • getResetAttempts

        public boolean getResetAttempts()
         Providing this flag will also reset the number of attempts.
         
        bool reset_attempts = 7;
        Specified by:
        getResetAttempts in interface UnpauseActivityRequestOrBuilder
        Returns:
        The resetAttempts.
      • setResetAttempts

        public UnpauseActivityRequest.Builder setResetAttempts​(boolean value)
         Providing this flag will also reset the number of attempts.
         
        bool reset_attempts = 7;
        Parameters:
        value - The resetAttempts to set.
        Returns:
        This builder for chaining.
      • clearResetAttempts

        public UnpauseActivityRequest.Builder clearResetAttempts()
         Providing this flag will also reset the number of attempts.
         
        bool reset_attempts = 7;
        Returns:
        This builder for chaining.
      • getResetHeartbeat

        public boolean getResetHeartbeat()
         Providing this flag will also reset the heartbeat details.
         
        bool reset_heartbeat = 8;
        Specified by:
        getResetHeartbeat in interface UnpauseActivityRequestOrBuilder
        Returns:
        The resetHeartbeat.
      • setResetHeartbeat

        public UnpauseActivityRequest.Builder setResetHeartbeat​(boolean value)
         Providing this flag will also reset the heartbeat details.
         
        bool reset_heartbeat = 8;
        Parameters:
        value - The resetHeartbeat to set.
        Returns:
        This builder for chaining.
      • clearResetHeartbeat

        public UnpauseActivityRequest.Builder clearResetHeartbeat()
         Providing this flag will also reset the heartbeat details.
         
        bool reset_heartbeat = 8;
        Returns:
        This builder for chaining.
      • hasJitter

        public boolean hasJitter()
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
        Specified by:
        hasJitter in interface UnpauseActivityRequestOrBuilder
        Returns:
        Whether the jitter field is set.
      • getJitter

        public com.google.protobuf.Duration getJitter()
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
        Specified by:
        getJitter in interface UnpauseActivityRequestOrBuilder
        Returns:
        The jitter.
      • setJitter

        public UnpauseActivityRequest.Builder setJitter​(com.google.protobuf.Duration value)
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
      • setJitter

        public UnpauseActivityRequest.Builder setJitter​(com.google.protobuf.Duration.Builder builderForValue)
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
      • mergeJitter

        public UnpauseActivityRequest.Builder mergeJitter​(com.google.protobuf.Duration value)
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
      • clearJitter

        public UnpauseActivityRequest.Builder clearJitter()
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
      • getJitterBuilder

        public com.google.protobuf.Duration.Builder getJitterBuilder()
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
      • getJitterOrBuilder

        public com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
         If set, the activity will start at a random time within the specified jitter duration.
         
        .google.protobuf.Duration jitter = 9;
        Specified by:
        getJitterOrBuilder in interface UnpauseActivityRequestOrBuilder
      • setUnknownFields

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

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