consul/proto-public/pbtenancy/v2beta1/partition.pb.binary.go

19 lines
460 B
Go
Raw Normal View History

// Code generated by protoc-gen-go-binary. DO NOT EDIT.
// source: pbtenancy/v2beta1/partition.proto
package tenancyv2beta1
import (
"google.golang.org/protobuf/proto"
)
// MarshalBinary implements encoding.BinaryMarshaler
func (msg *Partition) MarshalBinary() ([]byte, error) {
return proto.Marshal(msg)
}
// UnmarshalBinary implements encoding.BinaryUnmarshaler
func (msg *Partition) UnmarshalBinary(b []byte) error {
return proto.Unmarshal(b, msg)
}