io.temporal.api.history.v1.ActivityTaskStartedEventAttributesOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/history/v1/message.proto
package io.temporal.api.history.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:ActivityTaskStartedEventAttributesOrBuilder.java.pb.meta")
public interface ActivityTaskStartedEventAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.history.v1.ActivityTaskStartedEventAttributes)
com.google.protobuf.MessageOrBuilder {
/**
*
* The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
*
*
* int64 scheduled_event_id = 1;
* @return The scheduledEventId.
*/
long getScheduledEventId();
/**
*
* id of the worker that picked up this task
*
*
* string identity = 2;
* @return The identity.
*/
java.lang.String getIdentity();
/**
*
* id of the worker that picked up this task
*
*
* string identity = 2;
* @return The bytes for identity.
*/
com.google.protobuf.ByteString
getIdentityBytes();
/**
*
* TODO ??
*
*
* string request_id = 3;
* @return The requestId.
*/
java.lang.String getRequestId();
/**
*
* TODO ??
*
*
* string request_id = 3;
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
/**
*
* Starting at 1, the number of times this task has been attempted
*
*
* int32 attempt = 4;
* @return The attempt.
*/
int getAttempt();
/**
*
* Will be set to the most recent failure details, if this task has previously failed and then
* been retried.
*
*
* .temporal.api.failure.v1.Failure last_failure = 5;
* @return Whether the lastFailure field is set.
*/
boolean hasLastFailure();
/**
*
* Will be set to the most recent failure details, if this task has previously failed and then
* been retried.
*
*
* .temporal.api.failure.v1.Failure last_failure = 5;
* @return The lastFailure.
*/
io.temporal.api.failure.v1.Failure getLastFailure();
/**
*
* Will be set to the most recent failure details, if this task has previously failed and then
* been retried.
*
*
* .temporal.api.failure.v1.Failure last_failure = 5;
*/
io.temporal.api.failure.v1.FailureOrBuilder getLastFailureOrBuilder();
}