Files
temporal/api/chasm/v1/message.go-helpers.pb.go
Rodrigo Zhou 6b11e07e8f [Chasm] Introduce proto ChasmExecutionInfo for Visibility (#9652)
## What changed?
Introduce proto types for Visibility:
- `ChasmExecutionInfo`
- `ListChasmExecutionsRequest`
- `ListChasmExecutionsResponse`

Changed VisibilityManager API to use these protos.

## Why?
Make VisibilityManager API more accessible for potential external usage.

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

## Potential risks
2026-03-25 14:18:30 -07:00

44 lines
1.2 KiB
Go

// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
package chasm
import (
"google.golang.org/protobuf/proto"
)
// Marshal an object of type VisibilityExecutionInfo to the protobuf v3 wire format
func (val *VisibilityExecutionInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type VisibilityExecutionInfo from the protobuf v3 wire format
func (val *VisibilityExecutionInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *VisibilityExecutionInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two VisibilityExecutionInfo 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 *VisibilityExecutionInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *VisibilityExecutionInfo
switch t := that.(type) {
case *VisibilityExecutionInfo:
that1 = t
case VisibilityExecutionInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}