io.temporal.api.history.v1.WorkflowTaskStartedEventAttributesOrBuilder 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:WorkflowTaskStartedEventAttributesOrBuilder.java.pb.meta")
public interface WorkflowTaskStartedEventAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.history.v1.WorkflowTaskStartedEventAttributes)
com.google.protobuf.MessageOrBuilder {
/**
*
* The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
*
*
* int64 scheduled_event_id = 1;
* @return The scheduledEventId.
*/
long getScheduledEventId();
/**
*
* Identity of the worker who picked up this task
*
*
* string identity = 2;
* @return The identity.
*/
java.lang.String getIdentity();
/**
*
* Identity of the worker who picked up this task
*
*
* string identity = 2;
* @return The bytes for identity.
*/
com.google.protobuf.ByteString
getIdentityBytes();
/**
*
* TODO: ? Appears unused?
*
*
* string request_id = 3;
* @return The requestId.
*/
java.lang.String getRequestId();
/**
*
* TODO: ? Appears unused?
*
*
* string request_id = 3;
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
/**
*
* True if this workflow should continue-as-new soon because its history size (in
* either event count or bytes) is getting large.
*
*
* bool suggest_continue_as_new = 4;
* @return The suggestContinueAsNew.
*/
boolean getSuggestContinueAsNew();
/**
*
* Total history size in bytes, which the workflow might use to decide when to
* continue-as-new regardless of the suggestion. Note that history event count is
* just the event id of this event, so we don't include it explicitly here.
*
*
* int64 history_size_bytes = 5;
* @return The historySizeBytes.
*/
long getHistorySizeBytes();
}