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

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

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

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

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

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

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

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

        public java.lang.String getTimerId()
         Will match the `timer_id` from `TIMER_STARTED` event for this timer
         
        string timer_id = 1;
        Specified by:
        getTimerId in interface TimerCanceledEventAttributesOrBuilder
        Returns:
        The timerId.
      • getTimerIdBytes

        public com.google.protobuf.ByteString getTimerIdBytes()
         Will match the `timer_id` from `TIMER_STARTED` event for this timer
         
        string timer_id = 1;
        Specified by:
        getTimerIdBytes in interface TimerCanceledEventAttributesOrBuilder
        Returns:
        The bytes for timerId.
      • setTimerId

        public TimerCanceledEventAttributes.Builder setTimerId​(java.lang.String value)
         Will match the `timer_id` from `TIMER_STARTED` event for this timer
         
        string timer_id = 1;
        Parameters:
        value - The timerId to set.
        Returns:
        This builder for chaining.
      • clearTimerId

        public TimerCanceledEventAttributes.Builder clearTimerId()
         Will match the `timer_id` from `TIMER_STARTED` event for this timer
         
        string timer_id = 1;
        Returns:
        This builder for chaining.
      • setTimerIdBytes

        public TimerCanceledEventAttributes.Builder setTimerIdBytes​(com.google.protobuf.ByteString value)
         Will match the `timer_id` from `TIMER_STARTED` event for this timer
         
        string timer_id = 1;
        Parameters:
        value - The bytes for timerId to set.
        Returns:
        This builder for chaining.
      • setStartedEventId

        public TimerCanceledEventAttributes.Builder setStartedEventId​(long value)
         The id of the `TIMER_STARTED` event itself
         
        int64 started_event_id = 2;
        Parameters:
        value - The startedEventId to set.
        Returns:
        This builder for chaining.
      • clearStartedEventId

        public TimerCanceledEventAttributes.Builder clearStartedEventId()
         The id of the `TIMER_STARTED` event itself
         
        int64 started_event_id = 2;
        Returns:
        This builder for chaining.
      • getWorkflowTaskCompletedEventId

        public long getWorkflowTaskCompletedEventId()
         The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
         
        int64 workflow_task_completed_event_id = 3;
        Specified by:
        getWorkflowTaskCompletedEventId in interface TimerCanceledEventAttributesOrBuilder
        Returns:
        The workflowTaskCompletedEventId.
      • setWorkflowTaskCompletedEventId

        public TimerCanceledEventAttributes.Builder setWorkflowTaskCompletedEventId​(long value)
         The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
         
        int64 workflow_task_completed_event_id = 3;
        Parameters:
        value - The workflowTaskCompletedEventId to set.
        Returns:
        This builder for chaining.
      • clearWorkflowTaskCompletedEventId

        public TimerCanceledEventAttributes.Builder clearWorkflowTaskCompletedEventId()
         The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
         
        int64 workflow_task_completed_event_id = 3;
        Returns:
        This builder for chaining.
      • setIdentity

        public TimerCanceledEventAttributes.Builder setIdentity​(java.lang.String value)
         The id of the worker who requested this cancel
         
        string identity = 4;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • clearIdentity

        public TimerCanceledEventAttributes.Builder clearIdentity()
         The id of the worker who requested this cancel
         
        string identity = 4;
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public TimerCanceledEventAttributes.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         The id of the worker who requested this cancel
         
        string identity = 4;
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.