Class PollForActivityTaskResponse

    • Field Detail

      • taskToken

        public java.nio.ByteBuffer taskToken
      • activityId

        public java.lang.String activityId
      • input

        public java.nio.ByteBuffer input
      • scheduledTimestamp

        public long scheduledTimestamp
      • scheduleToCloseTimeoutSeconds

        public int scheduleToCloseTimeoutSeconds
      • startedTimestamp

        public long startedTimestamp
      • startToCloseTimeoutSeconds

        public int startToCloseTimeoutSeconds
      • heartbeatTimeoutSeconds

        public int heartbeatTimeoutSeconds
      • attempt

        public int attempt
      • scheduledTimestampOfThisAttempt

        public long scheduledTimestampOfThisAttempt
      • heartbeatDetails

        public java.nio.ByteBuffer heartbeatDetails
      • workflowDomain

        public java.lang.String workflowDomain
      • header

        public Header header
    • Constructor Detail

      • PollForActivityTaskResponse

        public PollForActivityTaskResponse()
      • PollForActivityTaskResponse

        public PollForActivityTaskResponse​(PollForActivityTaskResponse other)
        Performs a deep copy on other.
    • Method Detail

      • getTaskToken

        public byte[] getTaskToken()
      • bufferForTaskToken

        public java.nio.ByteBuffer bufferForTaskToken()
      • unsetTaskToken

        public void unsetTaskToken()
      • isSetTaskToken

        public boolean isSetTaskToken()
        Returns true if field taskToken is set (has been assigned a value) and false otherwise
      • setTaskTokenIsSet

        public void setTaskTokenIsSet​(boolean value)
      • unsetWorkflowExecution

        public void unsetWorkflowExecution()
      • isSetWorkflowExecution

        public boolean isSetWorkflowExecution()
        Returns true if field workflowExecution is set (has been assigned a value) and false otherwise
      • setWorkflowExecutionIsSet

        public void setWorkflowExecutionIsSet​(boolean value)
      • getActivityId

        public java.lang.String getActivityId()
      • unsetActivityId

        public void unsetActivityId()
      • isSetActivityId

        public boolean isSetActivityId()
        Returns true if field activityId is set (has been assigned a value) and false otherwise
      • setActivityIdIsSet

        public void setActivityIdIsSet​(boolean value)
      • unsetActivityType

        public void unsetActivityType()
      • isSetActivityType

        public boolean isSetActivityType()
        Returns true if field activityType is set (has been assigned a value) and false otherwise
      • setActivityTypeIsSet

        public void setActivityTypeIsSet​(boolean value)
      • getInput

        public byte[] getInput()
      • bufferForInput

        public java.nio.ByteBuffer bufferForInput()
      • unsetInput

        public void unsetInput()
      • isSetInput

        public boolean isSetInput()
        Returns true if field input is set (has been assigned a value) and false otherwise
      • setInputIsSet

        public void setInputIsSet​(boolean value)
      • getScheduledTimestamp

        public long getScheduledTimestamp()
      • unsetScheduledTimestamp

        public void unsetScheduledTimestamp()
      • isSetScheduledTimestamp

        public boolean isSetScheduledTimestamp()
        Returns true if field scheduledTimestamp is set (has been assigned a value) and false otherwise
      • setScheduledTimestampIsSet

        public void setScheduledTimestampIsSet​(boolean value)
      • getScheduleToCloseTimeoutSeconds

        public int getScheduleToCloseTimeoutSeconds()
      • setScheduleToCloseTimeoutSeconds

        public PollForActivityTaskResponse setScheduleToCloseTimeoutSeconds​(int scheduleToCloseTimeoutSeconds)
      • unsetScheduleToCloseTimeoutSeconds

        public void unsetScheduleToCloseTimeoutSeconds()
      • isSetScheduleToCloseTimeoutSeconds

        public boolean isSetScheduleToCloseTimeoutSeconds()
        Returns true if field scheduleToCloseTimeoutSeconds is set (has been assigned a value) and false otherwise
      • setScheduleToCloseTimeoutSecondsIsSet

        public void setScheduleToCloseTimeoutSecondsIsSet​(boolean value)
      • getStartedTimestamp

        public long getStartedTimestamp()
      • unsetStartedTimestamp

        public void unsetStartedTimestamp()
      • isSetStartedTimestamp

        public boolean isSetStartedTimestamp()
        Returns true if field startedTimestamp is set (has been assigned a value) and false otherwise
      • setStartedTimestampIsSet

        public void setStartedTimestampIsSet​(boolean value)
      • getStartToCloseTimeoutSeconds

        public int getStartToCloseTimeoutSeconds()
      • unsetStartToCloseTimeoutSeconds

        public void unsetStartToCloseTimeoutSeconds()
      • isSetStartToCloseTimeoutSeconds

        public boolean isSetStartToCloseTimeoutSeconds()
        Returns true if field startToCloseTimeoutSeconds is set (has been assigned a value) and false otherwise
      • setStartToCloseTimeoutSecondsIsSet

        public void setStartToCloseTimeoutSecondsIsSet​(boolean value)
      • getHeartbeatTimeoutSeconds

        public int getHeartbeatTimeoutSeconds()
      • unsetHeartbeatTimeoutSeconds

        public void unsetHeartbeatTimeoutSeconds()
      • isSetHeartbeatTimeoutSeconds

        public boolean isSetHeartbeatTimeoutSeconds()
        Returns true if field heartbeatTimeoutSeconds is set (has been assigned a value) and false otherwise
      • setHeartbeatTimeoutSecondsIsSet

        public void setHeartbeatTimeoutSecondsIsSet​(boolean value)
      • getAttempt

        public int getAttempt()
      • unsetAttempt

        public void unsetAttempt()
      • isSetAttempt

        public boolean isSetAttempt()
        Returns true if field attempt is set (has been assigned a value) and false otherwise
      • setAttemptIsSet

        public void setAttemptIsSet​(boolean value)
      • getScheduledTimestampOfThisAttempt

        public long getScheduledTimestampOfThisAttempt()
      • setScheduledTimestampOfThisAttempt

        public PollForActivityTaskResponse setScheduledTimestampOfThisAttempt​(long scheduledTimestampOfThisAttempt)
      • unsetScheduledTimestampOfThisAttempt

        public void unsetScheduledTimestampOfThisAttempt()
      • isSetScheduledTimestampOfThisAttempt

        public boolean isSetScheduledTimestampOfThisAttempt()
        Returns true if field scheduledTimestampOfThisAttempt is set (has been assigned a value) and false otherwise
      • setScheduledTimestampOfThisAttemptIsSet

        public void setScheduledTimestampOfThisAttemptIsSet​(boolean value)
      • getHeartbeatDetails

        public byte[] getHeartbeatDetails()
      • bufferForHeartbeatDetails

        public java.nio.ByteBuffer bufferForHeartbeatDetails()
      • unsetHeartbeatDetails

        public void unsetHeartbeatDetails()
      • isSetHeartbeatDetails

        public boolean isSetHeartbeatDetails()
        Returns true if field heartbeatDetails is set (has been assigned a value) and false otherwise
      • setHeartbeatDetailsIsSet

        public void setHeartbeatDetailsIsSet​(boolean value)
      • unsetWorkflowType

        public void unsetWorkflowType()
      • isSetWorkflowType

        public boolean isSetWorkflowType()
        Returns true if field workflowType is set (has been assigned a value) and false otherwise
      • setWorkflowTypeIsSet

        public void setWorkflowTypeIsSet​(boolean value)
      • getWorkflowDomain

        public java.lang.String getWorkflowDomain()
      • unsetWorkflowDomain

        public void unsetWorkflowDomain()
      • isSetWorkflowDomain

        public boolean isSetWorkflowDomain()
        Returns true if field workflowDomain is set (has been assigned a value) and false otherwise
      • setWorkflowDomainIsSet

        public void setWorkflowDomainIsSet​(boolean value)
      • getHeader

        public Header getHeader()
      • unsetHeader

        public void unsetHeader()
      • isSetHeader

        public boolean isSetHeader()
        Returns true if field header is set (has been assigned a value) and false otherwise
      • setHeaderIsSet

        public void setHeaderIsSet​(boolean value)
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException