"use strict";(self.webpackChunkgrpc_workshop_doc=self.webpackChunkgrpc_workshop_doc||[]).push([[5200],{3905:(e,t,r)=>{r.d(t,{Zo:()=>i,kt:()=>k});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,k=u["".concat(l,".").concat(f)]||u[f]||d[f]||a;return r?n.createElement(k,c(c({ref:t},i),{},{components:r})):n.createElement(k,c({ref:t},i))}));function k(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var p=2;p<a;p++)c[p]=r[p];return n.createElement.apply(null,c)}return n.createElement.apply(null,r)}f.displayName="MDXCreateElement"},3876:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var n=r(7462),o=(r(7294),r(3905));const a={},c="Base classes not being generated",s={unversionedId:"Day 1/project-work/look-out",id:"Day 1/project-work/look-out",title:"Base classes not being generated",description:"- look after /obj/net7/debug/protos see there what their names are",source:"@site/docs/Day 1/21 - project-work/look-out.md",sourceDirName:"Day 1/21 - project-work",slug:"/Day 1/project-work/look-out",permalink:"/docs/Day 1/project-work/look-out",draft:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/Day 1/21 - project-work/look-out.md",tags:[],version:"current",frontMatter:{},sidebar:"day1",previous:{title:"Talk Service",permalink:"/docs/Day 1/project-work/talk-service/"}},l={},p=[],i={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(u,(0,n.Z)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"base-classes-not-being-generated"},"Base classes not being generated"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"look after /obj/net7/debug/protos see there what their names are"),(0,o.kt)("li",{parentName:"ul"},"make sure you import the right C# namespace into your service")),(0,o.kt)("p",null,"Transcoding:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},'get: "/v1/speakers/{speakerId}" - if speakerId is not found in the SpeakerFilterRequest, it will fail to run')),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-csharp"},'rpc GetById (SpeakerFilterRequest) returns (SpeakerResponse) {\n   option (google.api.http) = {\n    get: "/v1/speakers/{speakerId}"\n};} \n')),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"route templates shouldn't end with '/'")))}d.isMDXComponent=!0}}]);