mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? - Use archetypeID everywhere in history service and pass them to persistence ## Why? - Required for separate ID space work. ## How did you test it? - [x] built - [ ] run locally and tested manually - [x] covered by existing tests - [x] added new unit test(s) - [ ] added new functional test(s)
858 lines
24 KiB
Go
858 lines
24 KiB
Go
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
|
package repication
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// Marshal an object of type ReplicationTask to the protobuf v3 wire format
|
|
func (val *ReplicationTask) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type ReplicationTask from the protobuf v3 wire format
|
|
func (val *ReplicationTask) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *ReplicationTask) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two ReplicationTask 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 *ReplicationTask) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *ReplicationTask
|
|
switch t := that.(type) {
|
|
case *ReplicationTask:
|
|
that1 = t
|
|
case ReplicationTask:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type ReplicationToken to the protobuf v3 wire format
|
|
func (val *ReplicationToken) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type ReplicationToken from the protobuf v3 wire format
|
|
func (val *ReplicationToken) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *ReplicationToken) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two ReplicationToken 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 *ReplicationToken) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *ReplicationToken
|
|
switch t := that.(type) {
|
|
case *ReplicationToken:
|
|
that1 = t
|
|
case ReplicationToken:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncShardStatus to the protobuf v3 wire format
|
|
func (val *SyncShardStatus) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncShardStatus from the protobuf v3 wire format
|
|
func (val *SyncShardStatus) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncShardStatus) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncShardStatus 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 *SyncShardStatus) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncShardStatus
|
|
switch t := that.(type) {
|
|
case *SyncShardStatus:
|
|
that1 = t
|
|
case SyncShardStatus:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncReplicationState to the protobuf v3 wire format
|
|
func (val *SyncReplicationState) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncReplicationState from the protobuf v3 wire format
|
|
func (val *SyncReplicationState) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncReplicationState) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncReplicationState 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 *SyncReplicationState) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncReplicationState
|
|
switch t := that.(type) {
|
|
case *SyncReplicationState:
|
|
that1 = t
|
|
case SyncReplicationState:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type ReplicationState to the protobuf v3 wire format
|
|
func (val *ReplicationState) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type ReplicationState from the protobuf v3 wire format
|
|
func (val *ReplicationState) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *ReplicationState) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two ReplicationState 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 *ReplicationState) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *ReplicationState
|
|
switch t := that.(type) {
|
|
case *ReplicationState:
|
|
that1 = t
|
|
case ReplicationState:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type ReplicationMessages to the protobuf v3 wire format
|
|
func (val *ReplicationMessages) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type ReplicationMessages from the protobuf v3 wire format
|
|
func (val *ReplicationMessages) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *ReplicationMessages) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two ReplicationMessages 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 *ReplicationMessages) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *ReplicationMessages
|
|
switch t := that.(type) {
|
|
case *ReplicationMessages:
|
|
that1 = t
|
|
case ReplicationMessages:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type WorkflowReplicationMessages to the protobuf v3 wire format
|
|
func (val *WorkflowReplicationMessages) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type WorkflowReplicationMessages from the protobuf v3 wire format
|
|
func (val *WorkflowReplicationMessages) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *WorkflowReplicationMessages) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two WorkflowReplicationMessages 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 *WorkflowReplicationMessages) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *WorkflowReplicationMessages
|
|
switch t := that.(type) {
|
|
case *WorkflowReplicationMessages:
|
|
that1 = t
|
|
case WorkflowReplicationMessages:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type ReplicationTaskInfo to the protobuf v3 wire format
|
|
func (val *ReplicationTaskInfo) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type ReplicationTaskInfo from the protobuf v3 wire format
|
|
func (val *ReplicationTaskInfo) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *ReplicationTaskInfo) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two ReplicationTaskInfo 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 *ReplicationTaskInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *ReplicationTaskInfo
|
|
switch t := that.(type) {
|
|
case *ReplicationTaskInfo:
|
|
that1 = t
|
|
case ReplicationTaskInfo:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type NamespaceTaskAttributes to the protobuf v3 wire format
|
|
func (val *NamespaceTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type NamespaceTaskAttributes from the protobuf v3 wire format
|
|
func (val *NamespaceTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *NamespaceTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two NamespaceTaskAttributes 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 *NamespaceTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *NamespaceTaskAttributes
|
|
switch t := that.(type) {
|
|
case *NamespaceTaskAttributes:
|
|
that1 = t
|
|
case NamespaceTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncShardStatusTaskAttributes to the protobuf v3 wire format
|
|
func (val *SyncShardStatusTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncShardStatusTaskAttributes from the protobuf v3 wire format
|
|
func (val *SyncShardStatusTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncShardStatusTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncShardStatusTaskAttributes 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 *SyncShardStatusTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncShardStatusTaskAttributes
|
|
switch t := that.(type) {
|
|
case *SyncShardStatusTaskAttributes:
|
|
that1 = t
|
|
case SyncShardStatusTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncActivityTaskAttributes to the protobuf v3 wire format
|
|
func (val *SyncActivityTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncActivityTaskAttributes from the protobuf v3 wire format
|
|
func (val *SyncActivityTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncActivityTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncActivityTaskAttributes 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 *SyncActivityTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncActivityTaskAttributes
|
|
switch t := that.(type) {
|
|
case *SyncActivityTaskAttributes:
|
|
that1 = t
|
|
case SyncActivityTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type HistoryTaskAttributes to the protobuf v3 wire format
|
|
func (val *HistoryTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type HistoryTaskAttributes from the protobuf v3 wire format
|
|
func (val *HistoryTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *HistoryTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two HistoryTaskAttributes 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 *HistoryTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *HistoryTaskAttributes
|
|
switch t := that.(type) {
|
|
case *HistoryTaskAttributes:
|
|
that1 = t
|
|
case HistoryTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncWorkflowStateTaskAttributes to the protobuf v3 wire format
|
|
func (val *SyncWorkflowStateTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncWorkflowStateTaskAttributes from the protobuf v3 wire format
|
|
func (val *SyncWorkflowStateTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncWorkflowStateTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncWorkflowStateTaskAttributes 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 *SyncWorkflowStateTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncWorkflowStateTaskAttributes
|
|
switch t := that.(type) {
|
|
case *SyncWorkflowStateTaskAttributes:
|
|
that1 = t
|
|
case SyncWorkflowStateTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type TaskQueueUserDataAttributes to the protobuf v3 wire format
|
|
func (val *TaskQueueUserDataAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type TaskQueueUserDataAttributes from the protobuf v3 wire format
|
|
func (val *TaskQueueUserDataAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *TaskQueueUserDataAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two TaskQueueUserDataAttributes 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 *TaskQueueUserDataAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *TaskQueueUserDataAttributes
|
|
switch t := that.(type) {
|
|
case *TaskQueueUserDataAttributes:
|
|
that1 = t
|
|
case TaskQueueUserDataAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncHSMAttributes to the protobuf v3 wire format
|
|
func (val *SyncHSMAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncHSMAttributes from the protobuf v3 wire format
|
|
func (val *SyncHSMAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncHSMAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncHSMAttributes 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 *SyncHSMAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncHSMAttributes
|
|
switch t := that.(type) {
|
|
case *SyncHSMAttributes:
|
|
that1 = t
|
|
case SyncHSMAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type BackfillHistoryTaskAttributes to the protobuf v3 wire format
|
|
func (val *BackfillHistoryTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type BackfillHistoryTaskAttributes from the protobuf v3 wire format
|
|
func (val *BackfillHistoryTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *BackfillHistoryTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two BackfillHistoryTaskAttributes 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 *BackfillHistoryTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *BackfillHistoryTaskAttributes
|
|
switch t := that.(type) {
|
|
case *BackfillHistoryTaskAttributes:
|
|
that1 = t
|
|
case BackfillHistoryTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type NewRunInfo to the protobuf v3 wire format
|
|
func (val *NewRunInfo) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type NewRunInfo from the protobuf v3 wire format
|
|
func (val *NewRunInfo) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *NewRunInfo) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two NewRunInfo 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 *NewRunInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *NewRunInfo
|
|
switch t := that.(type) {
|
|
case *NewRunInfo:
|
|
that1 = t
|
|
case NewRunInfo:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncWorkflowStateMutationAttributes to the protobuf v3 wire format
|
|
func (val *SyncWorkflowStateMutationAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncWorkflowStateMutationAttributes from the protobuf v3 wire format
|
|
func (val *SyncWorkflowStateMutationAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncWorkflowStateMutationAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncWorkflowStateMutationAttributes 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 *SyncWorkflowStateMutationAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncWorkflowStateMutationAttributes
|
|
switch t := that.(type) {
|
|
case *SyncWorkflowStateMutationAttributes:
|
|
that1 = t
|
|
case SyncWorkflowStateMutationAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncWorkflowStateSnapshotAttributes to the protobuf v3 wire format
|
|
func (val *SyncWorkflowStateSnapshotAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncWorkflowStateSnapshotAttributes from the protobuf v3 wire format
|
|
func (val *SyncWorkflowStateSnapshotAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncWorkflowStateSnapshotAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncWorkflowStateSnapshotAttributes 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 *SyncWorkflowStateSnapshotAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncWorkflowStateSnapshotAttributes
|
|
switch t := that.(type) {
|
|
case *SyncWorkflowStateSnapshotAttributes:
|
|
that1 = t
|
|
case SyncWorkflowStateSnapshotAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type VerifyVersionedTransitionTaskAttributes to the protobuf v3 wire format
|
|
func (val *VerifyVersionedTransitionTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type VerifyVersionedTransitionTaskAttributes from the protobuf v3 wire format
|
|
func (val *VerifyVersionedTransitionTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *VerifyVersionedTransitionTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two VerifyVersionedTransitionTaskAttributes 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 *VerifyVersionedTransitionTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *VerifyVersionedTransitionTaskAttributes
|
|
switch t := that.(type) {
|
|
case *VerifyVersionedTransitionTaskAttributes:
|
|
that1 = t
|
|
case VerifyVersionedTransitionTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type SyncVersionedTransitionTaskAttributes to the protobuf v3 wire format
|
|
func (val *SyncVersionedTransitionTaskAttributes) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type SyncVersionedTransitionTaskAttributes from the protobuf v3 wire format
|
|
func (val *SyncVersionedTransitionTaskAttributes) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *SyncVersionedTransitionTaskAttributes) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two SyncVersionedTransitionTaskAttributes 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 *SyncVersionedTransitionTaskAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *SyncVersionedTransitionTaskAttributes
|
|
switch t := that.(type) {
|
|
case *SyncVersionedTransitionTaskAttributes:
|
|
that1 = t
|
|
case SyncVersionedTransitionTaskAttributes:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type VersionedTransitionArtifact to the protobuf v3 wire format
|
|
func (val *VersionedTransitionArtifact) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type VersionedTransitionArtifact from the protobuf v3 wire format
|
|
func (val *VersionedTransitionArtifact) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *VersionedTransitionArtifact) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two VersionedTransitionArtifact 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 *VersionedTransitionArtifact) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *VersionedTransitionArtifact
|
|
switch t := that.(type) {
|
|
case *VersionedTransitionArtifact:
|
|
that1 = t
|
|
case VersionedTransitionArtifact:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type MigrationExecutionInfo to the protobuf v3 wire format
|
|
func (val *MigrationExecutionInfo) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type MigrationExecutionInfo from the protobuf v3 wire format
|
|
func (val *MigrationExecutionInfo) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *MigrationExecutionInfo) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two MigrationExecutionInfo 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 *MigrationExecutionInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *MigrationExecutionInfo
|
|
switch t := that.(type) {
|
|
case *MigrationExecutionInfo:
|
|
that1 = t
|
|
case MigrationExecutionInfo:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|