Documentation ¶
Index ¶
- Variables
- type BatchRequest
- type BatchResponse
- type Job
- type JobResult
- func (*JobResult) Descriptor() ([]byte, []int)deprecated
- func (x *JobResult) GetBody() string
- func (x *JobResult) GetCorrelationId() int64
- func (x *JobResult) GetError() string
- func (m *JobResult) GetResult() isJobResult_Result
- func (*JobResult) ProtoMessage()
- func (x *JobResult) ProtoReflect() protoreflect.Message
- func (x *JobResult) Reset()
- func (x *JobResult) String() string
- type JobResult_Body
- type JobResult_Error
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) GetCorrelationId ¶
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
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) GetCorrelationId ¶
func (*JobResult) ProtoMessage ¶
func (*JobResult) ProtoMessage()
func (*JobResult) ProtoReflect ¶
func (x *JobResult) ProtoReflect() protoreflect.Message
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"`
}
Click to show internal directories.
Click to hide internal directories.