Schedule.java 87 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: taihe.proto
  3. package com.ywt.gapi.third.taihe;
  4. /**
  5. * <pre>
  6. *排班记录
  7. * </pre>
  8. *
  9. * Protobuf type {@code com.ywt.gapi.third.taihe.Schedule}
  10. */
  11. public final class Schedule extends
  12. com.google.protobuf.GeneratedMessageV3 implements
  13. // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.Schedule)
  14. ScheduleOrBuilder {
  15. // Use Schedule.newBuilder() to construct.
  16. private Schedule(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  17. super(builder);
  18. }
  19. private Schedule() {
  20. scheduleItemCode_ = "";
  21. serviceDate_ = "";
  22. datePeriod_ = 0;
  23. datePeriodName_ = "";
  24. deptCode_ = "";
  25. deptName_ = "";
  26. doctorCode_ = "";
  27. doctorName_ = "";
  28. avatar_ = "";
  29. doctorTitle_ = "";
  30. doctorSpec_ = "";
  31. fee_ = 0;
  32. regFee_ = 0;
  33. checkupFee_ = 0;
  34. serviceFee_ = 0;
  35. otherFee_ = 0;
  36. admitAddress_ = "";
  37. scheduleStatus_ = 0;
  38. availableTotalNum_ = 0;
  39. availableLeftNum_ = 0;
  40. serviceCode_ = "";
  41. serviceName_ = "";
  42. startTime_ = "";
  43. endTime_ = "";
  44. availableNumStr_ = "";
  45. }
  46. @java.lang.Override
  47. public final com.google.protobuf.UnknownFieldSet
  48. getUnknownFields() {
  49. return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  50. }
  51. private Schedule(
  52. com.google.protobuf.CodedInputStream input,
  53. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  54. throws com.google.protobuf.InvalidProtocolBufferException {
  55. this();
  56. int mutable_bitField0_ = 0;
  57. try {
  58. boolean done = false;
  59. while (!done) {
  60. int tag = input.readTag();
  61. switch (tag) {
  62. case 0:
  63. done = true;
  64. break;
  65. default: {
  66. if (!input.skipField(tag)) {
  67. done = true;
  68. }
  69. break;
  70. }
  71. case 10: {
  72. java.lang.String s = input.readStringRequireUtf8();
  73. scheduleItemCode_ = s;
  74. break;
  75. }
  76. case 18: {
  77. java.lang.String s = input.readStringRequireUtf8();
  78. serviceDate_ = s;
  79. break;
  80. }
  81. case 24: {
  82. datePeriod_ = input.readInt32();
  83. break;
  84. }
  85. case 34: {
  86. java.lang.String s = input.readStringRequireUtf8();
  87. datePeriodName_ = s;
  88. break;
  89. }
  90. case 42: {
  91. java.lang.String s = input.readStringRequireUtf8();
  92. deptCode_ = s;
  93. break;
  94. }
  95. case 50: {
  96. java.lang.String s = input.readStringRequireUtf8();
  97. deptName_ = s;
  98. break;
  99. }
  100. case 58: {
  101. java.lang.String s = input.readStringRequireUtf8();
  102. doctorCode_ = s;
  103. break;
  104. }
  105. case 66: {
  106. java.lang.String s = input.readStringRequireUtf8();
  107. doctorName_ = s;
  108. break;
  109. }
  110. case 74: {
  111. java.lang.String s = input.readStringRequireUtf8();
  112. avatar_ = s;
  113. break;
  114. }
  115. case 82: {
  116. java.lang.String s = input.readStringRequireUtf8();
  117. doctorTitle_ = s;
  118. break;
  119. }
  120. case 90: {
  121. java.lang.String s = input.readStringRequireUtf8();
  122. doctorSpec_ = s;
  123. break;
  124. }
  125. case 96: {
  126. fee_ = input.readInt32();
  127. break;
  128. }
  129. case 104: {
  130. regFee_ = input.readInt32();
  131. break;
  132. }
  133. case 112: {
  134. checkupFee_ = input.readInt32();
  135. break;
  136. }
  137. case 120: {
  138. serviceFee_ = input.readInt32();
  139. break;
  140. }
  141. case 128: {
  142. otherFee_ = input.readInt32();
  143. break;
  144. }
  145. case 138: {
  146. java.lang.String s = input.readStringRequireUtf8();
  147. admitAddress_ = s;
  148. break;
  149. }
  150. case 144: {
  151. scheduleStatus_ = input.readInt32();
  152. break;
  153. }
  154. case 152: {
  155. availableTotalNum_ = input.readInt32();
  156. break;
  157. }
  158. case 160: {
  159. availableLeftNum_ = input.readInt32();
  160. break;
  161. }
  162. case 170: {
  163. java.lang.String s = input.readStringRequireUtf8();
  164. serviceCode_ = s;
  165. break;
  166. }
  167. case 178: {
  168. java.lang.String s = input.readStringRequireUtf8();
  169. serviceName_ = s;
  170. break;
  171. }
  172. case 186: {
  173. java.lang.String s = input.readStringRequireUtf8();
  174. startTime_ = s;
  175. break;
  176. }
  177. case 194: {
  178. java.lang.String s = input.readStringRequireUtf8();
  179. endTime_ = s;
  180. break;
  181. }
  182. case 202: {
  183. java.lang.String s = input.readStringRequireUtf8();
  184. availableNumStr_ = s;
  185. break;
  186. }
  187. }
  188. }
  189. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  190. throw e.setUnfinishedMessage(this);
  191. } catch (java.io.IOException e) {
  192. throw new com.google.protobuf.InvalidProtocolBufferException(
  193. e).setUnfinishedMessage(this);
  194. } finally {
  195. makeExtensionsImmutable();
  196. }
  197. }
  198. public static final com.google.protobuf.Descriptors.Descriptor
  199. getDescriptor() {
  200. return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Schedule_descriptor;
  201. }
  202. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  203. internalGetFieldAccessorTable() {
  204. return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Schedule_fieldAccessorTable
  205. .ensureFieldAccessorsInitialized(
  206. com.ywt.gapi.third.taihe.Schedule.class, com.ywt.gapi.third.taihe.Schedule.Builder.class);
  207. }
  208. public static final int SCHEDULEITEMCODE_FIELD_NUMBER = 1;
  209. private volatile java.lang.Object scheduleItemCode_;
  210. /**
  211. * <pre>
  212. *门诊排班项记录标识
  213. * </pre>
  214. *
  215. * <code>string scheduleItemCode = 1;</code>
  216. */
  217. public java.lang.String getScheduleItemCode() {
  218. java.lang.Object ref = scheduleItemCode_;
  219. if (ref instanceof java.lang.String) {
  220. return (java.lang.String) ref;
  221. } else {
  222. com.google.protobuf.ByteString bs =
  223. (com.google.protobuf.ByteString) ref;
  224. java.lang.String s = bs.toStringUtf8();
  225. scheduleItemCode_ = s;
  226. return s;
  227. }
  228. }
  229. /**
  230. * <pre>
  231. *门诊排班项记录标识
  232. * </pre>
  233. *
  234. * <code>string scheduleItemCode = 1;</code>
  235. */
  236. public com.google.protobuf.ByteString
  237. getScheduleItemCodeBytes() {
  238. java.lang.Object ref = scheduleItemCode_;
  239. if (ref instanceof java.lang.String) {
  240. com.google.protobuf.ByteString b =
  241. com.google.protobuf.ByteString.copyFromUtf8(
  242. (java.lang.String) ref);
  243. scheduleItemCode_ = b;
  244. return b;
  245. } else {
  246. return (com.google.protobuf.ByteString) ref;
  247. }
  248. }
  249. public static final int SERVICEDATE_FIELD_NUMBER = 2;
  250. private volatile java.lang.Object serviceDate_;
  251. /**
  252. * <pre>
  253. *门诊排班日期(YYYY-MM-DD)
  254. * </pre>
  255. *
  256. * <code>string serviceDate = 2;</code>
  257. */
  258. public java.lang.String getServiceDate() {
  259. java.lang.Object ref = serviceDate_;
  260. if (ref instanceof java.lang.String) {
  261. return (java.lang.String) ref;
  262. } else {
  263. com.google.protobuf.ByteString bs =
  264. (com.google.protobuf.ByteString) ref;
  265. java.lang.String s = bs.toStringUtf8();
  266. serviceDate_ = s;
  267. return s;
  268. }
  269. }
  270. /**
  271. * <pre>
  272. *门诊排班日期(YYYY-MM-DD)
  273. * </pre>
  274. *
  275. * <code>string serviceDate = 2;</code>
  276. */
  277. public com.google.protobuf.ByteString
  278. getServiceDateBytes() {
  279. java.lang.Object ref = serviceDate_;
  280. if (ref instanceof java.lang.String) {
  281. com.google.protobuf.ByteString b =
  282. com.google.protobuf.ByteString.copyFromUtf8(
  283. (java.lang.String) ref);
  284. serviceDate_ = b;
  285. return b;
  286. } else {
  287. return (com.google.protobuf.ByteString) ref;
  288. }
  289. }
  290. public static final int DATEPERIOD_FIELD_NUMBER = 3;
  291. private int datePeriod_;
  292. /**
  293. * <pre>
  294. *排班时段代码
  295. * </pre>
  296. *
  297. * <code>int32 datePeriod = 3;</code>
  298. */
  299. public int getDatePeriod() {
  300. return datePeriod_;
  301. }
  302. public static final int DATEPERIODNAME_FIELD_NUMBER = 4;
  303. private volatile java.lang.Object datePeriodName_;
  304. /**
  305. * <pre>
  306. *排班时段名称
  307. * </pre>
  308. *
  309. * <code>string datePeriodName = 4;</code>
  310. */
  311. public java.lang.String getDatePeriodName() {
  312. java.lang.Object ref = datePeriodName_;
  313. if (ref instanceof java.lang.String) {
  314. return (java.lang.String) ref;
  315. } else {
  316. com.google.protobuf.ByteString bs =
  317. (com.google.protobuf.ByteString) ref;
  318. java.lang.String s = bs.toStringUtf8();
  319. datePeriodName_ = s;
  320. return s;
  321. }
  322. }
  323. /**
  324. * <pre>
  325. *排班时段名称
  326. * </pre>
  327. *
  328. * <code>string datePeriodName = 4;</code>
  329. */
  330. public com.google.protobuf.ByteString
  331. getDatePeriodNameBytes() {
  332. java.lang.Object ref = datePeriodName_;
  333. if (ref instanceof java.lang.String) {
  334. com.google.protobuf.ByteString b =
  335. com.google.protobuf.ByteString.copyFromUtf8(
  336. (java.lang.String) ref);
  337. datePeriodName_ = b;
  338. return b;
  339. } else {
  340. return (com.google.protobuf.ByteString) ref;
  341. }
  342. }
  343. public static final int DEPTCODE_FIELD_NUMBER = 5;
  344. private volatile java.lang.Object deptCode_;
  345. /**
  346. * <pre>
  347. *科室代码
  348. * </pre>
  349. *
  350. * <code>string deptCode = 5;</code>
  351. */
  352. public java.lang.String getDeptCode() {
  353. java.lang.Object ref = deptCode_;
  354. if (ref instanceof java.lang.String) {
  355. return (java.lang.String) ref;
  356. } else {
  357. com.google.protobuf.ByteString bs =
  358. (com.google.protobuf.ByteString) ref;
  359. java.lang.String s = bs.toStringUtf8();
  360. deptCode_ = s;
  361. return s;
  362. }
  363. }
  364. /**
  365. * <pre>
  366. *科室代码
  367. * </pre>
  368. *
  369. * <code>string deptCode = 5;</code>
  370. */
  371. public com.google.protobuf.ByteString
  372. getDeptCodeBytes() {
  373. java.lang.Object ref = deptCode_;
  374. if (ref instanceof java.lang.String) {
  375. com.google.protobuf.ByteString b =
  376. com.google.protobuf.ByteString.copyFromUtf8(
  377. (java.lang.String) ref);
  378. deptCode_ = b;
  379. return b;
  380. } else {
  381. return (com.google.protobuf.ByteString) ref;
  382. }
  383. }
  384. public static final int DEPTNAME_FIELD_NUMBER = 6;
  385. private volatile java.lang.Object deptName_;
  386. /**
  387. * <pre>
  388. *科室名称
  389. * </pre>
  390. *
  391. * <code>string deptName = 6;</code>
  392. */
  393. public java.lang.String getDeptName() {
  394. java.lang.Object ref = deptName_;
  395. if (ref instanceof java.lang.String) {
  396. return (java.lang.String) ref;
  397. } else {
  398. com.google.protobuf.ByteString bs =
  399. (com.google.protobuf.ByteString) ref;
  400. java.lang.String s = bs.toStringUtf8();
  401. deptName_ = s;
  402. return s;
  403. }
  404. }
  405. /**
  406. * <pre>
  407. *科室名称
  408. * </pre>
  409. *
  410. * <code>string deptName = 6;</code>
  411. */
  412. public com.google.protobuf.ByteString
  413. getDeptNameBytes() {
  414. java.lang.Object ref = deptName_;
  415. if (ref instanceof java.lang.String) {
  416. com.google.protobuf.ByteString b =
  417. com.google.protobuf.ByteString.copyFromUtf8(
  418. (java.lang.String) ref);
  419. deptName_ = b;
  420. return b;
  421. } else {
  422. return (com.google.protobuf.ByteString) ref;
  423. }
  424. }
  425. public static final int DOCTORCODE_FIELD_NUMBER = 7;
  426. private volatile java.lang.Object doctorCode_;
  427. /**
  428. * <pre>
  429. *医生代码
  430. * </pre>
  431. *
  432. * <code>string doctorCode = 7;</code>
  433. */
  434. public java.lang.String getDoctorCode() {
  435. java.lang.Object ref = doctorCode_;
  436. if (ref instanceof java.lang.String) {
  437. return (java.lang.String) ref;
  438. } else {
  439. com.google.protobuf.ByteString bs =
  440. (com.google.protobuf.ByteString) ref;
  441. java.lang.String s = bs.toStringUtf8();
  442. doctorCode_ = s;
  443. return s;
  444. }
  445. }
  446. /**
  447. * <pre>
  448. *医生代码
  449. * </pre>
  450. *
  451. * <code>string doctorCode = 7;</code>
  452. */
  453. public com.google.protobuf.ByteString
  454. getDoctorCodeBytes() {
  455. java.lang.Object ref = doctorCode_;
  456. if (ref instanceof java.lang.String) {
  457. com.google.protobuf.ByteString b =
  458. com.google.protobuf.ByteString.copyFromUtf8(
  459. (java.lang.String) ref);
  460. doctorCode_ = b;
  461. return b;
  462. } else {
  463. return (com.google.protobuf.ByteString) ref;
  464. }
  465. }
  466. public static final int DOCTORNAME_FIELD_NUMBER = 8;
  467. private volatile java.lang.Object doctorName_;
  468. /**
  469. * <pre>
  470. *医生名称
  471. * </pre>
  472. *
  473. * <code>string doctorName = 8;</code>
  474. */
  475. public java.lang.String getDoctorName() {
  476. java.lang.Object ref = doctorName_;
  477. if (ref instanceof java.lang.String) {
  478. return (java.lang.String) ref;
  479. } else {
  480. com.google.protobuf.ByteString bs =
  481. (com.google.protobuf.ByteString) ref;
  482. java.lang.String s = bs.toStringUtf8();
  483. doctorName_ = s;
  484. return s;
  485. }
  486. }
  487. /**
  488. * <pre>
  489. *医生名称
  490. * </pre>
  491. *
  492. * <code>string doctorName = 8;</code>
  493. */
  494. public com.google.protobuf.ByteString
  495. getDoctorNameBytes() {
  496. java.lang.Object ref = doctorName_;
  497. if (ref instanceof java.lang.String) {
  498. com.google.protobuf.ByteString b =
  499. com.google.protobuf.ByteString.copyFromUtf8(
  500. (java.lang.String) ref);
  501. doctorName_ = b;
  502. return b;
  503. } else {
  504. return (com.google.protobuf.ByteString) ref;
  505. }
  506. }
  507. public static final int AVATAR_FIELD_NUMBER = 9;
  508. private volatile java.lang.Object avatar_;
  509. /**
  510. * <pre>
  511. *医生图片链接
  512. * </pre>
  513. *
  514. * <code>string avatar = 9;</code>
  515. */
  516. public java.lang.String getAvatar() {
  517. java.lang.Object ref = avatar_;
  518. if (ref instanceof java.lang.String) {
  519. return (java.lang.String) ref;
  520. } else {
  521. com.google.protobuf.ByteString bs =
  522. (com.google.protobuf.ByteString) ref;
  523. java.lang.String s = bs.toStringUtf8();
  524. avatar_ = s;
  525. return s;
  526. }
  527. }
  528. /**
  529. * <pre>
  530. *医生图片链接
  531. * </pre>
  532. *
  533. * <code>string avatar = 9;</code>
  534. */
  535. public com.google.protobuf.ByteString
  536. getAvatarBytes() {
  537. java.lang.Object ref = avatar_;
  538. if (ref instanceof java.lang.String) {
  539. com.google.protobuf.ByteString b =
  540. com.google.protobuf.ByteString.copyFromUtf8(
  541. (java.lang.String) ref);
  542. avatar_ = b;
  543. return b;
  544. } else {
  545. return (com.google.protobuf.ByteString) ref;
  546. }
  547. }
  548. public static final int DOCTORTITLE_FIELD_NUMBER = 10;
  549. private volatile java.lang.Object doctorTitle_;
  550. /**
  551. * <pre>
  552. *医生职称
  553. * </pre>
  554. *
  555. * <code>string doctorTitle = 10;</code>
  556. */
  557. public java.lang.String getDoctorTitle() {
  558. java.lang.Object ref = doctorTitle_;
  559. if (ref instanceof java.lang.String) {
  560. return (java.lang.String) ref;
  561. } else {
  562. com.google.protobuf.ByteString bs =
  563. (com.google.protobuf.ByteString) ref;
  564. java.lang.String s = bs.toStringUtf8();
  565. doctorTitle_ = s;
  566. return s;
  567. }
  568. }
  569. /**
  570. * <pre>
  571. *医生职称
  572. * </pre>
  573. *
  574. * <code>string doctorTitle = 10;</code>
  575. */
  576. public com.google.protobuf.ByteString
  577. getDoctorTitleBytes() {
  578. java.lang.Object ref = doctorTitle_;
  579. if (ref instanceof java.lang.String) {
  580. com.google.protobuf.ByteString b =
  581. com.google.protobuf.ByteString.copyFromUtf8(
  582. (java.lang.String) ref);
  583. doctorTitle_ = b;
  584. return b;
  585. } else {
  586. return (com.google.protobuf.ByteString) ref;
  587. }
  588. }
  589. public static final int DOCTORSPEC_FIELD_NUMBER = 11;
  590. private volatile java.lang.Object doctorSpec_;
  591. /**
  592. * <pre>
  593. *医生专长
  594. * </pre>
  595. *
  596. * <code>string doctorSpec = 11;</code>
  597. */
  598. public java.lang.String getDoctorSpec() {
  599. java.lang.Object ref = doctorSpec_;
  600. if (ref instanceof java.lang.String) {
  601. return (java.lang.String) ref;
  602. } else {
  603. com.google.protobuf.ByteString bs =
  604. (com.google.protobuf.ByteString) ref;
  605. java.lang.String s = bs.toStringUtf8();
  606. doctorSpec_ = s;
  607. return s;
  608. }
  609. }
  610. /**
  611. * <pre>
  612. *医生专长
  613. * </pre>
  614. *
  615. * <code>string doctorSpec = 11;</code>
  616. */
  617. public com.google.protobuf.ByteString
  618. getDoctorSpecBytes() {
  619. java.lang.Object ref = doctorSpec_;
  620. if (ref instanceof java.lang.String) {
  621. com.google.protobuf.ByteString b =
  622. com.google.protobuf.ByteString.copyFromUtf8(
  623. (java.lang.String) ref);
  624. doctorSpec_ = b;
  625. return b;
  626. } else {
  627. return (com.google.protobuf.ByteString) ref;
  628. }
  629. }
  630. public static final int FEE_FIELD_NUMBER = 12;
  631. private int fee_;
  632. /**
  633. * <pre>
  634. *预约挂号总费用
  635. * </pre>
  636. *
  637. * <code>int32 fee = 12;</code>
  638. */
  639. public int getFee() {
  640. return fee_;
  641. }
  642. public static final int REGFEE_FIELD_NUMBER = 13;
  643. private int regFee_;
  644. /**
  645. * <pre>
  646. *挂号费
  647. * </pre>
  648. *
  649. * <code>int32 regFee = 13;</code>
  650. */
  651. public int getRegFee() {
  652. return regFee_;
  653. }
  654. public static final int CHECKUPFEE_FIELD_NUMBER = 14;
  655. private int checkupFee_;
  656. /**
  657. * <pre>
  658. *诊查费
  659. * </pre>
  660. *
  661. * <code>int32 checkupFee = 14;</code>
  662. */
  663. public int getCheckupFee() {
  664. return checkupFee_;
  665. }
  666. public static final int SERVICEFEE_FIELD_NUMBER = 15;
  667. private int serviceFee_;
  668. /**
  669. * <pre>
  670. *服务费
  671. * </pre>
  672. *
  673. * <code>int32 serviceFee = 15;</code>
  674. */
  675. public int getServiceFee() {
  676. return serviceFee_;
  677. }
  678. public static final int OTHERFEE_FIELD_NUMBER = 16;
  679. private int otherFee_;
  680. /**
  681. * <pre>
  682. *其它费
  683. * </pre>
  684. *
  685. * <code>int32 otherFee = 16;</code>
  686. */
  687. public int getOtherFee() {
  688. return otherFee_;
  689. }
  690. public static final int ADMITADDRESS_FIELD_NUMBER = 17;
  691. private volatile java.lang.Object admitAddress_;
  692. /**
  693. * <pre>
  694. *就诊地址
  695. * </pre>
  696. *
  697. * <code>string admitAddress = 17;</code>
  698. */
  699. public java.lang.String getAdmitAddress() {
  700. java.lang.Object ref = admitAddress_;
  701. if (ref instanceof java.lang.String) {
  702. return (java.lang.String) ref;
  703. } else {
  704. com.google.protobuf.ByteString bs =
  705. (com.google.protobuf.ByteString) ref;
  706. java.lang.String s = bs.toStringUtf8();
  707. admitAddress_ = s;
  708. return s;
  709. }
  710. }
  711. /**
  712. * <pre>
  713. *就诊地址
  714. * </pre>
  715. *
  716. * <code>string admitAddress = 17;</code>
  717. */
  718. public com.google.protobuf.ByteString
  719. getAdmitAddressBytes() {
  720. java.lang.Object ref = admitAddress_;
  721. if (ref instanceof java.lang.String) {
  722. com.google.protobuf.ByteString b =
  723. com.google.protobuf.ByteString.copyFromUtf8(
  724. (java.lang.String) ref);
  725. admitAddress_ = b;
  726. return b;
  727. } else {
  728. return (com.google.protobuf.ByteString) ref;
  729. }
  730. }
  731. public static final int SCHEDULESTATUS_FIELD_NUMBER = 18;
  732. private int scheduleStatus_;
  733. /**
  734. * <pre>
  735. *出诊状态(1-可预约 0-已满 2-停诊 3-其它(不可预约))
  736. * </pre>
  737. *
  738. * <code>int32 scheduleStatus = 18;</code>
  739. */
  740. public int getScheduleStatus() {
  741. return scheduleStatus_;
  742. }
  743. public static final int AVAILABLETOTALNUM_FIELD_NUMBER = 19;
  744. private int availableTotalNum_;
  745. /**
  746. * <pre>
  747. *该时段可预约的总号源数
  748. * </pre>
  749. *
  750. * <code>int32 availableTotalNum = 19;</code>
  751. */
  752. public int getAvailableTotalNum() {
  753. return availableTotalNum_;
  754. }
  755. public static final int AVAILABLELEFTNUM_FIELD_NUMBER = 20;
  756. private int availableLeftNum_;
  757. /**
  758. * <pre>
  759. *该时段剩余号源数
  760. * </pre>
  761. *
  762. * <code>int32 availableLeftNum = 20;</code>
  763. */
  764. public int getAvailableLeftNum() {
  765. return availableLeftNum_;
  766. }
  767. public static final int SERVICECODE_FIELD_NUMBER = 21;
  768. private volatile java.lang.Object serviceCode_;
  769. /**
  770. * <code>string serviceCode = 21;</code>
  771. */
  772. public java.lang.String getServiceCode() {
  773. java.lang.Object ref = serviceCode_;
  774. if (ref instanceof java.lang.String) {
  775. return (java.lang.String) ref;
  776. } else {
  777. com.google.protobuf.ByteString bs =
  778. (com.google.protobuf.ByteString) ref;
  779. java.lang.String s = bs.toStringUtf8();
  780. serviceCode_ = s;
  781. return s;
  782. }
  783. }
  784. /**
  785. * <code>string serviceCode = 21;</code>
  786. */
  787. public com.google.protobuf.ByteString
  788. getServiceCodeBytes() {
  789. java.lang.Object ref = serviceCode_;
  790. if (ref instanceof java.lang.String) {
  791. com.google.protobuf.ByteString b =
  792. com.google.protobuf.ByteString.copyFromUtf8(
  793. (java.lang.String) ref);
  794. serviceCode_ = b;
  795. return b;
  796. } else {
  797. return (com.google.protobuf.ByteString) ref;
  798. }
  799. }
  800. public static final int SERVICENAME_FIELD_NUMBER = 22;
  801. private volatile java.lang.Object serviceName_;
  802. /**
  803. * <code>string serviceName = 22;</code>
  804. */
  805. public java.lang.String getServiceName() {
  806. java.lang.Object ref = serviceName_;
  807. if (ref instanceof java.lang.String) {
  808. return (java.lang.String) ref;
  809. } else {
  810. com.google.protobuf.ByteString bs =
  811. (com.google.protobuf.ByteString) ref;
  812. java.lang.String s = bs.toStringUtf8();
  813. serviceName_ = s;
  814. return s;
  815. }
  816. }
  817. /**
  818. * <code>string serviceName = 22;</code>
  819. */
  820. public com.google.protobuf.ByteString
  821. getServiceNameBytes() {
  822. java.lang.Object ref = serviceName_;
  823. if (ref instanceof java.lang.String) {
  824. com.google.protobuf.ByteString b =
  825. com.google.protobuf.ByteString.copyFromUtf8(
  826. (java.lang.String) ref);
  827. serviceName_ = b;
  828. return b;
  829. } else {
  830. return (com.google.protobuf.ByteString) ref;
  831. }
  832. }
  833. public static final int STARTTIME_FIELD_NUMBER = 23;
  834. private volatile java.lang.Object startTime_;
  835. /**
  836. * <code>string startTime = 23;</code>
  837. */
  838. public java.lang.String getStartTime() {
  839. java.lang.Object ref = startTime_;
  840. if (ref instanceof java.lang.String) {
  841. return (java.lang.String) ref;
  842. } else {
  843. com.google.protobuf.ByteString bs =
  844. (com.google.protobuf.ByteString) ref;
  845. java.lang.String s = bs.toStringUtf8();
  846. startTime_ = s;
  847. return s;
  848. }
  849. }
  850. /**
  851. * <code>string startTime = 23;</code>
  852. */
  853. public com.google.protobuf.ByteString
  854. getStartTimeBytes() {
  855. java.lang.Object ref = startTime_;
  856. if (ref instanceof java.lang.String) {
  857. com.google.protobuf.ByteString b =
  858. com.google.protobuf.ByteString.copyFromUtf8(
  859. (java.lang.String) ref);
  860. startTime_ = b;
  861. return b;
  862. } else {
  863. return (com.google.protobuf.ByteString) ref;
  864. }
  865. }
  866. public static final int ENDTIME_FIELD_NUMBER = 24;
  867. private volatile java.lang.Object endTime_;
  868. /**
  869. * <code>string endTime = 24;</code>
  870. */
  871. public java.lang.String getEndTime() {
  872. java.lang.Object ref = endTime_;
  873. if (ref instanceof java.lang.String) {
  874. return (java.lang.String) ref;
  875. } else {
  876. com.google.protobuf.ByteString bs =
  877. (com.google.protobuf.ByteString) ref;
  878. java.lang.String s = bs.toStringUtf8();
  879. endTime_ = s;
  880. return s;
  881. }
  882. }
  883. /**
  884. * <code>string endTime = 24;</code>
  885. */
  886. public com.google.protobuf.ByteString
  887. getEndTimeBytes() {
  888. java.lang.Object ref = endTime_;
  889. if (ref instanceof java.lang.String) {
  890. com.google.protobuf.ByteString b =
  891. com.google.protobuf.ByteString.copyFromUtf8(
  892. (java.lang.String) ref);
  893. endTime_ = b;
  894. return b;
  895. } else {
  896. return (com.google.protobuf.ByteString) ref;
  897. }
  898. }
  899. public static final int AVAILABLENUMSTR_FIELD_NUMBER = 25;
  900. private volatile java.lang.Object availableNumStr_;
  901. /**
  902. * <code>string availableNumStr = 25;</code>
  903. */
  904. public java.lang.String getAvailableNumStr() {
  905. java.lang.Object ref = availableNumStr_;
  906. if (ref instanceof java.lang.String) {
  907. return (java.lang.String) ref;
  908. } else {
  909. com.google.protobuf.ByteString bs =
  910. (com.google.protobuf.ByteString) ref;
  911. java.lang.String s = bs.toStringUtf8();
  912. availableNumStr_ = s;
  913. return s;
  914. }
  915. }
  916. /**
  917. * <code>string availableNumStr = 25;</code>
  918. */
  919. public com.google.protobuf.ByteString
  920. getAvailableNumStrBytes() {
  921. java.lang.Object ref = availableNumStr_;
  922. if (ref instanceof java.lang.String) {
  923. com.google.protobuf.ByteString b =
  924. com.google.protobuf.ByteString.copyFromUtf8(
  925. (java.lang.String) ref);
  926. availableNumStr_ = b;
  927. return b;
  928. } else {
  929. return (com.google.protobuf.ByteString) ref;
  930. }
  931. }
  932. private byte memoizedIsInitialized = -1;
  933. public final boolean isInitialized() {
  934. byte isInitialized = memoizedIsInitialized;
  935. if (isInitialized == 1) return true;
  936. if (isInitialized == 0) return false;
  937. memoizedIsInitialized = 1;
  938. return true;
  939. }
  940. public void writeTo(com.google.protobuf.CodedOutputStream output)
  941. throws java.io.IOException {
  942. if (!getScheduleItemCodeBytes().isEmpty()) {
  943. com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scheduleItemCode_);
  944. }
  945. if (!getServiceDateBytes().isEmpty()) {
  946. com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceDate_);
  947. }
  948. if (datePeriod_ != 0) {
  949. output.writeInt32(3, datePeriod_);
  950. }
  951. if (!getDatePeriodNameBytes().isEmpty()) {
  952. com.google.protobuf.GeneratedMessageV3.writeString(output, 4, datePeriodName_);
  953. }
  954. if (!getDeptCodeBytes().isEmpty()) {
  955. com.google.protobuf.GeneratedMessageV3.writeString(output, 5, deptCode_);
  956. }
  957. if (!getDeptNameBytes().isEmpty()) {
  958. com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deptName_);
  959. }
  960. if (!getDoctorCodeBytes().isEmpty()) {
  961. com.google.protobuf.GeneratedMessageV3.writeString(output, 7, doctorCode_);
  962. }
  963. if (!getDoctorNameBytes().isEmpty()) {
  964. com.google.protobuf.GeneratedMessageV3.writeString(output, 8, doctorName_);
  965. }
  966. if (!getAvatarBytes().isEmpty()) {
  967. com.google.protobuf.GeneratedMessageV3.writeString(output, 9, avatar_);
  968. }
  969. if (!getDoctorTitleBytes().isEmpty()) {
  970. com.google.protobuf.GeneratedMessageV3.writeString(output, 10, doctorTitle_);
  971. }
  972. if (!getDoctorSpecBytes().isEmpty()) {
  973. com.google.protobuf.GeneratedMessageV3.writeString(output, 11, doctorSpec_);
  974. }
  975. if (fee_ != 0) {
  976. output.writeInt32(12, fee_);
  977. }
  978. if (regFee_ != 0) {
  979. output.writeInt32(13, regFee_);
  980. }
  981. if (checkupFee_ != 0) {
  982. output.writeInt32(14, checkupFee_);
  983. }
  984. if (serviceFee_ != 0) {
  985. output.writeInt32(15, serviceFee_);
  986. }
  987. if (otherFee_ != 0) {
  988. output.writeInt32(16, otherFee_);
  989. }
  990. if (!getAdmitAddressBytes().isEmpty()) {
  991. com.google.protobuf.GeneratedMessageV3.writeString(output, 17, admitAddress_);
  992. }
  993. if (scheduleStatus_ != 0) {
  994. output.writeInt32(18, scheduleStatus_);
  995. }
  996. if (availableTotalNum_ != 0) {
  997. output.writeInt32(19, availableTotalNum_);
  998. }
  999. if (availableLeftNum_ != 0) {
  1000. output.writeInt32(20, availableLeftNum_);
  1001. }
  1002. if (!getServiceCodeBytes().isEmpty()) {
  1003. com.google.protobuf.GeneratedMessageV3.writeString(output, 21, serviceCode_);
  1004. }
  1005. if (!getServiceNameBytes().isEmpty()) {
  1006. com.google.protobuf.GeneratedMessageV3.writeString(output, 22, serviceName_);
  1007. }
  1008. if (!getStartTimeBytes().isEmpty()) {
  1009. com.google.protobuf.GeneratedMessageV3.writeString(output, 23, startTime_);
  1010. }
  1011. if (!getEndTimeBytes().isEmpty()) {
  1012. com.google.protobuf.GeneratedMessageV3.writeString(output, 24, endTime_);
  1013. }
  1014. if (!getAvailableNumStrBytes().isEmpty()) {
  1015. com.google.protobuf.GeneratedMessageV3.writeString(output, 25, availableNumStr_);
  1016. }
  1017. }
  1018. public int getSerializedSize() {
  1019. int size = memoizedSize;
  1020. if (size != -1) return size;
  1021. size = 0;
  1022. if (!getScheduleItemCodeBytes().isEmpty()) {
  1023. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scheduleItemCode_);
  1024. }
  1025. if (!getServiceDateBytes().isEmpty()) {
  1026. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceDate_);
  1027. }
  1028. if (datePeriod_ != 0) {
  1029. size += com.google.protobuf.CodedOutputStream
  1030. .computeInt32Size(3, datePeriod_);
  1031. }
  1032. if (!getDatePeriodNameBytes().isEmpty()) {
  1033. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, datePeriodName_);
  1034. }
  1035. if (!getDeptCodeBytes().isEmpty()) {
  1036. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deptCode_);
  1037. }
  1038. if (!getDeptNameBytes().isEmpty()) {
  1039. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deptName_);
  1040. }
  1041. if (!getDoctorCodeBytes().isEmpty()) {
  1042. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, doctorCode_);
  1043. }
  1044. if (!getDoctorNameBytes().isEmpty()) {
  1045. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, doctorName_);
  1046. }
  1047. if (!getAvatarBytes().isEmpty()) {
  1048. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, avatar_);
  1049. }
  1050. if (!getDoctorTitleBytes().isEmpty()) {
  1051. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, doctorTitle_);
  1052. }
  1053. if (!getDoctorSpecBytes().isEmpty()) {
  1054. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, doctorSpec_);
  1055. }
  1056. if (fee_ != 0) {
  1057. size += com.google.protobuf.CodedOutputStream
  1058. .computeInt32Size(12, fee_);
  1059. }
  1060. if (regFee_ != 0) {
  1061. size += com.google.protobuf.CodedOutputStream
  1062. .computeInt32Size(13, regFee_);
  1063. }
  1064. if (checkupFee_ != 0) {
  1065. size += com.google.protobuf.CodedOutputStream
  1066. .computeInt32Size(14, checkupFee_);
  1067. }
  1068. if (serviceFee_ != 0) {
  1069. size += com.google.protobuf.CodedOutputStream
  1070. .computeInt32Size(15, serviceFee_);
  1071. }
  1072. if (otherFee_ != 0) {
  1073. size += com.google.protobuf.CodedOutputStream
  1074. .computeInt32Size(16, otherFee_);
  1075. }
  1076. if (!getAdmitAddressBytes().isEmpty()) {
  1077. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, admitAddress_);
  1078. }
  1079. if (scheduleStatus_ != 0) {
  1080. size += com.google.protobuf.CodedOutputStream
  1081. .computeInt32Size(18, scheduleStatus_);
  1082. }
  1083. if (availableTotalNum_ != 0) {
  1084. size += com.google.protobuf.CodedOutputStream
  1085. .computeInt32Size(19, availableTotalNum_);
  1086. }
  1087. if (availableLeftNum_ != 0) {
  1088. size += com.google.protobuf.CodedOutputStream
  1089. .computeInt32Size(20, availableLeftNum_);
  1090. }
  1091. if (!getServiceCodeBytes().isEmpty()) {
  1092. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, serviceCode_);
  1093. }
  1094. if (!getServiceNameBytes().isEmpty()) {
  1095. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, serviceName_);
  1096. }
  1097. if (!getStartTimeBytes().isEmpty()) {
  1098. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, startTime_);
  1099. }
  1100. if (!getEndTimeBytes().isEmpty()) {
  1101. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, endTime_);
  1102. }
  1103. if (!getAvailableNumStrBytes().isEmpty()) {
  1104. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, availableNumStr_);
  1105. }
  1106. memoizedSize = size;
  1107. return size;
  1108. }
  1109. private static final long serialVersionUID = 0L;
  1110. @java.lang.Override
  1111. public boolean equals(final java.lang.Object obj) {
  1112. if (obj == this) {
  1113. return true;
  1114. }
  1115. if (!(obj instanceof com.ywt.gapi.third.taihe.Schedule)) {
  1116. return super.equals(obj);
  1117. }
  1118. com.ywt.gapi.third.taihe.Schedule other = (com.ywt.gapi.third.taihe.Schedule) obj;
  1119. boolean result = true;
  1120. result = result && getScheduleItemCode()
  1121. .equals(other.getScheduleItemCode());
  1122. result = result && getServiceDate()
  1123. .equals(other.getServiceDate());
  1124. result = result && (getDatePeriod()
  1125. == other.getDatePeriod());
  1126. result = result && getDatePeriodName()
  1127. .equals(other.getDatePeriodName());
  1128. result = result && getDeptCode()
  1129. .equals(other.getDeptCode());
  1130. result = result && getDeptName()
  1131. .equals(other.getDeptName());
  1132. result = result && getDoctorCode()
  1133. .equals(other.getDoctorCode());
  1134. result = result && getDoctorName()
  1135. .equals(other.getDoctorName());
  1136. result = result && getAvatar()
  1137. .equals(other.getAvatar());
  1138. result = result && getDoctorTitle()
  1139. .equals(other.getDoctorTitle());
  1140. result = result && getDoctorSpec()
  1141. .equals(other.getDoctorSpec());
  1142. result = result && (getFee()
  1143. == other.getFee());
  1144. result = result && (getRegFee()
  1145. == other.getRegFee());
  1146. result = result && (getCheckupFee()
  1147. == other.getCheckupFee());
  1148. result = result && (getServiceFee()
  1149. == other.getServiceFee());
  1150. result = result && (getOtherFee()
  1151. == other.getOtherFee());
  1152. result = result && getAdmitAddress()
  1153. .equals(other.getAdmitAddress());
  1154. result = result && (getScheduleStatus()
  1155. == other.getScheduleStatus());
  1156. result = result && (getAvailableTotalNum()
  1157. == other.getAvailableTotalNum());
  1158. result = result && (getAvailableLeftNum()
  1159. == other.getAvailableLeftNum());
  1160. result = result && getServiceCode()
  1161. .equals(other.getServiceCode());
  1162. result = result && getServiceName()
  1163. .equals(other.getServiceName());
  1164. result = result && getStartTime()
  1165. .equals(other.getStartTime());
  1166. result = result && getEndTime()
  1167. .equals(other.getEndTime());
  1168. result = result && getAvailableNumStr()
  1169. .equals(other.getAvailableNumStr());
  1170. return result;
  1171. }
  1172. @java.lang.Override
  1173. public int hashCode() {
  1174. if (memoizedHashCode != 0) {
  1175. return memoizedHashCode;
  1176. }
  1177. int hash = 41;
  1178. hash = (19 * hash) + getDescriptor().hashCode();
  1179. hash = (37 * hash) + SCHEDULEITEMCODE_FIELD_NUMBER;
  1180. hash = (53 * hash) + getScheduleItemCode().hashCode();
  1181. hash = (37 * hash) + SERVICEDATE_FIELD_NUMBER;
  1182. hash = (53 * hash) + getServiceDate().hashCode();
  1183. hash = (37 * hash) + DATEPERIOD_FIELD_NUMBER;
  1184. hash = (53 * hash) + getDatePeriod();
  1185. hash = (37 * hash) + DATEPERIODNAME_FIELD_NUMBER;
  1186. hash = (53 * hash) + getDatePeriodName().hashCode();
  1187. hash = (37 * hash) + DEPTCODE_FIELD_NUMBER;
  1188. hash = (53 * hash) + getDeptCode().hashCode();
  1189. hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
  1190. hash = (53 * hash) + getDeptName().hashCode();
  1191. hash = (37 * hash) + DOCTORCODE_FIELD_NUMBER;
  1192. hash = (53 * hash) + getDoctorCode().hashCode();
  1193. hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
  1194. hash = (53 * hash) + getDoctorName().hashCode();
  1195. hash = (37 * hash) + AVATAR_FIELD_NUMBER;
  1196. hash = (53 * hash) + getAvatar().hashCode();
  1197. hash = (37 * hash) + DOCTORTITLE_FIELD_NUMBER;
  1198. hash = (53 * hash) + getDoctorTitle().hashCode();
  1199. hash = (37 * hash) + DOCTORSPEC_FIELD_NUMBER;
  1200. hash = (53 * hash) + getDoctorSpec().hashCode();
  1201. hash = (37 * hash) + FEE_FIELD_NUMBER;
  1202. hash = (53 * hash) + getFee();
  1203. hash = (37 * hash) + REGFEE_FIELD_NUMBER;
  1204. hash = (53 * hash) + getRegFee();
  1205. hash = (37 * hash) + CHECKUPFEE_FIELD_NUMBER;
  1206. hash = (53 * hash) + getCheckupFee();
  1207. hash = (37 * hash) + SERVICEFEE_FIELD_NUMBER;
  1208. hash = (53 * hash) + getServiceFee();
  1209. hash = (37 * hash) + OTHERFEE_FIELD_NUMBER;
  1210. hash = (53 * hash) + getOtherFee();
  1211. hash = (37 * hash) + ADMITADDRESS_FIELD_NUMBER;
  1212. hash = (53 * hash) + getAdmitAddress().hashCode();
  1213. hash = (37 * hash) + SCHEDULESTATUS_FIELD_NUMBER;
  1214. hash = (53 * hash) + getScheduleStatus();
  1215. hash = (37 * hash) + AVAILABLETOTALNUM_FIELD_NUMBER;
  1216. hash = (53 * hash) + getAvailableTotalNum();
  1217. hash = (37 * hash) + AVAILABLELEFTNUM_FIELD_NUMBER;
  1218. hash = (53 * hash) + getAvailableLeftNum();
  1219. hash = (37 * hash) + SERVICECODE_FIELD_NUMBER;
  1220. hash = (53 * hash) + getServiceCode().hashCode();
  1221. hash = (37 * hash) + SERVICENAME_FIELD_NUMBER;
  1222. hash = (53 * hash) + getServiceName().hashCode();
  1223. hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
  1224. hash = (53 * hash) + getStartTime().hashCode();
  1225. hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
  1226. hash = (53 * hash) + getEndTime().hashCode();
  1227. hash = (37 * hash) + AVAILABLENUMSTR_FIELD_NUMBER;
  1228. hash = (53 * hash) + getAvailableNumStr().hashCode();
  1229. hash = (29 * hash) + unknownFields.hashCode();
  1230. memoizedHashCode = hash;
  1231. return hash;
  1232. }
  1233. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1234. java.nio.ByteBuffer data)
  1235. throws com.google.protobuf.InvalidProtocolBufferException {
  1236. return PARSER.parseFrom(data);
  1237. }
  1238. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1239. java.nio.ByteBuffer data,
  1240. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1241. throws com.google.protobuf.InvalidProtocolBufferException {
  1242. return PARSER.parseFrom(data, extensionRegistry);
  1243. }
  1244. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1245. com.google.protobuf.ByteString data)
  1246. throws com.google.protobuf.InvalidProtocolBufferException {
  1247. return PARSER.parseFrom(data);
  1248. }
  1249. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1250. com.google.protobuf.ByteString data,
  1251. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1252. throws com.google.protobuf.InvalidProtocolBufferException {
  1253. return PARSER.parseFrom(data, extensionRegistry);
  1254. }
  1255. public static com.ywt.gapi.third.taihe.Schedule parseFrom(byte[] data)
  1256. throws com.google.protobuf.InvalidProtocolBufferException {
  1257. return PARSER.parseFrom(data);
  1258. }
  1259. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1260. byte[] data,
  1261. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1262. throws com.google.protobuf.InvalidProtocolBufferException {
  1263. return PARSER.parseFrom(data, extensionRegistry);
  1264. }
  1265. public static com.ywt.gapi.third.taihe.Schedule parseFrom(java.io.InputStream input)
  1266. throws java.io.IOException {
  1267. return com.google.protobuf.GeneratedMessageV3
  1268. .parseWithIOException(PARSER, input);
  1269. }
  1270. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1271. java.io.InputStream input,
  1272. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1273. throws java.io.IOException {
  1274. return com.google.protobuf.GeneratedMessageV3
  1275. .parseWithIOException(PARSER, input, extensionRegistry);
  1276. }
  1277. public static com.ywt.gapi.third.taihe.Schedule parseDelimitedFrom(java.io.InputStream input)
  1278. throws java.io.IOException {
  1279. return com.google.protobuf.GeneratedMessageV3
  1280. .parseDelimitedWithIOException(PARSER, input);
  1281. }
  1282. public static com.ywt.gapi.third.taihe.Schedule parseDelimitedFrom(
  1283. java.io.InputStream input,
  1284. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1285. throws java.io.IOException {
  1286. return com.google.protobuf.GeneratedMessageV3
  1287. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  1288. }
  1289. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1290. com.google.protobuf.CodedInputStream input)
  1291. throws java.io.IOException {
  1292. return com.google.protobuf.GeneratedMessageV3
  1293. .parseWithIOException(PARSER, input);
  1294. }
  1295. public static com.ywt.gapi.third.taihe.Schedule parseFrom(
  1296. com.google.protobuf.CodedInputStream input,
  1297. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1298. throws java.io.IOException {
  1299. return com.google.protobuf.GeneratedMessageV3
  1300. .parseWithIOException(PARSER, input, extensionRegistry);
  1301. }
  1302. public Builder newBuilderForType() { return newBuilder(); }
  1303. public static Builder newBuilder() {
  1304. return DEFAULT_INSTANCE.toBuilder();
  1305. }
  1306. public static Builder newBuilder(com.ywt.gapi.third.taihe.Schedule prototype) {
  1307. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  1308. }
  1309. public Builder toBuilder() {
  1310. return this == DEFAULT_INSTANCE
  1311. ? new Builder() : new Builder().mergeFrom(this);
  1312. }
  1313. @java.lang.Override
  1314. protected Builder newBuilderForType(
  1315. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  1316. Builder builder = new Builder(parent);
  1317. return builder;
  1318. }
  1319. /**
  1320. * <pre>
  1321. *排班记录
  1322. * </pre>
  1323. *
  1324. * Protobuf type {@code com.ywt.gapi.third.taihe.Schedule}
  1325. */
  1326. public static final class Builder extends
  1327. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  1328. // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.Schedule)
  1329. com.ywt.gapi.third.taihe.ScheduleOrBuilder {
  1330. public static final com.google.protobuf.Descriptors.Descriptor
  1331. getDescriptor() {
  1332. return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Schedule_descriptor;
  1333. }
  1334. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  1335. internalGetFieldAccessorTable() {
  1336. return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Schedule_fieldAccessorTable
  1337. .ensureFieldAccessorsInitialized(
  1338. com.ywt.gapi.third.taihe.Schedule.class, com.ywt.gapi.third.taihe.Schedule.Builder.class);
  1339. }
  1340. // Construct using com.ywt.gapi.third.taihe.Schedule.newBuilder()
  1341. private Builder() {
  1342. maybeForceBuilderInitialization();
  1343. }
  1344. private Builder(
  1345. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  1346. super(parent);
  1347. maybeForceBuilderInitialization();
  1348. }
  1349. private void maybeForceBuilderInitialization() {
  1350. if (com.google.protobuf.GeneratedMessageV3
  1351. .alwaysUseFieldBuilders) {
  1352. }
  1353. }
  1354. public Builder clear() {
  1355. super.clear();
  1356. scheduleItemCode_ = "";
  1357. serviceDate_ = "";
  1358. datePeriod_ = 0;
  1359. datePeriodName_ = "";
  1360. deptCode_ = "";
  1361. deptName_ = "";
  1362. doctorCode_ = "";
  1363. doctorName_ = "";
  1364. avatar_ = "";
  1365. doctorTitle_ = "";
  1366. doctorSpec_ = "";
  1367. fee_ = 0;
  1368. regFee_ = 0;
  1369. checkupFee_ = 0;
  1370. serviceFee_ = 0;
  1371. otherFee_ = 0;
  1372. admitAddress_ = "";
  1373. scheduleStatus_ = 0;
  1374. availableTotalNum_ = 0;
  1375. availableLeftNum_ = 0;
  1376. serviceCode_ = "";
  1377. serviceName_ = "";
  1378. startTime_ = "";
  1379. endTime_ = "";
  1380. availableNumStr_ = "";
  1381. return this;
  1382. }
  1383. public com.google.protobuf.Descriptors.Descriptor
  1384. getDescriptorForType() {
  1385. return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Schedule_descriptor;
  1386. }
  1387. public com.ywt.gapi.third.taihe.Schedule getDefaultInstanceForType() {
  1388. return com.ywt.gapi.third.taihe.Schedule.getDefaultInstance();
  1389. }
  1390. public com.ywt.gapi.third.taihe.Schedule build() {
  1391. com.ywt.gapi.third.taihe.Schedule result = buildPartial();
  1392. if (!result.isInitialized()) {
  1393. throw newUninitializedMessageException(result);
  1394. }
  1395. return result;
  1396. }
  1397. public com.ywt.gapi.third.taihe.Schedule buildPartial() {
  1398. com.ywt.gapi.third.taihe.Schedule result = new com.ywt.gapi.third.taihe.Schedule(this);
  1399. result.scheduleItemCode_ = scheduleItemCode_;
  1400. result.serviceDate_ = serviceDate_;
  1401. result.datePeriod_ = datePeriod_;
  1402. result.datePeriodName_ = datePeriodName_;
  1403. result.deptCode_ = deptCode_;
  1404. result.deptName_ = deptName_;
  1405. result.doctorCode_ = doctorCode_;
  1406. result.doctorName_ = doctorName_;
  1407. result.avatar_ = avatar_;
  1408. result.doctorTitle_ = doctorTitle_;
  1409. result.doctorSpec_ = doctorSpec_;
  1410. result.fee_ = fee_;
  1411. result.regFee_ = regFee_;
  1412. result.checkupFee_ = checkupFee_;
  1413. result.serviceFee_ = serviceFee_;
  1414. result.otherFee_ = otherFee_;
  1415. result.admitAddress_ = admitAddress_;
  1416. result.scheduleStatus_ = scheduleStatus_;
  1417. result.availableTotalNum_ = availableTotalNum_;
  1418. result.availableLeftNum_ = availableLeftNum_;
  1419. result.serviceCode_ = serviceCode_;
  1420. result.serviceName_ = serviceName_;
  1421. result.startTime_ = startTime_;
  1422. result.endTime_ = endTime_;
  1423. result.availableNumStr_ = availableNumStr_;
  1424. onBuilt();
  1425. return result;
  1426. }
  1427. public Builder clone() {
  1428. return (Builder) super.clone();
  1429. }
  1430. public Builder setField(
  1431. com.google.protobuf.Descriptors.FieldDescriptor field,
  1432. Object value) {
  1433. return (Builder) super.setField(field, value);
  1434. }
  1435. public Builder clearField(
  1436. com.google.protobuf.Descriptors.FieldDescriptor field) {
  1437. return (Builder) super.clearField(field);
  1438. }
  1439. public Builder clearOneof(
  1440. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  1441. return (Builder) super.clearOneof(oneof);
  1442. }
  1443. public Builder setRepeatedField(
  1444. com.google.protobuf.Descriptors.FieldDescriptor field,
  1445. int index, Object value) {
  1446. return (Builder) super.setRepeatedField(field, index, value);
  1447. }
  1448. public Builder addRepeatedField(
  1449. com.google.protobuf.Descriptors.FieldDescriptor field,
  1450. Object value) {
  1451. return (Builder) super.addRepeatedField(field, value);
  1452. }
  1453. public Builder mergeFrom(com.google.protobuf.Message other) {
  1454. if (other instanceof com.ywt.gapi.third.taihe.Schedule) {
  1455. return mergeFrom((com.ywt.gapi.third.taihe.Schedule)other);
  1456. } else {
  1457. super.mergeFrom(other);
  1458. return this;
  1459. }
  1460. }
  1461. public Builder mergeFrom(com.ywt.gapi.third.taihe.Schedule other) {
  1462. if (other == com.ywt.gapi.third.taihe.Schedule.getDefaultInstance()) return this;
  1463. if (!other.getScheduleItemCode().isEmpty()) {
  1464. scheduleItemCode_ = other.scheduleItemCode_;
  1465. onChanged();
  1466. }
  1467. if (!other.getServiceDate().isEmpty()) {
  1468. serviceDate_ = other.serviceDate_;
  1469. onChanged();
  1470. }
  1471. if (other.getDatePeriod() != 0) {
  1472. setDatePeriod(other.getDatePeriod());
  1473. }
  1474. if (!other.getDatePeriodName().isEmpty()) {
  1475. datePeriodName_ = other.datePeriodName_;
  1476. onChanged();
  1477. }
  1478. if (!other.getDeptCode().isEmpty()) {
  1479. deptCode_ = other.deptCode_;
  1480. onChanged();
  1481. }
  1482. if (!other.getDeptName().isEmpty()) {
  1483. deptName_ = other.deptName_;
  1484. onChanged();
  1485. }
  1486. if (!other.getDoctorCode().isEmpty()) {
  1487. doctorCode_ = other.doctorCode_;
  1488. onChanged();
  1489. }
  1490. if (!other.getDoctorName().isEmpty()) {
  1491. doctorName_ = other.doctorName_;
  1492. onChanged();
  1493. }
  1494. if (!other.getAvatar().isEmpty()) {
  1495. avatar_ = other.avatar_;
  1496. onChanged();
  1497. }
  1498. if (!other.getDoctorTitle().isEmpty()) {
  1499. doctorTitle_ = other.doctorTitle_;
  1500. onChanged();
  1501. }
  1502. if (!other.getDoctorSpec().isEmpty()) {
  1503. doctorSpec_ = other.doctorSpec_;
  1504. onChanged();
  1505. }
  1506. if (other.getFee() != 0) {
  1507. setFee(other.getFee());
  1508. }
  1509. if (other.getRegFee() != 0) {
  1510. setRegFee(other.getRegFee());
  1511. }
  1512. if (other.getCheckupFee() != 0) {
  1513. setCheckupFee(other.getCheckupFee());
  1514. }
  1515. if (other.getServiceFee() != 0) {
  1516. setServiceFee(other.getServiceFee());
  1517. }
  1518. if (other.getOtherFee() != 0) {
  1519. setOtherFee(other.getOtherFee());
  1520. }
  1521. if (!other.getAdmitAddress().isEmpty()) {
  1522. admitAddress_ = other.admitAddress_;
  1523. onChanged();
  1524. }
  1525. if (other.getScheduleStatus() != 0) {
  1526. setScheduleStatus(other.getScheduleStatus());
  1527. }
  1528. if (other.getAvailableTotalNum() != 0) {
  1529. setAvailableTotalNum(other.getAvailableTotalNum());
  1530. }
  1531. if (other.getAvailableLeftNum() != 0) {
  1532. setAvailableLeftNum(other.getAvailableLeftNum());
  1533. }
  1534. if (!other.getServiceCode().isEmpty()) {
  1535. serviceCode_ = other.serviceCode_;
  1536. onChanged();
  1537. }
  1538. if (!other.getServiceName().isEmpty()) {
  1539. serviceName_ = other.serviceName_;
  1540. onChanged();
  1541. }
  1542. if (!other.getStartTime().isEmpty()) {
  1543. startTime_ = other.startTime_;
  1544. onChanged();
  1545. }
  1546. if (!other.getEndTime().isEmpty()) {
  1547. endTime_ = other.endTime_;
  1548. onChanged();
  1549. }
  1550. if (!other.getAvailableNumStr().isEmpty()) {
  1551. availableNumStr_ = other.availableNumStr_;
  1552. onChanged();
  1553. }
  1554. onChanged();
  1555. return this;
  1556. }
  1557. public final boolean isInitialized() {
  1558. return true;
  1559. }
  1560. public Builder mergeFrom(
  1561. com.google.protobuf.CodedInputStream input,
  1562. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1563. throws java.io.IOException {
  1564. com.ywt.gapi.third.taihe.Schedule parsedMessage = null;
  1565. try {
  1566. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  1567. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  1568. parsedMessage = (com.ywt.gapi.third.taihe.Schedule) e.getUnfinishedMessage();
  1569. throw e.unwrapIOException();
  1570. } finally {
  1571. if (parsedMessage != null) {
  1572. mergeFrom(parsedMessage);
  1573. }
  1574. }
  1575. return this;
  1576. }
  1577. private java.lang.Object scheduleItemCode_ = "";
  1578. /**
  1579. * <pre>
  1580. *门诊排班项记录标识
  1581. * </pre>
  1582. *
  1583. * <code>string scheduleItemCode = 1;</code>
  1584. */
  1585. public java.lang.String getScheduleItemCode() {
  1586. java.lang.Object ref = scheduleItemCode_;
  1587. if (!(ref instanceof java.lang.String)) {
  1588. com.google.protobuf.ByteString bs =
  1589. (com.google.protobuf.ByteString) ref;
  1590. java.lang.String s = bs.toStringUtf8();
  1591. scheduleItemCode_ = s;
  1592. return s;
  1593. } else {
  1594. return (java.lang.String) ref;
  1595. }
  1596. }
  1597. /**
  1598. * <pre>
  1599. *门诊排班项记录标识
  1600. * </pre>
  1601. *
  1602. * <code>string scheduleItemCode = 1;</code>
  1603. */
  1604. public com.google.protobuf.ByteString
  1605. getScheduleItemCodeBytes() {
  1606. java.lang.Object ref = scheduleItemCode_;
  1607. if (ref instanceof String) {
  1608. com.google.protobuf.ByteString b =
  1609. com.google.protobuf.ByteString.copyFromUtf8(
  1610. (java.lang.String) ref);
  1611. scheduleItemCode_ = b;
  1612. return b;
  1613. } else {
  1614. return (com.google.protobuf.ByteString) ref;
  1615. }
  1616. }
  1617. /**
  1618. * <pre>
  1619. *门诊排班项记录标识
  1620. * </pre>
  1621. *
  1622. * <code>string scheduleItemCode = 1;</code>
  1623. */
  1624. public Builder setScheduleItemCode(
  1625. java.lang.String value) {
  1626. if (value == null) {
  1627. throw new NullPointerException();
  1628. }
  1629. scheduleItemCode_ = value;
  1630. onChanged();
  1631. return this;
  1632. }
  1633. /**
  1634. * <pre>
  1635. *门诊排班项记录标识
  1636. * </pre>
  1637. *
  1638. * <code>string scheduleItemCode = 1;</code>
  1639. */
  1640. public Builder clearScheduleItemCode() {
  1641. scheduleItemCode_ = getDefaultInstance().getScheduleItemCode();
  1642. onChanged();
  1643. return this;
  1644. }
  1645. /**
  1646. * <pre>
  1647. *门诊排班项记录标识
  1648. * </pre>
  1649. *
  1650. * <code>string scheduleItemCode = 1;</code>
  1651. */
  1652. public Builder setScheduleItemCodeBytes(
  1653. com.google.protobuf.ByteString value) {
  1654. if (value == null) {
  1655. throw new NullPointerException();
  1656. }
  1657. checkByteStringIsUtf8(value);
  1658. scheduleItemCode_ = value;
  1659. onChanged();
  1660. return this;
  1661. }
  1662. private java.lang.Object serviceDate_ = "";
  1663. /**
  1664. * <pre>
  1665. *门诊排班日期(YYYY-MM-DD)
  1666. * </pre>
  1667. *
  1668. * <code>string serviceDate = 2;</code>
  1669. */
  1670. public java.lang.String getServiceDate() {
  1671. java.lang.Object ref = serviceDate_;
  1672. if (!(ref instanceof java.lang.String)) {
  1673. com.google.protobuf.ByteString bs =
  1674. (com.google.protobuf.ByteString) ref;
  1675. java.lang.String s = bs.toStringUtf8();
  1676. serviceDate_ = s;
  1677. return s;
  1678. } else {
  1679. return (java.lang.String) ref;
  1680. }
  1681. }
  1682. /**
  1683. * <pre>
  1684. *门诊排班日期(YYYY-MM-DD)
  1685. * </pre>
  1686. *
  1687. * <code>string serviceDate = 2;</code>
  1688. */
  1689. public com.google.protobuf.ByteString
  1690. getServiceDateBytes() {
  1691. java.lang.Object ref = serviceDate_;
  1692. if (ref instanceof String) {
  1693. com.google.protobuf.ByteString b =
  1694. com.google.protobuf.ByteString.copyFromUtf8(
  1695. (java.lang.String) ref);
  1696. serviceDate_ = b;
  1697. return b;
  1698. } else {
  1699. return (com.google.protobuf.ByteString) ref;
  1700. }
  1701. }
  1702. /**
  1703. * <pre>
  1704. *门诊排班日期(YYYY-MM-DD)
  1705. * </pre>
  1706. *
  1707. * <code>string serviceDate = 2;</code>
  1708. */
  1709. public Builder setServiceDate(
  1710. java.lang.String value) {
  1711. if (value == null) {
  1712. throw new NullPointerException();
  1713. }
  1714. serviceDate_ = value;
  1715. onChanged();
  1716. return this;
  1717. }
  1718. /**
  1719. * <pre>
  1720. *门诊排班日期(YYYY-MM-DD)
  1721. * </pre>
  1722. *
  1723. * <code>string serviceDate = 2;</code>
  1724. */
  1725. public Builder clearServiceDate() {
  1726. serviceDate_ = getDefaultInstance().getServiceDate();
  1727. onChanged();
  1728. return this;
  1729. }
  1730. /**
  1731. * <pre>
  1732. *门诊排班日期(YYYY-MM-DD)
  1733. * </pre>
  1734. *
  1735. * <code>string serviceDate = 2;</code>
  1736. */
  1737. public Builder setServiceDateBytes(
  1738. com.google.protobuf.ByteString value) {
  1739. if (value == null) {
  1740. throw new NullPointerException();
  1741. }
  1742. checkByteStringIsUtf8(value);
  1743. serviceDate_ = value;
  1744. onChanged();
  1745. return this;
  1746. }
  1747. private int datePeriod_ ;
  1748. /**
  1749. * <pre>
  1750. *排班时段代码
  1751. * </pre>
  1752. *
  1753. * <code>int32 datePeriod = 3;</code>
  1754. */
  1755. public int getDatePeriod() {
  1756. return datePeriod_;
  1757. }
  1758. /**
  1759. * <pre>
  1760. *排班时段代码
  1761. * </pre>
  1762. *
  1763. * <code>int32 datePeriod = 3;</code>
  1764. */
  1765. public Builder setDatePeriod(int value) {
  1766. datePeriod_ = value;
  1767. onChanged();
  1768. return this;
  1769. }
  1770. /**
  1771. * <pre>
  1772. *排班时段代码
  1773. * </pre>
  1774. *
  1775. * <code>int32 datePeriod = 3;</code>
  1776. */
  1777. public Builder clearDatePeriod() {
  1778. datePeriod_ = 0;
  1779. onChanged();
  1780. return this;
  1781. }
  1782. private java.lang.Object datePeriodName_ = "";
  1783. /**
  1784. * <pre>
  1785. *排班时段名称
  1786. * </pre>
  1787. *
  1788. * <code>string datePeriodName = 4;</code>
  1789. */
  1790. public java.lang.String getDatePeriodName() {
  1791. java.lang.Object ref = datePeriodName_;
  1792. if (!(ref instanceof java.lang.String)) {
  1793. com.google.protobuf.ByteString bs =
  1794. (com.google.protobuf.ByteString) ref;
  1795. java.lang.String s = bs.toStringUtf8();
  1796. datePeriodName_ = s;
  1797. return s;
  1798. } else {
  1799. return (java.lang.String) ref;
  1800. }
  1801. }
  1802. /**
  1803. * <pre>
  1804. *排班时段名称
  1805. * </pre>
  1806. *
  1807. * <code>string datePeriodName = 4;</code>
  1808. */
  1809. public com.google.protobuf.ByteString
  1810. getDatePeriodNameBytes() {
  1811. java.lang.Object ref = datePeriodName_;
  1812. if (ref instanceof String) {
  1813. com.google.protobuf.ByteString b =
  1814. com.google.protobuf.ByteString.copyFromUtf8(
  1815. (java.lang.String) ref);
  1816. datePeriodName_ = b;
  1817. return b;
  1818. } else {
  1819. return (com.google.protobuf.ByteString) ref;
  1820. }
  1821. }
  1822. /**
  1823. * <pre>
  1824. *排班时段名称
  1825. * </pre>
  1826. *
  1827. * <code>string datePeriodName = 4;</code>
  1828. */
  1829. public Builder setDatePeriodName(
  1830. java.lang.String value) {
  1831. if (value == null) {
  1832. throw new NullPointerException();
  1833. }
  1834. datePeriodName_ = value;
  1835. onChanged();
  1836. return this;
  1837. }
  1838. /**
  1839. * <pre>
  1840. *排班时段名称
  1841. * </pre>
  1842. *
  1843. * <code>string datePeriodName = 4;</code>
  1844. */
  1845. public Builder clearDatePeriodName() {
  1846. datePeriodName_ = getDefaultInstance().getDatePeriodName();
  1847. onChanged();
  1848. return this;
  1849. }
  1850. /**
  1851. * <pre>
  1852. *排班时段名称
  1853. * </pre>
  1854. *
  1855. * <code>string datePeriodName = 4;</code>
  1856. */
  1857. public Builder setDatePeriodNameBytes(
  1858. com.google.protobuf.ByteString value) {
  1859. if (value == null) {
  1860. throw new NullPointerException();
  1861. }
  1862. checkByteStringIsUtf8(value);
  1863. datePeriodName_ = value;
  1864. onChanged();
  1865. return this;
  1866. }
  1867. private java.lang.Object deptCode_ = "";
  1868. /**
  1869. * <pre>
  1870. *科室代码
  1871. * </pre>
  1872. *
  1873. * <code>string deptCode = 5;</code>
  1874. */
  1875. public java.lang.String getDeptCode() {
  1876. java.lang.Object ref = deptCode_;
  1877. if (!(ref instanceof java.lang.String)) {
  1878. com.google.protobuf.ByteString bs =
  1879. (com.google.protobuf.ByteString) ref;
  1880. java.lang.String s = bs.toStringUtf8();
  1881. deptCode_ = s;
  1882. return s;
  1883. } else {
  1884. return (java.lang.String) ref;
  1885. }
  1886. }
  1887. /**
  1888. * <pre>
  1889. *科室代码
  1890. * </pre>
  1891. *
  1892. * <code>string deptCode = 5;</code>
  1893. */
  1894. public com.google.protobuf.ByteString
  1895. getDeptCodeBytes() {
  1896. java.lang.Object ref = deptCode_;
  1897. if (ref instanceof String) {
  1898. com.google.protobuf.ByteString b =
  1899. com.google.protobuf.ByteString.copyFromUtf8(
  1900. (java.lang.String) ref);
  1901. deptCode_ = b;
  1902. return b;
  1903. } else {
  1904. return (com.google.protobuf.ByteString) ref;
  1905. }
  1906. }
  1907. /**
  1908. * <pre>
  1909. *科室代码
  1910. * </pre>
  1911. *
  1912. * <code>string deptCode = 5;</code>
  1913. */
  1914. public Builder setDeptCode(
  1915. java.lang.String value) {
  1916. if (value == null) {
  1917. throw new NullPointerException();
  1918. }
  1919. deptCode_ = value;
  1920. onChanged();
  1921. return this;
  1922. }
  1923. /**
  1924. * <pre>
  1925. *科室代码
  1926. * </pre>
  1927. *
  1928. * <code>string deptCode = 5;</code>
  1929. */
  1930. public Builder clearDeptCode() {
  1931. deptCode_ = getDefaultInstance().getDeptCode();
  1932. onChanged();
  1933. return this;
  1934. }
  1935. /**
  1936. * <pre>
  1937. *科室代码
  1938. * </pre>
  1939. *
  1940. * <code>string deptCode = 5;</code>
  1941. */
  1942. public Builder setDeptCodeBytes(
  1943. com.google.protobuf.ByteString value) {
  1944. if (value == null) {
  1945. throw new NullPointerException();
  1946. }
  1947. checkByteStringIsUtf8(value);
  1948. deptCode_ = value;
  1949. onChanged();
  1950. return this;
  1951. }
  1952. private java.lang.Object deptName_ = "";
  1953. /**
  1954. * <pre>
  1955. *科室名称
  1956. * </pre>
  1957. *
  1958. * <code>string deptName = 6;</code>
  1959. */
  1960. public java.lang.String getDeptName() {
  1961. java.lang.Object ref = deptName_;
  1962. if (!(ref instanceof java.lang.String)) {
  1963. com.google.protobuf.ByteString bs =
  1964. (com.google.protobuf.ByteString) ref;
  1965. java.lang.String s = bs.toStringUtf8();
  1966. deptName_ = s;
  1967. return s;
  1968. } else {
  1969. return (java.lang.String) ref;
  1970. }
  1971. }
  1972. /**
  1973. * <pre>
  1974. *科室名称
  1975. * </pre>
  1976. *
  1977. * <code>string deptName = 6;</code>
  1978. */
  1979. public com.google.protobuf.ByteString
  1980. getDeptNameBytes() {
  1981. java.lang.Object ref = deptName_;
  1982. if (ref instanceof String) {
  1983. com.google.protobuf.ByteString b =
  1984. com.google.protobuf.ByteString.copyFromUtf8(
  1985. (java.lang.String) ref);
  1986. deptName_ = b;
  1987. return b;
  1988. } else {
  1989. return (com.google.protobuf.ByteString) ref;
  1990. }
  1991. }
  1992. /**
  1993. * <pre>
  1994. *科室名称
  1995. * </pre>
  1996. *
  1997. * <code>string deptName = 6;</code>
  1998. */
  1999. public Builder setDeptName(
  2000. java.lang.String value) {
  2001. if (value == null) {
  2002. throw new NullPointerException();
  2003. }
  2004. deptName_ = value;
  2005. onChanged();
  2006. return this;
  2007. }
  2008. /**
  2009. * <pre>
  2010. *科室名称
  2011. * </pre>
  2012. *
  2013. * <code>string deptName = 6;</code>
  2014. */
  2015. public Builder clearDeptName() {
  2016. deptName_ = getDefaultInstance().getDeptName();
  2017. onChanged();
  2018. return this;
  2019. }
  2020. /**
  2021. * <pre>
  2022. *科室名称
  2023. * </pre>
  2024. *
  2025. * <code>string deptName = 6;</code>
  2026. */
  2027. public Builder setDeptNameBytes(
  2028. com.google.protobuf.ByteString value) {
  2029. if (value == null) {
  2030. throw new NullPointerException();
  2031. }
  2032. checkByteStringIsUtf8(value);
  2033. deptName_ = value;
  2034. onChanged();
  2035. return this;
  2036. }
  2037. private java.lang.Object doctorCode_ = "";
  2038. /**
  2039. * <pre>
  2040. *医生代码
  2041. * </pre>
  2042. *
  2043. * <code>string doctorCode = 7;</code>
  2044. */
  2045. public java.lang.String getDoctorCode() {
  2046. java.lang.Object ref = doctorCode_;
  2047. if (!(ref instanceof java.lang.String)) {
  2048. com.google.protobuf.ByteString bs =
  2049. (com.google.protobuf.ByteString) ref;
  2050. java.lang.String s = bs.toStringUtf8();
  2051. doctorCode_ = s;
  2052. return s;
  2053. } else {
  2054. return (java.lang.String) ref;
  2055. }
  2056. }
  2057. /**
  2058. * <pre>
  2059. *医生代码
  2060. * </pre>
  2061. *
  2062. * <code>string doctorCode = 7;</code>
  2063. */
  2064. public com.google.protobuf.ByteString
  2065. getDoctorCodeBytes() {
  2066. java.lang.Object ref = doctorCode_;
  2067. if (ref instanceof String) {
  2068. com.google.protobuf.ByteString b =
  2069. com.google.protobuf.ByteString.copyFromUtf8(
  2070. (java.lang.String) ref);
  2071. doctorCode_ = b;
  2072. return b;
  2073. } else {
  2074. return (com.google.protobuf.ByteString) ref;
  2075. }
  2076. }
  2077. /**
  2078. * <pre>
  2079. *医生代码
  2080. * </pre>
  2081. *
  2082. * <code>string doctorCode = 7;</code>
  2083. */
  2084. public Builder setDoctorCode(
  2085. java.lang.String value) {
  2086. if (value == null) {
  2087. throw new NullPointerException();
  2088. }
  2089. doctorCode_ = value;
  2090. onChanged();
  2091. return this;
  2092. }
  2093. /**
  2094. * <pre>
  2095. *医生代码
  2096. * </pre>
  2097. *
  2098. * <code>string doctorCode = 7;</code>
  2099. */
  2100. public Builder clearDoctorCode() {
  2101. doctorCode_ = getDefaultInstance().getDoctorCode();
  2102. onChanged();
  2103. return this;
  2104. }
  2105. /**
  2106. * <pre>
  2107. *医生代码
  2108. * </pre>
  2109. *
  2110. * <code>string doctorCode = 7;</code>
  2111. */
  2112. public Builder setDoctorCodeBytes(
  2113. com.google.protobuf.ByteString value) {
  2114. if (value == null) {
  2115. throw new NullPointerException();
  2116. }
  2117. checkByteStringIsUtf8(value);
  2118. doctorCode_ = value;
  2119. onChanged();
  2120. return this;
  2121. }
  2122. private java.lang.Object doctorName_ = "";
  2123. /**
  2124. * <pre>
  2125. *医生名称
  2126. * </pre>
  2127. *
  2128. * <code>string doctorName = 8;</code>
  2129. */
  2130. public java.lang.String getDoctorName() {
  2131. java.lang.Object ref = doctorName_;
  2132. if (!(ref instanceof java.lang.String)) {
  2133. com.google.protobuf.ByteString bs =
  2134. (com.google.protobuf.ByteString) ref;
  2135. java.lang.String s = bs.toStringUtf8();
  2136. doctorName_ = s;
  2137. return s;
  2138. } else {
  2139. return (java.lang.String) ref;
  2140. }
  2141. }
  2142. /**
  2143. * <pre>
  2144. *医生名称
  2145. * </pre>
  2146. *
  2147. * <code>string doctorName = 8;</code>
  2148. */
  2149. public com.google.protobuf.ByteString
  2150. getDoctorNameBytes() {
  2151. java.lang.Object ref = doctorName_;
  2152. if (ref instanceof String) {
  2153. com.google.protobuf.ByteString b =
  2154. com.google.protobuf.ByteString.copyFromUtf8(
  2155. (java.lang.String) ref);
  2156. doctorName_ = b;
  2157. return b;
  2158. } else {
  2159. return (com.google.protobuf.ByteString) ref;
  2160. }
  2161. }
  2162. /**
  2163. * <pre>
  2164. *医生名称
  2165. * </pre>
  2166. *
  2167. * <code>string doctorName = 8;</code>
  2168. */
  2169. public Builder setDoctorName(
  2170. java.lang.String value) {
  2171. if (value == null) {
  2172. throw new NullPointerException();
  2173. }
  2174. doctorName_ = value;
  2175. onChanged();
  2176. return this;
  2177. }
  2178. /**
  2179. * <pre>
  2180. *医生名称
  2181. * </pre>
  2182. *
  2183. * <code>string doctorName = 8;</code>
  2184. */
  2185. public Builder clearDoctorName() {
  2186. doctorName_ = getDefaultInstance().getDoctorName();
  2187. onChanged();
  2188. return this;
  2189. }
  2190. /**
  2191. * <pre>
  2192. *医生名称
  2193. * </pre>
  2194. *
  2195. * <code>string doctorName = 8;</code>
  2196. */
  2197. public Builder setDoctorNameBytes(
  2198. com.google.protobuf.ByteString value) {
  2199. if (value == null) {
  2200. throw new NullPointerException();
  2201. }
  2202. checkByteStringIsUtf8(value);
  2203. doctorName_ = value;
  2204. onChanged();
  2205. return this;
  2206. }
  2207. private java.lang.Object avatar_ = "";
  2208. /**
  2209. * <pre>
  2210. *医生图片链接
  2211. * </pre>
  2212. *
  2213. * <code>string avatar = 9;</code>
  2214. */
  2215. public java.lang.String getAvatar() {
  2216. java.lang.Object ref = avatar_;
  2217. if (!(ref instanceof java.lang.String)) {
  2218. com.google.protobuf.ByteString bs =
  2219. (com.google.protobuf.ByteString) ref;
  2220. java.lang.String s = bs.toStringUtf8();
  2221. avatar_ = s;
  2222. return s;
  2223. } else {
  2224. return (java.lang.String) ref;
  2225. }
  2226. }
  2227. /**
  2228. * <pre>
  2229. *医生图片链接
  2230. * </pre>
  2231. *
  2232. * <code>string avatar = 9;</code>
  2233. */
  2234. public com.google.protobuf.ByteString
  2235. getAvatarBytes() {
  2236. java.lang.Object ref = avatar_;
  2237. if (ref instanceof String) {
  2238. com.google.protobuf.ByteString b =
  2239. com.google.protobuf.ByteString.copyFromUtf8(
  2240. (java.lang.String) ref);
  2241. avatar_ = b;
  2242. return b;
  2243. } else {
  2244. return (com.google.protobuf.ByteString) ref;
  2245. }
  2246. }
  2247. /**
  2248. * <pre>
  2249. *医生图片链接
  2250. * </pre>
  2251. *
  2252. * <code>string avatar = 9;</code>
  2253. */
  2254. public Builder setAvatar(
  2255. java.lang.String value) {
  2256. if (value == null) {
  2257. throw new NullPointerException();
  2258. }
  2259. avatar_ = value;
  2260. onChanged();
  2261. return this;
  2262. }
  2263. /**
  2264. * <pre>
  2265. *医生图片链接
  2266. * </pre>
  2267. *
  2268. * <code>string avatar = 9;</code>
  2269. */
  2270. public Builder clearAvatar() {
  2271. avatar_ = getDefaultInstance().getAvatar();
  2272. onChanged();
  2273. return this;
  2274. }
  2275. /**
  2276. * <pre>
  2277. *医生图片链接
  2278. * </pre>
  2279. *
  2280. * <code>string avatar = 9;</code>
  2281. */
  2282. public Builder setAvatarBytes(
  2283. com.google.protobuf.ByteString value) {
  2284. if (value == null) {
  2285. throw new NullPointerException();
  2286. }
  2287. checkByteStringIsUtf8(value);
  2288. avatar_ = value;
  2289. onChanged();
  2290. return this;
  2291. }
  2292. private java.lang.Object doctorTitle_ = "";
  2293. /**
  2294. * <pre>
  2295. *医生职称
  2296. * </pre>
  2297. *
  2298. * <code>string doctorTitle = 10;</code>
  2299. */
  2300. public java.lang.String getDoctorTitle() {
  2301. java.lang.Object ref = doctorTitle_;
  2302. if (!(ref instanceof java.lang.String)) {
  2303. com.google.protobuf.ByteString bs =
  2304. (com.google.protobuf.ByteString) ref;
  2305. java.lang.String s = bs.toStringUtf8();
  2306. doctorTitle_ = s;
  2307. return s;
  2308. } else {
  2309. return (java.lang.String) ref;
  2310. }
  2311. }
  2312. /**
  2313. * <pre>
  2314. *医生职称
  2315. * </pre>
  2316. *
  2317. * <code>string doctorTitle = 10;</code>
  2318. */
  2319. public com.google.protobuf.ByteString
  2320. getDoctorTitleBytes() {
  2321. java.lang.Object ref = doctorTitle_;
  2322. if (ref instanceof String) {
  2323. com.google.protobuf.ByteString b =
  2324. com.google.protobuf.ByteString.copyFromUtf8(
  2325. (java.lang.String) ref);
  2326. doctorTitle_ = b;
  2327. return b;
  2328. } else {
  2329. return (com.google.protobuf.ByteString) ref;
  2330. }
  2331. }
  2332. /**
  2333. * <pre>
  2334. *医生职称
  2335. * </pre>
  2336. *
  2337. * <code>string doctorTitle = 10;</code>
  2338. */
  2339. public Builder setDoctorTitle(
  2340. java.lang.String value) {
  2341. if (value == null) {
  2342. throw new NullPointerException();
  2343. }
  2344. doctorTitle_ = value;
  2345. onChanged();
  2346. return this;
  2347. }
  2348. /**
  2349. * <pre>
  2350. *医生职称
  2351. * </pre>
  2352. *
  2353. * <code>string doctorTitle = 10;</code>
  2354. */
  2355. public Builder clearDoctorTitle() {
  2356. doctorTitle_ = getDefaultInstance().getDoctorTitle();
  2357. onChanged();
  2358. return this;
  2359. }
  2360. /**
  2361. * <pre>
  2362. *医生职称
  2363. * </pre>
  2364. *
  2365. * <code>string doctorTitle = 10;</code>
  2366. */
  2367. public Builder setDoctorTitleBytes(
  2368. com.google.protobuf.ByteString value) {
  2369. if (value == null) {
  2370. throw new NullPointerException();
  2371. }
  2372. checkByteStringIsUtf8(value);
  2373. doctorTitle_ = value;
  2374. onChanged();
  2375. return this;
  2376. }
  2377. private java.lang.Object doctorSpec_ = "";
  2378. /**
  2379. * <pre>
  2380. *医生专长
  2381. * </pre>
  2382. *
  2383. * <code>string doctorSpec = 11;</code>
  2384. */
  2385. public java.lang.String getDoctorSpec() {
  2386. java.lang.Object ref = doctorSpec_;
  2387. if (!(ref instanceof java.lang.String)) {
  2388. com.google.protobuf.ByteString bs =
  2389. (com.google.protobuf.ByteString) ref;
  2390. java.lang.String s = bs.toStringUtf8();
  2391. doctorSpec_ = s;
  2392. return s;
  2393. } else {
  2394. return (java.lang.String) ref;
  2395. }
  2396. }
  2397. /**
  2398. * <pre>
  2399. *医生专长
  2400. * </pre>
  2401. *
  2402. * <code>string doctorSpec = 11;</code>
  2403. */
  2404. public com.google.protobuf.ByteString
  2405. getDoctorSpecBytes() {
  2406. java.lang.Object ref = doctorSpec_;
  2407. if (ref instanceof String) {
  2408. com.google.protobuf.ByteString b =
  2409. com.google.protobuf.ByteString.copyFromUtf8(
  2410. (java.lang.String) ref);
  2411. doctorSpec_ = b;
  2412. return b;
  2413. } else {
  2414. return (com.google.protobuf.ByteString) ref;
  2415. }
  2416. }
  2417. /**
  2418. * <pre>
  2419. *医生专长
  2420. * </pre>
  2421. *
  2422. * <code>string doctorSpec = 11;</code>
  2423. */
  2424. public Builder setDoctorSpec(
  2425. java.lang.String value) {
  2426. if (value == null) {
  2427. throw new NullPointerException();
  2428. }
  2429. doctorSpec_ = value;
  2430. onChanged();
  2431. return this;
  2432. }
  2433. /**
  2434. * <pre>
  2435. *医生专长
  2436. * </pre>
  2437. *
  2438. * <code>string doctorSpec = 11;</code>
  2439. */
  2440. public Builder clearDoctorSpec() {
  2441. doctorSpec_ = getDefaultInstance().getDoctorSpec();
  2442. onChanged();
  2443. return this;
  2444. }
  2445. /**
  2446. * <pre>
  2447. *医生专长
  2448. * </pre>
  2449. *
  2450. * <code>string doctorSpec = 11;</code>
  2451. */
  2452. public Builder setDoctorSpecBytes(
  2453. com.google.protobuf.ByteString value) {
  2454. if (value == null) {
  2455. throw new NullPointerException();
  2456. }
  2457. checkByteStringIsUtf8(value);
  2458. doctorSpec_ = value;
  2459. onChanged();
  2460. return this;
  2461. }
  2462. private int fee_ ;
  2463. /**
  2464. * <pre>
  2465. *预约挂号总费用
  2466. * </pre>
  2467. *
  2468. * <code>int32 fee = 12;</code>
  2469. */
  2470. public int getFee() {
  2471. return fee_;
  2472. }
  2473. /**
  2474. * <pre>
  2475. *预约挂号总费用
  2476. * </pre>
  2477. *
  2478. * <code>int32 fee = 12;</code>
  2479. */
  2480. public Builder setFee(int value) {
  2481. fee_ = value;
  2482. onChanged();
  2483. return this;
  2484. }
  2485. /**
  2486. * <pre>
  2487. *预约挂号总费用
  2488. * </pre>
  2489. *
  2490. * <code>int32 fee = 12;</code>
  2491. */
  2492. public Builder clearFee() {
  2493. fee_ = 0;
  2494. onChanged();
  2495. return this;
  2496. }
  2497. private int regFee_ ;
  2498. /**
  2499. * <pre>
  2500. *挂号费
  2501. * </pre>
  2502. *
  2503. * <code>int32 regFee = 13;</code>
  2504. */
  2505. public int getRegFee() {
  2506. return regFee_;
  2507. }
  2508. /**
  2509. * <pre>
  2510. *挂号费
  2511. * </pre>
  2512. *
  2513. * <code>int32 regFee = 13;</code>
  2514. */
  2515. public Builder setRegFee(int value) {
  2516. regFee_ = value;
  2517. onChanged();
  2518. return this;
  2519. }
  2520. /**
  2521. * <pre>
  2522. *挂号费
  2523. * </pre>
  2524. *
  2525. * <code>int32 regFee = 13;</code>
  2526. */
  2527. public Builder clearRegFee() {
  2528. regFee_ = 0;
  2529. onChanged();
  2530. return this;
  2531. }
  2532. private int checkupFee_ ;
  2533. /**
  2534. * <pre>
  2535. *诊查费
  2536. * </pre>
  2537. *
  2538. * <code>int32 checkupFee = 14;</code>
  2539. */
  2540. public int getCheckupFee() {
  2541. return checkupFee_;
  2542. }
  2543. /**
  2544. * <pre>
  2545. *诊查费
  2546. * </pre>
  2547. *
  2548. * <code>int32 checkupFee = 14;</code>
  2549. */
  2550. public Builder setCheckupFee(int value) {
  2551. checkupFee_ = value;
  2552. onChanged();
  2553. return this;
  2554. }
  2555. /**
  2556. * <pre>
  2557. *诊查费
  2558. * </pre>
  2559. *
  2560. * <code>int32 checkupFee = 14;</code>
  2561. */
  2562. public Builder clearCheckupFee() {
  2563. checkupFee_ = 0;
  2564. onChanged();
  2565. return this;
  2566. }
  2567. private int serviceFee_ ;
  2568. /**
  2569. * <pre>
  2570. *服务费
  2571. * </pre>
  2572. *
  2573. * <code>int32 serviceFee = 15;</code>
  2574. */
  2575. public int getServiceFee() {
  2576. return serviceFee_;
  2577. }
  2578. /**
  2579. * <pre>
  2580. *服务费
  2581. * </pre>
  2582. *
  2583. * <code>int32 serviceFee = 15;</code>
  2584. */
  2585. public Builder setServiceFee(int value) {
  2586. serviceFee_ = value;
  2587. onChanged();
  2588. return this;
  2589. }
  2590. /**
  2591. * <pre>
  2592. *服务费
  2593. * </pre>
  2594. *
  2595. * <code>int32 serviceFee = 15;</code>
  2596. */
  2597. public Builder clearServiceFee() {
  2598. serviceFee_ = 0;
  2599. onChanged();
  2600. return this;
  2601. }
  2602. private int otherFee_ ;
  2603. /**
  2604. * <pre>
  2605. *其它费
  2606. * </pre>
  2607. *
  2608. * <code>int32 otherFee = 16;</code>
  2609. */
  2610. public int getOtherFee() {
  2611. return otherFee_;
  2612. }
  2613. /**
  2614. * <pre>
  2615. *其它费
  2616. * </pre>
  2617. *
  2618. * <code>int32 otherFee = 16;</code>
  2619. */
  2620. public Builder setOtherFee(int value) {
  2621. otherFee_ = value;
  2622. onChanged();
  2623. return this;
  2624. }
  2625. /**
  2626. * <pre>
  2627. *其它费
  2628. * </pre>
  2629. *
  2630. * <code>int32 otherFee = 16;</code>
  2631. */
  2632. public Builder clearOtherFee() {
  2633. otherFee_ = 0;
  2634. onChanged();
  2635. return this;
  2636. }
  2637. private java.lang.Object admitAddress_ = "";
  2638. /**
  2639. * <pre>
  2640. *就诊地址
  2641. * </pre>
  2642. *
  2643. * <code>string admitAddress = 17;</code>
  2644. */
  2645. public java.lang.String getAdmitAddress() {
  2646. java.lang.Object ref = admitAddress_;
  2647. if (!(ref instanceof java.lang.String)) {
  2648. com.google.protobuf.ByteString bs =
  2649. (com.google.protobuf.ByteString) ref;
  2650. java.lang.String s = bs.toStringUtf8();
  2651. admitAddress_ = s;
  2652. return s;
  2653. } else {
  2654. return (java.lang.String) ref;
  2655. }
  2656. }
  2657. /**
  2658. * <pre>
  2659. *就诊地址
  2660. * </pre>
  2661. *
  2662. * <code>string admitAddress = 17;</code>
  2663. */
  2664. public com.google.protobuf.ByteString
  2665. getAdmitAddressBytes() {
  2666. java.lang.Object ref = admitAddress_;
  2667. if (ref instanceof String) {
  2668. com.google.protobuf.ByteString b =
  2669. com.google.protobuf.ByteString.copyFromUtf8(
  2670. (java.lang.String) ref);
  2671. admitAddress_ = b;
  2672. return b;
  2673. } else {
  2674. return (com.google.protobuf.ByteString) ref;
  2675. }
  2676. }
  2677. /**
  2678. * <pre>
  2679. *就诊地址
  2680. * </pre>
  2681. *
  2682. * <code>string admitAddress = 17;</code>
  2683. */
  2684. public Builder setAdmitAddress(
  2685. java.lang.String value) {
  2686. if (value == null) {
  2687. throw new NullPointerException();
  2688. }
  2689. admitAddress_ = value;
  2690. onChanged();
  2691. return this;
  2692. }
  2693. /**
  2694. * <pre>
  2695. *就诊地址
  2696. * </pre>
  2697. *
  2698. * <code>string admitAddress = 17;</code>
  2699. */
  2700. public Builder clearAdmitAddress() {
  2701. admitAddress_ = getDefaultInstance().getAdmitAddress();
  2702. onChanged();
  2703. return this;
  2704. }
  2705. /**
  2706. * <pre>
  2707. *就诊地址
  2708. * </pre>
  2709. *
  2710. * <code>string admitAddress = 17;</code>
  2711. */
  2712. public Builder setAdmitAddressBytes(
  2713. com.google.protobuf.ByteString value) {
  2714. if (value == null) {
  2715. throw new NullPointerException();
  2716. }
  2717. checkByteStringIsUtf8(value);
  2718. admitAddress_ = value;
  2719. onChanged();
  2720. return this;
  2721. }
  2722. private int scheduleStatus_ ;
  2723. /**
  2724. * <pre>
  2725. *出诊状态(1-可预约 0-已满 2-停诊 3-其它(不可预约))
  2726. * </pre>
  2727. *
  2728. * <code>int32 scheduleStatus = 18;</code>
  2729. */
  2730. public int getScheduleStatus() {
  2731. return scheduleStatus_;
  2732. }
  2733. /**
  2734. * <pre>
  2735. *出诊状态(1-可预约 0-已满 2-停诊 3-其它(不可预约))
  2736. * </pre>
  2737. *
  2738. * <code>int32 scheduleStatus = 18;</code>
  2739. */
  2740. public Builder setScheduleStatus(int value) {
  2741. scheduleStatus_ = value;
  2742. onChanged();
  2743. return this;
  2744. }
  2745. /**
  2746. * <pre>
  2747. *出诊状态(1-可预约 0-已满 2-停诊 3-其它(不可预约))
  2748. * </pre>
  2749. *
  2750. * <code>int32 scheduleStatus = 18;</code>
  2751. */
  2752. public Builder clearScheduleStatus() {
  2753. scheduleStatus_ = 0;
  2754. onChanged();
  2755. return this;
  2756. }
  2757. private int availableTotalNum_ ;
  2758. /**
  2759. * <pre>
  2760. *该时段可预约的总号源数
  2761. * </pre>
  2762. *
  2763. * <code>int32 availableTotalNum = 19;</code>
  2764. */
  2765. public int getAvailableTotalNum() {
  2766. return availableTotalNum_;
  2767. }
  2768. /**
  2769. * <pre>
  2770. *该时段可预约的总号源数
  2771. * </pre>
  2772. *
  2773. * <code>int32 availableTotalNum = 19;</code>
  2774. */
  2775. public Builder setAvailableTotalNum(int value) {
  2776. availableTotalNum_ = value;
  2777. onChanged();
  2778. return this;
  2779. }
  2780. /**
  2781. * <pre>
  2782. *该时段可预约的总号源数
  2783. * </pre>
  2784. *
  2785. * <code>int32 availableTotalNum = 19;</code>
  2786. */
  2787. public Builder clearAvailableTotalNum() {
  2788. availableTotalNum_ = 0;
  2789. onChanged();
  2790. return this;
  2791. }
  2792. private int availableLeftNum_ ;
  2793. /**
  2794. * <pre>
  2795. *该时段剩余号源数
  2796. * </pre>
  2797. *
  2798. * <code>int32 availableLeftNum = 20;</code>
  2799. */
  2800. public int getAvailableLeftNum() {
  2801. return availableLeftNum_;
  2802. }
  2803. /**
  2804. * <pre>
  2805. *该时段剩余号源数
  2806. * </pre>
  2807. *
  2808. * <code>int32 availableLeftNum = 20;</code>
  2809. */
  2810. public Builder setAvailableLeftNum(int value) {
  2811. availableLeftNum_ = value;
  2812. onChanged();
  2813. return this;
  2814. }
  2815. /**
  2816. * <pre>
  2817. *该时段剩余号源数
  2818. * </pre>
  2819. *
  2820. * <code>int32 availableLeftNum = 20;</code>
  2821. */
  2822. public Builder clearAvailableLeftNum() {
  2823. availableLeftNum_ = 0;
  2824. onChanged();
  2825. return this;
  2826. }
  2827. private java.lang.Object serviceCode_ = "";
  2828. /**
  2829. * <code>string serviceCode = 21;</code>
  2830. */
  2831. public java.lang.String getServiceCode() {
  2832. java.lang.Object ref = serviceCode_;
  2833. if (!(ref instanceof java.lang.String)) {
  2834. com.google.protobuf.ByteString bs =
  2835. (com.google.protobuf.ByteString) ref;
  2836. java.lang.String s = bs.toStringUtf8();
  2837. serviceCode_ = s;
  2838. return s;
  2839. } else {
  2840. return (java.lang.String) ref;
  2841. }
  2842. }
  2843. /**
  2844. * <code>string serviceCode = 21;</code>
  2845. */
  2846. public com.google.protobuf.ByteString
  2847. getServiceCodeBytes() {
  2848. java.lang.Object ref = serviceCode_;
  2849. if (ref instanceof String) {
  2850. com.google.protobuf.ByteString b =
  2851. com.google.protobuf.ByteString.copyFromUtf8(
  2852. (java.lang.String) ref);
  2853. serviceCode_ = b;
  2854. return b;
  2855. } else {
  2856. return (com.google.protobuf.ByteString) ref;
  2857. }
  2858. }
  2859. /**
  2860. * <code>string serviceCode = 21;</code>
  2861. */
  2862. public Builder setServiceCode(
  2863. java.lang.String value) {
  2864. if (value == null) {
  2865. throw new NullPointerException();
  2866. }
  2867. serviceCode_ = value;
  2868. onChanged();
  2869. return this;
  2870. }
  2871. /**
  2872. * <code>string serviceCode = 21;</code>
  2873. */
  2874. public Builder clearServiceCode() {
  2875. serviceCode_ = getDefaultInstance().getServiceCode();
  2876. onChanged();
  2877. return this;
  2878. }
  2879. /**
  2880. * <code>string serviceCode = 21;</code>
  2881. */
  2882. public Builder setServiceCodeBytes(
  2883. com.google.protobuf.ByteString value) {
  2884. if (value == null) {
  2885. throw new NullPointerException();
  2886. }
  2887. checkByteStringIsUtf8(value);
  2888. serviceCode_ = value;
  2889. onChanged();
  2890. return this;
  2891. }
  2892. private java.lang.Object serviceName_ = "";
  2893. /**
  2894. * <code>string serviceName = 22;</code>
  2895. */
  2896. public java.lang.String getServiceName() {
  2897. java.lang.Object ref = serviceName_;
  2898. if (!(ref instanceof java.lang.String)) {
  2899. com.google.protobuf.ByteString bs =
  2900. (com.google.protobuf.ByteString) ref;
  2901. java.lang.String s = bs.toStringUtf8();
  2902. serviceName_ = s;
  2903. return s;
  2904. } else {
  2905. return (java.lang.String) ref;
  2906. }
  2907. }
  2908. /**
  2909. * <code>string serviceName = 22;</code>
  2910. */
  2911. public com.google.protobuf.ByteString
  2912. getServiceNameBytes() {
  2913. java.lang.Object ref = serviceName_;
  2914. if (ref instanceof String) {
  2915. com.google.protobuf.ByteString b =
  2916. com.google.protobuf.ByteString.copyFromUtf8(
  2917. (java.lang.String) ref);
  2918. serviceName_ = b;
  2919. return b;
  2920. } else {
  2921. return (com.google.protobuf.ByteString) ref;
  2922. }
  2923. }
  2924. /**
  2925. * <code>string serviceName = 22;</code>
  2926. */
  2927. public Builder setServiceName(
  2928. java.lang.String value) {
  2929. if (value == null) {
  2930. throw new NullPointerException();
  2931. }
  2932. serviceName_ = value;
  2933. onChanged();
  2934. return this;
  2935. }
  2936. /**
  2937. * <code>string serviceName = 22;</code>
  2938. */
  2939. public Builder clearServiceName() {
  2940. serviceName_ = getDefaultInstance().getServiceName();
  2941. onChanged();
  2942. return this;
  2943. }
  2944. /**
  2945. * <code>string serviceName = 22;</code>
  2946. */
  2947. public Builder setServiceNameBytes(
  2948. com.google.protobuf.ByteString value) {
  2949. if (value == null) {
  2950. throw new NullPointerException();
  2951. }
  2952. checkByteStringIsUtf8(value);
  2953. serviceName_ = value;
  2954. onChanged();
  2955. return this;
  2956. }
  2957. private java.lang.Object startTime_ = "";
  2958. /**
  2959. * <code>string startTime = 23;</code>
  2960. */
  2961. public java.lang.String getStartTime() {
  2962. java.lang.Object ref = startTime_;
  2963. if (!(ref instanceof java.lang.String)) {
  2964. com.google.protobuf.ByteString bs =
  2965. (com.google.protobuf.ByteString) ref;
  2966. java.lang.String s = bs.toStringUtf8();
  2967. startTime_ = s;
  2968. return s;
  2969. } else {
  2970. return (java.lang.String) ref;
  2971. }
  2972. }
  2973. /**
  2974. * <code>string startTime = 23;</code>
  2975. */
  2976. public com.google.protobuf.ByteString
  2977. getStartTimeBytes() {
  2978. java.lang.Object ref = startTime_;
  2979. if (ref instanceof String) {
  2980. com.google.protobuf.ByteString b =
  2981. com.google.protobuf.ByteString.copyFromUtf8(
  2982. (java.lang.String) ref);
  2983. startTime_ = b;
  2984. return b;
  2985. } else {
  2986. return (com.google.protobuf.ByteString) ref;
  2987. }
  2988. }
  2989. /**
  2990. * <code>string startTime = 23;</code>
  2991. */
  2992. public Builder setStartTime(
  2993. java.lang.String value) {
  2994. if (value == null) {
  2995. throw new NullPointerException();
  2996. }
  2997. startTime_ = value;
  2998. onChanged();
  2999. return this;
  3000. }
  3001. /**
  3002. * <code>string startTime = 23;</code>
  3003. */
  3004. public Builder clearStartTime() {
  3005. startTime_ = getDefaultInstance().getStartTime();
  3006. onChanged();
  3007. return this;
  3008. }
  3009. /**
  3010. * <code>string startTime = 23;</code>
  3011. */
  3012. public Builder setStartTimeBytes(
  3013. com.google.protobuf.ByteString value) {
  3014. if (value == null) {
  3015. throw new NullPointerException();
  3016. }
  3017. checkByteStringIsUtf8(value);
  3018. startTime_ = value;
  3019. onChanged();
  3020. return this;
  3021. }
  3022. private java.lang.Object endTime_ = "";
  3023. /**
  3024. * <code>string endTime = 24;</code>
  3025. */
  3026. public java.lang.String getEndTime() {
  3027. java.lang.Object ref = endTime_;
  3028. if (!(ref instanceof java.lang.String)) {
  3029. com.google.protobuf.ByteString bs =
  3030. (com.google.protobuf.ByteString) ref;
  3031. java.lang.String s = bs.toStringUtf8();
  3032. endTime_ = s;
  3033. return s;
  3034. } else {
  3035. return (java.lang.String) ref;
  3036. }
  3037. }
  3038. /**
  3039. * <code>string endTime = 24;</code>
  3040. */
  3041. public com.google.protobuf.ByteString
  3042. getEndTimeBytes() {
  3043. java.lang.Object ref = endTime_;
  3044. if (ref instanceof String) {
  3045. com.google.protobuf.ByteString b =
  3046. com.google.protobuf.ByteString.copyFromUtf8(
  3047. (java.lang.String) ref);
  3048. endTime_ = b;
  3049. return b;
  3050. } else {
  3051. return (com.google.protobuf.ByteString) ref;
  3052. }
  3053. }
  3054. /**
  3055. * <code>string endTime = 24;</code>
  3056. */
  3057. public Builder setEndTime(
  3058. java.lang.String value) {
  3059. if (value == null) {
  3060. throw new NullPointerException();
  3061. }
  3062. endTime_ = value;
  3063. onChanged();
  3064. return this;
  3065. }
  3066. /**
  3067. * <code>string endTime = 24;</code>
  3068. */
  3069. public Builder clearEndTime() {
  3070. endTime_ = getDefaultInstance().getEndTime();
  3071. onChanged();
  3072. return this;
  3073. }
  3074. /**
  3075. * <code>string endTime = 24;</code>
  3076. */
  3077. public Builder setEndTimeBytes(
  3078. com.google.protobuf.ByteString value) {
  3079. if (value == null) {
  3080. throw new NullPointerException();
  3081. }
  3082. checkByteStringIsUtf8(value);
  3083. endTime_ = value;
  3084. onChanged();
  3085. return this;
  3086. }
  3087. private java.lang.Object availableNumStr_ = "";
  3088. /**
  3089. * <code>string availableNumStr = 25;</code>
  3090. */
  3091. public java.lang.String getAvailableNumStr() {
  3092. java.lang.Object ref = availableNumStr_;
  3093. if (!(ref instanceof java.lang.String)) {
  3094. com.google.protobuf.ByteString bs =
  3095. (com.google.protobuf.ByteString) ref;
  3096. java.lang.String s = bs.toStringUtf8();
  3097. availableNumStr_ = s;
  3098. return s;
  3099. } else {
  3100. return (java.lang.String) ref;
  3101. }
  3102. }
  3103. /**
  3104. * <code>string availableNumStr = 25;</code>
  3105. */
  3106. public com.google.protobuf.ByteString
  3107. getAvailableNumStrBytes() {
  3108. java.lang.Object ref = availableNumStr_;
  3109. if (ref instanceof String) {
  3110. com.google.protobuf.ByteString b =
  3111. com.google.protobuf.ByteString.copyFromUtf8(
  3112. (java.lang.String) ref);
  3113. availableNumStr_ = b;
  3114. return b;
  3115. } else {
  3116. return (com.google.protobuf.ByteString) ref;
  3117. }
  3118. }
  3119. /**
  3120. * <code>string availableNumStr = 25;</code>
  3121. */
  3122. public Builder setAvailableNumStr(
  3123. java.lang.String value) {
  3124. if (value == null) {
  3125. throw new NullPointerException();
  3126. }
  3127. availableNumStr_ = value;
  3128. onChanged();
  3129. return this;
  3130. }
  3131. /**
  3132. * <code>string availableNumStr = 25;</code>
  3133. */
  3134. public Builder clearAvailableNumStr() {
  3135. availableNumStr_ = getDefaultInstance().getAvailableNumStr();
  3136. onChanged();
  3137. return this;
  3138. }
  3139. /**
  3140. * <code>string availableNumStr = 25;</code>
  3141. */
  3142. public Builder setAvailableNumStrBytes(
  3143. com.google.protobuf.ByteString value) {
  3144. if (value == null) {
  3145. throw new NullPointerException();
  3146. }
  3147. checkByteStringIsUtf8(value);
  3148. availableNumStr_ = value;
  3149. onChanged();
  3150. return this;
  3151. }
  3152. public final Builder setUnknownFields(
  3153. final com.google.protobuf.UnknownFieldSet unknownFields) {
  3154. return this;
  3155. }
  3156. public final Builder mergeUnknownFields(
  3157. final com.google.protobuf.UnknownFieldSet unknownFields) {
  3158. return this;
  3159. }
  3160. // @@protoc_insertion_point(builder_scope:com.ywt.gapi.third.taihe.Schedule)
  3161. }
  3162. // @@protoc_insertion_point(class_scope:com.ywt.gapi.third.taihe.Schedule)
  3163. private static final com.ywt.gapi.third.taihe.Schedule DEFAULT_INSTANCE;
  3164. static {
  3165. DEFAULT_INSTANCE = new com.ywt.gapi.third.taihe.Schedule();
  3166. }
  3167. public static com.ywt.gapi.third.taihe.Schedule getDefaultInstance() {
  3168. return DEFAULT_INSTANCE;
  3169. }
  3170. private static final com.google.protobuf.Parser<Schedule>
  3171. PARSER = new com.google.protobuf.AbstractParser<Schedule>() {
  3172. public Schedule parsePartialFrom(
  3173. com.google.protobuf.CodedInputStream input,
  3174. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3175. throws com.google.protobuf.InvalidProtocolBufferException {
  3176. return new Schedule(input, extensionRegistry);
  3177. }
  3178. };
  3179. public static com.google.protobuf.Parser<Schedule> parser() {
  3180. return PARSER;
  3181. }
  3182. @java.lang.Override
  3183. public com.google.protobuf.Parser<Schedule> getParserForType() {
  3184. return PARSER;
  3185. }
  3186. public com.ywt.gapi.third.taihe.Schedule getDefaultInstanceForType() {
  3187. return DEFAULT_INSTANCE;
  3188. }
  3189. }