2022-11-14 20:35:12 +00:00
|
|
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
|
|
|
// source: proto/pboperator/operator.proto
|
|
|
|
|
|
|
|
package pboperator
|
|
|
|
|
|
|
|
import (
|
2023-01-06 16:30:54 +00:00
|
|
|
"google.golang.org/protobuf/proto"
|
2022-11-14 20:35:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *TransferLeaderRequest) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *TransferLeaderRequest) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *TransferLeaderResponse) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *TransferLeaderResponse) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|