Files
tasks/chasm/lib/scheduler/gen/schedulerpb/v1/request_response.go-helpers.pb.go
Lina JodoinandGitHub 8b9522095c [Scheduled Actions] Wire in sentinels for CreateSchedule to prevent cross-ID-space collisions (#9594)
## What changed?
- Adds sentinel creation to both V1 and CHASM codepath
- Adds new CreateSentinel RPC to the CHASM handler

## Why?
- Prevents duplication across separate ID spaces

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

## Potential risks
- The biggets risk is accidentally having a sentinel leak into one of
our existing outputs, such as the List* APIs. I believe these cases have
lots of functional test coverage around asserting the right number of
items are coming back; I also did a deep dive into this earlier in
development.
2026-03-24 00:05:00 +00:00

673 lines
19 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 CreateScheduleRequest to the protobuf v3 wire format
func (val *CreateScheduleRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CreateScheduleRequest from the protobuf v3 wire format
func (val *CreateScheduleRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CreateScheduleRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two CreateScheduleRequest 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 *CreateScheduleRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CreateScheduleRequest
switch t := that.(type) {
case *CreateScheduleRequest:
that1 = t
case CreateScheduleRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type CreateScheduleResponse to the protobuf v3 wire format
func (val *CreateScheduleResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CreateScheduleResponse from the protobuf v3 wire format
func (val *CreateScheduleResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CreateScheduleResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two CreateScheduleResponse 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 *CreateScheduleResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CreateScheduleResponse
switch t := that.(type) {
case *CreateScheduleResponse:
that1 = t
case CreateScheduleResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type UpdateScheduleRequest to the protobuf v3 wire format
func (val *UpdateScheduleRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type UpdateScheduleRequest from the protobuf v3 wire format
func (val *UpdateScheduleRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *UpdateScheduleRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two UpdateScheduleRequest 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 *UpdateScheduleRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *UpdateScheduleRequest
switch t := that.(type) {
case *UpdateScheduleRequest:
that1 = t
case UpdateScheduleRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type UpdateScheduleResponse to the protobuf v3 wire format
func (val *UpdateScheduleResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type UpdateScheduleResponse from the protobuf v3 wire format
func (val *UpdateScheduleResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *UpdateScheduleResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two UpdateScheduleResponse 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 *UpdateScheduleResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *UpdateScheduleResponse
switch t := that.(type) {
case *UpdateScheduleResponse:
that1 = t
case UpdateScheduleResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type PatchScheduleRequest to the protobuf v3 wire format
func (val *PatchScheduleRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type PatchScheduleRequest from the protobuf v3 wire format
func (val *PatchScheduleRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *PatchScheduleRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two PatchScheduleRequest 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 *PatchScheduleRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *PatchScheduleRequest
switch t := that.(type) {
case *PatchScheduleRequest:
that1 = t
case PatchScheduleRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type PatchScheduleResponse to the protobuf v3 wire format
func (val *PatchScheduleResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type PatchScheduleResponse from the protobuf v3 wire format
func (val *PatchScheduleResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *PatchScheduleResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two PatchScheduleResponse 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 *PatchScheduleResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *PatchScheduleResponse
switch t := that.(type) {
case *PatchScheduleResponse:
that1 = t
case PatchScheduleResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type DeleteScheduleRequest to the protobuf v3 wire format
func (val *DeleteScheduleRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type DeleteScheduleRequest from the protobuf v3 wire format
func (val *DeleteScheduleRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *DeleteScheduleRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two DeleteScheduleRequest 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 *DeleteScheduleRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *DeleteScheduleRequest
switch t := that.(type) {
case *DeleteScheduleRequest:
that1 = t
case DeleteScheduleRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type DeleteScheduleResponse to the protobuf v3 wire format
func (val *DeleteScheduleResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type DeleteScheduleResponse from the protobuf v3 wire format
func (val *DeleteScheduleResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *DeleteScheduleResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two DeleteScheduleResponse 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 *DeleteScheduleResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *DeleteScheduleResponse
switch t := that.(type) {
case *DeleteScheduleResponse:
that1 = t
case DeleteScheduleResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type DescribeScheduleRequest to the protobuf v3 wire format
func (val *DescribeScheduleRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type DescribeScheduleRequest from the protobuf v3 wire format
func (val *DescribeScheduleRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *DescribeScheduleRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two DescribeScheduleRequest 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 *DescribeScheduleRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *DescribeScheduleRequest
switch t := that.(type) {
case *DescribeScheduleRequest:
that1 = t
case DescribeScheduleRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type DescribeScheduleResponse to the protobuf v3 wire format
func (val *DescribeScheduleResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type DescribeScheduleResponse from the protobuf v3 wire format
func (val *DescribeScheduleResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *DescribeScheduleResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two DescribeScheduleResponse 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 *DescribeScheduleResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *DescribeScheduleResponse
switch t := that.(type) {
case *DescribeScheduleResponse:
that1 = t
case DescribeScheduleResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type ListScheduleMatchingTimesRequest to the protobuf v3 wire format
func (val *ListScheduleMatchingTimesRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type ListScheduleMatchingTimesRequest from the protobuf v3 wire format
func (val *ListScheduleMatchingTimesRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *ListScheduleMatchingTimesRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two ListScheduleMatchingTimesRequest 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 *ListScheduleMatchingTimesRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *ListScheduleMatchingTimesRequest
switch t := that.(type) {
case *ListScheduleMatchingTimesRequest:
that1 = t
case ListScheduleMatchingTimesRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type ListScheduleMatchingTimesResponse to the protobuf v3 wire format
func (val *ListScheduleMatchingTimesResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type ListScheduleMatchingTimesResponse from the protobuf v3 wire format
func (val *ListScheduleMatchingTimesResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *ListScheduleMatchingTimesResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two ListScheduleMatchingTimesResponse 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 *ListScheduleMatchingTimesResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *ListScheduleMatchingTimesResponse
switch t := that.(type) {
case *ListScheduleMatchingTimesResponse:
that1 = t
case ListScheduleMatchingTimesResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type CreateFromMigrationStateRequest to the protobuf v3 wire format
func (val *CreateFromMigrationStateRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CreateFromMigrationStateRequest from the protobuf v3 wire format
func (val *CreateFromMigrationStateRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CreateFromMigrationStateRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two CreateFromMigrationStateRequest 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 *CreateFromMigrationStateRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CreateFromMigrationStateRequest
switch t := that.(type) {
case *CreateFromMigrationStateRequest:
that1 = t
case CreateFromMigrationStateRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type CreateFromMigrationStateResponse to the protobuf v3 wire format
func (val *CreateFromMigrationStateResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CreateFromMigrationStateResponse from the protobuf v3 wire format
func (val *CreateFromMigrationStateResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CreateFromMigrationStateResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two CreateFromMigrationStateResponse 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 *CreateFromMigrationStateResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CreateFromMigrationStateResponse
switch t := that.(type) {
case *CreateFromMigrationStateResponse:
that1 = t
case CreateFromMigrationStateResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type CreateSentinelRequest to the protobuf v3 wire format
func (val *CreateSentinelRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CreateSentinelRequest from the protobuf v3 wire format
func (val *CreateSentinelRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CreateSentinelRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two CreateSentinelRequest 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 *CreateSentinelRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CreateSentinelRequest
switch t := that.(type) {
case *CreateSentinelRequest:
that1 = t
case CreateSentinelRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type CreateSentinelResponse to the protobuf v3 wire format
func (val *CreateSentinelResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CreateSentinelResponse from the protobuf v3 wire format
func (val *CreateSentinelResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CreateSentinelResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two CreateSentinelResponse 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 *CreateSentinelResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CreateSentinelResponse
switch t := that.(type) {
case *CreateSentinelResponse:
that1 = t
case CreateSentinelResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type MigrateToWorkflowRequest to the protobuf v3 wire format
func (val *MigrateToWorkflowRequest) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type MigrateToWorkflowRequest from the protobuf v3 wire format
func (val *MigrateToWorkflowRequest) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *MigrateToWorkflowRequest) Size() int {
return proto.Size(val)
}
// Equal returns whether two MigrateToWorkflowRequest 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 *MigrateToWorkflowRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *MigrateToWorkflowRequest
switch t := that.(type) {
case *MigrateToWorkflowRequest:
that1 = t
case MigrateToWorkflowRequest:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type MigrateToWorkflowResponse to the protobuf v3 wire format
func (val *MigrateToWorkflowResponse) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type MigrateToWorkflowResponse from the protobuf v3 wire format
func (val *MigrateToWorkflowResponse) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *MigrateToWorkflowResponse) Size() int {
return proto.Size(val)
}
// Equal returns whether two MigrateToWorkflowResponse 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 *MigrateToWorkflowResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *MigrateToWorkflowResponse
switch t := that.(type) {
case *MigrateToWorkflowResponse:
that1 = t
case MigrateToWorkflowResponse:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}