v1alpha1

package
v0.0.0-...-359ec18 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_v1alpha1_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BatchRequest

type BatchRequest struct {
	Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

Batch Request.

func (*BatchRequest) Descriptor deprecated

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

Deprecated: Use BatchRequest.ProtoReflect.Descriptor instead.

func (*BatchRequest) GetJobs

func (x *BatchRequest) GetJobs() []*Job

func (*BatchRequest) ProtoMessage

func (*BatchRequest) ProtoMessage()

func (*BatchRequest) ProtoReflect

func (x *BatchRequest) ProtoReflect() protoreflect.Message

func (*BatchRequest) Reset

func (x *BatchRequest) Reset()

func (*BatchRequest) String

func (x *BatchRequest) String() string

type BatchResponse

type BatchResponse struct {
	Results []*JobResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

Batch Response.

func (*BatchResponse) Descriptor deprecated

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

Deprecated: Use BatchResponse.ProtoReflect.Descriptor instead.

func (*BatchResponse) GetResults

func (x *BatchResponse) GetResults() []*JobResult

func (*BatchResponse) ProtoMessage

func (*BatchResponse) ProtoMessage()

func (*BatchResponse) ProtoReflect

func (x *BatchResponse) ProtoReflect() protoreflect.Message

func (*BatchResponse) Reset

func (x *BatchResponse) Reset()

func (*BatchResponse) String

func (x *BatchResponse) String() string

type Job

type Job struct {
	Body          string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	CorrelationId int64  `protobuf:"varint,15,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
	// contains filtered or unexported fields
}

Job.

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetBody

func (x *Job) GetBody() string

func (*Job) GetCorrelationId

func (x *Job) GetCorrelationId() int64

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

func (x *Job) ProtoReflect() protoreflect.Message

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

type JobResult

type JobResult struct {

	// Types that are assignable to Result:
	//
	//	*JobResult_Body
	//	*JobResult_Error
	Result        isJobResult_Result `protobuf_oneof:"result"`
	CorrelationId int64              `protobuf:"varint,15,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
	// contains filtered or unexported fields
}

Job Result.

func (*JobResult) Descriptor deprecated

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

Deprecated: Use JobResult.ProtoReflect.Descriptor instead.

func (*JobResult) GetBody

func (x *JobResult) GetBody() string

func (*JobResult) GetCorrelationId

func (x *JobResult) GetCorrelationId() int64

func (*JobResult) GetError

func (x *JobResult) GetError() string

func (*JobResult) GetResult

func (m *JobResult) GetResult() isJobResult_Result

func (*JobResult) ProtoMessage

func (*JobResult) ProtoMessage()

func (*JobResult) ProtoReflect

func (x *JobResult) ProtoReflect() protoreflect.Message

func (*JobResult) Reset

func (x *JobResult) Reset()

func (*JobResult) String

func (x *JobResult) String() string

type JobResult_Body

type JobResult_Body struct {
	Body string `protobuf:"bytes,1,opt,name=body,proto3,oneof"`
}

type JobResult_Error

type JobResult_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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