// Code generated by protoc-json-shim. DO NOT EDIT. package catalogv2beta1 import ( protojson "google.golang.org/protobuf/encoding/protojson" ) // MarshalJSON is a custom marshaler for Service func (this *Service) MarshalJSON() ([]byte, error) { str, err := ServiceMarshaler.Marshal(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for Service func (this *Service) UnmarshalJSON(b []byte) error { return ServiceUnmarshaler.Unmarshal(b, this) } // MarshalJSON is a custom marshaler for ServicePort func (this *ServicePort) MarshalJSON() ([]byte, error) { str, err := ServiceMarshaler.Marshal(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for ServicePort func (this *ServicePort) UnmarshalJSON(b []byte) error { return ServiceUnmarshaler.Unmarshal(b, this) } var ( ServiceMarshaler = &protojson.MarshalOptions{} ServiceUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )