pb

package
v0.10.2-patch-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGateway        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGateway          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGateway = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Partition_PartitionBrokerHealth_name = map[int32]string{
	0: "HEALTHY",
	1: "UNHEALTHY",
	2: "DEAD",
}
View Source
var Partition_PartitionBrokerHealth_value = map[string]int32{
	"HEALTHY":   0,
	"UNHEALTHY": 1,
	"DEAD":      2,
}
View Source
var Partition_PartitionBrokerRole_name = map[int32]string{
	0: "LEADER",
	1: "FOLLOWER",
	2: "INACTIVE",
}
View Source
var Partition_PartitionBrokerRole_value = map[string]int32{
	"LEADER":   0,
	"FOLLOWER": 1,
	"INACTIVE": 2,
}

Functions

func RegisterGatewayServer

func RegisterGatewayServer(s *grpc.Server, srv GatewayServer)

Types

type ActivateJobsRequest

type ActivateJobsRequest struct {
	// the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition
	// type="payment-service" />)
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// the name of the worker activating the jobs, mostly used for logging purposes
	Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"`
	// a job returned after this call will not be activated by another call until the
	// timeout (in ms) has been reached
	Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// the maximum jobs to activate by this request
	MaxJobsToActivate int32 `protobuf:"varint,4,opt,name=maxJobsToActivate,proto3" json:"maxJobsToActivate,omitempty"`
	// a list of variables to fetch as the job variables; if empty, all visible variables at
	// the time of activation for the scope of the job will be returned
	FetchVariable []string `protobuf:"bytes,5,rep,name=fetchVariable,proto3" json:"fetchVariable,omitempty"`
	// The request will be completed when at least one job is activated or after the requestTimeout (in ms).
	// if the requestTimeout = 0, a default timeout is used.
	// if the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.
	RequestTimeout int64 `protobuf:"varint,6,opt,name=requestTimeout,proto3" json:"requestTimeout,omitempty"`
}

func (*ActivateJobsRequest) Descriptor

func (*ActivateJobsRequest) Descriptor() ([]byte, []int)

func (*ActivateJobsRequest) Marshal

func (m *ActivateJobsRequest) Marshal() (dAtA []byte, err error)

func (*ActivateJobsRequest) MarshalTo

func (m *ActivateJobsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActivateJobsRequest) MarshalToSizedBuffer

func (m *ActivateJobsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivateJobsRequest) ProtoMessage

func (*ActivateJobsRequest) ProtoMessage()

func (*ActivateJobsRequest) Reset

func (m *ActivateJobsRequest) Reset()

func (*ActivateJobsRequest) String

func (m *ActivateJobsRequest) String() string

func (*ActivateJobsRequest) Unmarshal

func (m *ActivateJobsRequest) Unmarshal(dAtA []byte) error

func (*ActivateJobsRequest) XSize

func (m *ActivateJobsRequest) XSize() (n int)

func (*ActivateJobsRequest) XXX_DiscardUnknown

func (m *ActivateJobsRequest) XXX_DiscardUnknown()

func (*ActivateJobsRequest) XXX_Marshal

func (m *ActivateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivateJobsRequest) XXX_Merge

func (m *ActivateJobsRequest) XXX_Merge(src proto.Message)

func (*ActivateJobsRequest) XXX_Size

func (m *ActivateJobsRequest) XXX_Size() int

func (*ActivateJobsRequest) XXX_Unmarshal

func (m *ActivateJobsRequest) XXX_Unmarshal(b []byte) error

type ActivateJobsResponse

type ActivateJobsResponse struct {
	// list of activated jobs
	Jobs []*ActivatedJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
}

func (*ActivateJobsResponse) Descriptor

func (*ActivateJobsResponse) Descriptor() ([]byte, []int)

func (*ActivateJobsResponse) Marshal

func (m *ActivateJobsResponse) Marshal() (dAtA []byte, err error)

func (*ActivateJobsResponse) MarshalTo

func (m *ActivateJobsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ActivateJobsResponse) MarshalToSizedBuffer

func (m *ActivateJobsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivateJobsResponse) ProtoMessage

func (*ActivateJobsResponse) ProtoMessage()

func (*ActivateJobsResponse) Reset

func (m *ActivateJobsResponse) Reset()

func (*ActivateJobsResponse) String

func (m *ActivateJobsResponse) String() string

func (*ActivateJobsResponse) Unmarshal

func (m *ActivateJobsResponse) Unmarshal(dAtA []byte) error

func (*ActivateJobsResponse) XSize

func (m *ActivateJobsResponse) XSize() (n int)

func (*ActivateJobsResponse) XXX_DiscardUnknown

func (m *ActivateJobsResponse) XXX_DiscardUnknown()

func (*ActivateJobsResponse) XXX_Marshal

func (m *ActivateJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivateJobsResponse) XXX_Merge

func (m *ActivateJobsResponse) XXX_Merge(src proto.Message)

func (*ActivateJobsResponse) XXX_Size

func (m *ActivateJobsResponse) XXX_Size() int

func (*ActivateJobsResponse) XXX_Unmarshal

func (m *ActivateJobsResponse) XXX_Unmarshal(b []byte) error

type ActivatedJob

type ActivatedJob struct {
	// the key, a unique identifier for the job
	Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	// the type of the job (should match what was requested)
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// the job's process instance key
	ProcessInstanceKey int64 `protobuf:"varint,3,opt,name=processInstanceKey,proto3" json:"processInstanceKey,omitempty"`
	// the bpmn process ID of the job process definition
	BpmnProcessId string `protobuf:"bytes,4,opt,name=bpmnProcessId,proto3" json:"bpmnProcessId,omitempty"`
	// the version of the job process definition
	ProcessDefinitionVersion int32 `protobuf:"varint,5,opt,name=processDefinitionVersion,proto3" json:"processDefinitionVersion,omitempty"`
	// the key of the job process definition
	ProcessDefinitionKey int64 `protobuf:"varint,6,opt,name=processDefinitionKey,proto3" json:"processDefinitionKey,omitempty"`
	// the associated task element ID
	ElementId string `protobuf:"bytes,7,opt,name=elementId,proto3" json:"elementId,omitempty"`
	// the unique key identifying the associated task, unique within the scope of the
	// process instance
	ElementInstanceKey int64 `protobuf:"varint,8,opt,name=elementInstanceKey,proto3" json:"elementInstanceKey,omitempty"`
	// a set of custom headers defined during modelling; returned as a serialized
	// JSON document
	CustomHeaders string `protobuf:"bytes,9,opt,name=customHeaders,proto3" json:"customHeaders,omitempty"`
	// the name of the worker which activated this job
	Worker string `protobuf:"bytes,10,opt,name=worker,proto3" json:"worker,omitempty"`
	// the amount of retries left to this job (should always be positive)
	Retries int32 `protobuf:"varint,11,opt,name=retries,proto3" json:"retries,omitempty"`
	// when the job can be activated again, sent as a UNIX epoch timestamp
	Deadline int64 `protobuf:"varint,12,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// JSON document, computed at activation time, consisting of all visible variables to
	// the task scope
	Variables string `protobuf:"bytes,13,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*ActivatedJob) Descriptor

func (*ActivatedJob) Descriptor() ([]byte, []int)

func (*ActivatedJob) Marshal

func (m *ActivatedJob) Marshal() (dAtA []byte, err error)

func (*ActivatedJob) MarshalTo

func (m *ActivatedJob) MarshalTo(dAtA []byte) (int, error)

func (*ActivatedJob) MarshalToSizedBuffer

func (m *ActivatedJob) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivatedJob) ProtoMessage

func (*ActivatedJob) ProtoMessage()

func (*ActivatedJob) Reset

func (m *ActivatedJob) Reset()

func (*ActivatedJob) String

func (m *ActivatedJob) String() string

func (*ActivatedJob) Unmarshal

func (m *ActivatedJob) Unmarshal(dAtA []byte) error

func (*ActivatedJob) XSize

func (m *ActivatedJob) XSize() (n int)

func (*ActivatedJob) XXX_DiscardUnknown

func (m *ActivatedJob) XXX_DiscardUnknown()

func (*ActivatedJob) XXX_Marshal

func (m *ActivatedJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivatedJob) XXX_Merge

func (m *ActivatedJob) XXX_Merge(src proto.Message)

func (*ActivatedJob) XXX_Size

func (m *ActivatedJob) XXX_Size() int

func (*ActivatedJob) XXX_Unmarshal

func (m *ActivatedJob) XXX_Unmarshal(b []byte) error

type BroadcastSignalRequest

type BroadcastSignalRequest struct {
	// The name of the signal
	SignalName string `protobuf:"bytes,1,opt,name=signalName,proto3" json:"signalName,omitempty"`
	// the signal variables as a JSON document; to be valid, the root of the document must be an
	// object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
	Variables string `protobuf:"bytes,2,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*BroadcastSignalRequest) Descriptor

func (*BroadcastSignalRequest) Descriptor() ([]byte, []int)

func (*BroadcastSignalRequest) Marshal

func (m *BroadcastSignalRequest) Marshal() (dAtA []byte, err error)

func (*BroadcastSignalRequest) MarshalTo

func (m *BroadcastSignalRequest) MarshalTo(dAtA []byte) (int, error)

func (*BroadcastSignalRequest) MarshalToSizedBuffer

func (m *BroadcastSignalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BroadcastSignalRequest) ProtoMessage

func (*BroadcastSignalRequest) ProtoMessage()

func (*BroadcastSignalRequest) Reset

func (m *BroadcastSignalRequest) Reset()

func (*BroadcastSignalRequest) String

func (m *BroadcastSignalRequest) String() string

func (*BroadcastSignalRequest) Unmarshal

func (m *BroadcastSignalRequest) Unmarshal(dAtA []byte) error

func (*BroadcastSignalRequest) XSize

func (m *BroadcastSignalRequest) XSize() (n int)

func (*BroadcastSignalRequest) XXX_DiscardUnknown

func (m *BroadcastSignalRequest) XXX_DiscardUnknown()

func (*BroadcastSignalRequest) XXX_Marshal

func (m *BroadcastSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BroadcastSignalRequest) XXX_Merge

func (m *BroadcastSignalRequest) XXX_Merge(src proto.Message)

func (*BroadcastSignalRequest) XXX_Size

func (m *BroadcastSignalRequest) XXX_Size() int

func (*BroadcastSignalRequest) XXX_Unmarshal

func (m *BroadcastSignalRequest) XXX_Unmarshal(b []byte) error

type BroadcastSignalResponse

type BroadcastSignalResponse struct {
	// the unique ID of the signal that was broadcasted.
	Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*BroadcastSignalResponse) Descriptor

func (*BroadcastSignalResponse) Descriptor() ([]byte, []int)

func (*BroadcastSignalResponse) Marshal

func (m *BroadcastSignalResponse) Marshal() (dAtA []byte, err error)

func (*BroadcastSignalResponse) MarshalTo

func (m *BroadcastSignalResponse) MarshalTo(dAtA []byte) (int, error)

func (*BroadcastSignalResponse) MarshalToSizedBuffer

func (m *BroadcastSignalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BroadcastSignalResponse) ProtoMessage

func (*BroadcastSignalResponse) ProtoMessage()

func (*BroadcastSignalResponse) Reset

func (m *BroadcastSignalResponse) Reset()

func (*BroadcastSignalResponse) String

func (m *BroadcastSignalResponse) String() string

func (*BroadcastSignalResponse) Unmarshal

func (m *BroadcastSignalResponse) Unmarshal(dAtA []byte) error

func (*BroadcastSignalResponse) XSize

func (m *BroadcastSignalResponse) XSize() (n int)

func (*BroadcastSignalResponse) XXX_DiscardUnknown

func (m *BroadcastSignalResponse) XXX_DiscardUnknown()

func (*BroadcastSignalResponse) XXX_Marshal

func (m *BroadcastSignalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BroadcastSignalResponse) XXX_Merge

func (m *BroadcastSignalResponse) XXX_Merge(src proto.Message)

func (*BroadcastSignalResponse) XXX_Size

func (m *BroadcastSignalResponse) XXX_Size() int

func (*BroadcastSignalResponse) XXX_Unmarshal

func (m *BroadcastSignalResponse) XXX_Unmarshal(b []byte) error

type BrokerInfo

type BrokerInfo struct {
	// unique (within a cluster) node ID for the broker
	NodeId int32 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	// hostname of the broker
	Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// port for the broker
	Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// list of partitions managed or replicated on this broker
	Partitions []*Partition `protobuf:"bytes,4,rep,name=partitions,proto3" json:"partitions,omitempty"`
	// broker version
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
}

func (*BrokerInfo) Descriptor

func (*BrokerInfo) Descriptor() ([]byte, []int)

func (*BrokerInfo) Marshal

func (m *BrokerInfo) Marshal() (dAtA []byte, err error)

func (*BrokerInfo) MarshalTo

func (m *BrokerInfo) MarshalTo(dAtA []byte) (int, error)

func (*BrokerInfo) MarshalToSizedBuffer

func (m *BrokerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BrokerInfo) ProtoMessage

func (*BrokerInfo) ProtoMessage()

func (*BrokerInfo) Reset

func (m *BrokerInfo) Reset()

func (*BrokerInfo) String

func (m *BrokerInfo) String() string

func (*BrokerInfo) Unmarshal

func (m *BrokerInfo) Unmarshal(dAtA []byte) error

func (*BrokerInfo) XSize

func (m *BrokerInfo) XSize() (n int)

func (*BrokerInfo) XXX_DiscardUnknown

func (m *BrokerInfo) XXX_DiscardUnknown()

func (*BrokerInfo) XXX_Marshal

func (m *BrokerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BrokerInfo) XXX_Merge

func (m *BrokerInfo) XXX_Merge(src proto.Message)

func (*BrokerInfo) XXX_Size

func (m *BrokerInfo) XXX_Size() int

func (*BrokerInfo) XXX_Unmarshal

func (m *BrokerInfo) XXX_Unmarshal(b []byte) error

type CancelProcessInstanceRequest

type CancelProcessInstanceRequest struct {
	// the process instance key (as, for example, obtained from
	// CreateProcessInstanceResponse)
	ProcessInstanceKey int64 `protobuf:"varint,1,opt,name=processInstanceKey,proto3" json:"processInstanceKey,omitempty"`
}

func (*CancelProcessInstanceRequest) Descriptor

func (*CancelProcessInstanceRequest) Descriptor() ([]byte, []int)

func (*CancelProcessInstanceRequest) Marshal

func (m *CancelProcessInstanceRequest) Marshal() (dAtA []byte, err error)

func (*CancelProcessInstanceRequest) MarshalTo

func (m *CancelProcessInstanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CancelProcessInstanceRequest) MarshalToSizedBuffer

func (m *CancelProcessInstanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CancelProcessInstanceRequest) ProtoMessage

func (*CancelProcessInstanceRequest) ProtoMessage()

func (*CancelProcessInstanceRequest) Reset

func (m *CancelProcessInstanceRequest) Reset()

func (*CancelProcessInstanceRequest) String

func (*CancelProcessInstanceRequest) Unmarshal

func (m *CancelProcessInstanceRequest) Unmarshal(dAtA []byte) error

func (*CancelProcessInstanceRequest) XSize

func (m *CancelProcessInstanceRequest) XSize() (n int)

func (*CancelProcessInstanceRequest) XXX_DiscardUnknown

func (m *CancelProcessInstanceRequest) XXX_DiscardUnknown()

func (*CancelProcessInstanceRequest) XXX_Marshal

func (m *CancelProcessInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelProcessInstanceRequest) XXX_Merge

func (m *CancelProcessInstanceRequest) XXX_Merge(src proto.Message)

func (*CancelProcessInstanceRequest) XXX_Size

func (m *CancelProcessInstanceRequest) XXX_Size() int

func (*CancelProcessInstanceRequest) XXX_Unmarshal

func (m *CancelProcessInstanceRequest) XXX_Unmarshal(b []byte) error

type CancelProcessInstanceResponse

type CancelProcessInstanceResponse struct {
}

func (*CancelProcessInstanceResponse) Descriptor

func (*CancelProcessInstanceResponse) Descriptor() ([]byte, []int)

func (*CancelProcessInstanceResponse) Marshal

func (m *CancelProcessInstanceResponse) Marshal() (dAtA []byte, err error)

func (*CancelProcessInstanceResponse) MarshalTo

func (m *CancelProcessInstanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CancelProcessInstanceResponse) MarshalToSizedBuffer

func (m *CancelProcessInstanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CancelProcessInstanceResponse) ProtoMessage

func (*CancelProcessInstanceResponse) ProtoMessage()

func (*CancelProcessInstanceResponse) Reset

func (m *CancelProcessInstanceResponse) Reset()

func (*CancelProcessInstanceResponse) String

func (*CancelProcessInstanceResponse) Unmarshal

func (m *CancelProcessInstanceResponse) Unmarshal(dAtA []byte) error

func (*CancelProcessInstanceResponse) XSize

func (m *CancelProcessInstanceResponse) XSize() (n int)

func (*CancelProcessInstanceResponse) XXX_DiscardUnknown

func (m *CancelProcessInstanceResponse) XXX_DiscardUnknown()

func (*CancelProcessInstanceResponse) XXX_Marshal

func (m *CancelProcessInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelProcessInstanceResponse) XXX_Merge

func (m *CancelProcessInstanceResponse) XXX_Merge(src proto.Message)

func (*CancelProcessInstanceResponse) XXX_Size

func (m *CancelProcessInstanceResponse) XXX_Size() int

func (*CancelProcessInstanceResponse) XXX_Unmarshal

func (m *CancelProcessInstanceResponse) XXX_Unmarshal(b []byte) error

type CompleteJobRequest

type CompleteJobRequest struct {
	// the unique job identifier, as obtained from ActivateJobsResponse
	JobKey int64 `protobuf:"varint,1,opt,name=jobKey,proto3" json:"jobKey,omitempty"`
	// a JSON document representing the variables in the current task scope
	Variables string `protobuf:"bytes,2,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*CompleteJobRequest) Descriptor

func (*CompleteJobRequest) Descriptor() ([]byte, []int)

func (*CompleteJobRequest) Marshal

func (m *CompleteJobRequest) Marshal() (dAtA []byte, err error)

func (*CompleteJobRequest) MarshalTo

func (m *CompleteJobRequest) MarshalTo(dAtA []byte) (int, error)

func (*CompleteJobRequest) MarshalToSizedBuffer

func (m *CompleteJobRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CompleteJobRequest) ProtoMessage

func (*CompleteJobRequest) ProtoMessage()

func (*CompleteJobRequest) Reset

func (m *CompleteJobRequest) Reset()

func (*CompleteJobRequest) String

func (m *CompleteJobRequest) String() string

func (*CompleteJobRequest) Unmarshal

func (m *CompleteJobRequest) Unmarshal(dAtA []byte) error

func (*CompleteJobRequest) XSize

func (m *CompleteJobRequest) XSize() (n int)

func (*CompleteJobRequest) XXX_DiscardUnknown

func (m *CompleteJobRequest) XXX_DiscardUnknown()

func (*CompleteJobRequest) XXX_Marshal

func (m *CompleteJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompleteJobRequest) XXX_Merge

func (m *CompleteJobRequest) XXX_Merge(src proto.Message)

func (*CompleteJobRequest) XXX_Size

func (m *CompleteJobRequest) XXX_Size() int

func (*CompleteJobRequest) XXX_Unmarshal

func (m *CompleteJobRequest) XXX_Unmarshal(b []byte) error

type CompleteJobResponse

type CompleteJobResponse struct {
}

func (*CompleteJobResponse) Descriptor

func (*CompleteJobResponse) Descriptor() ([]byte, []int)

func (*CompleteJobResponse) Marshal

func (m *CompleteJobResponse) Marshal() (dAtA []byte, err error)

func (*CompleteJobResponse) MarshalTo

func (m *CompleteJobResponse) MarshalTo(dAtA []byte) (int, error)

func (*CompleteJobResponse) MarshalToSizedBuffer

func (m *CompleteJobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CompleteJobResponse) ProtoMessage

func (*CompleteJobResponse) ProtoMessage()

func (*CompleteJobResponse) Reset

func (m *CompleteJobResponse) Reset()

func (*CompleteJobResponse) String

func (m *CompleteJobResponse) String() string

func (*CompleteJobResponse) Unmarshal

func (m *CompleteJobResponse) Unmarshal(dAtA []byte) error

func (*CompleteJobResponse) XSize

func (m *CompleteJobResponse) XSize() (n int)

func (*CompleteJobResponse) XXX_DiscardUnknown

func (m *CompleteJobResponse) XXX_DiscardUnknown()

func (*CompleteJobResponse) XXX_Marshal

func (m *CompleteJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompleteJobResponse) XXX_Merge

func (m *CompleteJobResponse) XXX_Merge(src proto.Message)

func (*CompleteJobResponse) XXX_Size

func (m *CompleteJobResponse) XXX_Size() int

func (*CompleteJobResponse) XXX_Unmarshal

func (m *CompleteJobResponse) XXX_Unmarshal(b []byte) error

type CreateProcessInstanceRequest

type CreateProcessInstanceRequest struct {
	// the unique key identifying the process definition (e.g. returned from a process
	// in the DeployProcessResponse message)
	ProcessDefinitionKey int64 `protobuf:"varint,1,opt,name=processDefinitionKey,proto3" json:"processDefinitionKey,omitempty"`
	// the BPMN process ID of the process definition
	BpmnProcessId string `protobuf:"bytes,2,opt,name=bpmnProcessId,proto3" json:"bpmnProcessId,omitempty"`
	// the version of the process; set to -1 to use the latest version
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// JSON document that will instantiate the variables for the root variable scope of the
	// process instance; it must be a JSON object, as variables will be mapped in a
	// key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and
	// "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a
	// valid argument, as the root of the JSON document is an array and not an object.
	Variables string `protobuf:"bytes,4,opt,name=variables,proto3" json:"variables,omitempty"`
	// List of start instructions. If empty (default) the process instance
	// will start at the start event. If non-empty the process instance will apply start
	// instructions after it has been created
	StartInstructions []*ProcessInstanceCreationStartInstruction `protobuf:"bytes,5,rep,name=startInstructions,proto3" json:"startInstructions,omitempty"`
}

func (*CreateProcessInstanceRequest) Descriptor

func (*CreateProcessInstanceRequest) Descriptor() ([]byte, []int)

func (*CreateProcessInstanceRequest) Marshal

func (m *CreateProcessInstanceRequest) Marshal() (dAtA []byte, err error)

func (*CreateProcessInstanceRequest) MarshalTo

func (m *CreateProcessInstanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateProcessInstanceRequest) MarshalToSizedBuffer

func (m *CreateProcessInstanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateProcessInstanceRequest) ProtoMessage

func (*CreateProcessInstanceRequest) ProtoMessage()

func (*CreateProcessInstanceRequest) Reset

func (m *CreateProcessInstanceRequest) Reset()

func (*CreateProcessInstanceRequest) String

func (*CreateProcessInstanceRequest) Unmarshal

func (m *CreateProcessInstanceRequest) Unmarshal(dAtA []byte) error

func (*CreateProcessInstanceRequest) XSize

func (m *CreateProcessInstanceRequest) XSize() (n int)

func (*CreateProcessInstanceRequest) XXX_DiscardUnknown

func (m *CreateProcessInstanceRequest) XXX_DiscardUnknown()

func (*CreateProcessInstanceRequest) XXX_Marshal

func (m *CreateProcessInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateProcessInstanceRequest) XXX_Merge

func (m *CreateProcessInstanceRequest) XXX_Merge(src proto.Message)

func (*CreateProcessInstanceRequest) XXX_Size

func (m *CreateProcessInstanceRequest) XXX_Size() int

func (*CreateProcessInstanceRequest) XXX_Unmarshal

func (m *CreateProcessInstanceRequest) XXX_Unmarshal(b []byte) error

type CreateProcessInstanceResponse

type CreateProcessInstanceResponse struct {
	// the key of the process definition which was used to create the process instance
	ProcessDefinitionKey int64 `protobuf:"varint,1,opt,name=processDefinitionKey,proto3" json:"processDefinitionKey,omitempty"`
	// the BPMN process ID of the process definition which was used to create the process
	// instance
	BpmnProcessId string `protobuf:"bytes,2,opt,name=bpmnProcessId,proto3" json:"bpmnProcessId,omitempty"`
	// the version of the process definition which was used to create the process instance
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// the unique identifier of the created process instance; to be used wherever a request
	// needs a process instance key (e.g. CancelProcessInstanceRequest)
	ProcessInstanceKey int64 `protobuf:"varint,4,opt,name=processInstanceKey,proto3" json:"processInstanceKey,omitempty"`
}

func (*CreateProcessInstanceResponse) Descriptor

func (*CreateProcessInstanceResponse) Descriptor() ([]byte, []int)

func (*CreateProcessInstanceResponse) Marshal

func (m *CreateProcessInstanceResponse) Marshal() (dAtA []byte, err error)

func (*CreateProcessInstanceResponse) MarshalTo

func (m *CreateProcessInstanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateProcessInstanceResponse) MarshalToSizedBuffer

func (m *CreateProcessInstanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateProcessInstanceResponse) ProtoMessage

func (*CreateProcessInstanceResponse) ProtoMessage()

func (*CreateProcessInstanceResponse) Reset

func (m *CreateProcessInstanceResponse) Reset()

func (*CreateProcessInstanceResponse) String

func (*CreateProcessInstanceResponse) Unmarshal

func (m *CreateProcessInstanceResponse) Unmarshal(dAtA []byte) error

func (*CreateProcessInstanceResponse) XSize

func (m *CreateProcessInstanceResponse) XSize() (n int)

func (*CreateProcessInstanceResponse) XXX_DiscardUnknown

func (m *CreateProcessInstanceResponse) XXX_DiscardUnknown()

func (*CreateProcessInstanceResponse) XXX_Marshal

func (m *CreateProcessInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateProcessInstanceResponse) XXX_Merge

func (m *CreateProcessInstanceResponse) XXX_Merge(src proto.Message)

func (*CreateProcessInstanceResponse) XXX_Size

func (m *CreateProcessInstanceResponse) XXX_Size() int

func (*CreateProcessInstanceResponse) XXX_Unmarshal

func (m *CreateProcessInstanceResponse) XXX_Unmarshal(b []byte) error

type CreateProcessInstanceWithResultRequest

type CreateProcessInstanceWithResultRequest struct {
	Request *CreateProcessInstanceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// timeout (in ms). the request will be closed if the process is not completed
	// before the requestTimeout.
	// if requestTimeout = 0, uses the generic requestTimeout configured in the gateway.
	RequestTimeout int64 `protobuf:"varint,2,opt,name=requestTimeout,proto3" json:"requestTimeout,omitempty"`
	// list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables`
	// if empty, all visible variables in the root scope will be returned.
	FetchVariables []string `protobuf:"bytes,3,rep,name=fetchVariables,proto3" json:"fetchVariables,omitempty"`
}

func (*CreateProcessInstanceWithResultRequest) Descriptor

func (*CreateProcessInstanceWithResultRequest) Descriptor() ([]byte, []int)

func (*CreateProcessInstanceWithResultRequest) Marshal

func (m *CreateProcessInstanceWithResultRequest) Marshal() (dAtA []byte, err error)

func (*CreateProcessInstanceWithResultRequest) MarshalTo

func (m *CreateProcessInstanceWithResultRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateProcessInstanceWithResultRequest) MarshalToSizedBuffer

func (m *CreateProcessInstanceWithResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateProcessInstanceWithResultRequest) ProtoMessage

func (*CreateProcessInstanceWithResultRequest) Reset

func (*CreateProcessInstanceWithResultRequest) String

func (*CreateProcessInstanceWithResultRequest) Unmarshal

func (m *CreateProcessInstanceWithResultRequest) Unmarshal(dAtA []byte) error

func (*CreateProcessInstanceWithResultRequest) XSize

func (*CreateProcessInstanceWithResultRequest) XXX_DiscardUnknown

func (m *CreateProcessInstanceWithResultRequest) XXX_DiscardUnknown()

func (*CreateProcessInstanceWithResultRequest) XXX_Marshal

func (m *CreateProcessInstanceWithResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateProcessInstanceWithResultRequest) XXX_Merge

func (*CreateProcessInstanceWithResultRequest) XXX_Size

func (*CreateProcessInstanceWithResultRequest) XXX_Unmarshal

func (m *CreateProcessInstanceWithResultRequest) XXX_Unmarshal(b []byte) error

type CreateProcessInstanceWithResultResponse

type CreateProcessInstanceWithResultResponse struct {
	// the key of the process definition which was used to create the process instance
	ProcessDefinitionKey int64 `protobuf:"varint,1,opt,name=processDefinitionKey,proto3" json:"processDefinitionKey,omitempty"`
	// the BPMN process ID of the process definition which was used to create the process
	// instance
	BpmnProcessId string `protobuf:"bytes,2,opt,name=bpmnProcessId,proto3" json:"bpmnProcessId,omitempty"`
	// the version of the process definition which was used to create the process instance
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// the unique identifier of the created process instance; to be used wherever a request
	// needs a process instance key (e.g. CancelProcessInstanceRequest)
	ProcessInstanceKey int64 `protobuf:"varint,4,opt,name=processInstanceKey,proto3" json:"processInstanceKey,omitempty"`
	// JSON document
	// consists of visible variables in the root scope
	Variables string `protobuf:"bytes,5,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*CreateProcessInstanceWithResultResponse) Descriptor

func (*CreateProcessInstanceWithResultResponse) Descriptor() ([]byte, []int)

func (*CreateProcessInstanceWithResultResponse) Marshal

func (m *CreateProcessInstanceWithResultResponse) Marshal() (dAtA []byte, err error)

func (*CreateProcessInstanceWithResultResponse) MarshalTo

func (m *CreateProcessInstanceWithResultResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateProcessInstanceWithResultResponse) MarshalToSizedBuffer

func (m *CreateProcessInstanceWithResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateProcessInstanceWithResultResponse) ProtoMessage

func (*CreateProcessInstanceWithResultResponse) Reset

func (*CreateProcessInstanceWithResultResponse) String

func (*CreateProcessInstanceWithResultResponse) Unmarshal

func (m *CreateProcessInstanceWithResultResponse) Unmarshal(dAtA []byte) error

func (*CreateProcessInstanceWithResultResponse) XSize

func (*CreateProcessInstanceWithResultResponse) XXX_DiscardUnknown

func (m *CreateProcessInstanceWithResultResponse) XXX_DiscardUnknown()

func (*CreateProcessInstanceWithResultResponse) XXX_Marshal

func (m *CreateProcessInstanceWithResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateProcessInstanceWithResultResponse) XXX_Merge

func (*CreateProcessInstanceWithResultResponse) XXX_Size

func (*CreateProcessInstanceWithResultResponse) XXX_Unmarshal

func (m *CreateProcessInstanceWithResultResponse) XXX_Unmarshal(b []byte) error

type DecisionMetadata

type DecisionMetadata struct {
	// the dmn decision ID, as parsed during deployment; together with the
	// versions forms a unique identifier for a specific decision
	DmnDecisionId string `protobuf:"bytes,1,opt,name=dmnDecisionId,proto3" json:"dmnDecisionId,omitempty"`
	// the dmn name of the decision, as parsed during deployment
	DmnDecisionName string `protobuf:"bytes,2,opt,name=dmnDecisionName,proto3" json:"dmnDecisionName,omitempty"`
	// the assigned decision version
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// the assigned decision key, which acts as a unique identifier for this
	// decision
	DecisionKey int64 `protobuf:"varint,4,opt,name=decisionKey,proto3" json:"decisionKey,omitempty"`
	// the dmn ID of the decision requirements graph that this decision is part
	// of, as parsed during deployment
	DmnDecisionRequirementsId string `protobuf:"bytes,5,opt,name=dmnDecisionRequirementsId,proto3" json:"dmnDecisionRequirementsId,omitempty"`
	// the assigned key of the decision requirements graph that this decision is
	// part of
	DecisionRequirementsKey int64 `protobuf:"varint,6,opt,name=decisionRequirementsKey,proto3" json:"decisionRequirementsKey,omitempty"`
}

func (*DecisionMetadata) Descriptor

func (*DecisionMetadata) Descriptor() ([]byte, []int)

func (*DecisionMetadata) Marshal

func (m *DecisionMetadata) Marshal() (dAtA []byte, err error)

func (*DecisionMetadata) MarshalTo

func (m *DecisionMetadata) MarshalTo(dAtA []byte) (int, error)

func (*DecisionMetadata) MarshalToSizedBuffer

func (m *DecisionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecisionMetadata) ProtoMessage

func (*DecisionMetadata) ProtoMessage()

func (*DecisionMetadata) Reset

func (m *DecisionMetadata) Reset()

func (*DecisionMetadata) String

func (m *DecisionMetadata) String() string

func (*DecisionMetadata) Unmarshal

func (m *DecisionMetadata) Unmarshal(dAtA []byte) error

func (*DecisionMetadata) XSize

func (m *DecisionMetadata) XSize() (n int)

func (*DecisionMetadata) XXX_DiscardUnknown

func (m *DecisionMetadata) XXX_DiscardUnknown()

func (*DecisionMetadata) XXX_Marshal

func (m *DecisionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecisionMetadata) XXX_Merge

func (m *DecisionMetadata) XXX_Merge(src proto.Message)

func (*DecisionMetadata) XXX_Size

func (m *DecisionMetadata) XXX_Size() int

func (*DecisionMetadata) XXX_Unmarshal

func (m *DecisionMetadata) XXX_Unmarshal(b []byte) error

type DecisionRequirementsMetadata

type DecisionRequirementsMetadata struct {
	// the dmn decision requirements ID, as parsed during deployment; together
	// with the versions forms a unique identifier for a specific decision
	DmnDecisionRequirementsId string `protobuf:"bytes,1,opt,name=dmnDecisionRequirementsId,proto3" json:"dmnDecisionRequirementsId,omitempty"`
	// the dmn name of the decision requirements, as parsed during deployment
	DmnDecisionRequirementsName string `protobuf:"bytes,2,opt,name=dmnDecisionRequirementsName,proto3" json:"dmnDecisionRequirementsName,omitempty"`
	// the assigned decision requirements version
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// the assigned decision requirements key, which acts as a unique identifier
	// for this decision requirements
	DecisionRequirementsKey int64 `protobuf:"varint,4,opt,name=decisionRequirementsKey,proto3" json:"decisionRequirementsKey,omitempty"`
	// the resource name (see: Resource.name) from which this decision
	// requirements was parsed
	ResourceName string `protobuf:"bytes,5,opt,name=resourceName,proto3" json:"resourceName,omitempty"`
}

func (*DecisionRequirementsMetadata) Descriptor

func (*DecisionRequirementsMetadata) Descriptor() ([]byte, []int)

func (*DecisionRequirementsMetadata) Marshal

func (m *DecisionRequirementsMetadata) Marshal() (dAtA []byte, err error)

func (*DecisionRequirementsMetadata) MarshalTo

func (m *DecisionRequirementsMetadata) MarshalTo(dAtA []byte) (int, error)

func (*DecisionRequirementsMetadata) MarshalToSizedBuffer

func (m *DecisionRequirementsMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecisionRequirementsMetadata) ProtoMessage

func (*DecisionRequirementsMetadata) ProtoMessage()

func (*DecisionRequirementsMetadata) Reset

func (m *DecisionRequirementsMetadata) Reset()

func (*DecisionRequirementsMetadata) String

func (*DecisionRequirementsMetadata) Unmarshal

func (m *DecisionRequirementsMetadata) Unmarshal(dAtA []byte) error

func (*DecisionRequirementsMetadata) XSize

func (m *DecisionRequirementsMetadata) XSize() (n int)

func (*DecisionRequirementsMetadata) XXX_DiscardUnknown

func (m *DecisionRequirementsMetadata) XXX_DiscardUnknown()

func (*DecisionRequirementsMetadata) XXX_Marshal

func (m *DecisionRequirementsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecisionRequirementsMetadata) XXX_Merge

func (m *DecisionRequirementsMetadata) XXX_Merge(src proto.Message)

func (*DecisionRequirementsMetadata) XXX_Size

func (m *DecisionRequirementsMetadata) XXX_Size() int

func (*DecisionRequirementsMetadata) XXX_Unmarshal

func (m *DecisionRequirementsMetadata) XXX_Unmarshal(b []byte) error

type DeleteResourceRequest

type DeleteResourceRequest struct {
	// The key of the resource that should be deleted. This can either be the key
	// of a process definition, or the key of a decision requirements definition.
	ResourceKey int64 `protobuf:"varint,1,opt,name=resourceKey,proto3" json:"resourceKey,omitempty"`
}

func (*DeleteResourceRequest) Descriptor

func (*DeleteResourceRequest) Descriptor() ([]byte, []int)

func (*DeleteResourceRequest) Marshal

func (m *DeleteResourceRequest) Marshal() (dAtA []byte, err error)

func (*DeleteResourceRequest) MarshalTo

func (m *DeleteResourceRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteResourceRequest) MarshalToSizedBuffer

func (m *DeleteResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) Reset

func (m *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (m *DeleteResourceRequest) String() string

func (*DeleteResourceRequest) Unmarshal

func (m *DeleteResourceRequest) Unmarshal(dAtA []byte) error

func (*DeleteResourceRequest) XSize

func (m *DeleteResourceRequest) XSize() (n int)

func (*DeleteResourceRequest) XXX_DiscardUnknown

func (m *DeleteResourceRequest) XXX_DiscardUnknown()

func (*DeleteResourceRequest) XXX_Marshal

func (m *DeleteResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResourceRequest) XXX_Merge

func (m *DeleteResourceRequest) XXX_Merge(src proto.Message)

func (*DeleteResourceRequest) XXX_Size

func (m *DeleteResourceRequest) XXX_Size() int

func (*DeleteResourceRequest) XXX_Unmarshal

func (m *DeleteResourceRequest) XXX_Unmarshal(b []byte) error

type DeleteResourceResponse

type DeleteResourceResponse struct {
}

func (*DeleteResourceResponse) Descriptor

func (*DeleteResourceResponse) Descriptor() ([]byte, []int)

func (*DeleteResourceResponse) Marshal

func (m *DeleteResourceResponse) Marshal() (dAtA []byte, err error)

func (*DeleteResourceResponse) MarshalTo

func (m *DeleteResourceResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteResourceResponse) MarshalToSizedBuffer

func (m *DeleteResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteResourceResponse) ProtoMessage

func (*DeleteResourceResponse) ProtoMessage()

func (*DeleteResourceResponse) Reset

func (m *DeleteResourceResponse) Reset()

func (*DeleteResourceResponse) String

func (m *DeleteResourceResponse) String() string

func (*DeleteResourceResponse) Unmarshal

func (m *DeleteResourceResponse) Unmarshal(dAtA []byte) error

func (*DeleteResourceResponse) XSize

func (m *DeleteResourceResponse) XSize() (n int)

func (*DeleteResourceResponse) XXX_DiscardUnknown

func (m *DeleteResourceResponse) XXX_DiscardUnknown()

func (*DeleteResourceResponse) XXX_Marshal

func (m *DeleteResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResourceResponse) XXX_Merge

func (m *DeleteResourceResponse) XXX_Merge(src proto.Message)

func (*DeleteResourceResponse) XXX_Size

func (m *DeleteResourceResponse) XXX_Size() int

func (*DeleteResourceResponse) XXX_Unmarshal

func (m *DeleteResourceResponse) XXX_Unmarshal(b []byte) error

type DeployProcessRequest deprecated

type DeployProcessRequest struct {
	// List of process resources to deploy
	Processes []*ProcessRequestObject `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
}

Deprecated: Do not use.

func (*DeployProcessRequest) Descriptor

func (*DeployProcessRequest) Descriptor() ([]byte, []int)

func (*DeployProcessRequest) Marshal

func (m *DeployProcessRequest) Marshal() (dAtA []byte, err error)

func (*DeployProcessRequest) MarshalTo

func (m *DeployProcessRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeployProcessRequest) MarshalToSizedBuffer

func (m *DeployProcessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeployProcessRequest) ProtoMessage

func (*DeployProcessRequest) ProtoMessage()

func (*DeployProcessRequest) Reset

func (m *DeployProcessRequest) Reset()

func (*DeployProcessRequest) String

func (m *DeployProcessRequest) String() string

func (*DeployProcessRequest) Unmarshal

func (m *DeployProcessRequest) Unmarshal(dAtA []byte) error

func (*DeployProcessRequest) XSize

func (m *DeployProcessRequest) XSize() (n int)

func (*DeployProcessRequest) XXX_DiscardUnknown

func (m *DeployProcessRequest) XXX_DiscardUnknown()

func (*DeployProcessRequest) XXX_Marshal

func (m *DeployProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeployProcessRequest) XXX_Merge

func (m *DeployProcessRequest) XXX_Merge(src proto.Message)

func (*DeployProcessRequest) XXX_Size

func (m *DeployProcessRequest) XXX_Size() int

func (*DeployProcessRequest) XXX_Unmarshal

func (m *DeployProcessRequest) XXX_Unmarshal(b []byte) error

type DeployProcessResponse deprecated

type DeployProcessResponse struct {
	// the unique key identifying the deployment
	Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	// a list of deployed processes
	Processes []*ProcessMetadata `protobuf:"bytes,2,rep,name=processes,proto3" json:"processes,omitempty"`
}

Deprecated: Do not use.

func (*DeployProcessResponse) Descriptor

func (*DeployProcessResponse) Descriptor() ([]byte, []int)

func (*DeployProcessResponse) Marshal

func (m *DeployProcessResponse) Marshal() (dAtA []byte, err error)

func (*DeployProcessResponse) MarshalTo

func (m *DeployProcessResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeployProcessResponse) MarshalToSizedBuffer

func (m *DeployProcessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeployProcessResponse) ProtoMessage

func (*DeployProcessResponse) ProtoMessage()

func (*DeployProcessResponse) Reset

func (m *DeployProcessResponse) Reset()

func (*DeployProcessResponse) String

func (m *DeployProcessResponse) String() string

func (*DeployProcessResponse) Unmarshal

func (m *DeployProcessResponse) Unmarshal(dAtA []byte) error

func (*DeployProcessResponse) XSize

func (m *DeployProcessResponse) XSize() (n int)

func (*DeployProcessResponse) XXX_DiscardUnknown

func (m *DeployProcessResponse) XXX_DiscardUnknown()

func (*DeployProcessResponse) XXX_Marshal

func (m *DeployProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeployProcessResponse) XXX_Merge

func (m *DeployProcessResponse) XXX_Merge(src proto.Message)

func (*DeployProcessResponse) XXX_Size

func (m *DeployProcessResponse) XXX_Size() int

func (*DeployProcessResponse) XXX_Unmarshal

func (m *DeployProcessResponse) XXX_Unmarshal(b []byte) error

type DeployResourceRequest

type DeployResourceRequest struct {
	// list of resources to deploy
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
}

func (*DeployResourceRequest) Descriptor

func (*DeployResourceRequest) Descriptor() ([]byte, []int)

func (*DeployResourceRequest) Marshal

func (m *DeployResourceRequest) Marshal() (dAtA []byte, err error)

func (*DeployResourceRequest) MarshalTo

func (m *DeployResourceRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeployResourceRequest) MarshalToSizedBuffer

func (m *DeployResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeployResourceRequest) ProtoMessage

func (*DeployResourceRequest) ProtoMessage()

func (*DeployResourceRequest) Reset

func (m *DeployResourceRequest) Reset()

func (*DeployResourceRequest) String

func (m *DeployResourceRequest) String() string

func (*DeployResourceRequest) Unmarshal

func (m *DeployResourceRequest) Unmarshal(dAtA []byte) error

func (*DeployResourceRequest) XSize

func (m *DeployResourceRequest) XSize() (n int)

func (*DeployResourceRequest) XXX_DiscardUnknown

func (m *DeployResourceRequest) XXX_DiscardUnknown()

func (*DeployResourceRequest) XXX_Marshal

func (m *DeployResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeployResourceRequest) XXX_Merge

func (m *DeployResourceRequest) XXX_Merge(src proto.Message)

func (*DeployResourceRequest) XXX_Size

func (m *DeployResourceRequest) XXX_Size() int

func (*DeployResourceRequest) XXX_Unmarshal

func (m *DeployResourceRequest) XXX_Unmarshal(b []byte) error

type DeployResourceResponse

type DeployResourceResponse struct {
	// the unique key identifying the deployment
	Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	// a list of deployed resources, e.g. processes
	Deployments []*Deployment `protobuf:"bytes,2,rep,name=deployments,proto3" json:"deployments,omitempty"`
}

func (*DeployResourceResponse) Descriptor

func (*DeployResourceResponse) Descriptor() ([]byte, []int)

func (*DeployResourceResponse) Marshal

func (m *DeployResourceResponse) Marshal() (dAtA []byte, err error)

func (*DeployResourceResponse) MarshalTo

func (m *DeployResourceResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeployResourceResponse) MarshalToSizedBuffer

func (m *DeployResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeployResourceResponse) ProtoMessage

func (*DeployResourceResponse) ProtoMessage()

func (*DeployResourceResponse) Reset

func (m *DeployResourceResponse) Reset()

func (*DeployResourceResponse) String

func (m *DeployResourceResponse) String() string

func (*DeployResourceResponse) Unmarshal

func (m *DeployResourceResponse) Unmarshal(dAtA []byte) error

func (*DeployResourceResponse) XSize

func (m *DeployResourceResponse) XSize() (n int)

func (*DeployResourceResponse) XXX_DiscardUnknown

func (m *DeployResourceResponse) XXX_DiscardUnknown()

func (*DeployResourceResponse) XXX_Marshal

func (m *DeployResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeployResourceResponse) XXX_Merge

func (m *DeployResourceResponse) XXX_Merge(src proto.Message)

func (*DeployResourceResponse) XXX_Size

func (m *DeployResourceResponse) XXX_Size() int

func (*DeployResourceResponse) XXX_Unmarshal

func (m *DeployResourceResponse) XXX_Unmarshal(b []byte) error

type Deployment

type Deployment struct {
	// each deployment has only one metadata
	//
	// Types that are valid to be assigned to Metadata:
	//
	//	*Deployment_Process
	//	*Deployment_Decision
	//	*Deployment_DecisionRequirements
	Metadata isDeployment_Metadata `protobuf_oneof:"Metadata"`
}

func (*Deployment) Descriptor

func (*Deployment) Descriptor() ([]byte, []int)

func (*Deployment) GetDecision

func (m *Deployment) GetDecision() *DecisionMetadata

func (*Deployment) GetDecisionRequirements

func (m *Deployment) GetDecisionRequirements() *DecisionRequirementsMetadata

func (*Deployment) GetMetadata

func (m *Deployment) GetMetadata() isDeployment_Metadata

func (*Deployment) GetProcess

func (m *Deployment) GetProcess() *ProcessMetadata

func (*Deployment) Marshal

func (m *Deployment) Marshal() (dAtA []byte, err error)

func (*Deployment) MarshalTo

func (m *Deployment) MarshalTo(dAtA []byte) (int, error)

func (*Deployment) MarshalToSizedBuffer

func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) String

func (m *Deployment) String() string

func (*Deployment) Unmarshal

func (m *Deployment) Unmarshal(dAtA []byte) error

func (*Deployment) XSize

func (m *Deployment) XSize() (n int)

func (*Deployment) XXX_DiscardUnknown

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal

func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deployment) XXX_Merge

func (m *Deployment) XXX_Merge(src proto.Message)

func (*Deployment) XXX_OneofWrappers

func (*Deployment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Deployment) XXX_Size

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal

func (m *Deployment) XXX_Unmarshal(b []byte) error

type Deployment_Decision

type Deployment_Decision struct {
	Decision *DecisionMetadata `protobuf:"bytes,2,opt,name=decision,proto3,oneof" json:"decision,omitempty"`
}

func (*Deployment_Decision) MarshalTo

func (m *Deployment_Decision) MarshalTo(dAtA []byte) (int, error)

func (*Deployment_Decision) MarshalToSizedBuffer

func (m *Deployment_Decision) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deployment_Decision) XSize

func (m *Deployment_Decision) XSize() (n int)

type Deployment_DecisionRequirements

type Deployment_DecisionRequirements struct {
	DecisionRequirements *DecisionRequirementsMetadata `protobuf:"bytes,3,opt,name=decisionRequirements,proto3,oneof" json:"decisionRequirements,omitempty"`
}

func (*Deployment_DecisionRequirements) MarshalTo

func (m *Deployment_DecisionRequirements) MarshalTo(dAtA []byte) (int, error)

func (*Deployment_DecisionRequirements) MarshalToSizedBuffer

func (m *Deployment_DecisionRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deployment_DecisionRequirements) XSize

func (m *Deployment_DecisionRequirements) XSize() (n int)

type Deployment_Process

type Deployment_Process struct {
	Process *ProcessMetadata `protobuf:"bytes,1,opt,name=process,proto3,oneof" json:"process,omitempty"`
}

func (*Deployment_Process) MarshalTo

func (m *Deployment_Process) MarshalTo(dAtA []byte) (int, error)

func (*Deployment_Process) MarshalToSizedBuffer

func (m *Deployment_Process) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deployment_Process) XSize

func (m *Deployment_Process) XSize() (n int)

type EvaluateDecisionRequest

type EvaluateDecisionRequest struct {
	// the unique key identifying the decision to be evaluated (e.g. returned
	// from a decision in the DeployResourceResponse message)
	DecisionKey int64 `protobuf:"varint,1,opt,name=decisionKey,proto3" json:"decisionKey,omitempty"`
	// the ID of the decision to be evaluated
	DecisionId string `protobuf:"bytes,2,opt,name=decisionId,proto3" json:"decisionId,omitempty"`
	// JSON document that will instantiate the variables for the decision to be
	// evaluated; it must be a JSON object, as variables will be mapped in a
	// key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables,
	// named "a" and "b" respectively, with their associated values.
	// [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the
	// JSON document is an array and not an object.
	Variables string `protobuf:"bytes,3,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*EvaluateDecisionRequest) Descriptor

func (*EvaluateDecisionRequest) Descriptor() ([]byte, []int)

func (*EvaluateDecisionRequest) Marshal

func (m *EvaluateDecisionRequest) Marshal() (dAtA []byte, err error)

func (*EvaluateDecisionRequest) MarshalTo

func (m *EvaluateDecisionRequest) MarshalTo(dAtA []byte) (int, error)

func (*EvaluateDecisionRequest) MarshalToSizedBuffer

func (m *EvaluateDecisionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvaluateDecisionRequest) ProtoMessage

func (*EvaluateDecisionRequest) ProtoMessage()

func (*EvaluateDecisionRequest) Reset

func (m *EvaluateDecisionRequest) Reset()

func (*EvaluateDecisionRequest) String

func (m *EvaluateDecisionRequest) String() string

func (*EvaluateDecisionRequest) Unmarshal

func (m *EvaluateDecisionRequest) Unmarshal(dAtA []byte) error

func (*EvaluateDecisionRequest) XSize

func (m *EvaluateDecisionRequest) XSize() (n int)

func (*EvaluateDecisionRequest) XXX_DiscardUnknown

func (m *EvaluateDecisionRequest) XXX_DiscardUnknown()

func (*EvaluateDecisionRequest) XXX_Marshal

func (m *EvaluateDecisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluateDecisionRequest) XXX_Merge

func (m *EvaluateDecisionRequest) XXX_Merge(src proto.Message)

func (*EvaluateDecisionRequest) XXX_Size

func (m *EvaluateDecisionRequest) XXX_Size() int

func (*EvaluateDecisionRequest) XXX_Unmarshal

func (m *EvaluateDecisionRequest) XXX_Unmarshal(b []byte) error

type EvaluateDecisionResponse

type EvaluateDecisionResponse struct {
	// the unique key identifying the decision which was evaluated (e.g. returned
	// from a decision in the DeployResourceResponse message)
	DecisionKey int64 `protobuf:"varint,1,opt,name=decisionKey,proto3" json:"decisionKey,omitempty"`
	// the ID of the decision which was evaluated
	DecisionId string `protobuf:"bytes,2,opt,name=decisionId,proto3" json:"decisionId,omitempty"`
	// the name of the decision which was evaluated
	DecisionName string `protobuf:"bytes,3,opt,name=decisionName,proto3" json:"decisionName,omitempty"`
	// the version of the decision which was evaluated
	DecisionVersion int32 `protobuf:"varint,4,opt,name=decisionVersion,proto3" json:"decisionVersion,omitempty"`
	// the ID of the decision requirements graph that the decision which was
	// evaluated is part of.
	DecisionRequirementsId string `protobuf:"bytes,5,opt,name=decisionRequirementsId,proto3" json:"decisionRequirementsId,omitempty"`
	// the unique key identifying the decision requirements graph that the
	// decision which was evaluated is part of.
	DecisionRequirementsKey int64 `protobuf:"varint,6,opt,name=decisionRequirementsKey,proto3" json:"decisionRequirementsKey,omitempty"`
	// JSON document that will instantiate the result of the decision which was
	// evaluated; it will be a JSON object, as the result output will be mapped
	// in a key-value fashion, e.g. { "a": 1 }.
	DecisionOutput string `protobuf:"bytes,7,opt,name=decisionOutput,proto3" json:"decisionOutput,omitempty"`
	// a list of decisions that were evaluated within the requested decision evaluation
	EvaluatedDecisions []*EvaluatedDecision `protobuf:"bytes,8,rep,name=evaluatedDecisions,proto3" json:"evaluatedDecisions,omitempty"`
	// an optional string indicating the ID of the decision which
	// failed during evaluation
	FailedDecisionId string `protobuf:"bytes,9,opt,name=failedDecisionId,proto3" json:"failedDecisionId,omitempty"`
	// an optional message describing why the decision which was evaluated failed
	FailureMessage string `protobuf:"bytes,10,opt,name=failureMessage,proto3" json:"failureMessage,omitempty"`
}

func (*EvaluateDecisionResponse) Descriptor

func (*EvaluateDecisionResponse) Descriptor() ([]byte, []int)

func (*EvaluateDecisionResponse) Marshal

func (m *EvaluateDecisionResponse) Marshal() (dAtA []byte, err error)

func (*EvaluateDecisionResponse) MarshalTo

func (m *EvaluateDecisionResponse) MarshalTo(dAtA []byte) (int, error)

func (*EvaluateDecisionResponse) MarshalToSizedBuffer

func (m *EvaluateDecisionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvaluateDecisionResponse) ProtoMessage

func (*EvaluateDecisionResponse) ProtoMessage()

func (*EvaluateDecisionResponse) Reset

func (m *EvaluateDecisionResponse) Reset()

func (*EvaluateDecisionResponse) String

func (m *EvaluateDecisionResponse) String() string

func (*EvaluateDecisionResponse) Unmarshal

func (m *EvaluateDecisionResponse) Unmarshal(dAtA []byte) error

func (*EvaluateDecisionResponse) XSize

func (m *EvaluateDecisionResponse) XSize() (n int)

func (*EvaluateDecisionResponse) XXX_DiscardUnknown

func (m *EvaluateDecisionResponse) XXX_DiscardUnknown()

func (*EvaluateDecisionResponse) XXX_Marshal

func (m *EvaluateDecisionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluateDecisionResponse) XXX_Merge

func (m *EvaluateDecisionResponse) XXX_Merge(src proto.Message)

func (*EvaluateDecisionResponse) XXX_Size

func (m *EvaluateDecisionResponse) XXX_Size() int

func (*EvaluateDecisionResponse) XXX_Unmarshal

func (m *EvaluateDecisionResponse) XXX_Unmarshal(b []byte) error

type EvaluatedDecision

type EvaluatedDecision struct {
	// the unique key identifying the decision which was evaluated (e.g. returned
	// from a decision in the DeployResourceResponse message)
	DecisionKey int64 `protobuf:"varint,1,opt,name=decisionKey,proto3" json:"decisionKey,omitempty"`
	// the ID of the decision which was evaluated
	DecisionId string `protobuf:"bytes,2,opt,name=decisionId,proto3" json:"decisionId,omitempty"`
	// the name of the decision which was evaluated
	DecisionName string `protobuf:"bytes,3,opt,name=decisionName,proto3" json:"decisionName,omitempty"`
	// the version of the decision which was evaluated
	DecisionVersion int32 `protobuf:"varint,4,opt,name=decisionVersion,proto3" json:"decisionVersion,omitempty"`
	// the type of the decision which was evaluated
	DecisionType string `protobuf:"bytes,5,opt,name=decisionType,proto3" json:"decisionType,omitempty"`
	// JSON document that will instantiate the result of the decision which was
	// evaluated; it will be a JSON object, as the result output will be mapped
	// in a key-value fashion, e.g. { "a": 1 }.
	DecisionOutput string `protobuf:"bytes,6,opt,name=decisionOutput,proto3" json:"decisionOutput,omitempty"`
	// the decision rules that matched within this decision evaluation
	MatchedRules []*MatchedDecisionRule `protobuf:"bytes,7,rep,name=matchedRules,proto3" json:"matchedRules,omitempty"`
	// the decision inputs that were evaluated within this decision evaluation
	EvaluatedInputs []*EvaluatedDecisionInput `protobuf:"bytes,8,rep,name=evaluatedInputs,proto3" json:"evaluatedInputs,omitempty"`
}

func (*EvaluatedDecision) Descriptor

func (*EvaluatedDecision) Descriptor() ([]byte, []int)

func (*EvaluatedDecision) Marshal

func (m *EvaluatedDecision) Marshal() (dAtA []byte, err error)

func (*EvaluatedDecision) MarshalTo

func (m *EvaluatedDecision) MarshalTo(dAtA []byte) (int, error)

func (*EvaluatedDecision) MarshalToSizedBuffer

func (m *EvaluatedDecision) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvaluatedDecision) ProtoMessage

func (*EvaluatedDecision) ProtoMessage()

func (*EvaluatedDecision) Reset

func (m *EvaluatedDecision) Reset()

func (*EvaluatedDecision) String

func (m *EvaluatedDecision) String() string

func (*EvaluatedDecision) Unmarshal

func (m *EvaluatedDecision) Unmarshal(dAtA []byte) error

func (*EvaluatedDecision) XSize

func (m *EvaluatedDecision) XSize() (n int)

func (*EvaluatedDecision) XXX_DiscardUnknown

func (m *EvaluatedDecision) XXX_DiscardUnknown()

func (*EvaluatedDecision) XXX_Marshal

func (m *EvaluatedDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluatedDecision) XXX_Merge

func (m *EvaluatedDecision) XXX_Merge(src proto.Message)

func (*EvaluatedDecision) XXX_Size

func (m *EvaluatedDecision) XXX_Size() int

func (*EvaluatedDecision) XXX_Unmarshal

func (m *EvaluatedDecision) XXX_Unmarshal(b []byte) error

type EvaluatedDecisionInput

type EvaluatedDecisionInput struct {
	// the id of the evaluated decision input
	InputId string `protobuf:"bytes,1,opt,name=inputId,proto3" json:"inputId,omitempty"`
	// the name of the evaluated decision input
	InputName string `protobuf:"bytes,2,opt,name=inputName,proto3" json:"inputName,omitempty"`
	// the value of the evaluated decision input
	InputValue string `protobuf:"bytes,3,opt,name=inputValue,proto3" json:"inputValue,omitempty"`
}

func (*EvaluatedDecisionInput) Descriptor

func (*EvaluatedDecisionInput) Descriptor() ([]byte, []int)

func (*EvaluatedDecisionInput) Marshal

func (m *EvaluatedDecisionInput) Marshal() (dAtA []byte, err error)

func (*EvaluatedDecisionInput) MarshalTo

func (m *EvaluatedDecisionInput) MarshalTo(dAtA []byte) (int, error)

func (*EvaluatedDecisionInput) MarshalToSizedBuffer

func (m *EvaluatedDecisionInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvaluatedDecisionInput) ProtoMessage

func (*EvaluatedDecisionInput) ProtoMessage()

func (*EvaluatedDecisionInput) Reset

func (m *EvaluatedDecisionInput) Reset()

func (*EvaluatedDecisionInput) String

func (m *EvaluatedDecisionInput) String() string

func (*EvaluatedDecisionInput) Unmarshal

func (m *EvaluatedDecisionInput) Unmarshal(dAtA []byte) error

func (*EvaluatedDecisionInput) XSize

func (m *EvaluatedDecisionInput) XSize() (n int)

func (*EvaluatedDecisionInput) XXX_DiscardUnknown

func (m *EvaluatedDecisionInput) XXX_DiscardUnknown()

func (*EvaluatedDecisionInput) XXX_Marshal

func (m *EvaluatedDecisionInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluatedDecisionInput) XXX_Merge

func (m *EvaluatedDecisionInput) XXX_Merge(src proto.Message)

func (*EvaluatedDecisionInput) XXX_Size

func (m *EvaluatedDecisionInput) XXX_Size() int

func (*EvaluatedDecisionInput) XXX_Unmarshal

func (m *EvaluatedDecisionInput) XXX_Unmarshal(b []byte) error

type EvaluatedDecisionOutput

type EvaluatedDecisionOutput struct {
	// the id of the evaluated decision output
	OutputId string `protobuf:"bytes,1,opt,name=outputId,proto3" json:"outputId,omitempty"`
	// the name of the evaluated decision output
	OutputName string `protobuf:"bytes,2,opt,name=outputName,proto3" json:"outputName,omitempty"`
	// the value of the evaluated decision output
	OutputValue string `protobuf:"bytes,3,opt,name=outputValue,proto3" json:"outputValue,omitempty"`
}

func (*EvaluatedDecisionOutput) Descriptor

func (*EvaluatedDecisionOutput) Descriptor() ([]byte, []int)

func (*EvaluatedDecisionOutput) Marshal

func (m *EvaluatedDecisionOutput) Marshal() (dAtA []byte, err error)

func (*EvaluatedDecisionOutput) MarshalTo

func (m *EvaluatedDecisionOutput) MarshalTo(dAtA []byte) (int, error)

func (*EvaluatedDecisionOutput) MarshalToSizedBuffer

func (m *EvaluatedDecisionOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvaluatedDecisionOutput) ProtoMessage

func (*EvaluatedDecisionOutput) ProtoMessage()

func (*EvaluatedDecisionOutput) Reset

func (m *EvaluatedDecisionOutput) Reset()

func (*EvaluatedDecisionOutput) String

func (m *EvaluatedDecisionOutput) String() string

func (*EvaluatedDecisionOutput) Unmarshal

func (m *EvaluatedDecisionOutput) Unmarshal(dAtA []byte) error

func (*EvaluatedDecisionOutput) XSize

func (m *EvaluatedDecisionOutput) XSize() (n int)

func (*EvaluatedDecisionOutput) XXX_DiscardUnknown

func (m *EvaluatedDecisionOutput) XXX_DiscardUnknown()

func (*EvaluatedDecisionOutput) XXX_Marshal

func (m *EvaluatedDecisionOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluatedDecisionOutput) XXX_Merge

func (m *EvaluatedDecisionOutput) XXX_Merge(src proto.Message)

func (*EvaluatedDecisionOutput) XXX_Size

func (m *EvaluatedDecisionOutput) XXX_Size() int

func (*EvaluatedDecisionOutput) XXX_Unmarshal

func (m *EvaluatedDecisionOutput) XXX_Unmarshal(b []byte) error

type FailJobRequest

type FailJobRequest struct {
	// the unique job identifier, as obtained when activating the job
	JobKey int64 `protobuf:"varint,1,opt,name=jobKey,proto3" json:"jobKey,omitempty"`
	// the amount of retries the job should have left
	Retries int32 `protobuf:"varint,2,opt,name=retries,proto3" json:"retries,omitempty"`
	// an optional message describing why the job failed
	// this is particularly useful if a job runs out of retries and an incident is raised,
	// as it this message can help explain why an incident was raised
	ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// the backoff timeout (in ms) for the next retry
	RetryBackOff int64 `protobuf:"varint,4,opt,name=retryBackOff,proto3" json:"retryBackOff,omitempty"`
	// JSON document that will instantiate the variables at the local scope of the
	// job's associated task; it must be a JSON object, as variables will be mapped in a
	// key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and
	// "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a
	// valid argument, as the root of the JSON document is an array and not an object.
	Variables string `protobuf:"bytes,5,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*FailJobRequest) Descriptor

func (*FailJobRequest) Descriptor() ([]byte, []int)

func (*FailJobRequest) Marshal

func (m *FailJobRequest) Marshal() (dAtA []byte, err error)

func (*FailJobRequest) MarshalTo

func (m *FailJobRequest) MarshalTo(dAtA []byte) (int, error)

func (*FailJobRequest) MarshalToSizedBuffer

func (m *FailJobRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FailJobRequest) ProtoMessage

func (*FailJobRequest) ProtoMessage()

func (*FailJobRequest) Reset

func (m *FailJobRequest) Reset()

func (*FailJobRequest) String

func (m *FailJobRequest) String() string

func (*FailJobRequest) Unmarshal

func (m *FailJobRequest) Unmarshal(dAtA []byte) error

func (*FailJobRequest) XSize

func (m *FailJobRequest) XSize() (n int)

func (*FailJobRequest) XXX_DiscardUnknown

func (m *FailJobRequest) XXX_DiscardUnknown()

func (*FailJobRequest) XXX_Marshal

func (m *FailJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FailJobRequest) XXX_Merge

func (m *FailJobRequest) XXX_Merge(src proto.Message)

func (*FailJobRequest) XXX_Size

func (m *FailJobRequest) XXX_Size() int

func (*FailJobRequest) XXX_Unmarshal

func (m *FailJobRequest) XXX_Unmarshal(b []byte) error

type FailJobResponse

type FailJobResponse struct {
}

func (*FailJobResponse) Descriptor

func (*FailJobResponse) Descriptor() ([]byte, []int)

func (*FailJobResponse) Marshal

func (m *FailJobResponse) Marshal() (dAtA []byte, err error)

func (*FailJobResponse) MarshalTo

func (m *FailJobResponse) MarshalTo(dAtA []byte) (int, error)

func (*FailJobResponse) MarshalToSizedBuffer

func (m *FailJobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FailJobResponse) ProtoMessage

func (*FailJobResponse) ProtoMessage()

func (*FailJobResponse) Reset

func (m *FailJobResponse) Reset()

func (*FailJobResponse) String

func (m *FailJobResponse) String() string

func (*FailJobResponse) Unmarshal

func (m *FailJobResponse) Unmarshal(dAtA []byte) error

func (*FailJobResponse) XSize

func (m *FailJobResponse) XSize() (n int)

func (*FailJobResponse) XXX_DiscardUnknown

func (m *FailJobResponse) XXX_DiscardUnknown()

func (*FailJobResponse) XXX_Marshal

func (m *FailJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FailJobResponse) XXX_Merge

func (m *FailJobResponse) XXX_Merge(src proto.Message)

func (*FailJobResponse) XXX_Size

func (m *FailJobResponse) XXX_Size() int

func (*FailJobResponse) XXX_Unmarshal

func (m *FailJobResponse) XXX_Unmarshal(b []byte) error

type GatewayClient

type GatewayClient interface {
	//
	//Iterates through all known partitions round-robin and activates up to the requested
	//maximum and streams them back to the client as they are activated.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- type is blank (empty string, null)
	//- worker is blank (empty string, null)
	//- timeout less than 1
	//- maxJobsToActivate is less than 1
	ActivateJobs(ctx context.Context, in *ActivateJobsRequest, opts ...grpc.CallOption) (Gateway_ActivateJobsClient, error)
	//
	//Cancels a running process instance
	//
	//Errors:
	//NOT_FOUND:
	//- no process instance exists with the given key
	CancelProcessInstance(ctx context.Context, in *CancelProcessInstanceRequest, opts ...grpc.CallOption) (*CancelProcessInstanceResponse, error)
	//
	//Completes a job with the given variables, which allows completing the associated service task.
	//
	//Errors:
	//NOT_FOUND:
	//- no job exists with the given job key. Note that since jobs are removed once completed,
	//it could be that this job did exist at some point.
	//
	//FAILED_PRECONDITION:
	//- the job was marked as failed. In that case, the related incident must be resolved before
	//the job can be activated again and completed.
	CompleteJob(ctx context.Context, in *CompleteJobRequest, opts ...grpc.CallOption) (*CompleteJobResponse, error)
	//
	//Creates and starts an instance of the specified process. The process definition to use to
	//create the instance can be specified either using its unique key (as returned by
	//DeployProcess), or using the BPMN process ID and a version. Pass -1 as the version to use the
	//latest deployed version. Note that only processes with none start events can be started through
	//this command.
	//
	//Errors:
	//NOT_FOUND:
	//- no process with the given key exists (if processDefinitionKey was given)
	//- no process with the given process ID exists (if bpmnProcessId was given but version was -1)
	//- no process with the given process ID and version exists (if both bpmnProcessId and version were given)
	//
	//FAILED_PRECONDITION:
	//- the process definition does not contain a none start event; only processes with none
	//start event can be started manually.
	//
	//INVALID_ARGUMENT:
	//- the given variables argument is not a valid JSON document; it is expected to be a valid
	//JSON document where the root node is an object.
	CreateProcessInstance(ctx context.Context, in *CreateProcessInstanceRequest, opts ...grpc.CallOption) (*CreateProcessInstanceResponse, error)
	//
	//Behaves similarly to `rpc CreateProcessInstance`, except that a successful response is received when the process completes successfully.
	CreateProcessInstanceWithResult(ctx context.Context, in *CreateProcessInstanceWithResultRequest, opts ...grpc.CallOption) (*CreateProcessInstanceWithResultResponse, error)
	//
	//Evaluates a decision. The decision to evaluate can be specified either by
	//using its unique key (as returned by DeployResource), or using the decision
	//ID. When using the decision ID, the latest deployed version of the decision
	//is used.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- no decision with the given key exists (if decisionKey was given)
	//- no decision with the given decision ID exists (if decisionId was given)
	//- both decision ID and decision KEY were provided, or are missing
	EvaluateDecision(ctx context.Context, in *EvaluateDecisionRequest, opts ...grpc.CallOption) (*EvaluateDecisionResponse, error)
	//
	//Deploys one or more processes to Zeebe. Note that this is an atomic call,
	//i.e. either all processes are deployed, or none of them are.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- no resources given.
	//- if at least one resource is invalid. A resource is considered invalid if:
	//- the resource data is not deserializable (e.g. detected as BPMN, but it's broken XML)
	//- the process is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task)
	DeployProcess(ctx context.Context, in *DeployProcessRequest, opts ...grpc.CallOption) (*DeployProcessResponse, error)
	//
	//Deploys one or more resources (e.g. processes or decision models) to Zeebe.
	//Note that this is an atomic call, i.e. either all resources are deployed, or none of them are.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- no resources given.
	//- if at least one resource is invalid. A resource is considered invalid if:
	//- the content is not deserializable (e.g. detected as BPMN, but it's broken XML)
	//- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task)
	DeployResource(ctx context.Context, in *DeployResourceRequest, opts ...grpc.CallOption) (*DeployResourceResponse, error)
	//
	//Marks the job as failed; if the retries argument is positive, then the job will be immediately
	//activatable again, and a worker could try again to process it. If it is zero or negative however,
	//an incident will be raised, tagged with the given errorMessage, and the job will not be
	//activatable until the incident is resolved.
	//
	//Errors:
	//NOT_FOUND:
	//- no job was found with the given key
	//
	//FAILED_PRECONDITION:
	//- the job was not activated
	//- the job is already in a failed state, i.e. ran out of retries
	FailJob(ctx context.Context, in *FailJobRequest, opts ...grpc.CallOption) (*FailJobResponse, error)
	//
	//Reports a business error (i.e. non-technical) that occurs while processing a job. The error is handled in the process by an error catch event. If there is no error catch event with the specified errorCode then an incident will be raised instead.
	//
	//Errors:
	//NOT_FOUND:
	//- no job was found with the given key
	//
	//FAILED_PRECONDITION:
	//- the job is not in an activated state
	ThrowError(ctx context.Context, in *ThrowErrorRequest, opts ...grpc.CallOption) (*ThrowErrorResponse, error)
	//
	//Publishes a single message. Messages are published to specific partitions computed from their
	//correlation keys.
	//
	//Errors:
	//ALREADY_EXISTS:
	//- a message with the same ID was previously published (and is still alive)
	PublishMessage(ctx context.Context, in *PublishMessageRequest, opts ...grpc.CallOption) (*PublishMessageResponse, error)
	//
	//Resolves a given incident. This simply marks the incident as resolved; most likely a call to
	//UpdateJobRetries or SetVariables will be necessary to actually resolve the
	//problem, following by this call.
	//
	//Errors:
	//NOT_FOUND:
	//- no incident with the given key exists
	ResolveIncident(ctx context.Context, in *ResolveIncidentRequest, opts ...grpc.CallOption) (*ResolveIncidentResponse, error)
	//
	//Updates all the variables of a particular scope (e.g. process instance, flow element instance)
	//from the given JSON document.
	//
	//Errors:
	//NOT_FOUND:
	//- no element with the given elementInstanceKey exists
	//INVALID_ARGUMENT:
	//- the given variables document is not a valid JSON document; valid documents are expected to
	//be JSON documents where the root node is an object.
	SetVariables(ctx context.Context, in *SetVariablesRequest, opts ...grpc.CallOption) (*SetVariablesResponse, error)
	//
	//Obtains the current topology of the cluster the gateway is part of.
	Topology(ctx context.Context, in *TopologyRequest, opts ...grpc.CallOption) (*TopologyResponse, error)
	//
	//Updates the number of retries a job has left. This is mostly useful for jobs that have run out of
	//retries, should the underlying problem be solved.
	//
	//Errors:
	//NOT_FOUND:
	//- no job exists with the given key
	//
	//INVALID_ARGUMENT:
	//- retries is not greater than 0
	UpdateJobRetries(ctx context.Context, in *UpdateJobRetriesRequest, opts ...grpc.CallOption) (*UpdateJobRetriesResponse, error)
	//
	//Modifies the process instance. This is done by activating and/or terminating specific elements of the instance.
	//
	//Errors:
	//NOT_FOUND:
	//- no process instance exists with the given key
	//
	//FAILED_PRECONDITION:
	//- trying to activate element inside of a multi-instance
	//
	//INVALID_ARGUMENT:
	//- activating or terminating unknown element
	//- ancestor of element for activation doesn't exist
	//- scope of variable is unknown
	ModifyProcessInstance(ctx context.Context, in *ModifyProcessInstanceRequest, opts ...grpc.CallOption) (*ModifyProcessInstanceResponse, error)
	//
	//Deletes a resource from the state. Once a resource has been deleted it cannot
	//be recovered. If the resource needs to be available again, a new deployment
	//of the resource is required.
	//
	//Deleting a process will cancel any running instances of this process
	//definition. New instances of a deleted process are created using
	//the lastest version that hasn't been deleted. Creating a new
	//process instance is impossible when all versions have been
	//deleted.
	//
	//Deleting a decision requirement definitions could cause incidents in process
	//instances referencing these decisions in a business rule task. A decision
	//will be evaluated with the latest version that hasn't been deleted. If all
	//versions of a decision have been deleted the evaluation is rejected.
	//
	//Errors:
	//NOT_FOUND:
	//- No resource exists with the given key
	//
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error)
	//
	//Broadcasts a signal.
	BroadcastSignal(ctx context.Context, in *BroadcastSignalRequest, opts ...grpc.CallOption) (*BroadcastSignalResponse, error)
}

GatewayClient is the client API for Gateway service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGatewayClient

func NewGatewayClient(cc *grpc.ClientConn) GatewayClient

type GatewayServer

type GatewayServer interface {
	//
	//Iterates through all known partitions round-robin and activates up to the requested
	//maximum and streams them back to the client as they are activated.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- type is blank (empty string, null)
	//- worker is blank (empty string, null)
	//- timeout less than 1
	//- maxJobsToActivate is less than 1
	ActivateJobs(*ActivateJobsRequest, Gateway_ActivateJobsServer) error
	//
	//Cancels a running process instance
	//
	//Errors:
	//NOT_FOUND:
	//- no process instance exists with the given key
	CancelProcessInstance(context.Context, *CancelProcessInstanceRequest) (*CancelProcessInstanceResponse, error)
	//
	//Completes a job with the given variables, which allows completing the associated service task.
	//
	//Errors:
	//NOT_FOUND:
	//- no job exists with the given job key. Note that since jobs are removed once completed,
	//it could be that this job did exist at some point.
	//
	//FAILED_PRECONDITION:
	//- the job was marked as failed. In that case, the related incident must be resolved before
	//the job can be activated again and completed.
	CompleteJob(context.Context, *CompleteJobRequest) (*CompleteJobResponse, error)
	//
	//Creates and starts an instance of the specified process. The process definition to use to
	//create the instance can be specified either using its unique key (as returned by
	//DeployProcess), or using the BPMN process ID and a version. Pass -1 as the version to use the
	//latest deployed version. Note that only processes with none start events can be started through
	//this command.
	//
	//Errors:
	//NOT_FOUND:
	//- no process with the given key exists (if processDefinitionKey was given)
	//- no process with the given process ID exists (if bpmnProcessId was given but version was -1)
	//- no process with the given process ID and version exists (if both bpmnProcessId and version were given)
	//
	//FAILED_PRECONDITION:
	//- the process definition does not contain a none start event; only processes with none
	//start event can be started manually.
	//
	//INVALID_ARGUMENT:
	//- the given variables argument is not a valid JSON document; it is expected to be a valid
	//JSON document where the root node is an object.
	CreateProcessInstance(context.Context, *CreateProcessInstanceRequest) (*CreateProcessInstanceResponse, error)
	//
	//Behaves similarly to `rpc CreateProcessInstance`, except that a successful response is received when the process completes successfully.
	CreateProcessInstanceWithResult(context.Context, *CreateProcessInstanceWithResultRequest) (*CreateProcessInstanceWithResultResponse, error)
	//
	//Evaluates a decision. The decision to evaluate can be specified either by
	//using its unique key (as returned by DeployResource), or using the decision
	//ID. When using the decision ID, the latest deployed version of the decision
	//is used.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- no decision with the given key exists (if decisionKey was given)
	//- no decision with the given decision ID exists (if decisionId was given)
	//- both decision ID and decision KEY were provided, or are missing
	EvaluateDecision(context.Context, *EvaluateDecisionRequest) (*EvaluateDecisionResponse, error)
	//
	//Deploys one or more processes to Zeebe. Note that this is an atomic call,
	//i.e. either all processes are deployed, or none of them are.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- no resources given.
	//- if at least one resource is invalid. A resource is considered invalid if:
	//- the resource data is not deserializable (e.g. detected as BPMN, but it's broken XML)
	//- the process is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task)
	DeployProcess(context.Context, *DeployProcessRequest) (*DeployProcessResponse, error)
	//
	//Deploys one or more resources (e.g. processes or decision models) to Zeebe.
	//Note that this is an atomic call, i.e. either all resources are deployed, or none of them are.
	//
	//Errors:
	//INVALID_ARGUMENT:
	//- no resources given.
	//- if at least one resource is invalid. A resource is considered invalid if:
	//- the content is not deserializable (e.g. detected as BPMN, but it's broken XML)
	//- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task)
	DeployResource(context.Context, *DeployResourceRequest) (*DeployResourceResponse, error)
	//
	//Marks the job as failed; if the retries argument is positive, then the job will be immediately
	//activatable again, and a worker could try again to process it. If it is zero or negative however,
	//an incident will be raised, tagged with the given errorMessage, and the job will not be
	//activatable until the incident is resolved.
	//
	//Errors:
	//NOT_FOUND:
	//- no job was found with the given key
	//
	//FAILED_PRECONDITION:
	//- the job was not activated
	//- the job is already in a failed state, i.e. ran out of retries
	FailJob(context.Context, *FailJobRequest) (*FailJobResponse, error)
	//
	//Reports a business error (i.e. non-technical) that occurs while processing a job. The error is handled in the process by an error catch event. If there is no error catch event with the specified errorCode then an incident will be raised instead.
	//
	//Errors:
	//NOT_FOUND:
	//- no job was found with the given key
	//
	//FAILED_PRECONDITION:
	//- the job is not in an activated state
	ThrowError(context.Context, *ThrowErrorRequest) (*ThrowErrorResponse, error)
	//
	//Publishes a single message. Messages are published to specific partitions computed from their
	//correlation keys.
	//
	//Errors:
	//ALREADY_EXISTS:
	//- a message with the same ID was previously published (and is still alive)
	PublishMessage(context.Context, *PublishMessageRequest) (*PublishMessageResponse, error)
	//
	//Resolves a given incident. This simply marks the incident as resolved; most likely a call to
	//UpdateJobRetries or SetVariables will be necessary to actually resolve the
	//problem, following by this call.
	//
	//Errors:
	//NOT_FOUND:
	//- no incident with the given key exists
	ResolveIncident(context.Context, *ResolveIncidentRequest) (*ResolveIncidentResponse, error)
	//
	//Updates all the variables of a particular scope (e.g. process instance, flow element instance)
	//from the given JSON document.
	//
	//Errors:
	//NOT_FOUND:
	//- no element with the given elementInstanceKey exists
	//INVALID_ARGUMENT:
	//- the given variables document is not a valid JSON document; valid documents are expected to
	//be JSON documents where the root node is an object.
	SetVariables(context.Context, *SetVariablesRequest) (*SetVariablesResponse, error)
	//
	//Obtains the current topology of the cluster the gateway is part of.
	Topology(context.Context, *TopologyRequest) (*TopologyResponse, error)
	//
	//Updates the number of retries a job has left. This is mostly useful for jobs that have run out of
	//retries, should the underlying problem be solved.
	//
	//Errors:
	//NOT_FOUND:
	//- no job exists with the given key
	//
	//INVALID_ARGUMENT:
	//- retries is not greater than 0
	UpdateJobRetries(context.Context, *UpdateJobRetriesRequest) (*UpdateJobRetriesResponse, error)
	//
	//Modifies the process instance. This is done by activating and/or terminating specific elements of the instance.
	//
	//Errors:
	//NOT_FOUND:
	//- no process instance exists with the given key
	//
	//FAILED_PRECONDITION:
	//- trying to activate element inside of a multi-instance
	//
	//INVALID_ARGUMENT:
	//- activating or terminating unknown element
	//- ancestor of element for activation doesn't exist
	//- scope of variable is unknown
	ModifyProcessInstance(context.Context, *ModifyProcessInstanceRequest) (*ModifyProcessInstanceResponse, error)
	//
	//Deletes a resource from the state. Once a resource has been deleted it cannot
	//be recovered. If the resource needs to be available again, a new deployment
	//of the resource is required.
	//
	//Deleting a process will cancel any running instances of this process
	//definition. New instances of a deleted process are created using
	//the lastest version that hasn't been deleted. Creating a new
	//process instance is impossible when all versions have been
	//deleted.
	//
	//Deleting a decision requirement definitions could cause incidents in process
	//instances referencing these decisions in a business rule task. A decision
	//will be evaluated with the latest version that hasn't been deleted. If all
	//versions of a decision have been deleted the evaluation is rejected.
	//
	//Errors:
	//NOT_FOUND:
	//- No resource exists with the given key
	//
	DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
	//
	//Broadcasts a signal.
	BroadcastSignal(context.Context, *BroadcastSignalRequest) (*BroadcastSignalResponse, error)
}

GatewayServer is the server API for Gateway service.

type Gateway_ActivateJobsClient

type Gateway_ActivateJobsClient interface {
	Recv() (*ActivateJobsResponse, error)
	grpc.ClientStream
}

type Gateway_ActivateJobsServer

type Gateway_ActivateJobsServer interface {
	Send(*ActivateJobsResponse) error
	grpc.ServerStream
}

type MatchedDecisionRule

type MatchedDecisionRule struct {
	// the id of the matched rule
	RuleId string `protobuf:"bytes,1,opt,name=ruleId,proto3" json:"ruleId,omitempty"`
	// the index of the matched rule
	RuleIndex int32 `protobuf:"varint,2,opt,name=ruleIndex,proto3" json:"ruleIndex,omitempty"`
	// the evaluated decision outputs
	EvaluatedOutputs []*EvaluatedDecisionOutput `protobuf:"bytes,3,rep,name=evaluatedOutputs,proto3" json:"evaluatedOutputs,omitempty"`
}

func (*MatchedDecisionRule) Descriptor

func (*MatchedDecisionRule) Descriptor() ([]byte, []int)

func (*MatchedDecisionRule) Marshal

func (m *MatchedDecisionRule) Marshal() (dAtA []byte, err error)

func (*MatchedDecisionRule) MarshalTo

func (m *MatchedDecisionRule) MarshalTo(dAtA []byte) (int, error)

func (*MatchedDecisionRule) MarshalToSizedBuffer

func (m *MatchedDecisionRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MatchedDecisionRule) ProtoMessage

func (*MatchedDecisionRule) ProtoMessage()

func (*MatchedDecisionRule) Reset

func (m *MatchedDecisionRule) Reset()

func (*MatchedDecisionRule) String

func (m *MatchedDecisionRule) String() string

func (*MatchedDecisionRule) Unmarshal

func (m *MatchedDecisionRule) Unmarshal(dAtA []byte) error

func (*MatchedDecisionRule) XSize

func (m *MatchedDecisionRule) XSize() (n int)

func (*MatchedDecisionRule) XXX_DiscardUnknown

func (m *MatchedDecisionRule) XXX_DiscardUnknown()

func (*MatchedDecisionRule) XXX_Marshal

func (m *MatchedDecisionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MatchedDecisionRule) XXX_Merge

func (m *MatchedDecisionRule) XXX_Merge(src proto.Message)

func (*MatchedDecisionRule) XXX_Size

func (m *MatchedDecisionRule) XXX_Size() int

func (*MatchedDecisionRule) XXX_Unmarshal

func (m *MatchedDecisionRule) XXX_Unmarshal(b []byte) error

type ModifyProcessInstanceRequest

type ModifyProcessInstanceRequest struct {
	// the key of the process instance that should be modified
	ProcessInstanceKey int64 `protobuf:"varint,1,opt,name=processInstanceKey,proto3" json:"processInstanceKey,omitempty"`
	// instructions describing which elements should be activated in which scopes,
	// and which variables should be created
	ActivateInstructions []*ModifyProcessInstanceRequest_ActivateInstruction `protobuf:"bytes,2,rep,name=activateInstructions,proto3" json:"activateInstructions,omitempty"`
	// instructions describing which elements should be terminated
	TerminateInstructions []*ModifyProcessInstanceRequest_TerminateInstruction `protobuf:"bytes,3,rep,name=terminateInstructions,proto3" json:"terminateInstructions,omitempty"`
}

func (*ModifyProcessInstanceRequest) Descriptor

func (*ModifyProcessInstanceRequest) Descriptor() ([]byte, []int)

func (*ModifyProcessInstanceRequest) Marshal

func (m *ModifyProcessInstanceRequest) Marshal() (dAtA []byte, err error)

func (*ModifyProcessInstanceRequest) MarshalTo

func (m *ModifyProcessInstanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*ModifyProcessInstanceRequest) MarshalToSizedBuffer

func (m *ModifyProcessInstanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModifyProcessInstanceRequest) ProtoMessage

func (*ModifyProcessInstanceRequest) ProtoMessage()

func (*ModifyProcessInstanceRequest) Reset

func (m *ModifyProcessInstanceRequest) Reset()

func (*ModifyProcessInstanceRequest) String

func (*ModifyProcessInstanceRequest) Unmarshal

func (m *ModifyProcessInstanceRequest) Unmarshal(dAtA []byte) error

func (*ModifyProcessInstanceRequest) XSize

func (m *ModifyProcessInstanceRequest) XSize() (n int)

func (*ModifyProcessInstanceRequest) XXX_DiscardUnknown

func (m *ModifyProcessInstanceRequest) XXX_DiscardUnknown()

func (*ModifyProcessInstanceRequest) XXX_Marshal

func (m *ModifyProcessInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyProcessInstanceRequest) XXX_Merge

func (m *ModifyProcessInstanceRequest) XXX_Merge(src proto.Message)

func (*ModifyProcessInstanceRequest) XXX_Size

func (m *ModifyProcessInstanceRequest) XXX_Size() int

func (*ModifyProcessInstanceRequest) XXX_Unmarshal

func (m *ModifyProcessInstanceRequest) XXX_Unmarshal(b []byte) error

type ModifyProcessInstanceRequest_ActivateInstruction

type ModifyProcessInstanceRequest_ActivateInstruction struct {
	// the id of the element that should be activated
	ElementId string `protobuf:"bytes,1,opt,name=elementId,proto3" json:"elementId,omitempty"`
	// the key of the ancestor scope the element instance should be created in;
	// set to -1 to create the new element instance within an existing element
	// instance of the flow scope
	AncestorElementInstanceKey int64 `protobuf:"varint,2,opt,name=ancestorElementInstanceKey,proto3" json:"ancestorElementInstanceKey,omitempty"`
	// instructions describing which variables should be created
	VariableInstructions []*ModifyProcessInstanceRequest_VariableInstruction `protobuf:"bytes,3,rep,name=variableInstructions,proto3" json:"variableInstructions,omitempty"`
}

func (*ModifyProcessInstanceRequest_ActivateInstruction) Descriptor

func (*ModifyProcessInstanceRequest_ActivateInstruction) Marshal

func (m *ModifyProcessInstanceRequest_ActivateInstruction) Marshal() (dAtA []byte, err error)

func (*ModifyProcessInstanceRequest_ActivateInstruction) MarshalTo

func (*ModifyProcessInstanceRequest_ActivateInstruction) MarshalToSizedBuffer

func (m *ModifyProcessInstanceRequest_ActivateInstruction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModifyProcessInstanceRequest_ActivateInstruction) ProtoMessage

func (*ModifyProcessInstanceRequest_ActivateInstruction) Reset

func (*ModifyProcessInstanceRequest_ActivateInstruction) String

func (*ModifyProcessInstanceRequest_ActivateInstruction) Unmarshal

func (*ModifyProcessInstanceRequest_ActivateInstruction) XSize

func (*ModifyProcessInstanceRequest_ActivateInstruction) XXX_DiscardUnknown

func (m *ModifyProcessInstanceRequest_ActivateInstruction) XXX_DiscardUnknown()

func (*ModifyProcessInstanceRequest_ActivateInstruction) XXX_Marshal

func (m *ModifyProcessInstanceRequest_ActivateInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyProcessInstanceRequest_ActivateInstruction) XXX_Merge

func (*ModifyProcessInstanceRequest_ActivateInstruction) XXX_Size

func (*ModifyProcessInstanceRequest_ActivateInstruction) XXX_Unmarshal

type ModifyProcessInstanceRequest_TerminateInstruction

type ModifyProcessInstanceRequest_TerminateInstruction struct {
	// the id of the element that should be terminated
	ElementInstanceKey int64 `protobuf:"varint,1,opt,name=elementInstanceKey,proto3" json:"elementInstanceKey,omitempty"`
}

func (*ModifyProcessInstanceRequest_TerminateInstruction) Descriptor

func (*ModifyProcessInstanceRequest_TerminateInstruction) Marshal

func (*ModifyProcessInstanceRequest_TerminateInstruction) MarshalTo

func (*ModifyProcessInstanceRequest_TerminateInstruction) MarshalToSizedBuffer

func (m *ModifyProcessInstanceRequest_TerminateInstruction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModifyProcessInstanceRequest_TerminateInstruction) ProtoMessage

func (*ModifyProcessInstanceRequest_TerminateInstruction) Reset

func (*ModifyProcessInstanceRequest_TerminateInstruction) String

func (*ModifyProcessInstanceRequest_TerminateInstruction) Unmarshal

func (*ModifyProcessInstanceRequest_TerminateInstruction) XSize

func (*ModifyProcessInstanceRequest_TerminateInstruction) XXX_DiscardUnknown

func (m *ModifyProcessInstanceRequest_TerminateInstruction) XXX_DiscardUnknown()

func (*ModifyProcessInstanceRequest_TerminateInstruction) XXX_Marshal

func (m *ModifyProcessInstanceRequest_TerminateInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyProcessInstanceRequest_TerminateInstruction) XXX_Merge

func (*ModifyProcessInstanceRequest_TerminateInstruction) XXX_Size

func (*ModifyProcessInstanceRequest_TerminateInstruction) XXX_Unmarshal

type ModifyProcessInstanceRequest_VariableInstruction

type ModifyProcessInstanceRequest_VariableInstruction struct {
	// JSON document that will instantiate the variables for the root variable scope of the
	// process instance; it must be a JSON object, as variables will be mapped in a
	// key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and
	// "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a
	// valid argument, as the root of the JSON document is an array and not an object.
	Variables string `protobuf:"bytes,1,opt,name=variables,proto3" json:"variables,omitempty"`
	// the id of the element in which scope the variables should be created;
	// leave empty to create the variables in the global scope of the process instance
	ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
}

func (*ModifyProcessInstanceRequest_VariableInstruction) Descriptor

func (*ModifyProcessInstanceRequest_VariableInstruction) Marshal

func (m *ModifyProcessInstanceRequest_VariableInstruction) Marshal() (dAtA []byte, err error)

func (*ModifyProcessInstanceRequest_VariableInstruction) MarshalTo

func (*ModifyProcessInstanceRequest_VariableInstruction) MarshalToSizedBuffer

func (m *ModifyProcessInstanceRequest_VariableInstruction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModifyProcessInstanceRequest_VariableInstruction) ProtoMessage

func (*ModifyProcessInstanceRequest_VariableInstruction) Reset

func (*ModifyProcessInstanceRequest_VariableInstruction) String

func (*ModifyProcessInstanceRequest_VariableInstruction) Unmarshal

func (*ModifyProcessInstanceRequest_VariableInstruction) XSize

func (*ModifyProcessInstanceRequest_VariableInstruction) XXX_DiscardUnknown

func (m *ModifyProcessInstanceRequest_VariableInstruction) XXX_DiscardUnknown()

func (*ModifyProcessInstanceRequest_VariableInstruction) XXX_Marshal

func (m *ModifyProcessInstanceRequest_VariableInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyProcessInstanceRequest_VariableInstruction) XXX_Merge

func (*ModifyProcessInstanceRequest_VariableInstruction) XXX_Size

func (*ModifyProcessInstanceRequest_VariableInstruction) XXX_Unmarshal

type ModifyProcessInstanceResponse

type ModifyProcessInstanceResponse struct {
}

func (*ModifyProcessInstanceResponse) Descriptor

func (*ModifyProcessInstanceResponse) Descriptor() ([]byte, []int)

func (*ModifyProcessInstanceResponse) Marshal

func (m *ModifyProcessInstanceResponse) Marshal() (dAtA []byte, err error)

func (*ModifyProcessInstanceResponse) MarshalTo

func (m *ModifyProcessInstanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*ModifyProcessInstanceResponse) MarshalToSizedBuffer

func (m *ModifyProcessInstanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModifyProcessInstanceResponse) ProtoMessage

func (*ModifyProcessInstanceResponse) ProtoMessage()

func (*ModifyProcessInstanceResponse) Reset

func (m *ModifyProcessInstanceResponse) Reset()

func (*ModifyProcessInstanceResponse) String

func (*ModifyProcessInstanceResponse) Unmarshal

func (m *ModifyProcessInstanceResponse) Unmarshal(dAtA []byte) error

func (*ModifyProcessInstanceResponse) XSize

func (m *ModifyProcessInstanceResponse) XSize() (n int)

func (*ModifyProcessInstanceResponse) XXX_DiscardUnknown

func (m *ModifyProcessInstanceResponse) XXX_DiscardUnknown()

func (*ModifyProcessInstanceResponse) XXX_Marshal

func (m *ModifyProcessInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyProcessInstanceResponse) XXX_Merge

func (m *ModifyProcessInstanceResponse) XXX_Merge(src proto.Message)

func (*ModifyProcessInstanceResponse) XXX_Size

func (m *ModifyProcessInstanceResponse) XXX_Size() int

func (*ModifyProcessInstanceResponse) XXX_Unmarshal

func (m *ModifyProcessInstanceResponse) XXX_Unmarshal(b []byte) error

type Partition

type Partition struct {
	// the unique ID of this partition
	PartitionId int32 `protobuf:"varint,1,opt,name=partitionId,proto3" json:"partitionId,omitempty"`
	// the role of the broker for this partition
	Role Partition_PartitionBrokerRole `protobuf:"varint,2,opt,name=role,proto3,enum=gateway_protocol.Partition_PartitionBrokerRole" json:"role,omitempty"`
	// the health of this partition
	Health Partition_PartitionBrokerHealth `protobuf:"varint,3,opt,name=health,proto3,enum=gateway_protocol.Partition_PartitionBrokerHealth" json:"health,omitempty"`
}

func (*Partition) Descriptor

func (*Partition) Descriptor() ([]byte, []int)

func (*Partition) Marshal

func (m *Partition) Marshal() (dAtA []byte, err error)

func (*Partition) MarshalTo

func (m *Partition) MarshalTo(dAtA []byte) (int, error)

func (*Partition) MarshalToSizedBuffer

func (m *Partition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Partition) ProtoMessage

func (*Partition) ProtoMessage()

func (*Partition) Reset

func (m *Partition) Reset()

func (*Partition) String

func (m *Partition) String() string

func (*Partition) Unmarshal

func (m *Partition) Unmarshal(dAtA []byte) error

func (*Partition) XSize

func (m *Partition) XSize() (n int)

func (*Partition) XXX_DiscardUnknown

func (m *Partition) XXX_DiscardUnknown()

func (*Partition) XXX_Marshal

func (m *Partition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Partition) XXX_Merge

func (m *Partition) XXX_Merge(src proto.Message)

func (*Partition) XXX_Size

func (m *Partition) XXX_Size() int

func (*Partition) XXX_Unmarshal

func (m *Partition) XXX_Unmarshal(b []byte) error

type Partition_PartitionBrokerHealth

type Partition_PartitionBrokerHealth int32

Describes the current health of the partition

const (
	Partition_HEALTHY   Partition_PartitionBrokerHealth = 0
	Partition_UNHEALTHY Partition_PartitionBrokerHealth = 1
	Partition_DEAD      Partition_PartitionBrokerHealth = 2
)

func (Partition_PartitionBrokerHealth) EnumDescriptor

func (Partition_PartitionBrokerHealth) EnumDescriptor() ([]byte, []int)

func (Partition_PartitionBrokerHealth) String

type Partition_PartitionBrokerRole

type Partition_PartitionBrokerRole int32

Describes the Raft role of the broker for a given partition

const (
	Partition_LEADER   Partition_PartitionBrokerRole = 0
	Partition_FOLLOWER Partition_PartitionBrokerRole = 1
	Partition_INACTIVE Partition_PartitionBrokerRole = 2
)

func (Partition_PartitionBrokerRole) EnumDescriptor

func (Partition_PartitionBrokerRole) EnumDescriptor() ([]byte, []int)

func (Partition_PartitionBrokerRole) String

type ProcessInstanceCreationStartInstruction

type ProcessInstanceCreationStartInstruction struct {
	// element ID
	ElementId string `protobuf:"bytes,1,opt,name=elementId,proto3" json:"elementId,omitempty"`
}

func (*ProcessInstanceCreationStartInstruction) Descriptor

func (*ProcessInstanceCreationStartInstruction) Descriptor() ([]byte, []int)

func (*ProcessInstanceCreationStartInstruction) Marshal

func (m *ProcessInstanceCreationStartInstruction) Marshal() (dAtA []byte, err error)

func (*ProcessInstanceCreationStartInstruction) MarshalTo

func (m *ProcessInstanceCreationStartInstruction) MarshalTo(dAtA []byte) (int, error)

func (*ProcessInstanceCreationStartInstruction) MarshalToSizedBuffer

func (m *ProcessInstanceCreationStartInstruction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProcessInstanceCreationStartInstruction) ProtoMessage

func (*ProcessInstanceCreationStartInstruction) Reset

func (*ProcessInstanceCreationStartInstruction) String

func (*ProcessInstanceCreationStartInstruction) Unmarshal

func (m *ProcessInstanceCreationStartInstruction) Unmarshal(dAtA []byte) error

func (*ProcessInstanceCreationStartInstruction) XSize

func (*ProcessInstanceCreationStartInstruction) XXX_DiscardUnknown

func (m *ProcessInstanceCreationStartInstruction) XXX_DiscardUnknown()

func (*ProcessInstanceCreationStartInstruction) XXX_Marshal

func (m *ProcessInstanceCreationStartInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProcessInstanceCreationStartInstruction) XXX_Merge

func (*ProcessInstanceCreationStartInstruction) XXX_Size

func (*ProcessInstanceCreationStartInstruction) XXX_Unmarshal

func (m *ProcessInstanceCreationStartInstruction) XXX_Unmarshal(b []byte) error

type ProcessMetadata

type ProcessMetadata struct {
	// the bpmn process ID, as parsed during deployment; together with the version forms a
	// unique identifier for a specific process definition
	BpmnProcessId string `protobuf:"bytes,1,opt,name=bpmnProcessId,proto3" json:"bpmnProcessId,omitempty"`
	// the assigned process version
	Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// the assigned key, which acts as a unique identifier for this process
	ProcessDefinitionKey int64 `protobuf:"varint,3,opt,name=processDefinitionKey,proto3" json:"processDefinitionKey,omitempty"`
	// the resource name (see: ProcessRequestObject.name) from which this process was
	// parsed
	ResourceName string `protobuf:"bytes,4,opt,name=resourceName,proto3" json:"resourceName,omitempty"`
}

func (*ProcessMetadata) Descriptor

func (*ProcessMetadata) Descriptor() ([]byte, []int)

func (*ProcessMetadata) Marshal

func (m *ProcessMetadata) Marshal() (dAtA []byte, err error)

func (*ProcessMetadata) MarshalTo

func (m *ProcessMetadata) MarshalTo(dAtA []byte) (int, error)

func (*ProcessMetadata) MarshalToSizedBuffer

func (m *ProcessMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProcessMetadata) ProtoMessage

func (*ProcessMetadata) ProtoMessage()

func (*ProcessMetadata) Reset

func (m *ProcessMetadata) Reset()

func (*ProcessMetadata) String

func (m *ProcessMetadata) String() string

func (*ProcessMetadata) Unmarshal

func (m *ProcessMetadata) Unmarshal(dAtA []byte) error

func (*ProcessMetadata) XSize

func (m *ProcessMetadata) XSize() (n int)

func (*ProcessMetadata) XXX_DiscardUnknown

func (m *ProcessMetadata) XXX_DiscardUnknown()

func (*ProcessMetadata) XXX_Marshal

func (m *ProcessMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProcessMetadata) XXX_Merge

func (m *ProcessMetadata) XXX_Merge(src proto.Message)

func (*ProcessMetadata) XXX_Size

func (m *ProcessMetadata) XXX_Size() int

func (*ProcessMetadata) XXX_Unmarshal

func (m *ProcessMetadata) XXX_Unmarshal(b []byte) error

type ProcessRequestObject deprecated

type ProcessRequestObject struct {
	// the resource basename, e.g. myProcess.bpmn
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the process definition as a UTF8-encoded string
	Definition []byte `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
}

Deprecated: Do not use.

func (*ProcessRequestObject) Descriptor

func (*ProcessRequestObject) Descriptor() ([]byte, []int)

func (*ProcessRequestObject) Marshal

func (m *ProcessRequestObject) Marshal() (dAtA []byte, err error)

func (*ProcessRequestObject) MarshalTo

func (m *ProcessRequestObject) MarshalTo(dAtA []byte) (int, error)

func (*ProcessRequestObject) MarshalToSizedBuffer

func (m *ProcessRequestObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProcessRequestObject) ProtoMessage

func (*ProcessRequestObject) ProtoMessage()

func (*ProcessRequestObject) Reset

func (m *ProcessRequestObject) Reset()

func (*ProcessRequestObject) String

func (m *ProcessRequestObject) String() string

func (*ProcessRequestObject) Unmarshal

func (m *ProcessRequestObject) Unmarshal(dAtA []byte) error

func (*ProcessRequestObject) XSize

func (m *ProcessRequestObject) XSize() (n int)

func (*ProcessRequestObject) XXX_DiscardUnknown

func (m *ProcessRequestObject) XXX_DiscardUnknown()

func (*ProcessRequestObject) XXX_Marshal

func (m *ProcessRequestObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProcessRequestObject) XXX_Merge

func (m *ProcessRequestObject) XXX_Merge(src proto.Message)

func (*ProcessRequestObject) XXX_Size

func (m *ProcessRequestObject) XXX_Size() int

func (*ProcessRequestObject) XXX_Unmarshal

func (m *ProcessRequestObject) XXX_Unmarshal(b []byte) error

type PublishMessageRequest

type PublishMessageRequest struct {
	// the name of the message
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the correlation key of the message
	CorrelationKey string `protobuf:"bytes,2,opt,name=correlationKey,proto3" json:"correlationKey,omitempty"`
	// how long the message should be buffered on the broker, in milliseconds
	TimeToLive int64 `protobuf:"varint,3,opt,name=timeToLive,proto3" json:"timeToLive,omitempty"`
	// the unique ID of the message; can be omitted. only useful to ensure only one message
	// with the given ID will ever be published (during its lifetime)
	MessageId string `protobuf:"bytes,4,opt,name=messageId,proto3" json:"messageId,omitempty"`
	// the message variables as a JSON document; to be valid, the root of the document must be an
	// object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
	Variables string `protobuf:"bytes,5,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*PublishMessageRequest) Descriptor

func (*PublishMessageRequest) Descriptor() ([]byte, []int)

func (*PublishMessageRequest) Marshal

func (m *PublishMessageRequest) Marshal() (dAtA []byte, err error)

func (*PublishMessageRequest) MarshalTo

func (m *PublishMessageRequest) MarshalTo(dAtA []byte) (int, error)

func (*PublishMessageRequest) MarshalToSizedBuffer

func (m *PublishMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublishMessageRequest) ProtoMessage

func (*PublishMessageRequest) ProtoMessage()

func (*PublishMessageRequest) Reset

func (m *PublishMessageRequest) Reset()

func (*PublishMessageRequest) String

func (m *PublishMessageRequest) String() string

func (*PublishMessageRequest) Unmarshal

func (m *PublishMessageRequest) Unmarshal(dAtA []byte) error

func (*PublishMessageRequest) XSize

func (m *PublishMessageRequest) XSize() (n int)

func (*PublishMessageRequest) XXX_DiscardUnknown

func (m *PublishMessageRequest) XXX_DiscardUnknown()

func (*PublishMessageRequest) XXX_Marshal

func (m *PublishMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublishMessageRequest) XXX_Merge

func (m *PublishMessageRequest) XXX_Merge(src proto.Message)

func (*PublishMessageRequest) XXX_Size

func (m *PublishMessageRequest) XXX_Size() int

func (*PublishMessageRequest) XXX_Unmarshal

func (m *PublishMessageRequest) XXX_Unmarshal(b []byte) error

type PublishMessageResponse

type PublishMessageResponse struct {
	// the unique ID of the message that was published
	Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*PublishMessageResponse) Descriptor

func (*PublishMessageResponse) Descriptor() ([]byte, []int)

func (*PublishMessageResponse) Marshal

func (m *PublishMessageResponse) Marshal() (dAtA []byte, err error)

func (*PublishMessageResponse) MarshalTo

func (m *PublishMessageResponse) MarshalTo(dAtA []byte) (int, error)

func (*PublishMessageResponse) MarshalToSizedBuffer

func (m *PublishMessageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublishMessageResponse) ProtoMessage

func (*PublishMessageResponse) ProtoMessage()

func (*PublishMessageResponse) Reset

func (m *PublishMessageResponse) Reset()

func (*PublishMessageResponse) String

func (m *PublishMessageResponse) String() string

func (*PublishMessageResponse) Unmarshal

func (m *PublishMessageResponse) Unmarshal(dAtA []byte) error

func (*PublishMessageResponse) XSize

func (m *PublishMessageResponse) XSize() (n int)

func (*PublishMessageResponse) XXX_DiscardUnknown

func (m *PublishMessageResponse) XXX_DiscardUnknown()

func (*PublishMessageResponse) XXX_Marshal

func (m *PublishMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublishMessageResponse) XXX_Merge

func (m *PublishMessageResponse) XXX_Merge(src proto.Message)

func (*PublishMessageResponse) XXX_Size

func (m *PublishMessageResponse) XXX_Size() int

func (*PublishMessageResponse) XXX_Unmarshal

func (m *PublishMessageResponse) XXX_Unmarshal(b []byte) error

type ResolveIncidentRequest

type ResolveIncidentRequest struct {
	// the unique ID of the incident to resolve
	IncidentKey int64 `protobuf:"varint,1,opt,name=incidentKey,proto3" json:"incidentKey,omitempty"`
}

func (*ResolveIncidentRequest) Descriptor

func (*ResolveIncidentRequest) Descriptor() ([]byte, []int)

func (*ResolveIncidentRequest) Marshal

func (m *ResolveIncidentRequest) Marshal() (dAtA []byte, err error)

func (*ResolveIncidentRequest) MarshalTo

func (m *ResolveIncidentRequest) MarshalTo(dAtA []byte) (int, error)

func (*ResolveIncidentRequest) MarshalToSizedBuffer

func (m *ResolveIncidentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResolveIncidentRequest) ProtoMessage

func (*ResolveIncidentRequest) ProtoMessage()

func (*ResolveIncidentRequest) Reset

func (m *ResolveIncidentRequest) Reset()

func (*ResolveIncidentRequest) String

func (m *ResolveIncidentRequest) String() string

func (*ResolveIncidentRequest) Unmarshal

func (m *ResolveIncidentRequest) Unmarshal(dAtA []byte) error

func (*ResolveIncidentRequest) XSize

func (m *ResolveIncidentRequest) XSize() (n int)

func (*ResolveIncidentRequest) XXX_DiscardUnknown

func (m *ResolveIncidentRequest) XXX_DiscardUnknown()

func (*ResolveIncidentRequest) XXX_Marshal

func (m *ResolveIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveIncidentRequest) XXX_Merge

func (m *ResolveIncidentRequest) XXX_Merge(src proto.Message)

func (*ResolveIncidentRequest) XXX_Size

func (m *ResolveIncidentRequest) XXX_Size() int

func (*ResolveIncidentRequest) XXX_Unmarshal

func (m *ResolveIncidentRequest) XXX_Unmarshal(b []byte) error

type ResolveIncidentResponse

type ResolveIncidentResponse struct {
}

func (*ResolveIncidentResponse) Descriptor

func (*ResolveIncidentResponse) Descriptor() ([]byte, []int)

func (*ResolveIncidentResponse) Marshal

func (m *ResolveIncidentResponse) Marshal() (dAtA []byte, err error)

func (*ResolveIncidentResponse) MarshalTo

func (m *ResolveIncidentResponse) MarshalTo(dAtA []byte) (int, error)

func (*ResolveIncidentResponse) MarshalToSizedBuffer

func (m *ResolveIncidentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResolveIncidentResponse) ProtoMessage

func (*ResolveIncidentResponse) ProtoMessage()

func (*ResolveIncidentResponse) Reset

func (m *ResolveIncidentResponse) Reset()

func (*ResolveIncidentResponse) String

func (m *ResolveIncidentResponse) String() string

func (*ResolveIncidentResponse) Unmarshal

func (m *ResolveIncidentResponse) Unmarshal(dAtA []byte) error

func (*ResolveIncidentResponse) XSize

func (m *ResolveIncidentResponse) XSize() (n int)

func (*ResolveIncidentResponse) XXX_DiscardUnknown

func (m *ResolveIncidentResponse) XXX_DiscardUnknown()

func (*ResolveIncidentResponse) XXX_Marshal

func (m *ResolveIncidentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveIncidentResponse) XXX_Merge

func (m *ResolveIncidentResponse) XXX_Merge(src proto.Message)

func (*ResolveIncidentResponse) XXX_Size

func (m *ResolveIncidentResponse) XXX_Size() int

func (*ResolveIncidentResponse) XXX_Unmarshal

func (m *ResolveIncidentResponse) XXX_Unmarshal(b []byte) error

type Resource

type Resource struct {
	// the resource name, e.g. myProcess.bpmn or myDecision.dmn
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the file content as a UTF8-encoded string
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Resource) Descriptor

func (*Resource) Descriptor() ([]byte, []int)

func (*Resource) Marshal

func (m *Resource) Marshal() (dAtA []byte, err error)

func (*Resource) MarshalTo

func (m *Resource) MarshalTo(dAtA []byte) (int, error)

func (*Resource) MarshalToSizedBuffer

func (m *Resource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) Unmarshal

func (m *Resource) Unmarshal(dAtA []byte) error

func (*Resource) XSize

func (m *Resource) XSize() (n int)

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

type SetVariablesRequest

type SetVariablesRequest struct {
	// the unique identifier of a particular element; can be the process instance key (as
	// obtained during instance creation), or a given element, such as a service task (see
	// elementInstanceKey on the job message)
	ElementInstanceKey int64 `protobuf:"varint,1,opt,name=elementInstanceKey,proto3" json:"elementInstanceKey,omitempty"`
	// a JSON serialized document describing variables as key value pairs; the root of the document
	// must be an object
	Variables string `protobuf:"bytes,2,opt,name=variables,proto3" json:"variables,omitempty"`
	// if true, the variables will be merged strictly into the local scope (as indicated by
	// elementInstanceKey); this means the variables is not propagated to upper scopes.
	// for example, let's say we have two scopes, '1' and '2', with each having effective variables as:
	// 1 => `{ "foo" : 2 }`, and 2 => `{ "bar" : 1 }`. if we send an update request with
	// elementInstanceKey = 2, variables `{ "foo" : 5 }`, and local is true, then scope 1 will
	// be unchanged, and scope 2 will now be `{ "bar" : 1, "foo" 5 }`. if local was false, however,
	// then scope 1 would be `{ "foo": 5 }`, and scope 2 would be `{ "bar" : 1 }`.
	Local bool `protobuf:"varint,3,opt,name=local,proto3" json:"local,omitempty"`
}

func (*SetVariablesRequest) Descriptor

func (*SetVariablesRequest) Descriptor() ([]byte, []int)

func (*SetVariablesRequest) Marshal

func (m *SetVariablesRequest) Marshal() (dAtA []byte, err error)

func (*SetVariablesRequest) MarshalTo

func (m *SetVariablesRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetVariablesRequest) MarshalToSizedBuffer

func (m *SetVariablesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetVariablesRequest) ProtoMessage

func (*SetVariablesRequest) ProtoMessage()

func (*SetVariablesRequest) Reset

func (m *SetVariablesRequest) Reset()

func (*SetVariablesRequest) String

func (m *SetVariablesRequest) String() string

func (*SetVariablesRequest) Unmarshal

func (m *SetVariablesRequest) Unmarshal(dAtA []byte) error

func (*SetVariablesRequest) XSize

func (m *SetVariablesRequest) XSize() (n int)

func (*SetVariablesRequest) XXX_DiscardUnknown

func (m *SetVariablesRequest) XXX_DiscardUnknown()

func (*SetVariablesRequest) XXX_Marshal

func (m *SetVariablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetVariablesRequest) XXX_Merge

func (m *SetVariablesRequest) XXX_Merge(src proto.Message)

func (*SetVariablesRequest) XXX_Size

func (m *SetVariablesRequest) XXX_Size() int

func (*SetVariablesRequest) XXX_Unmarshal

func (m *SetVariablesRequest) XXX_Unmarshal(b []byte) error

type SetVariablesResponse

type SetVariablesResponse struct {
	// the unique key of the set variables command
	Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*SetVariablesResponse) Descriptor

func (*SetVariablesResponse) Descriptor() ([]byte, []int)

func (*SetVariablesResponse) Marshal

func (m *SetVariablesResponse) Marshal() (dAtA []byte, err error)

func (*SetVariablesResponse) MarshalTo

func (m *SetVariablesResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetVariablesResponse) MarshalToSizedBuffer

func (m *SetVariablesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetVariablesResponse) ProtoMessage

func (*SetVariablesResponse) ProtoMessage()

func (*SetVariablesResponse) Reset

func (m *SetVariablesResponse) Reset()

func (*SetVariablesResponse) String

func (m *SetVariablesResponse) String() string

func (*SetVariablesResponse) Unmarshal

func (m *SetVariablesResponse) Unmarshal(dAtA []byte) error

func (*SetVariablesResponse) XSize

func (m *SetVariablesResponse) XSize() (n int)

func (*SetVariablesResponse) XXX_DiscardUnknown

func (m *SetVariablesResponse) XXX_DiscardUnknown()

func (*SetVariablesResponse) XXX_Marshal

func (m *SetVariablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetVariablesResponse) XXX_Merge

func (m *SetVariablesResponse) XXX_Merge(src proto.Message)

func (*SetVariablesResponse) XXX_Size

func (m *SetVariablesResponse) XXX_Size() int

func (*SetVariablesResponse) XXX_Unmarshal

func (m *SetVariablesResponse) XXX_Unmarshal(b []byte) error

type ThrowErrorRequest

type ThrowErrorRequest struct {
	// the unique job identifier, as obtained when activating the job
	JobKey int64 `protobuf:"varint,1,opt,name=jobKey,proto3" json:"jobKey,omitempty"`
	// the error code that will be matched with an error catch event
	ErrorCode string `protobuf:"bytes,2,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
	// an optional error message that provides additional context
	ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// JSON document that will instantiate the variables at the local scope of the
	// error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a
	// key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and
	// "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a
	// valid argument, as the root of the JSON document is an array and not an object.
	Variables string `protobuf:"bytes,4,opt,name=variables,proto3" json:"variables,omitempty"`
}

func (*ThrowErrorRequest) Descriptor

func (*ThrowErrorRequest) Descriptor() ([]byte, []int)

func (*ThrowErrorRequest) Marshal

func (m *ThrowErrorRequest) Marshal() (dAtA []byte, err error)

func (*ThrowErrorRequest) MarshalTo

func (m *ThrowErrorRequest) MarshalTo(dAtA []byte) (int, error)

func (*ThrowErrorRequest) MarshalToSizedBuffer

func (m *ThrowErrorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ThrowErrorRequest) ProtoMessage

func (*ThrowErrorRequest) ProtoMessage()

func (*ThrowErrorRequest) Reset

func (m *ThrowErrorRequest) Reset()

func (*ThrowErrorRequest) String

func (m *ThrowErrorRequest) String() string

func (*ThrowErrorRequest) Unmarshal

func (m *ThrowErrorRequest) Unmarshal(dAtA []byte) error

func (*ThrowErrorRequest) XSize

func (m *ThrowErrorRequest) XSize() (n int)

func (*ThrowErrorRequest) XXX_DiscardUnknown

func (m *ThrowErrorRequest) XXX_DiscardUnknown()

func (*ThrowErrorRequest) XXX_Marshal

func (m *ThrowErrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThrowErrorRequest) XXX_Merge

func (m *ThrowErrorRequest) XXX_Merge(src proto.Message)

func (*ThrowErrorRequest) XXX_Size

func (m *ThrowErrorRequest) XXX_Size() int

func (*ThrowErrorRequest) XXX_Unmarshal

func (m *ThrowErrorRequest) XXX_Unmarshal(b []byte) error

type ThrowErrorResponse

type ThrowErrorResponse struct {
}

func (*ThrowErrorResponse) Descriptor

func (*ThrowErrorResponse) Descriptor() ([]byte, []int)

func (*ThrowErrorResponse) Marshal

func (m *ThrowErrorResponse) Marshal() (dAtA []byte, err error)

func (*ThrowErrorResponse) MarshalTo

func (m *ThrowErrorResponse) MarshalTo(dAtA []byte) (int, error)

func (*ThrowErrorResponse) MarshalToSizedBuffer

func (m *ThrowErrorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ThrowErrorResponse) ProtoMessage

func (*ThrowErrorResponse) ProtoMessage()

func (*ThrowErrorResponse) Reset

func (m *ThrowErrorResponse) Reset()

func (*ThrowErrorResponse) String

func (m *ThrowErrorResponse) String() string

func (*ThrowErrorResponse) Unmarshal

func (m *ThrowErrorResponse) Unmarshal(dAtA []byte) error

func (*ThrowErrorResponse) XSize

func (m *ThrowErrorResponse) XSize() (n int)

func (*ThrowErrorResponse) XXX_DiscardUnknown

func (m *ThrowErrorResponse) XXX_DiscardUnknown()

func (*ThrowErrorResponse) XXX_Marshal

func (m *ThrowErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThrowErrorResponse) XXX_Merge

func (m *ThrowErrorResponse) XXX_Merge(src proto.Message)

func (*ThrowErrorResponse) XXX_Size

func (m *ThrowErrorResponse) XXX_Size() int

func (*ThrowErrorResponse) XXX_Unmarshal

func (m *ThrowErrorResponse) XXX_Unmarshal(b []byte) error

type TopologyRequest

type TopologyRequest struct {
}

func (*TopologyRequest) Descriptor

func (*TopologyRequest) Descriptor() ([]byte, []int)

func (*TopologyRequest) Marshal

func (m *TopologyRequest) Marshal() (dAtA []byte, err error)

func (*TopologyRequest) MarshalTo

func (m *TopologyRequest) MarshalTo(dAtA []byte) (int, error)

func (*TopologyRequest) MarshalToSizedBuffer

func (m *TopologyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TopologyRequest) ProtoMessage

func (*TopologyRequest) ProtoMessage()

func (*TopologyRequest) Reset

func (m *TopologyRequest) Reset()

func (*TopologyRequest) String

func (m *TopologyRequest) String() string

func (*TopologyRequest) Unmarshal

func (m *TopologyRequest) Unmarshal(dAtA []byte) error

func (*TopologyRequest) XSize

func (m *TopologyRequest) XSize() (n int)

func (*TopologyRequest) XXX_DiscardUnknown

func (m *TopologyRequest) XXX_DiscardUnknown()

func (*TopologyRequest) XXX_Marshal

func (m *TopologyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopologyRequest) XXX_Merge

func (m *TopologyRequest) XXX_Merge(src proto.Message)

func (*TopologyRequest) XXX_Size

func (m *TopologyRequest) XXX_Size() int

func (*TopologyRequest) XXX_Unmarshal

func (m *TopologyRequest) XXX_Unmarshal(b []byte) error

type TopologyResponse

type TopologyResponse struct {
	// list of brokers part of this cluster
	Brokers []*BrokerInfo `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"`
	// how many nodes are in the cluster
	ClusterSize int32 `protobuf:"varint,2,opt,name=clusterSize,proto3" json:"clusterSize,omitempty"`
	// how many partitions are spread across the cluster
	PartitionsCount int32 `protobuf:"varint,3,opt,name=partitionsCount,proto3" json:"partitionsCount,omitempty"`
	// configured replication factor for this cluster
	ReplicationFactor int32 `protobuf:"varint,4,opt,name=replicationFactor,proto3" json:"replicationFactor,omitempty"`
	// gateway version
	GatewayVersion string `protobuf:"bytes,5,opt,name=gatewayVersion,proto3" json:"gatewayVersion,omitempty"`
}

func (*TopologyResponse) Descriptor

func (*TopologyResponse) Descriptor() ([]byte, []int)

func (*TopologyResponse) Marshal

func (m *TopologyResponse) Marshal() (dAtA []byte, err error)

func (*TopologyResponse) MarshalTo

func (m *TopologyResponse) MarshalTo(dAtA []byte) (int, error)

func (*TopologyResponse) MarshalToSizedBuffer

func (m *TopologyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TopologyResponse) ProtoMessage

func (*TopologyResponse) ProtoMessage()

func (*TopologyResponse) Reset

func (m *TopologyResponse) Reset()

func (*TopologyResponse) String

func (m *TopologyResponse) String() string

func (*TopologyResponse) Unmarshal

func (m *TopologyResponse) Unmarshal(dAtA []byte) error

func (*TopologyResponse) XSize

func (m *TopologyResponse) XSize() (n int)

func (*TopologyResponse) XXX_DiscardUnknown

func (m *TopologyResponse) XXX_DiscardUnknown()

func (*TopologyResponse) XXX_Marshal

func (m *TopologyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopologyResponse) XXX_Merge

func (m *TopologyResponse) XXX_Merge(src proto.Message)

func (*TopologyResponse) XXX_Size

func (m *TopologyResponse) XXX_Size() int

func (*TopologyResponse) XXX_Unmarshal

func (m *TopologyResponse) XXX_Unmarshal(b []byte) error

type UnimplementedGatewayServer

type UnimplementedGatewayServer struct {
}

UnimplementedGatewayServer can be embedded to have forward compatible implementations.

func (*UnimplementedGatewayServer) ActivateJobs

func (*UnimplementedGatewayServer) BroadcastSignal

func (*UnimplementedGatewayServer) CancelProcessInstance

func (*UnimplementedGatewayServer) CompleteJob

func (*UnimplementedGatewayServer) CreateProcessInstance

func (*UnimplementedGatewayServer) DeleteResource

func (*UnimplementedGatewayServer) DeployProcess

func (*UnimplementedGatewayServer) DeployResource

func (*UnimplementedGatewayServer) EvaluateDecision

func (*UnimplementedGatewayServer) FailJob

func (*UnimplementedGatewayServer) ModifyProcessInstance

func (*UnimplementedGatewayServer) PublishMessage

func (*UnimplementedGatewayServer) ResolveIncident

func (*UnimplementedGatewayServer) SetVariables

func (*UnimplementedGatewayServer) ThrowError

func (*UnimplementedGatewayServer) Topology

func (*UnimplementedGatewayServer) UpdateJobRetries

type UpdateJobRetriesRequest

type UpdateJobRetriesRequest struct {
	// the unique job identifier, as obtained through ActivateJobs
	JobKey int64 `protobuf:"varint,1,opt,name=jobKey,proto3" json:"jobKey,omitempty"`
	// the new amount of retries for the job; must be positive
	Retries int32 `protobuf:"varint,2,opt,name=retries,proto3" json:"retries,omitempty"`
}

func (*UpdateJobRetriesRequest) Descriptor

func (*UpdateJobRetriesRequest) Descriptor() ([]byte, []int)

func (*UpdateJobRetriesRequest) Marshal

func (m *UpdateJobRetriesRequest) Marshal() (dAtA []byte, err error)

func (*UpdateJobRetriesRequest) MarshalTo

func (m *UpdateJobRetriesRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateJobRetriesRequest) MarshalToSizedBuffer

func (m *UpdateJobRetriesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateJobRetriesRequest) ProtoMessage

func (*UpdateJobRetriesRequest) ProtoMessage()

func (*UpdateJobRetriesRequest) Reset

func (m *UpdateJobRetriesRequest) Reset()

func (*UpdateJobRetriesRequest) String

func (m *UpdateJobRetriesRequest) String() string

func (*UpdateJobRetriesRequest) Unmarshal

func (m *UpdateJobRetriesRequest) Unmarshal(dAtA []byte) error

func (*UpdateJobRetriesRequest) XSize

func (m *UpdateJobRetriesRequest) XSize() (n int)

func (*UpdateJobRetriesRequest) XXX_DiscardUnknown

func (m *UpdateJobRetriesRequest) XXX_DiscardUnknown()

func (*UpdateJobRetriesRequest) XXX_Marshal

func (m *UpdateJobRetriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateJobRetriesRequest) XXX_Merge

func (m *UpdateJobRetriesRequest) XXX_Merge(src proto.Message)

func (*UpdateJobRetriesRequest) XXX_Size

func (m *UpdateJobRetriesRequest) XXX_Size() int

func (*UpdateJobRetriesRequest) XXX_Unmarshal

func (m *UpdateJobRetriesRequest) XXX_Unmarshal(b []byte) error

type UpdateJobRetriesResponse

type UpdateJobRetriesResponse struct {
}

func (*UpdateJobRetriesResponse) Descriptor

func (*UpdateJobRetriesResponse) Descriptor() ([]byte, []int)

func (*UpdateJobRetriesResponse) Marshal

func (m *UpdateJobRetriesResponse) Marshal() (dAtA []byte, err error)

func (*UpdateJobRetriesResponse) MarshalTo

func (m *UpdateJobRetriesResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateJobRetriesResponse) MarshalToSizedBuffer

func (m *UpdateJobRetriesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateJobRetriesResponse) ProtoMessage

func (*UpdateJobRetriesResponse) ProtoMessage()

func (*UpdateJobRetriesResponse) Reset

func (m *UpdateJobRetriesResponse) Reset()

func (*UpdateJobRetriesResponse) String

func (m *UpdateJobRetriesResponse) String() string

func (*UpdateJobRetriesResponse) Unmarshal

func (m *UpdateJobRetriesResponse) Unmarshal(dAtA []byte) error

func (*UpdateJobRetriesResponse) XSize

func (m *UpdateJobRetriesResponse) XSize() (n int)

func (*UpdateJobRetriesResponse) XXX_DiscardUnknown

func (m *UpdateJobRetriesResponse) XXX_DiscardUnknown()

func (*UpdateJobRetriesResponse) XXX_Marshal

func (m *UpdateJobRetriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateJobRetriesResponse) XXX_Merge

func (m *UpdateJobRetriesResponse) XXX_Merge(src proto.Message)

func (*UpdateJobRetriesResponse) XXX_Size

func (m *UpdateJobRetriesResponse) XXX_Size() int

func (*UpdateJobRetriesResponse) XXX_Unmarshal

func (m *UpdateJobRetriesResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL