2023-08-03 18:42:04 +00:00
|
|
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
2023-09-22 16:51:15 +00:00
|
|
|
// source: pbcatalog/v2beta1/failover_policy.proto
|
2023-08-03 18:42:04 +00:00
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
package catalogv2beta1
|
2023-08-03 18:42:04 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"google.golang.org/protobuf/proto"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *FailoverPolicy) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *FailoverPolicy) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *FailoverConfig) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *FailoverConfig) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *FailoverDestination) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *FailoverDestination) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|