// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: networking/v1/mcp_bridge.proto package v1 import ( bytes "bytes" fmt "fmt" github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb" proto "github.com/gogo/protobuf/proto" _ "istio.io/gogo-genproto/googleapis/google/api" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // MarshalJSON is a custom marshaler for McpBridge func (this *McpBridge) MarshalJSON() ([]byte, error) { str, err := McpBridgeMarshaler.MarshalToString(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for McpBridge func (this *McpBridge) UnmarshalJSON(b []byte) error { return McpBridgeUnmarshaler.Unmarshal(bytes.NewReader(b), this) } // MarshalJSON is a custom marshaler for RegistryConfig func (this *RegistryConfig) MarshalJSON() ([]byte, error) { str, err := McpBridgeMarshaler.MarshalToString(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for RegistryConfig func (this *RegistryConfig) UnmarshalJSON(b []byte) error { return McpBridgeUnmarshaler.Unmarshal(bytes.NewReader(b), this) } var ( McpBridgeMarshaler = &github_com_gogo_protobuf_jsonpb.Marshaler{} McpBridgeUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{AllowUnknownFields: true} )