Files
tasks/chasm/lib/scheduler/gen/schedulerpb/v1/tasks.go-helpers.pb.go
Lina JodoinandGitHub 4c140933cf [Scheduled Actions] CHASM Scheduler (#8255)
## What changed?
- Merge PR combining the previous PRs: #8164, #8165, #8166, #8167,
#8168, #8169

## Why?
- All of those PRs are interdependent and cannot be merged individually
cleanly. Sending a single merge commit PR to be merged to main.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks
- It's still disabled.
2025-09-02 19:50:45 +00:00

192 lines
5.1 KiB
Go

// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
package schedulerpb
import (
"google.golang.org/protobuf/proto"
)
// Marshal an object of type SchedulerIdleTask to the protobuf v3 wire format
func (val *SchedulerIdleTask) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type SchedulerIdleTask from the protobuf v3 wire format
func (val *SchedulerIdleTask) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *SchedulerIdleTask) Size() int {
return proto.Size(val)
}
// Equal returns whether two SchedulerIdleTask values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *SchedulerIdleTask) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *SchedulerIdleTask
switch t := that.(type) {
case *SchedulerIdleTask:
that1 = t
case SchedulerIdleTask:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type GeneratorTask to the protobuf v3 wire format
func (val *GeneratorTask) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type GeneratorTask from the protobuf v3 wire format
func (val *GeneratorTask) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *GeneratorTask) Size() int {
return proto.Size(val)
}
// Equal returns whether two GeneratorTask values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *GeneratorTask) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *GeneratorTask
switch t := that.(type) {
case *GeneratorTask:
that1 = t
case GeneratorTask:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type InvokerProcessBufferTask to the protobuf v3 wire format
func (val *InvokerProcessBufferTask) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type InvokerProcessBufferTask from the protobuf v3 wire format
func (val *InvokerProcessBufferTask) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *InvokerProcessBufferTask) Size() int {
return proto.Size(val)
}
// Equal returns whether two InvokerProcessBufferTask values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *InvokerProcessBufferTask) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *InvokerProcessBufferTask
switch t := that.(type) {
case *InvokerProcessBufferTask:
that1 = t
case InvokerProcessBufferTask:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type InvokerExecuteTask to the protobuf v3 wire format
func (val *InvokerExecuteTask) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type InvokerExecuteTask from the protobuf v3 wire format
func (val *InvokerExecuteTask) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *InvokerExecuteTask) Size() int {
return proto.Size(val)
}
// Equal returns whether two InvokerExecuteTask values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *InvokerExecuteTask) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *InvokerExecuteTask
switch t := that.(type) {
case *InvokerExecuteTask:
that1 = t
case InvokerExecuteTask:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type BackfillerTask to the protobuf v3 wire format
func (val *BackfillerTask) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type BackfillerTask from the protobuf v3 wire format
func (val *BackfillerTask) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *BackfillerTask) Size() int {
return proto.Size(val)
}
// Equal returns whether two BackfillerTask values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *BackfillerTask) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *BackfillerTask
switch t := that.(type) {
case *BackfillerTask:
that1 = t
case BackfillerTask:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}