io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesOrBuilder 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:WorkflowExecutionCancelRequestedEventAttributesOrBuilder.java.pb.meta")
public interface WorkflowExecutionCancelRequestedEventAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes)
com.google.protobuf.MessageOrBuilder {
/**
*
* User provided reason for requesting cancellation
* TODO: shall we create a new field with name "reason" and deprecate this one?
*
*
* string cause = 1;
* @return The cause.
*/
java.lang.String getCause();
/**
*
* User provided reason for requesting cancellation
* TODO: shall we create a new field with name "reason" and deprecate this one?
*
*
* string cause = 1;
* @return The bytes for cause.
*/
com.google.protobuf.ByteString
getCauseBytes();
/**
*
* TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
*
*
* int64 external_initiated_event_id = 2;
* @return The externalInitiatedEventId.
*/
long getExternalInitiatedEventId();
/**
* .temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
* @return Whether the externalWorkflowExecution field is set.
*/
boolean hasExternalWorkflowExecution();
/**
* .temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
* @return The externalWorkflowExecution.
*/
io.temporal.api.common.v1.WorkflowExecution getExternalWorkflowExecution();
/**
* .temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
*/
io.temporal.api.common.v1.WorkflowExecutionOrBuilder getExternalWorkflowExecutionOrBuilder();
/**
*
* id of the worker or client who requested this cancel
*
*
* string identity = 4;
* @return The identity.
*/
java.lang.String getIdentity();
/**
*
* id of the worker or client who requested this cancel
*
*
* string identity = 4;
* @return The bytes for identity.
*/
com.google.protobuf.ByteString
getIdentityBytes();
}